[Pywikipedia-bugs] [Maniphest] [Commented On] T133311: Add support for unusedfiles.py at Meta-Wiki

2016-08-17 Thread MarcoAurelio
MarcoAurelio added a comment.

In T133311#2560647, @jayvdb wrote:
On the gerrit, we are discussing that a command line argument should be added, and necessary, for running this script without notifying the user.


A command line argument would be good as well.TASK DETAILhttps://phabricator.wikimedia.org/T133311EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MarcoAurelioCc: jayvdb, gerritbot, Aklapper, MarcoAurelio, pywikibot-bugs-list, Lewizho99, Maathavan___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T143293: checkimages.py: DeprecationWarning: pywikibot.version.svn_rev_info is deprecated; use getversion_svn_setuptools instead

2016-08-17 Thread MarcoAurelio
MarcoAurelio created this task.MarcoAurelio added projects: Pywikibot-core, Pywikibot-Other-scripts.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONI tried to run the script on Meta-Wiki. It gave me this error message:

Your project is not supported by this script.
You have to edit the script and add it!

So I did, with the result:

Your project is not supported by this script.
You have to edit the script and add it!

I added de -debug option to the script, the result is as follows:

F:\MWDEV\pywikibot-core>pwb.py checkimages -commons -duplicatereport -debug
WARNING: F:\MWDEV\pywikibot-core\pywikibot\version.py:101: DeprecationWarning: pywikibot.version.getversion_svn is deprecated; use getversion_svn_setuptools instead.
  (tag, rev, date, hsh) = vcs_func(_program_dir)

--- Logging error ---
[...]

WARNING: F:\MWDEV\pywikibot-core\pywikibot\version.py:252: DeprecationWarning: pywikibot.version.svn_rev_info is deprecated; use getversion_svn_setuptools instead.
  tag, rev, date = svn_rev_info(_program_dir)

--- Logging error ---
[...]
WARNING: F:\MWDEV\pywikibot-core\pywikibot\throttle.py:228: ResourceWarning: unclosed file <_io.TextIOWrapper name='F:\\MWDEV\\pywikibot-core\\throttle.ctrl' mode='r' encoding='cp1252'>
  f = open(self.ctrlfilename, 'w')

F:\MWDEV\pywikibot-core>

I omited parts of the error message because it contained private machine data. If they're relevant, please ask me in private for them and I'll provide them.

Thank you.TASK DETAILhttps://phabricator.wikimedia.org/T143293EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MarcoAurelioCc: valhallasw, Xqt, Aklapper, MarcoAurelio, pywikibot-bugs-list, Mdupont, JJMC89, jayvdb___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T75545: Support Portuguese wiki flag 'eliminator'

2016-08-17 Thread Sn1per
Sn1per added a comment.
Why not use action=""> to find out if the current bot user has the delete user right?TASK DETAILhttps://phabricator.wikimedia.org/T75545EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Sn1perCc: Sn1per, Ricordisamoa, gerritbot, jayvdb, pywikibot-bugs-list, Danilo, Lewizho99, Mdupont, JJMC89, Maathavan___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T143217: archivebot.py exception: ValueError: unsupported format character '|' (0x7c) at index 43

2016-08-17 Thread MarcoAurelio
MarcoAurelio created this task.MarcoAurelio added a project: Pywikibot-archivebot.py.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION6 Threads found on [[an:Wikipedia:Tabierna/Propuestas]]
Looking for: {{Usuario:MABot/config}} in [[an:Wikipedia:Tabierna/Propuestas]]
Processing 6 threadsProcessing [[an:Wikipedia:Tabierna/Propuestas]]

Archiving 4 thread(s).
ERROR: Error occurred while processing page [[an:Wikipedia:Tabierna/Propuestas]]
ERROR: ValueError: unsupported format character '|' (0x7c) at index 43
Traceback (most recent call last):
  File "archivebot.py", line 733, in main
archiver.run()
  File "archivebot.py", line 623, in run
self.comment_params)
  File "/data/project/shared/pywikipedia/core/pywikibot/i18n.py", line 656, in twtranslate
return trans % parameters
ValueError: unsupported format character '|' (0x7c) at index 43

I'm not sure what that means, but breaks the bot when trying to archive those pages. Thanks for your help in advance.TASK DETAILhttps://phabricator.wikimedia.org/T143217EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MarcoAurelioCc: Xqt, valhallasw, Aklapper, MarcoAurelio, pywikibot-bugs-list___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T133311: Add support for unusedfiles.py at Meta-Wiki

2016-08-17 Thread jayvdb
jayvdb added a comment.
On the gerrit, we are discussing that a command line argument should be added, and necessary, for running this script without notifying the user.TASK DETAILhttps://phabricator.wikimedia.org/T133311EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdbCc: jayvdb, gerritbot, Aklapper, MarcoAurelio, pywikibot-bugs-list, Lewizho99, Maathavan___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T140624: redirect.py: please add deletion template to Meta

2016-08-17 Thread gerritbot
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T140624EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Xqt, Aklapper, TerraCodes, Zppix, MarcoAurelio, pywikibot-bugs-list, Lewizho99, Maathavan___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T140624: redirect.py: please add deletion template to Meta

2016-08-17 Thread gerritbot
gerritbot added a comment.
Change 243630 had a related patch set uploaded (by Xqt):
[FIX] Change tw(n)translate from Site.code to Site.lang dependency

https://gerrit.wikimedia.org/r/243630TASK DETAILhttps://phabricator.wikimedia.org/T140624EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Xqt, Aklapper, TerraCodes, Zppix, MarcoAurelio, pywikibot-bugs-list___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T140624: redirect.py: please add deletion template to Meta

2016-08-17 Thread Xqt
Xqt added a comment.
Unfortunately the broken redirect template is part of the i18n system but must be L10N instead. https://gerrit.wikimedia.org/r/#/c/243630/ should solve this.TASK DETAILhttps://phabricator.wikimedia.org/T140624EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Xqt, Aklapper, TerraCodes, Zppix, MarcoAurelio, pywikibot-bugs-list___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T133311: Add support for unusedfiles.py at Meta-Wiki

2016-08-17 Thread gerritbot
gerritbot added a comment.
Change 305184 had a related patch set uploaded (by Xqt):
[L10N] Enable unusedfiles.py at meta-wiki

https://gerrit.wikimedia.org/r/305184TASK DETAILhttps://phabricator.wikimedia.org/T133311EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Aklapper, MarcoAurelio, pywikibot-bugs-list___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T133311: Add support for unusedfiles.py at Meta-Wiki

2016-08-17 Thread gerritbot
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T133311EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Aklapper, MarcoAurelio, pywikibot-bugs-list, Lewizho99, Maathavan___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs