Revi created this task.
Revi added a subscriber: Revi.
Revi added projects: pywikibot-core, Pywikibot-redirect.py.
Revi changed Security from none to none.
TASK DESCRIPTION
{P132} has a paste of log and error.
Wikidata policy now requires redirect after merge (no delete), so this should be fixed asap.
TASK DETAIL
https://phabricator.wikimedia.org/T77971
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Revi
Cc: Aklapper, Revi, jayvdb, pywikipedia-bugs
jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: pywikibot-core.
jayvdb changed Security from none to none.
TASK DESCRIPTION
The following *library* dependencies do not install out of the box on Python 3 using setuptools/pip (with py3 port status in brackets):
* pydot - ( https://bitbucket.org/prologic/pydot )
* oursql - ( https://launchpad.net/oursql/py3k/ - requires compiler and mysql headers)
* mysqldb - ( various; a mess )
* pYsearch - ( no sign of life at http://pysearch.sourceforge.net/ or https://developer.yahoo.com/python/python-pysearch.html )
pydot is only used by interwiki_graph, which is only used by the interwiki script
Pywikibot depends on either oursql or mysqldb, so we only need one of these to work.
TASK DETAIL
https://phabricator.wikimedia.org/T75704
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, jayvdb
jayvdb created this task.
jayvdb added subscribers: jayvdb, valhallasw, pywikipedia-bugs, Ladsgroup.
jayvdb added a project: pywikibot-core.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
A pure python version of mwparserfromhell should be added to the nightly tarballs, so it can become a mandatory dependency.
TASK DETAIL
https://phabricator.wikimedia.org/T88069
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: Ladsgroup, valhallasw, jayvdb, Aklapper, pywikipedia-bugs
Ricordisamoa created this task.
Ricordisamoa added subscribers: Ricordisamoa, jayvdb, XZise, valhallasw.
Ricordisamoa added a project: Pywikibot-General.
Ricordisamoa changed Security from none to none.
TASK DESCRIPTION
The [[ //github.com/earwig/mwparserfromhell | mwparserfromhell ]] library allows bot developers to focus on actual code instead of regexes.
It should probably be required for many features in pywikibot, not only on *nix.
TASK DETAIL
https://phabricator.wikimedia.org/T78378
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: Ricordisamoa
Cc: Aklapper, Ricordisamoa, jayvdb, XZise, valhallasw, pywikipedia-bugs
jayvdb created this task.
jayvdb assigned this task to XZise.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: pywikibot-core.
jayvdb changed Security from none to none.
TASK DESCRIPTION
There is an ongoing development project to add argparse support to pywikibot core. I'm adding a Phab task so it can be managed here.
TASK DETAIL
https://phabricator.wikimedia.org/T76429
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: XZise, jayvdb
Cc: pywikipedia-bugs, jayvdb
jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: Pywikibot-pagegenerators.
jayvdb changed Security from none to none.
TASK DESCRIPTION
The following scripts do not currently use pagegens, but it might be possible to use pagegens as they are page driven (but not always wiki page driven)
* archivebot.py
* casechecker.py
* catall.py
* cfd.py
* clean_sandbox.py
* editarticle.py
* flickrripper.py
* freebasemappingupload.py
* imagetransfer.py
* pagefromfile.py
* redirect.py
* replicate_wiki.py
* states_redirect.py
* upload.py
* welcome.py
The following scripts do not currently use pagegens, and it probably cant be used for these scripts as they are not driven by page processing.
* login.py
* script_wui.py (not as a command line option, at least)
* shell.py
* version.py
* watchlist.py
TASK DETAIL
https://phabricator.wikimedia.org/T78452
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, jayvdb, pywikipedia-bugs
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
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