Hello,
Pywikipedia uses its own translations of the canonical namespaces. When these translations are incorrect, the bot will edit the main namespace instead. For example, pywikipedia currently translates the "User" namespace as "Wikipedysta" on pl-wikivoyage, but the correct namespace is "Użytkownik".
Is there a way to page.put() with the canonical namespace instead of a translated namespace?
you cannot use the canonical namespace without explicit use of it or renaming it in the page text. But I fixed that bug in r11092 by overriding the default namespaces from family.py.
Regards xqt
----- Original Nachricht ---- Von: "Jesse (Pathoschild)" pathoschild@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 20.02.2013 05:07 Betreff: [Pywikipedia-l] Translated namespaces can cause edits to the wrong namespace
Hello,
Pywikipedia uses its own translations of the canonical namespaces. When these translations are incorrect, the bot will edit the main namespace instead. For example, pywikipedia currently translates the "User" namespace as "Wikipedysta" on pl-wikivoyage, but the correct namespace is "U?ytkownik".
Is there a way to page.put() with the canonical namespace instead of a translated namespace?
-- Yours cordially, Jesse (Pathoschild)
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org