As a preparation to my upcoming presentaion at Wikimania ( http://wikimania2012.wikimedia.org/wiki/Submissions/Efficient_and_flexible_t...) I wrote the missing manpage of fixes.py. Please review and complete if necessary. http://www.mediawiki.org/wiki/Manual:Pywikipediabot/fixes.py
if the 'msg' key is not a dict but a basestring this is interpreted as a i18n modul name and the messages are retrieved from i18n folder. You'll see an example at fixes['isbn'] where 'isbn-formatting' is assigned to the 'msg' key
Greetings xqt
----- Original Nachricht ---- Von: Bináris wikiposta@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 23.06.2012 22:59 Betreff: [Pywikipedia-l] Manual of fixes.py
As a preparation to my upcoming presentaion at Wikimania ( http://wikimania2012.wikimedia.org/wiki/Submissions/Efficient_and_flexible_t ext_manipulation,_spelling_correction_and_page_collections_with_Pywikibot) I wrote the missing manpage of fixes.py. Please review and complete if necessary. http://www.mediawiki.org/wiki/Manual:Pywikipediabot/fixes.py
-- Bináris
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Done, and I also added the dictionary syntax of replacements that I have just discovered in replace.py, and nocase key as well. Thanks!
2012/6/23 info@gno.de
if the 'msg' key is not a dict but a basestring this is interpreted as a i18n modul name and the messages are retrieved from i18n folder. You'll see an example at fixes['isbn'] where 'isbn-formatting' is assigned to the 'msg' key
Greetings xqt
----- Original Nachricht ---- Von: Bináris wikiposta@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 23.06.2012 22:59 Betreff: [Pywikipedia-l] Manual of fixes.py
As a preparation to my upcoming presentaion at Wikimania (
http://wikimania2012.wikimedia.org/wiki/Submissions/Efficient_and_flexible_t
ext_manipulation,_spelling_correction_and_page_collections_with_Pywikibot)
I wrote the missing manpage of fixes.py. Please review and complete if necessary. http://www.mediawiki.org/wiki/Manual:Pywikipediabot/fixes.py
-- Bináris
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org