jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: pywikibot-core, Pywikibot-Wikidata, Pywikibot-tests.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
The ServerError exception in wikidataquery should give at least a snippet of the returned non-JSON text is, to aid with debugging failures like:
https://travis-ci.org/wikimedia/pywikibot-core/jobs/54731889#L2732
TASK DETAIL
https://phabricator.wikimedia.org/T93305
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: pywikipedia-bugs, jayvdb, Aklapper
JAnD created this task.
JAnD added a subscriber: JAnD.
JAnD added projects: Pywikibot-interwiki.py, pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
pwb.py interwiki -family:wiktionary -whenneeded -lang:cy Category:Armeneg
th: category is redirected to another one, but bot does not recognize this redirect and gives two possibilities. When I try compat or -autonomous mode, it works
TASK DETAIL
https://phabricator.wikimedia.org/T87222
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JAnD
Cc: pywikipedia-bugs, Aklapper, JAnD, jayvdb
jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: Pywikibot-Other-scripts.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
In core only:
```
$ python pwb.py clean_sandbox -family:wikipedia -lang:en -user
Traceback (most recent call last):
File "pwb.py", line 222, in <module>
run_python_file(filename, argv, argvu, file_package)
File "pwb.py", line 81, in run_python_file
main_mod.__dict__)
File "./scripts/clean_sandbox.py", line 339, in <module>
main()
File "./scripts/clean_sandbox.py", line 335, in main
bot = SandboxBot(**opts)
File "./scripts/clean_sandbox.py", line 184, in __init__
localSandbox = pywikibot.Page(self.site, localSandboxTitle)
File "pywikibot/tools.py", line 711, in wrapper
return obj(*__args, **__kw)
File "pywikibot/tools.py", line 711, in wrapper
return obj(*__args, **__kw)
File "pywikibot/page.py", line 1853, in __init__
raise ValueError(u'Title must be specified and not empty '
ValueError: Title must be specified and not empty if source is a Site.
<type 'exceptions.ValueError'>
```
TASK DETAIL
https://phabricator.wikimedia.org/T87634
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: pywikipedia-bugs, jayvdb, Aklapper
Multichill created this task.
Multichill added a subscriber: Multichill.
Multichill added projects: Pywikibot-textlib.py, pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
Python 2.6.6 is supported, see https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation#Downloading_Py… , so why the hell are we using features that are not part of python 2.6 in core?!?!?
I'm on a Redhat install where Python 2.6.6 is still the default python and next to impossible to upgrade without disturbing other things on the system.
TASK DETAIL
https://phabricator.wikimedia.org/T90156
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Multichill
Cc: pywikipedia-bugs, Aklapper, Multichill, jayvdb
JAnD created this task.
JAnD added a subscriber: JAnD.
JAnD added projects: Pywikibot-interwiki.py, pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
Interwiki bot found non existing link to simple:, but in summary is en:
```
Updating links on page [[te:vrg^:Language user templates]].
Changes to be made: Bot: Adding dv, ne, vo; removing: en
@@ -4,0 +5 @@
+ [[dv:??????:Language user templates]]
@@ -13,0 +15 @@
+ [[ne:cnfnrenii:Language user templates]]
@@ -17 +18,0 @@
- [[simple:Category:Language user templates]]
@@ -19 +20,2 @@
- [[uk:Kategoriya:Shabloni:Koristuvachi za movami]]
+ [[uk:Kategoriya:Shabloni:Koristuvachi za movami]]
+ [[vo:Klad:Samafomots tefü gebanapüks]]
ERROR: Found incorrect link to en in [[te:vrg^:Language user templates]]
Submit? ([y]es, [n]o, open in [b]rowser, [g]ive up, [a]lways) yPage
```
TASK DETAIL
https://phabricator.wikimedia.org/T92822
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JAnD
Cc: pywikipedia-bugs, JAnD, Aklapper, jayvdb
jayvdb created this task.
jayvdb added subscribers: pywikipedia-bugs, valhallasw, Nikerabbit, siebrand, jayvdb, Ladsgroup.
jayvdb added projects: i18n, Pywikibot-i18n.
TASK DESCRIPTION
JSON files have been added to pywikibot/i18n automatically (https://gerrit.wikimedia.org/r/#/c/164947/), which now has python and JSON files with the same messages. The JSON files are not used yet, as the code changes to enable JSON have exposed packaging problems that are the subject of RFC https://www.mediawiki.org/wiki/Requests_for_comment/pywikibot_2.0_packaging
The message files for the English message do not include the attribution; it is missing from the python message files and now also missing from the JSON messages files.
```
$ head -50 pywikibot.py
# -*- coding: utf-8 -*-
msg = {
'en': {
'pywikibot-enter-category-name': u'Please enter the category name:',
'pywikibot-enter-file-links-processing': u'Links to which file page should be processed?',
'pywikibot-enter-finished-browser': u'Press Enter when finished in browser.',
'pywikibot-enter-namespace-number': u'Please enter a namespace by its number:',
'pywikibot-enter-new-text': u'Please enter the new text:',
'pywikibot-enter-page-processing': u'Which page should be processed?',
'pywikibot-enter-xml-filename': u'Please enter the XML dump\'s filename:',
},
# Author: Als-Holder
# Author: TTMTT
'qqq': {
'pywikibot-enter-xml-filename': u'Message displayed to the bot owner to enter the XML dump\'s filename.',
'pywikibot-enter-page-processing': u'Question displayed to the bot owner which page should be processed.',
'pywikibot-enter-file-links-processing': u'Question displayed to the bot owner processing links to a given file page.',
'pywikibot-enter-namespace-number': u'Message displayed to the bot owner to enter a namespace by its number.',
'pywikibot-enter-new-text': u'Message displayed to the bot owner to enter the new text.',
'pywikibot-enter-category-name': u'Message displayed to the bot owner to enter the category name.',
'pywikibot-enter-finished-browser': u'Message displayed to the bot owner to press Enter button when browser edits are finished.',
},
# Author: Als-Holder
'als': {
'pywikibot-enter-xml-filename': u'Bitte gib dr Datename vum XML-Dump yy:',
'pywikibot-enter-page-processing': u'Weli Syte soll bearbeitet wäre?',
'pywikibot-enter-file-links-processing': u'Vu wellere Dateisyte solle d Link bearbeitet wäre?',
'pywikibot-enter-namespace-number': u'Bitte gib d Nummere vum Namensruum yy:',
'pywikibot-enter-new-text': u'Bitte gib dr nei Text yy:',
'pywikibot-enter-category-name': u'Bitte gib dr Name vu dr Kategori yy:',
'pywikibot-enter-finished-browser': u'Druck noch eme Zuemache vum Browsewr uf «Enter».',
},
...
```
The metadata for als is correct
```
$ cat pywikibot/als.json
{
"@metadata": {
"authors": [
"Als-Holder"
]
},
"pywikibot-enter-xml-filename": "Bitte gib dr Datename vum XML-Dump yy:",
"pywikibot-enter-page-processing": "Weli Syte soll bearbeitet wäre?",
"pywikibot-enter-file-links-processing": "Vu wellere Dateisyte solle d Link bearbeitet wäre?",
"pywikibot-enter-namespace-number": "Bitte gib d Nummere vum Namensruum yy:",
"pywikibot-enter-new-text": "Bitte gib dr nei Text yy:",
"pywikibot-enter-category-name": "Bitte gib dr Name vu dr Kategori yy:",
"pywikibot-enter-finished-browser": "Druck noch eme Zuemache vum Browsewr uf «Enter»."
}
```
However the metadata for 'qqq' is omitted
```
$ cat pywikibot/qqq.json
{
"@metadata": [],
"pywikibot-enter-xml-filename": "Message displayed to the bot owner to enter the XML dump's filename.",
"pywikibot-enter-page-processing": "Question displayed to the bot owner which page should be processed.",
"pywikibot-enter-file-links-processing": "Question displayed to the bot owner processing links to a given file page.",
"pywikibot-enter-namespace-number": "Message displayed to the bot owner to enter a namespace by its number.",
"pywikibot-enter-new-text": "Message displayed to the bot owner to enter the new text.",
"pywikibot-enter-category-name": "Message displayed to the bot owner to enter the category name.",
"pywikibot-enter-finished-browser": "Message displayed to the bot owner to press Enter button when browser edits are finished."
}
```
And the 'en' files do not include a metadata block, which means they fail the i18n JSON syntax tests (T85335).
```
$ cat pywikibot/en.json
{
"pywikibot-enter-xml-filename": "Please enter the XML dump's filename:",
"pywikibot-enter-page-processing": "Which page should be processed?",
"pywikibot-enter-file-links-processing": "Links to which file page should be processed?",
"pywikibot-enter-namespace-number": "Please enter a namespace by its number:",
"pywikibot-enter-new-text": "Please enter the new text:",
"pywikibot-enter-category-name": "Please enter the category name:",
"pywikibot-enter-finished-browser": "Press Enter when finished in browser."
}
```
TASK DETAIL
https://phabricator.wikimedia.org/T85336
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Aklapper, valhallasw, Nikerabbit, siebrand, jayvdb, Ladsgroup, Gryllida, Shizhao, Arrbee, pywikipedia-bugs
JAnD created this task.
JAnD added a subscriber: JAnD.
JAnD added a project: pywikibot-core.
JAnD changed Security from none to none.
TASK DESCRIPTION
pwb.py interwiki.py -prefixindex:User:JAn -family:wikiquote -hint:all
Retrieving 3 pages from wikiquote:cs.
NOTE: [[cs:Uživatel:JAnDbot]]: [[cs:Uživatel:JAnDbot]] gives duplicate interwiki
on same site [[sk:Redaktor:JAnDbot]]
NOTE: [[cs:Uživatel:JAn Dudík]]: [[cs:Uživatel:JAn Dudík]] gives duplicate inter
wiki on same site [[af:Gebruiker:JAn Dudík]]
NOTE: [[cs:Uživatel:JAn Dudík]]: [[cs:Uživatel:JAn Dudík]] gives duplicate inter
wiki on same site [[am:???:JAn Dudík]]
NOTE: [[cs:Uživatel:JAn Dudík]]: [[cs:Uživatel:JAn Dudík]] gives duplicate inter
wiki on same site [[ar:mstkhdm:JAn Dudík]]
NOTE: [[cs:Uživatel:JAn Dudík]]: [[cs:Uživatel:JAn Dudík]] gives duplicate inter
wiki on same site [[az:Istifadeçi:JAn Dudík]]
NOTE: [[cs:Uživatel:JAn Dudík]]: [[cs:Uživatel:JAn Dudík]] gives duplicate inter
wiki on same site [[be:Udzel'nik:JAn Dudík]]
NOTE: [[cs:Uživatel:JAn Dudík/common.js]] does not have any interwiki links
Retrieving 4 pages from wikiquote:az.
NOTE: [[az:Uživatel:JAnDbot]] does not exist. Skipping.
NOTE: [[az:Uživatel:JAn Dudík]] does not exist. Skipping.
NOTE: [[az:Uživatel:JAn Dudík/common.js]] does not exist. Skipping.
Retrieving 4 pages from wikiquote:sk.
NOTE: [[sk:Uživatel:JAnDbot]] does not exist. Skipping.
NOTE: [[sk:Uživatel:JAn Dudík]] does not exist. Skipping.
NOTE: [[sk:Uživatel:JAn Dudík/common.js]] does not exist. Skipping.
Retrieving 4 pages from wikiquote:be.
NOTE: [[be:Uživatel:JAnDbot]] does not exist. Skipping.
NOTE: [[be:Uživatel:JAn Dudík]] does not exist. Skipping.
NOTE: [[be:Uživatel:JAn Dudík/common.js]] does not exist. Skipping.
Retrieving 4 pages from wikiquote:am.
NOTE: [[am:Uživatel:JAnDbot]] does not exist. Skipping.
NOTE: [[am:Uživatel:JAn Dudík]] does not exist. Skipping.
NOTE: [[am:Uživatel:JAn Dudík/common.js]] does not exist. Skipping.
Retrieving 4 pages from wikiquote:af.
NOTE: [[af:Uživatel:JAnDbot]] does not exist. Skipping.
NOTE: [[af:Uživatel:JAn Dudík]] does not exist. Skipping.
NOTE: [[af:Uživatel:JAn Dudík/common.js]] does not exist. Skipping.
Retrieving 4 pages from wikiquote:ar.`
Script should search localized namespace
TASK DETAIL
https://phabricator.wikimedia.org/T75934
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: JAnD
Cc: pywikipedia-bugs, JAnD, jayvdb
Multichill created this task.
Multichill added subscribers: Multichill, jayvdb, hashar.
Multichill added projects: Pywikibot-documentation, pywikibot-core, Documentation.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
In https://phabricator.wikimedia.org/T66846 John made documentation using Sphinx. A preview of this is available at http://pywikibot.readthedocs.org/en/latest/pywikibot . This documentation should be published on doc.wikimedia.org and regularly updated.
Antoine, can you help with this?
TASK DETAIL
https://phabricator.wikimedia.org/T89590
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Multichill
Cc: hashar, jayvdb, Aklapper, Multichill, Spage, pywikipedia-bugs