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
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
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
Revi created this task.
Revi added a subscriber: Revi.
Revi added a project: pywikibot-core.
Revi changed Security from none to none.
TASK DESCRIPTION
{T74346} created mai.wikipedia, however pywikibot returns error when I use following settings:
```
-lang:mai -family:wikipedia
```
It should support this new wiki.
TASK DETAIL
https://phabricator.wikimedia.org/T76939
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Revi
Cc: Aklapper, Revi, jayvdb, pywikipedia-bugs
JAnD created this task.
JAnD added a subscriber: JAnD.
JAnD added projects: pywikibot-core, Pywikibot-interwiki.py.
JAnD changed Security from none to none.
TASK DESCRIPTION
Interwiki skips some languages without error mesage, even if they are defined in user-config.py and in compat it worked correctly
(manual selecting of correct links needed)
`pwb.py interwiki -async -family:wiktionary pl:Kategoria:Języki -neverlink:pl`
```
...
Changes to be made: Robot: Modifying [[pl:Kategoria:Indeks slow wg jezykow]] to [[pl:Kategoria:Jezyki]]
@@ -85 +85 @@
- [[pl:Kategoria:Indeks slow wg jezykow]]
+ [[pl:Kategoria:Jezyki]]
@@ -129 +129 @@
- [[zu:Category:Zonke izilimi]]
+ [[zu:Category:Zonke izilimi]]
NOTE: Updating live wiki...
Page [[ta:px?pxp?:m?r?xlx]] saved
WARNING: wiktionary: [[zh-min-nan:fen?:Gi-gian]] does not link to [[pl:Kategoria:Jezyki]] but to [[pl:Kategoria:Indeks slow wg jezykow]]
WARNING: wiktionary: [[simple:Category:Languages]] does not link to [[pl:Kategoria:Jezyki]] but to [[pl:Kategoria:Indeks slow wg jezykow]]
WARNING: wiktionary: [[roa-rup:Category:Limbe]] does not link to [[pl:Kategoria:Jezyki]] but to [[pl:Kategoria:Indeks slow wg jezykow]]
***
Waiting for 63 pages to be put. Estimated time remaining: 0:02:06
```
TASK DETAIL
https://phabricator.wikimedia.org/T76452
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: JAnD
Cc: pywikipedia-bugs, JAnD, jayvdb