Jump to content

User talk:Jarekt

Add topic
From Wikimedia Commons, the free media repository
Latest comment: 3 hours ago by MediaWiki message delivery in topic Tech News: 2025-35

Tech News: 2025-32

[edit]

MediaWiki message delivery 03:36, 5 August 2025 (UTC)Reply

Category:User pages with invalid language codes

[edit]

Hi Jarekt - I'm asking you as the creator of this category, but feel free to point me elsewhere. I see it's largely populated with user talk pages that have a substed {{Cdw}} template. It appears that the issue is |lang={{#invoke:Caller title|lang|base=Template:Cdw}}, which seems to generate the page title rather than a language code. It is generated by the TRANSLATIONLANGUAGE magic word, but that's as far as my skills take me - I'm not experienced with the translation templates. Thanks, Pi.1415926535 (talk) 19:43, 7 August 2025 (UTC)Reply

Pi.1415926535, The purpose of this category was to unclutter Category:Pages with invalid language codes, (see this discussion page) after creation of {{#dir}} magic word. We had no intention of fixing user pages, but #dir adds some category to all bad pages so we separated user pages, so it is easier to locate templates and other pages we cared about. --Jarekt (talk) 21:27, 8 August 2025 (UTC)Reply

Tech News: 2025-33

[edit]

MediaWiki message delivery 23:25, 11 August 2025 (UTC)Reply

Tech News: 2025-34

[edit]

MediaWiki message delivery 00:33, 19 August 2025 (UTC)Reply

Bot to auto-replace all instances of manual pasting of same license template

[edit]

Do you know if it's possible to have a bot auto-replace all instances of manual pasting of the same wikitext for a license template with a custom license template, specifically this wikitext:

<table style="width:100%; clear:both; margin:0.5em auto; background-color:#f7f8ff; border:2px solid #8888aa; direction: ltr; border-spacing: 8px; padding: 0px;" class="layouttemplate mw-content-ltr" xml:lang="en" lang="en"> <tr> <td>[[File:Deepin logo.svg|100px]]</div> <td> {{LangSwitch |en=This is a [[Deepin]] icon {{#if:{{{1|}}}|from the '''{{{1}}}'''  theme|}} and is copyright Wuhan Deepin Technology Co., Ltd. ({{lang|zh-CN|[[:zh:武漢深之度科技有限公司|武漢深之度科技有限公司]]}}), a wholy owned subsidiary of [[:en:UnionTech|UnionTech]] ([[:zh:统信软件|统信软件]]). |zh=這是一個[[Deepin]]圖示, {{#if:{{{1|}}}|來自'''{{{1}}}'''的主題|}}並且版權屬於{{lang|zh-CN|[[:zh:武漢深之度科技有限公司|武漢深之度科技有限公司]]}},這是[[:zh:统信软件|统信软件]]的全資子公司。 |ja=これは[[Deepin]]のアイコンで、{{#if:{{{1|}}}|'''{{{1}}}'''のテーマからであり、|}}権利は[[:ja:武漢深之度科技有限公司|武漢深之度科技有限公司]]にあります。これは{{lang|zh-CN|[[:ja:统信软件|统信软件]]}}の完全子会社です。 }} </td> <td>[[File:VirtualBox_Linux_Deepin_20.1_LARGE_17_03_2021_11_00_50.png|100px]]</td> </tr> </table> {{GPLv3+}} * see: https://github.com/linuxdeepin/deepin-icon-theme/blob/master/LICENSE * https://web.archive.org/web/20240107174806/https://github.com/linuxdeepin/deepin-icon-theme/blob/master/LICENSE

in all occurrences of files in Category:Deepin Icon Theme? They were placed there during a mass upload it seems with no template. Thanks. Waddie96 (talk) 22:39, 22 August 2025 (UTC)Reply

Waddie96, That should be relatively easy with AutoWikiBrowser if you use a bot account. My AutoWikiBrowser stopped working for some complicated reason, but if you want to give it a try I can help you. VisualFileChange is useful for smaller jobs and you do not need a bot account. Pywikibot/replace might also work, but not easily. You can also request those edits at Commons:Bots/Work requests. --Jarekt (talk) 03:01, 23 August 2025 (UTC)Reply
Ok cool. I'll give it a try, I thought I needed special user rights to use AWB? Waddie96 (talk) 03:10, 23 August 2025 (UTC)Reply
Waddie96, I gave you AWB permissions. You still can not use the bot mode, what might be needed for few thousands files. I also just tested just tested VisualFileChange and it works fine just one folder at a time. --Jarekt (talk) 03:35, 23 August 2025 (UTC)Reply
Awesome! Thanks so much. Waddie96 (talk) 04:52, 23 August 2025 (UTC)Reply

Tech News: 2025-35

[edit]

MediaWiki message delivery 00:07, 26 August 2025 (UTC)Reply