[Pywikipedia-bugs] [Maniphest] [Commented On] T113142: Unable to generating all pages with any url using -weblink

2015-12-31 Thread gerritbot
gerritbot added a subscriber: gerritbot.
gerritbot added a comment.

Change 261767 had a related patch set uploaded (by Ani310):
Set url to None if it contains only "*" in the weblink argument

https://gerrit.wikimedia.org/r/261767


TASK DETAIL
  https://phabricator.wikimedia.org/T113142

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: gerritbot, blackops0057, StudiesWorld, jayvdb, pywikibot-bugs-list, 
Ricordisamoa, valhallasw, Aklapper



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T113142: Unable to generating all pages with any url using -weblink

2015-12-31 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T113142

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: gerritbot, blackops0057, StudiesWorld, jayvdb, pywikibot-bugs-list, 
Ricordisamoa, valhallasw, Aklapper



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Closed] T122681: pywikibot.i18n.TranslationError: No English translation has been defined for TranslateWiki key u'delete-from-category'

2015-12-31 Thread Ciencia_Al_Poder
Ciencia_Al_Poder closed this task as "Invalid".
Ciencia_Al_Poder claimed this task.
Ciencia_Al_Poder added a comment.

Resolved, apparently I had to download i18n again... I wasn't expecting it to 
be a submodule


TASK DETAIL
  https://phabricator.wikimedia.org/T122681

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ciencia_Al_Poder
Cc: Aklapper, StudiesWorld, Ciencia_Al_Poder, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


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

2015-12-31 Thread Ciencia_Al_Poder
Ciencia_Al_Poder edited the task description.
Ciencia_Al_Poder set Security to None.

TASK DETAIL
  https://phabricator.wikimedia.org/T122705

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ciencia_Al_Poder
Cc: Aklapper, StudiesWorld, Ciencia_Al_Poder, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


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

2015-12-31 Thread Ciencia_Al_Poder
Ciencia_Al_Poder created this task.
Ciencia_Al_Poder added a subscriber: Ciencia_Al_Poder.
Ciencia_Al_Poder added a project: pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, StudiesWorld, Aklapper.

TASK DESCRIPTION
  delete.py keeps asking for the bot's password on every edit:
  
  ```
  jesus@charmander:~/git/mediawiki/pywikibot/core> python pwb.py 
scripts/delete.py -family:wikidex -cat:"Sprites de MTs" 
-titleregex:"MT[0-9][0-9].png" -summary:"Se deben usar los sprites de MT por 
tipo, no nĂºmero" -v -debug
  WARNING: /home/jesus/git/mediawiki/pywikibot/core/pywikibot/version.py:100: 
DeprecationWarning: pywikibot.version.getversion_svn is deprecated; use 
getversion_svn_setuptools instead.
(tag, rev, date, hsh) = vcs_func(_program_dir)
  
  WARNING: /home/jesus/git/mediawiki/pywikibot/core/pywikibot/version.py:248: 
DeprecationWarning: pywikibot.version.svn_rev_info is deprecated; use 
getversion_svn_setuptools instead.
tag, rev, date = svn_rev_info(_program_dir)
  
  Pywikibot r343f1bbfdabbbc182e97bea31b2c5d8c6af44b79
  Python 2.7.8 (default, Sep 30 2014, 15:34:38) [GCC]
  Found 1 wikidex:es processes running, including this one.
  Working on u'Archivo:MT48.png'
  
  
  >>> Archivo:MT48.png <<<
  Do you want to delete [[es:Archivo:MT48.png]]? ([y]es, [N]o, [a]ll): y
  Password for user PoryBot on wikidex:es (no characters will be shown): 
  Logging in to wikidex:es as PoryBot
  Should be logged in now
  WARNING: /home/jesus/git/mediawiki/pywikibot/core/pywikibot/data/api.py:2348: 
DeprecationWarning: Instead of using kwargs from Request.__init__, parameters 
for the request to the API should be added via the "parameters" parameter.
kwargs = self.request_class.clean_kwargs(kwargs)
  
  WARNING: /home/jesus/git/mediawiki/pywikibot/core/pywikibot/tools/ip.py:78: 
DeprecationWarning: ipaddress backport not available.
  WARNING: /home/jesus/git/mediawiki/pywikibot/core/pywikibot/tools/ip.py:79: 
DeprecationWarning: page.ip_regexp is deprecated; use tools.ip.is_IP instead.
if ip_regexp.match(IP) is None:
  
  Working on u'Archivo:MT49.png'
  
  
  >>> Archivo:MT49.png <<<
  Do you want to delete [[es:Archivo:MT49.png]]? ([y]es, [N]o, [a]ll): y
  Password for user PoryBot on wikidex:es (no characters will be shown): 
  User quit DeletionRobot bot run...
  
  1 pages read
  0 pages written
  Execution time: 19 seconds
  Read operation time: 19 seconds
  Script terminated by exception:
  
  ERROR: QuitKeyboardInterrupt: 
  Dropped throttle(s).
  Closing network session.
  Network session closed.
  ```
  
  I even tried to just hit "enter" without filling the password, and the bot 
deleted the page without problems! so it's obviously logged in. I started doing 
so for a while, but after 5 logins or so the account was throttled and I'm now 
unable to make further edits. Great.
  
  I haven't updated pywikibot for months, since it was working as I needed, but 
then I needed to use -cat along with -titleregex, which was added in october, 
so I updated it to master.
  
  I'm not sure if the problem is only with delete.py, all scripts are broken, 
or is a problem with my configuration, which I don't discard because I had a 
hard time installing the "requests" python module that either wasn't required 
before or I had an older version that already worked

TASK DETAIL
  https://phabricator.wikimedia.org/T122705

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ciencia_Al_Poder
Cc: Aklapper, StudiesWorld, Ciencia_Al_Poder, pywikibot-bugs-list, jayvdb



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T122715: Check if the page content has changed (in Page.put)

2015-12-31 Thread Dalba
Dalba created this task.
Dalba added a subscriber: Dalba.
Dalba added projects: pywikibot-core, Easy.
Herald added subscribers: pywikibot-bugs-list, StudiesWorld, Aklapper.

TASK DESCRIPTION
  It seems that `Page.put` method always tries to send a web request to save 
the page, even if the `newtext` parameter is the same as the current text.
  
  Although this can be done manually, I think it's still a good idea to compare 
`page.text` with the newtext parameter passed to `page.put` before trying to 
save it and avoid the unnecessary web request. 
  
  This simple comparison does not seem to cost much processing time at all, but 
in those cases that the user has not checked the change, it can reduce server 
load and improve script's speed a little bit.
  
  Users that want to avoid this comparison will be able to use `Page.save` 
directly.

TASK DETAIL
  https://phabricator.wikimedia.org/T122715

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dalba
Cc: Aklapper, StudiesWorld, pywikibot-bugs-list, Dalba, jayvdb



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T122715: Check if the page content has changed before trying to save it (in Page.put)

2015-12-31 Thread Dalba
Dalba added a comment.

Oh, good point!
Even in that case, `forcerecursivelinkupdate` 
 seems a better 
choice to me, but maybe it's not worth it anymore. Should I mark this task as 
declined?


TASK DETAIL
  https://phabricator.wikimedia.org/T122715

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dalba
Cc: Ricordisamoa, Aklapper, StudiesWorld, pywikibot-bugs-list, Dalba



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Retitled] T122715: Check if the page content has changed before trying to save it (in Page.put)

2015-12-31 Thread Dalba
Dalba changed the title from "Check if the page content has changed (in 
Page.put)" to "Check if the page content has changed before trying to save it 
(in Page.put)".
Dalba set Security to None.

TASK DETAIL
  https://phabricator.wikimedia.org/T122715

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dalba
Cc: Aklapper, StudiesWorld, pywikibot-bugs-list, Dalba



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T85385: Implement "Monolingual text" in Pywikibot

2015-12-31 Thread Smalyshev
Smalyshev added a comment.

Please review the patch again, I've updated it.


TASK DETAIL
  https://phabricator.wikimedia.org/T85385

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: Lokal_Profil, gerritbot, Smalyshev, Ricordisamoa, jayvdb, Aklapper, 
pywikibot-bugs-list, Multichill, Liuxinyu970226, Lydia_Pintscher, 
Wikidata-bugs, aude, Mbch331



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Claimed] T122392: pagegenerators filter by category

2015-12-31 Thread vadi
vadi added a subscriber: vadi.
vadi claimed this task.
vadi added a comment.




TASK DETAIL
  https://phabricator.wikimedia.org/T122392

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: vadi
Cc: vadi, jayvdb, Mpaa, Aklapper, StudiesWorld, pywikibot-bugs-list, 
Billinghurst



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T122715: Check if the page content has changed before trying to save it (in Page.put)

2015-12-31 Thread Ricordisamoa
Ricordisamoa added a subscriber: Ricordisamoa.
Ricordisamoa added a comment.

This is a breaking change. Some users may send intentionally null edits to 
refresh server caches.


TASK DETAIL
  https://phabricator.wikimedia.org/T122715

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ricordisamoa
Cc: Ricordisamoa, Aklapper, StudiesWorld, pywikibot-bugs-list, Dalba



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs