https://bugzilla.wikimedia.org/show_bug.cgi?id=72504
Bug ID: 72504 Summary: redirect.py not usable on 1.19.3 Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: redirect.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: Phoenixoverride@gmail.com Web browser: --- Mobile Platform: ---
Traceback (most recent call last): File "C:\rewrite\pwb.py", line 178, in <module> run_python_file(fn, argv, argvu) File "C:\rewrite\pwb.py", line 75, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "C:\rewrite\scripts\redirect.py", line 814, in <module> main() File "C:\rewrite\scripts\redirect.py", line 811, in main bot.run() File "C:\rewrite\scripts\redirect.py", line 714, in run self.fix_double_redirects() File "C:\rewrite\scripts\redirect.py", line 526, in fix_double_redirects self.fix_1_double_redirect(redir_name) File "C:\rewrite\scripts\redirect.py", line 597, in fix_1_double_redirect 'wikieditor-toolbar-tool-redirect-example') File "C:\rewrite\pywikibot\site.py", line 1807, in mediawiki_message return self.mediawiki_messages([key])[key] File "C:\rewrite\pywikibot\site.py", line 1795, in mediawiki_messages % locals()) KeyError: "Site local:en has no message 'wikieditor-toolbar-tool-redirect-exam ple'" <type 'exceptions.KeyError'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
https://bugzilla.wikimedia.org/show_bug.cgi?id=72504
Fabian CommodoreFabianus@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |CommodoreFabianus@gmx.de
--- Comment #1 from Fabian CommodoreFabianus@gmx.de --- Could you provide the query result? The parameters are the following: api.php?action=query&meta=allmessages&ammessages=wikieditor-toolbar-tool-redirect-example&amlang=en
https://bugzilla.wikimedia.org/show_bug.cgi?id=72504
--- Comment #2 from Betacommand Phoenixoverride@gmail.com --- { "query": { "allmessages": [ { "name": "wikieditor-toolbar-tool-redirect-example", "missing": "" } ] } }
https://bugzilla.wikimedia.org/show_bug.cgi?id=72504
--- Comment #3 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 168728 had a related patch set uploaded by XZise: [FIX] Redirect: Allow missing toolbar example
https://gerrit.wikimedia.org/r/168728
https://bugzilla.wikimedia.org/show_bug.cgi?id=72504
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=72504
--- Comment #4 from Betacommand Phoenixoverride@gmail.com --- Actually this bug is bigger, it relies on an extension:WikiEditor for translating instead of core mediawiki
https://bugzilla.wikimedia.org/show_bug.cgi?id=72504
--- Comment #5 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 168728 merged by jenkins-bot: [FIX] Redirect: Allow missing toolbar example
https://gerrit.wikimedia.org/r/168728
https://bugzilla.wikimedia.org/show_bug.cgi?id=72504
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |NEW CC| |jayvdb@gmail.com Version|core (2.0) |compat (1.0)
--- Comment #6 from John Mark Vandenberg jayvdb@gmail.com --- bug fixed in core; the same bug exists in the same script in compat.
import wikipedia.py from wikipedia import pywikibot s = pywikibot.Site('en', 'lyricwiki') s.mediawiki_message('wikieditor-toolbar-tool-redirect-example')
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "wikipedia.py", line 7645, in mediawiki_message raise KeyError("message '%s' does not exist." % key) KeyError: "message 'wikieditor-toolbar-tool-redirect-example' does not exist."
https://bugzilla.wikimedia.org/show_bug.cgi?id=72504
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|redirect.py not usable on |redirect.py depends on not |1.19.3 |extension:WikiEditor being | |installed
https://bugzilla.wikimedia.org/show_bug.cgi?id=72504
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|redirect.py depends on not |redirect.py depends on |extension:WikiEditor being |extension:WikiEditor being |installed |installed
pywikipedia-bugs@lists.wikimedia.org