Skip to content

Commit

Permalink
sync formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeel committed Feb 25, 2022
1 parent f332f73 commit 02633b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commons_qi_by_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


page = pywikibot.Page(commons, destinationpage)
pagetext = '{{en|This is a list of [[Commons:Quality images|quality images]] by user. If you want to be included in this list, create a subcategory of [[:Category:Quality images by user]] with the format \'Quality images by <username>\', and you will be included in this list with the next bot update (daily). This page is automatically updated by [[User:Pi bot]]. If you want to change the format of this page, or want to be excluded from this list, please contact [[User:Mike Peel]]. Manual changes will be ignored by the bot update.}}\n== {{LangSwitch|cs=Tabulka|de=Tabelle|en=Table|zh=表格}} ==\n\n{|class="wikitable sortable" cellspacing="0"\n!{{LangSwitch|de=Benutzer|en=User|es=Usuario|zh=用戶}}\n!{{LangSwitch|de=Kategorie|en=Category|es=Categoría|zh=分類}}\n!{{LangSwitch|de=Anzahl QIs|en=Number QIs|zh=優質圖像數量}}\n'
pagetext = '{{Box-2\n | {{LangSwitch\n | default = [[File:Quality images logo.svg|left|64px]] This is a list of [[Commons:Quality images|quality images]] by user. If you want to be included in this list, create a subcategory of [[:Category:Quality images by user|Quality images by user]] with the format \'Quality images by <username>\', and you will be included in this list with the next bot update (daily). This page will be automatically updated by [[User:Pi bot|Pi bot]]. If you want to change the format of this page, or want to be excluded from this list, please contact [[User:Mike Peel|Mike Peel]]. Manual changes will be ignored by the bot update.\n | de = [[File:Quality images logo.svg|64px|left]] Dies ist eine Liste von [[Commons:Quality images/de|Qualitätsbildern]] nach Benutzer. Wenn du in diese Liste aufgenommen werden möchtest, erstelle eine Unterkategorie von [[:Category:Quality images by user|Quality images by user]] mit dem Format „Quality images by <Benutzername>“, und du wirst mit dem nächsten Bot-Update (täglich) in diese Liste aufgenommen. Diese Seite wird automatisch vom [[User:Pi bot|Pi bot]] aktualisiert. Wenn du das Format dieser Seite ändern oder von dieser Liste ausgeschlossen werden möchtest, wende dich bitte an [[User:Mike Peel|Mike Peel]]. Manuelle Änderungen werden vom Bot-Update ignoriert.\n }}\n}}\n\n== {{LangSwitch\n | default = Table\n | cs = Tabulka\n | de = Tabelle\n | es = Tabla\n | zh = 表格\n }} ==\n\n{|class="wikitable sortable" cellspacing="0"\n!{{LangSwitch|de=Benutzer|default=User|es=Usuario|zh=用戶}}\n!{{LangSwitch|de=Kategorie|default=Category|es=Categoría|zh=分類}}\n!{{LangSwitch|de=Anzahl QIs|default=Number QIs|zh=優質圖像數量}}\n'
cat = pywikibot.Category(commons, targetcat)
subcats = pagegenerators.SubCategoriesPageGenerator(cat, recurse=False);
for subcat in subcats:
Expand Down

0 comments on commit 02633b1

Please sign in to comment.