https://bugzilla.wikimedia.org/show_bug.cgi?id=55266
Web browser: --- Bug ID: 55266 Summary: commonscat.py on fr.wp Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1212/ Reported by: mystou Created on: 2010-07-15 09:38:52 Subject: commonscat.py on fr.wp Original description: Hi,
On French Wikipedia, we use {{Autres projets|commons=PAGE_NAME|wiktionary=PAGE_NAME}}, can you update commonscat.py : * Convert old {{Commonscat|PAGE_NAME}} to new {{Autres projets|commons=PAGE_NAME}} or to update an existing {{autres projets}} * When {{Commonscat}} and {{Autres projets|commons=PAGE_NAME}} exist on a page, remove the first and update the second.
Thanks,
====== $ python version.py Pywikipedia [http] trunk/pywikipedia (r8356, 2010/07/13, 18:25:51) Python 2.6.5+ (release26-maint, Jul 6 2010, 14:48:45) [GCC 4.4.4] config-settings: use_api = True use_api_login = True
https://bugzilla.wikimedia.org/show_bug.cgi?id=55266
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- If we do this properly this could also be used for the itwp.
The updating and replacing should just be done with replace.py once, adding conversions to commonscat.py might make it overly complicated.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55266
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- This change must be limited, for the french WIkipedia, to mainspace. On other namespaces we use Commonscat.
Not that on mainspace this script is not useable, because the template must, at least, preceed ''palettes'' and ''portails''
https://bugzilla.wikimedia.org/show_bug.cgi?id=55266
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1212
https://bugzilla.wikimedia.org/show_bug.cgi?id=55266
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |i18n Priority|Unprioritized |Normal CC| |ladsgroup@gmail.com Summary|commonscat.py on fr.wp |commonscat.py should add | |sister projects template | |instead of coomonscat in | |main namespace in French | |Wikipedia
--- Comment #3 from Amir Ladsgroup ladsgroup@gmail.com --- AFAIK commonscat doesn't have a ns identifier to use a template in certain namespace and use another one otherwise, but it's a good idea to implement it
https://bugzilla.wikimedia.org/show_bug.cgi?id=55266
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricordisamoa@openmailbox.or | |g Summary|commonscat.py should add |commonscat.py should add |sister projects template |sister projects template |instead of coomonscat in |instead of commonscat in |main namespace in French |main namespace in French |Wikipedia |Wikipedia
https://bugzilla.wikimedia.org/show_bug.cgi?id=55266
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|General |Other scripts
pywikipedia-bugs@lists.wikimedia.org