[Pywikipedia-bugs] [Maniphest] [Commented On] T122705: delete.py asks for password on *every* deletion

2017-08-12 Thread Zoranzoki21
Zoranzoki21 added a comment.

In T122705#3516450, @Zoranzoki21 wrote:
Are you added in user-config.py line:

authenticate['language.wikipedia.org'] = ('usernameofyourbot','passwordofbotaccount')


On language.wikipedia.org i think for example... en.wikipedia.orgTASK DETAILhttps://phabricator.wikimedia.org/T122705EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Zoranzoki21Cc: Zoranzoki21, Xqt, valhallasw, Mpaa, Magul, MarcoAurelio, Aklapper, StudiesWorld, Ciencia_Al_Poder, pywikibot-bugs-list, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Claimed] T76391: Only load item in harvest_template.py when needed

2017-08-12 Thread matej_suchanek
matej_suchanek claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T76391EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: gerritbot, PokestarFan, matej_suchanek, Aklapper, jayvdb, pywikibot-bugs-list, Multichill, Pywikibugs, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, QZanden, Tbscho, MayS, Vali.matei, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Volker_E, Izno, Wikidata-bugs, aude, GWicke, Ricordisamoa, Dalba, Masti, Alchimista, Mbch331, Rxy, Jay8g___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T76391: Only load item in harvest_template.py when needed

2017-08-12 Thread gerritbot
gerritbot added a comment.Herald added a subscriber: PokestarFan.
Change 370664 had a related patch set uploaded (by Matěj Suchánek; owner: Matěj Suchánek):
[pywikibot/core@master] [IMPR] Share claimit.py logic with harvest_template.py

https://gerrit.wikimedia.org/r/370664TASK DETAILhttps://phabricator.wikimedia.org/T76391EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, PokestarFan, matej_suchanek, Aklapper, jayvdb, pywikibot-bugs-list, Multichill, Pywikibugs, GoranSMilovanovic, Magul, QZanden, Tbscho, MayS, Vali.matei, Mdupont, JJMC89, Avicennasis, Volker_E, Izno, Wikidata-bugs, aude, GWicke, Ricordisamoa, Dalba, Masti, Alchimista, Mbch331, Rxy, Jay8g___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T76391: Only load item in harvest_template.py when needed

2017-08-12 Thread gerritbot
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T76391EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, PokestarFan, matej_suchanek, Aklapper, jayvdb, pywikibot-bugs-list, Multichill, Pywikibugs, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, QZanden, Tbscho, MayS, Vali.matei, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Volker_E, Izno, Wikidata-bugs, aude, GWicke, Ricordisamoa, Dalba, Masti, Alchimista, Mbch331, Rxy, Jay8g___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T122705: delete.py asks for password on *every* deletion

2017-08-12 Thread zhuyifei1999
zhuyifei1999 added a comment.
authenticate was used for HTTP authentication in pywikibot 2, with using a tuple of two items, username and password. It will not help MediaWiki login. (The same variable is now also used for OAuth since pywikibot 3 with a 4-tuple).

If you want to save passwords in a file, what you want to use is password_file configuration variable.TASK DETAILhttps://phabricator.wikimedia.org/T122705EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999Cc: zhuyifei1999, Zoranzoki21, Xqt, valhallasw, Mpaa, Magul, MarcoAurelio, Aklapper, StudiesWorld, Ciencia_Al_Poder, pywikibot-bugs-list, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T172853: Feature request for commons_link script

2017-08-12 Thread zhuyifei1999
zhuyifei1999 added a comment.

In T172853#3515222, @Zoranzoki21 wrote:
Are you understand now?


No. Specific examples (diffs) are welcome. I have troubles understanding a sentence if I cannot figure out the subject and the verb.TASK DETAILhttps://phabricator.wikimedia.org/T172853EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999Cc: zhuyifei1999, pywikibot-bugs-list, Aklapper, Zoranzoki21, PokestarFan___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T173195: Implement federated Wikibase in Pywikibot

2017-08-12 Thread Multichill
Multichill created this task.Multichill added projects: Pywikibot-Wikidata, Pywikibot-Commons, Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, PokestarFan, Aklapper.
TASK DESCRIPTIONWikibase (the software behind Wikidata) has been updated to support federation. In the old system a wiki was a database (wikidata.org) and another wiki was a client (commons.wikimedia.org). In the new system with federation a client wiki (commons) can be a database wiki too.

We should support this in Pywikibot too. Somewhere hiding on labs is already a test setup. Can someone please add a link to it?

Not sure what we have to do exactly for it,. Feel free to make this task more specific or add subtasks.TASK DETAILhttps://phabricator.wikimedia.org/T173195EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MultichillCc: Lydia_Pintscher, SandraF_WMF, Aklapper, Lokal_Profil, PokestarFan, pywikibot-bugs-list, Multichill, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T173238: Harvest_template should be able to add reciprocal claims

2017-08-12 Thread Ejegg
Ejegg created this task.Ejegg added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONIf I am harvesting 'has part' claims for data items in a category, you should be able to simultaneously add 'member of' claims to the targets of each 'has part' link pointing back to the data item.TASK DETAILhttps://phabricator.wikimedia.org/T173238EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: EjeggCc: Aklapper, pywikibot-bugs-list, Ejegg, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Claimed] T173238: Harvest_template should be able to add reciprocal claims

2017-08-12 Thread Ejegg
Ejegg triaged this task as "Normal" priority.Ejegg claimed this task.Ejegg updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTIONIf I am harvesting 'has part' claims for data items in a category, youI should be able to simultaneously add 'member of' claims to the targets of each 'has part' link pointing back to the data item.TASK DETAILhttps://phabricator.wikimedia.org/T173238EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: EjeggCc: Aklapper, pywikibot-bugs-list, Ejegg, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T173238: Harvest_template should be able to add reciprocal claims

2017-08-12 Thread gerritbot
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T173238EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ejegg, gerritbotCc: gerritbot, Aklapper, pywikibot-bugs-list, Ejegg, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T173238: Harvest_template should be able to add reciprocal claims

2017-08-12 Thread gerritbot
gerritbot added a comment.
Change 371701 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[pywikibot/core@master] Add reciprocal claims to harvested targets

https://gerrit.wikimedia.org/r/371701TASK DETAILhttps://phabricator.wikimedia.org/T173238EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ejegg, gerritbotCc: gerritbot, Aklapper, pywikibot-bugs-list, Ejegg, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T168317: Add globalusage() function for pywikibot.Image

2017-08-12 Thread gerritbot
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T168317EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Multichill, Lena, Aklapper, zhuyifei1999, pywikibot-bugs-list, Framawiki, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T168317: Add globalusage() function for pywikibot.Image

2017-08-12 Thread gerritbot
gerritbot added a comment.
Change 371659 had a related patch set uploaded (by Mpaa; owner: Mpaa):
[pywikibot/core@master] FilePage: add API query=globalusage support

https://gerrit.wikimedia.org/r/371659TASK DETAILhttps://phabricator.wikimedia.org/T168317EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Multichill, Lena, Aklapper, zhuyifei1999, pywikibot-bugs-list, Framawiki, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T172992: Fixing Gallica upload tool

2017-08-12 Thread Yann
Yann added a comment.
It seems we don't need any code to get a HR image from Gallica. Gallica uses the IIIF protocol.
See https://medium.com/@seeksanusername/astuce1-r%C3%A9cup%C3%A9rer-de-la-hd-sur-gallica-bef0a6cc7f89 (in French) or http://gallica.bnf.fr/blog/24032016/apprenez-lire-les-url-de-gallica (in French).TASK DETAILhttps://phabricator.wikimedia.org/T172992EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: YannCc: zhuyifei1999, TerraCodes, pywikibot-bugs-list, Aklapper, Yann, Soteriaspace, JakeTheDeveloper, Abbe98, MuhammadShuaib, Krenair___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs