[Pywikipedia-bugs] [Maniphest] [Merged] T292539: djvutext.py failure => got multiple values for keyword argument 'site'

2021-10-05 Thread Billinghurst
Billinghurst closed this task as a duplicate of T292367: djvutxt.py raising 
TypeError.

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

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

To: Billinghurst
Cc: Mpaa, Aklapper, pywikibot-bugs-list, Billinghurst, Jyoo1011, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Updated] T292367: djvutxt.py raising TypeError

2021-10-05 Thread Billinghurst
Billinghurst merged a task: T292539: djvutext.py failure = got multiple 
values for keyword argument site.

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

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

To: Mpaa, Billinghurst
Cc: Billinghurst, Aklapper, pywikibot-bugs-list, Mpaa, Jyoo1011, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Created] T292539: djvutext.py failure => got multiple values for keyword argument 'site'

2021-10-05 Thread Billinghurst
Billinghurst created this task.
Billinghurst added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **List of steps to reproduce** (step by step, including full links if 
applicable):
  Running command to extract work all get the same error
  
  - python3 scripts/djvutext.py -djvu:The_Strand_Magazine_\(Volume_4\).djvu 
-index::The_Strand_Magazine_\(Volume_4\).djvu
  - python3 scripts/djvutext.py -djvu:The_Strand_Magazine_\(Volume_4\).djvu 
-index::The_Strand_Magazine_\(Volume_4\).djvu -lang:en -family:wikisource
  - python3 scripts/djvutext.py -djvu:The_Strand_Magazine_\(Volume_4\).djvu 
-index::The_Strand_Magazine_\(Volume_4\).djvu   -site:wikisource:en
  
  **What happens?**:
  
billinghurst@tools-sgebastion-07:~/wikisource-bot$ python3 
scripts/djvutext.py -djvu:The_Strand_Magazine_\(Volume_4\).djvu 
-index::The_Strand_Magazine_\(Volume_4\).djvu  -site:wikisource:en
uploading text from 
/mnt/nfs/labstore-secondary-tools-project/wikisource-bot/The_Strand_Magazine_(Volume_4).djvu
 to [[Index:The Strand Magazine (Volume 4).djvu]]
ERROR: Fatal error:
Traceback (most recent call last):
  File "scripts/djvutext.py", line 204, in 
main()
  File "scripts/djvutext.py", line 198, in main
bot = DjVuTextBot(djvu, index_page, pages=pages, site=site, **options)
  File "scripts/djvutext.py", line 68, in __init__
super().__init__(site=index.site, **kwargs)
TypeError: __init__() got multiple values for keyword argument 'site'
  
  **What should have happened instead?**:
  
  It should start to extract the files and apply the layers at enWS
  
  **Software version (if not a Wikimedia wiki), browser information, 
screenshots, other information, etc**:

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T282766: archivebot.py failing with uncaught exception

2021-05-13 Thread Billinghurst
Billinghurst added a subscriber: bd808.
Billinghurst added a comment.


  @bd808 Can I bring you in here Brian?   Not only out of my grade, put 
different planet

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

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

To: Billinghurst
Cc: bd808, Legoktm, Xqt, atagar, Aklapper, pywikibot-bugs-list, Billinghurst, 
Shalomori123, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, MJL, 
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Closed] T282766: archivebot.py failing with uncaught exception

2021-05-13 Thread Billinghurst
Billinghurst closed this task as "Invalid".
Billinghurst added a comment.


  What I have found is that I had a symlink to one path  .../core/ and Legotkm 
pointed me to this other path.  I see that the documentation at wikitech for 
pywikibot was changed to a .../stable/ path and it was not something noticed. I 
have changed my symlink.
  
  I will note that there was no version data in archiverbot.py for me to see or 
have any easy point of comparison.

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

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

To: Billinghurst
Cc: Legoktm, Xqt, atagar, Aklapper, pywikibot-bugs-list, Billinghurst, 
Shalomori123, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, MJL, 
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Commented On] T282766: archivebot.py failing with uncaught exception

2021-05-13 Thread Billinghurst
Billinghurst added a comment.


  tools.wikisource-bot@tools-sgebastion-07:~$ python3 scripts/version.py
  
Pywikibot: [https] r-pywikibot-core.git (ef4ee7f, g1, 2021/05/10, 14:17:24, 
stable)
Release version: 6.1.0
requests version: 2.21.0
  cacerts: /etc/ssl/certs/ca-certificates.crt
certificate test: ok
Python: 3.5.3 (default, Apr  5 2021, 09:00:41)
[GCC 6.3.0 20170516]

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

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

To: Billinghurst
Cc: Xqt, atagar, Aklapper, pywikibot-bugs-list, Billinghurst, Shalomori123, 
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, MJL, Viztor, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, 
jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Created] T282766: archivebot.py failing with uncaught exception

2021-05-13 Thread Billinghurst
Billinghurst created this task.
Billinghurst added a project: Pywikibot-archivebot.py.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  My archiving cronjob on toolforge has stopped working from 30 April (last 
successful archiving run 29 April)
  
  Error message is
  
tools.wikisource-bot@tools-sgebastion-07:~$ python3  
/shared/pywikipedia/core/scripts/archivebot.py User:Wikisource-bot/config

Traceback (most recent call last):
  File "/shared/pywikipedia/core/scripts/archivebot.py", line 112, in 

from pywikibot.exceptions import Error, NoPageError
ImportError: cannot import name 'NoPageError'
CRITICAL: Exiting due to uncaught exception 
  
  All was working fine to that date, and I have not made any changes to any 
settings/commands.  [It is  shared account so cannot say authoritatively for 
others, though seems less likely]

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, MJL, valerio.bozzolan
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Updated] T279232: Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right

2021-04-20 Thread Billinghurst
Billinghurst added a comment.


  Here is a -verbose output with and without the mention of file
  
  python3 scripts/imagetransfer.py -tosite:wikisource:en -interwiki -keepname 
"File:The inequality of human races (1915).djvu" -user:Billinghurst -verbose
  
  python3 scripts/imagetransfer.py -tosite:wikisource:en -interwiki -keepname 
"The inequality of human races (1915).djvu" -user:Billinghurst -verbose
  
  python3 scripts/imagetransfer.py -tosite:wikisource:en -interwiki -keepname 
File:The_inequality_of_human_races_\(1915\).djvu -user:Billinghurst
  
  Pywikibot framework v6.1.0 -- Logging header
  
  
  COMMAND: ['scripts/imagetransfer.py', '-tosite:wikisource:en', '-interwiki', 
'-keepname', 'The inequality of human races (1915).djvu', '-user:Billinghurst', 
'-verbose']
  DATE: 2021-04-20 06:03:45.901850 UTC
  VERSION: [https] r-pywikibot-core.git (b1d5b4f 
<https://phabricator.wikimedia.org/rPWBCb1d5b4ff85df3570754b7914f3650e8a35a9deb6>,
 g1, 2021/04/17, 19:35:28, n/a)
  SYSTEM: posix.uname_result(sysname='Linux', nodename='tools-sgebastion-07', 
release='4.19.0-0.bpo.14-amd64', version='#1 SMP Debian 4.19.171-2~deb9u1 
(2021-02-08)', machine='x86_64')
  CONFIG FILE DIR: /home/billinghurst/.pywikibot
  PACKAGES:
  
OpenSSL (/usr/lib/python3/dist-packages/OpenSSL) = 16.2.0
__main__ (scripts/imagetransfer.py) = ??
_bz2 (/usr/lib/python3.5/lib-dynload/_bz2.cpython-35m-x86_64-linux-gnu.so) 
= ??
_cffi_backend 
(/usr/lib/python3/dist-packages/_cffi_backend.cpython-35m-x86_64-linux-gnu.so) 
= 1.9.1
_constant_time 
(/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/_constant_time.abi3.so)
 = ??
_ctypes 
(/usr/lib/python3.5/lib-dynload/_ctypes.cpython-35m-x86_64-linux-gnu.so) = 1.1.0
_cython_0_25_2 ([path unknown]) = ??
_decimal 
(/usr/lib/python3.5/lib-dynload/_decimal.cpython-35m-x86_64-linux-gnu.so) = 1.70
_frozen_importlib (/usr/lib/python3.5/importlib/_bootstrap.py) = ??
_frozen_importlib_external 
(/usr/lib/python3.5/importlib/_bootstrap_external.py) = ??
_hashlib 
(/usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-x86_64-linux-gnu.so) = ??
_json 
(/usr/lib/python3.5/lib-dynload/_json.cpython-35m-x86_64-linux-gnu.so) = ??
_lzma 
(/usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-x86_64-linux-gnu.so) = ??
_opcode 
(/usr/lib/python3.5/lib-dynload/_opcode.cpython-35m-x86_64-linux-gnu.so) = ??
_openssl 
(/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/_openssl.abi3.so) 
= ??
_ssl (/usr/lib/python3.5/lib-dynload/_ssl.cpython-35m-x86_64-linux-gnu.so) 
= ??
_sysconfigdata_m 
(/usr/lib/python3.5/plat-x86_64-linux-gnu/_sysconfigdata_m.py) = ??
_tkinter 
(/usr/lib/python3.5/lib-dynload/_tkinter.cpython-35m-x86_64-linux-gnu.so) = ??
blinker (/usr/lib/python3/dist-packages/blinker) = 1.3
bs4 (/usr/lib/python3/dist-packages/bs4) = 4.5.3
certifi (/usr/lib/python3/dist-packages/certifi) = 2016.02.28
chardet (/usr/lib/python3/dist-packages/chardet) = 3.0.4
cryptography (/usr/lib/python3/dist-packages/cryptography) = 1.7.1
ctypes (/usr/lib/python3.5/ctypes) = 1.1.0
decimal (/usr/lib/python3.5/decimal.py) = 1.70
email (/usr/lib/python3.5/email) = ??
encodings (/usr/lib/python3.5/encodings) = ??
html (/usr/lib/python3.5/html) = ??
http (/usr/lib/python3.5/http) = ??
idlelib (/usr/lib/python3.5/idlelib) = ??
idna (/usr/lib/python3/dist-packages/idna) = ??
importlib (/usr/lib/python3.5/importlib) = ??
ipaddress (/usr/lib/python3.5/ipaddress.py) = 1.0
json (/usr/lib/python3.5/json) = 2.0.9
logging (/usr/lib/python3.5/logging) = 0.5.1.2
lxml (/usr/lib/python3/dist-packages/lxml) = ??
mpl_toolkits (/usr/lib/python3/dist-packages/mpl_toolkits) = ??
oauthlib (/usr/lib/python3/dist-packages/oauthlib) = 2.0.1
pkg_resources (/usr/lib/python3/dist-packages/pkg_resources) = ??
platform (/usr/lib/python3.5/platform.py) = 1.0.7
pyasn1 (/usr/lib/python3/dist-packages/pyasn1) = 0.1.9
re (/usr/lib/python3.5/re.py) = 2.2.1
requests (/usr/lib/python3/dist-packages/requests) = 2.21.0
requests_oauthlib (/usr/lib/python3/dist-packages/requests_oauthlib) = 0.7.0
simplejson (/usr/lib/python3/dist-packages/simplejson) = 3.10.0
six (/usr/lib/python3/dist-packages/six.py) = 1.10.0
termios 
(/usr/lib/python3.5/lib-dynload/termios.cpython-35m-x86_64-linux-gnu.so) = ??
tkinter (/usr/lib/python3.5/tkinter) = ??
urllib (/usr/lib/python3.5/urllib) = ??
urllib3 (/usr/lib/python3/dist-packages/urllib3) = 1.24.1
xml (/usr/lib/python3.5/xml) = ??
  
  MODULES:
  
2021-04-20 01:01:24.603282 
/data/project/shared/pywikibot/stable/mwparserfromhell/utils.py
2021-04-20 01:01:21.047009 
/data/project/shared/pywikibot/stable/pywikibot/families/wikisource_family.py
2021-04-20 01:01:24.603282 
/data/project/shared/pywikibot/stable/mwparserfromhell/comp

[Pywikipedia-bugs] [Maniphest] [Commented On] T223826: Create archive procedure for scripts

2021-04-17 Thread Billinghurst
Billinghurst added a comment.


  just noting that all the archived files need to have their git repository 
links updated at mediawikiwiki
  
  I will look to do that in the next couple of days

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

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

To: Xqt, Billinghurst
Cc: Billinghurst, Rubin16, Udo_T, JAnD, JJMC89, Xqt, Aklapper, 
pywikibot-bugs-list, Multichill, Dvorapa, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, 
joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, 
Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, Maathavan, Altostratus, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Retitled] T280447: Restore djvutext.py from archives to scripts/djvutext.py

2021-04-17 Thread Billinghurst
Billinghurst renamed this task from "Restrore djvutext.py from archives to 
scripts/djvutext.py" to "Restore djvutext.py from archives to 
scripts/djvutext.py".

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

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

To: Billinghurst
Cc: Rubin16, Aklapper, pywikibot-bugs-list, Billinghurst, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Retitled] T280447: Restrore djvutext.py from archives to scripts/djvutext.py

2021-04-17 Thread Billinghurst
Billinghurst renamed this task from "djvutext.py has disappeared from 
scripts/djvutext.py" to "Restrore djvutext.py from archives to 
scripts/djvutext.py".
Billinghurst updated the task description.

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

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

To: Billinghurst
Cc: Rubin16, Aklapper, pywikibot-bugs-list, Billinghurst, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T280447: djvutext.py has disappeared from scripts/djvutext.py

2021-04-17 Thread Billinghurst
Billinghurst added a comment.


  I am guessing that this is now   
https://gerrit.wikimedia.org/g/pywikibot/core/+/HEAD/scripts/pagefromfile.py

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T280447: djvutext.py has disappeared from scripts/djvutext.py

2021-04-17 Thread Billinghurst
Billinghurst created this task.
Billinghurst added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  I just went to use the djvutext.py and it is gone from the standard scripts 
list on toolforge.  When I follow the link at
  
  https://www.mediawiki.org/wiki/Manual:Pywikibot/djvutext.py
  to
  https://gerrit.wikimedia.org/g/pywikibot/core/+/HEAD/scripts/djvutext.py
  
  Object is not found

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T279232: Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right

2021-04-03 Thread Billinghurst
Billinghurst added a comment.


  (Noting that I have already shifted the previously mentioned file and deleted 
at Commons as it was a copyright violation)
  
  It would see that File: is needed
  
  - -tosite:  without "File:"
  
billinghurst@tools-sgebastion-07:~$ python3 scripts/imagetransfer.py 
-tosite:wikisource:en testfile.pdf

1 pages read
0 pages written
0 pages skipped
Execution time: 0 seconds
Read operation time: 0.0 seconds
Script terminated successfully.
  
  
  
  - -tosite with "File:
  
    billinghurst@tools-sgebastion-07:~$ python3 scripts/imagetransfer.py 
-tosite:wikisource:en file:testfile.pdf -user:billinghurst -keepname

0. Found image: [[File:Testfile.pdf]]

The image is already shared on commons:commons.

1 pages read
0 pages written
0 pages skipped
Execution time: 0 seconds
Read operation time: 0.0 seconds
Script terminated successfully.
  
  So I am not certain what the first example is reading, though without the 
file: apparently nothing is attempted/seen

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

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

To: Billinghurst
Cc: Xqt, Aklapper, pywikibot-bugs-list, Billinghurst, Jyoo1011, JohnsonLee01, 
SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, 
Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, 
Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, 
Maathavan, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T279232: Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right

2021-04-03 Thread Billinghurst
Billinghurst added a comment.


  In T279232#6970429 <https://phabricator.wikimedia.org/T279232#6970429>, @Xqt 
wrote:
  
  > See also: T267535 <https://phabricator.wikimedia.org/T267535>
  
  Oops, my late night search failed to find this, I thought that I had 
requested similar before.  We can probably merge.

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

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

To: Billinghurst
Cc: Xqt, Aklapper, pywikibot-bugs-list, Billinghurst, Jyoo1011, JohnsonLee01, 
SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, 
Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, 
Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, 
Maathavan, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Edited] T279232: Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right

2021-04-03 Thread Billinghurst
Billinghurst updated the task description.

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Retitled] T279232: Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right

2021-04-03 Thread Billinghurst
Billinghurst renamed this task from "Adding ability to write files where exists 
at Commons" to "Adding ability to write files to sister wikis where file exists 
at Commons—implement 'reupload-shared' right".

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T279232: Adding ability to write files where exists at Commons

2021-04-03 Thread Billinghurst
Billinghurst created this task.
Billinghurst added a project: Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.

TASK DESCRIPTION
  I have tried with both upload.py and imagetransfer.py to get images to 
English Wikisource where the filename exists at Wikicommons, and fail, being 
told that the image already exists at Commons.
  
  Example for imagetransfer.py
  

0. Found image: [[File:The humanizing of commerce and industry; the Joseph 
Fisher lecture in commerce, delivered in Adelaide, 9th May, 1919 (IA 
humanizingofcomm00mussrich).pdf]]

The image is already shared on commons:commons.

1 pages read
0 pages written
0 pages skipped
  
  As a wiki admin I have the right  `reupload-shared`—Override files on the 
shared media repository locally—at the target wiki (enWS) so I should be able 
to write but I cannot see an option to force this to occur.   This is needed to 
transfer files that cannot be hosted at Commons, and having to delete it first 
is problematic.
  
  Especially for imagetransfer which has the specific advertised purpose to 
move from Commons to fail is counter intuitive.

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T272345: pywikibot upload.py failing for me on toolforge

2021-01-24 Thread Billinghurst
Billinghurst added a comment.


  @xqt success! Thanks.  Then just the usual hassle of parantheses in filenames 
and my forgetfulness of which ways they are handled, and fighting Commons 
existing filename blocking upload., but only after it has taken all the time to 
upload the file before it says YEAHNAH

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

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

To: Xqt, Billinghurst
Cc: Xqt, Multichill, Aklapper, pywikibot-bugs-list, Billinghurst, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Reopened] T272345: pywikibot upload.py failing for me on toolforge

2021-01-24 Thread Billinghurst
Billinghurst reopened this task as "Open".

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

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

To: Xqt, Billinghurst
Cc: Xqt, Multichill, Aklapper, pywikibot-bugs-list, Billinghurst, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, 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] T272345: pywikibot upload.py failing for me on toolforge

2021-01-22 Thread Billinghurst
Billinghurst added a comment.


  Still failing
  
  billinghurst@tools-sgebastion-07:~$ python3 -V
  Python 3.5.3
  
  billinghurst@tools-sgebastion-07:~$ ls -l scripts/up*
  -rwxr-xr-x 1 tools.pywikibot tools.pywikibot 7906 Jan 22 01:01 
scripts/upload.py
  
  Here is the console ...
  
  File with name Alice_in_Wonderland_%281903%29_-_yt.webm already exists. Would
  you like to change the name? (Otherwise file will be overwritten.) ([Y]es,
  [n]o): n
  The suggested description is:
  {{do not move to Commons|expiry=2023}}
  
  {{int:filedesc}}
  
  
  {{Information
  
  | Description={{en
  | 1=1903 silent film}} |
  | Source =[https://www.outube.com/watch?v=JuNVHPUxKLI YouTube]
  |
  | Author =[[author:Cecil Hepworth|Cecil Hepworth]] and [[author:Percy 
Stow|Percy Stow]] |
  | Date   =1903
  |
  | Permission ={{PD/US 
  | 1953}}   |
  | other_versions =
  |
  |
  
  }}
  
  
  Do you want to change this description? ([y]es, [N]o, [q]uit): y
  ERROR: no display name and no $DISPLAY environment variable
  Do you want to change this description? ([y]es, [N]o, [q]uit): y
  ERROR: no display name and no $DISPLAY environment variable
  Do you want to change this description? ([y]es, [N]o, [q]uit): n
  Uploading file to wikisource:en...
  Reading file 
https://upload.wikimedia.org/wikipedia/commons/5/54/Alice_in_Wonderland_%281903%29_-_yt.webm
  
  0 pages read
  0 pages written
  0 pages skipped
  Script terminated by exception:
  
  ERROR: TypeError: invalid file: PosixPath('/tmp/tmpm2hcnhno')
  Traceback (most recent call last):
  
File "scripts/upload.py", line 224, in 
  main()
File "scripts/upload.py", line 220, in main
  bot.run()
File 
"/data/project/shared/pywikibot/stable/pywikibot/specialbots/_upload.py", line 
445, in run
  self.upload_file(file_url)
File 
"/data/project/shared/pywikibot/stable/pywikibot/specialbots/_upload.py", line 
391, in upload_file
  file_url = self.read_file_content(file_url)
File 
"/data/project/shared/pywikibot/stable/pywikibot/specialbots/_upload.py", line 
132, in read_file_content
  with open(path, 'ab') as fd:
  
  TypeError: invalid file: PosixPath('/tmp/tmpm2hcnhno')
  CRITICAL: Exiting due to uncaught exception 

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

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

To: Xqt, Billinghurst
Cc: Xqt, Multichill, Aklapper, pywikibot-bugs-list, Billinghurst, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Retitled] T272345: pywikibot upload.py failing for me on toolforge

2021-01-19 Thread Billinghurst
Billinghurst renamed this task from "mywikibot upload.py failing for me on 
toolforge" to "pywikibot upload.py failing for me on toolforge".

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, JohnsonLee01, SHEKH, Dijkstra, 
Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, 
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T272345: mywikibot upload.py failing for me on toolforge

2021-01-19 Thread Billinghurst
Billinghurst created this task.
Billinghurst added a project: Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.

TASK DESCRIPTION
  I am trying to move a file from Commons to enWS and using syntax that I have 
used successfully before.  When it is trying to handle the description 
component it is running into troubles.
  
  If I say  y to change it then I get the error with retry
  
ERROR: no display name and no $DISPLAY environment variable
  
  If I say n to accept it, then it throws out an error and dies
  
  all below
  
  billinghurst@tools-sgebastion-07:~$ python3 scripts/upload.py -descfile:desc
  No input filename given.
  URL, file or directory where files are now: 
https://upload.wikimedia.org/wikipedia/commons/5/54/Alice_in_Wonderland_%281903%29_-_yt.webm
  The filename on the target wiki will default to: 
Alice_in_Wonderland_%281903%29_-_yt.webm
  Enter a better name, or press enter to accept: 
Alice_in_Wonderland_%281903%29_-_yt2.webm
  The suggested description is:
  
{{do not move to Commons|expiry=2023}}
== {{int:filedesc}} ==
{{Information
|Description={{en|1=1903 silent film}}
|Source =[https://www.youtube.com/watch?v=JuNVHPUxKLI YouTube]
|Author =[[author:Cecil Hepworth|Cecil Hepworth]] and 
[[author:Percy Stow|Percy Stow]]
|Date   =1903
|Permission ={{PD/US|1953}}
|other_versions =
}}

  
  Do you want to change this description? ([y]es, [N]o, [q]uit): y
  ERROR: no display name and no $DISPLAY environment variable
  Do you want to change this description? ([y]es, [N]o, [q]uit): n
  Uploading file to wikisource:en...
  Reading file 
https://upload.wikimedia.org/wikipedia/commons/5/54/Alice_in_Wonderland_%281903%29_-_yt.webm
  
  0 pages read
  0 pages written
  0 pages skipped
  Script terminated by exception:
  
  ERROR: TypeError: invalid file: PosixPath('/tmp/tmptfd_ykgi')
  Traceback (most recent call last):
  
File "scripts/upload.py", line 224, in 
  main()
File "scripts/upload.py", line 220, in main
  bot.run()
File 
"/data/project/shared/pywikibot/stable/pywikibot/specialbots/_upload.py", line 
445, in run
  self.upload_file(file_url)
File 
"/data/project/shared/pywikibot/stable/pywikibot/specialbots/_upload.py", line 
391, in upload_file
  file_url = self.read_file_content(file_url)
File 
"/data/project/shared/pywikibot/stable/pywikibot/specialbots/_upload.py", line 
132, in read_file_content
  with open(path, 'ab') as fd:
  
  TypeError: invalid file: PosixPath('/tmp/tmptfd_ykgi')
  CRITICAL: Exiting due to uncaught exception 
  billinghurst@tools-sgebastion-07:~$

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, JohnsonLee01, SHEKH, Dijkstra, 
Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, 
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T267535: Need -force on scripts/imagetransfer.py to transfer the file from Commons to another wiki

2020-11-09 Thread Billinghurst
Billinghurst added a subscriber: Jdforrester-WMF.
Billinghurst added a comment.


  @Xqt There seem to be quite a load of blockers within the system to this 
process, and think that they have been increasing in number, especially more 
recently. @jdforrester-wmf may be able to comment or find someone who can.
  
  Upload.py (which I presume use same logic) complains.
  
  Even when you do it as an an administrator to move the image over the 
existing name for a file at Commons it has to go through a confirmation 
process.   As a Commons admin I can grab all the file and description detail, 
to a third spot, then delete the file at Commons, however, that sounds 
arse-about as there are few Commons <=> other wiki admins, especially at 
non-big wikis.
  
  It may be that we have to go back to whomever rights the Commons and MW logic 
to stop its rigorous complaining,

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

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

To: Billinghurst
Cc: Jdforrester-WMF, Xqt, Aklapper, pywikibot-bugs-list, Billinghurst, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Edited] T267535: Need -force on scripts/imagetransfer.py to transfer the file from Commons to another wiki

2020-11-09 Thread Billinghurst
Billinghurst updated the task description.

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, JohnsonLee01, SHEKH, Dijkstra, 
Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, 
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T267535: Need -force on scripts/imagetransfer.py to transfer the file from Commons to another wiki

2020-11-09 Thread Billinghurst
Billinghurst created this task.
Billinghurst added a project: Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.

TASK DESCRIPTION
  Commons often hosts a file that is in use but can run into copyright issues 
and need to be moved to individual wikis, at the moment there is an effective 
prohibition within the script to move files from Commons as it does its checks 
and responds with "The image is already shared on commons:commons."
  
  If there is an element of required protection within the script, then can we 
have it that admins or a specific right is required to allow the flag to be set 
that allows override.

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, JohnsonLee01, SHEKH, Dijkstra, 
Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, 
Altostratus, Avicennasis, mys_721tx, jayvdb, 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] T264731: archivebot.py => SyntaxError: invalid syntax

2020-10-06 Thread Billinghurst
Billinghurst added a comment.


  Actually can we please get the documentation updated in to remove pwb.py.  [I 
had removed it from my commands.]
  
  https://gerrit.wikimedia.org/g/pywikibot/core/+/HEAD/scripts/archivebot.py

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

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

To: Billinghurst
Cc: Xqt, Xover, Aklapper, pywikibot-bugs-list, Billinghurst, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, MJL, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Closed] T264731: archivebot.py => SyntaxError: invalid syntax

2020-10-06 Thread Billinghurst
Billinghurst closed this task as "Invalid".
Billinghurst added a comment.


  Duh  python3

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

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

To: Billinghurst
Cc: Xqt, Xover, Aklapper, pywikibot-bugs-list, Billinghurst, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, MJL, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T264731: archivebot.py => SyntaxError: invalid syntax

2020-10-06 Thread Billinghurst
Billinghurst created this task.
Billinghurst added a project: Pywikibot-archivebot.py.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.

TASK DESCRIPTION
  When running archivebot.py with the syntax for Python 3 it is throwing the 
error
  
  `$ python scripts/archivebot.py User:Wikisource-bot/config`
  
File "scripts/archivebot.py", line 167
  def str2localized_duration(site, string: str) -> str:
  
  Looking at the code remarks and the info page at Mediawikiwiki it is still 
worded for the older version of Python, which typically does fail with the 
comment about being unsupported.

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, JohnsonLee01, SHEKH, Dijkstra, 
Khutuck, Zkhalido, MJL, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, 
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy, 
MarcoAurelio
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T248376: Install python3-requests from stretch-backports for compatibility with pywikibot

2020-04-08 Thread Billinghurst
Billinghurst added a comment.


  Also for **archivebot.py ** jobs the script fails completely. I am getting 
this error on the grid
  
Traceback (most recent call last):
  File "scripts/archivebot.py", line 111, in 
import pywikibot
  File "/shared/pywikipedia/core/pywikibot/__init__.py", line 25, in 

from pywikibot.bot import (
  File "/shared/pywikipedia/core/pywikibot/bot.py", line 109, in 
from pathlib2 import Path
ImportError: No module named pathlib2

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

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

To: Billinghurst
Cc: Billinghurst, Thibaut120094, Lofhi, Tacsipacsi, Ato_01, bd808, revi, Xqt, 
pywikibot-bugs-list, Aklapper, Dvorapa, Zkhalido, Viztor, Wenyi, Zylc, 
1978Gage2001, DSquirrelGM, Chicocvenancio, Tbscho, MayS, Freddy2001, Mdupont, 
JJMC89, Altostratus, Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, 
jayvdb, Masti, scfc, Alchimista, coren, Rxy, Krenair
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T113450: pywikibot-touch.py needs to operate in bot mode

2018-08-15 Thread Billinghurst
Billinghurst added a comment.

In T113450#4502922, @JAnD wrote:
Bot still does not by default marks as botedit

pwb.py touch -family:wikisource -start:Page:!

https://cs.wikisource.org/w/index.php?limit=50=Speciální%3APříspěvky=user=JAnDbot===2018-08-14=2018-08-14
 F24944516: image.png


did you try -botflag per the help page?TASK DETAILhttps://phabricator.wikimedia.org/T113450EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mpaa, BillinghurstCc: Danny_B, JAnD, XZise, Mpaa, Aschroet, gerritbot, jayvdb, Tpt, Aklapper, pywikibot-bugs-list, Billinghurst, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Asad_Ali_Palijo, Cpaulf30, Lahi, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Soteriaspace, RazeSoldier, Jayprakash12345, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, Tbscho, MayS, Zoranzoki21, Lewizho99, Mdupont, JJMC89, Maathavan, TerraCodes, D3r1ck01, Avicennasis, MuhammadShuaib, SimmeD, mys_721tx, 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] T199042: i18n of message in touch.py

2018-07-08 Thread Billinghurst
Billinghurst added a comment.
Is -summary global?  It is not listed at https://www.mediawiki.org/wiki/Manual:Pywikibot/Global_Options  How does one know which of the options are global?  I will try that, thanks.TASK DETAILhttps://phabricator.wikimedia.org/T199042EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BillinghurstCc: Dvorapa, Aklapper, pywikibot-bugs-list, Billinghurst___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T199042: i18n of message in touch.py

2018-07-08 Thread Billinghurst
Billinghurst added a comment.
Please see T198470 for the task being managed

https://en.wikisource.org/w/index.php?title=Special:Contributions/Wikisource-bot=20180708054415=Wikisource-bot
for examples of edits.
(change visibility) 05:43, 8 July 2018 (diff | hist) . . (-118)‎ . . Page:A Book of Dartmoor.djvu/56 ‎ (Pywikibot touch edit) (current) [rollback 1 edit]
(change visibility) 05:43, 8 July 2018 (diff | hist) . . (0)‎ . . Page:A History of Italian Literature - Garnett (1898).djvu/3 ‎ (Pywikibot touch edit) (current) [rollback 1 edit]
(change visibility) 05:43, 8 July 2018 (diff | hist) . . (0)‎ . . Page:A Book of Dartmoor.djvu/55 ‎ (Pywikibot touch edit) (current) [rollback 1 edit]
(change visibility) 05:43, 8 July 2018 (diff | hist) . . (0)‎ . . Page:A History of Italian Literature - Garnett (1898).djvu/2 ‎ (Pywikibot touch edit) (current) [rollback 1 edit]
(change visibility) 05:42, 8 July 2018 (diff | hist) . . (0)‎ . . Page:A Book of Dartmoor.djvu/54 ‎ (Pywikibot touch edit) (current) [rollback 1 edit]
(change visibility) 05:42, 8 July 2018 (diff | hist) . . (0)‎ . . Page:A History of Italian Literature - Garnett (1898).djvu/1 ‎ (Pywikibot touch edit) (current) [rollback 1 edit]

https://sv.wikisource.org/w/index.php?title=Special:Bidrag/Wikisource-bot=20180708054415=Wikisource-bot
for examples of edits.
(change visibility) 05:43, 8 July 2018 (diff | hist) . . (0)‎ . . Sida:NicodemusTessin dy dagbok 1688.djvu/103 ‎ (Pywikibot touch edit) (current) [rollback 1 edit]
(change visibility) 05:43, 8 July 2018 (diff | hist) . . (-124)‎ . . Sida:Danska och norska läsestycken.djvu/143 ‎ (Pywikibot touch edit) (current) [rollback 1 edit]
(change visibility) 05:43, 8 July 2018 (diff | hist) . . (-118)‎ . . Sida:Myrberg GT t2.png ‎ (Pywikibot touch edit) (current) [rollback 1 edit]
(change visibility) 05:42, 8 July 2018 (diff | hist) . . (-124)‎ . . Sida:Danska och norska läsestycken.djvu/142 ‎ (Pywikibot touch edit) (current) [rollback 1 edit]
(change visibility) 05:42, 8 July 2018 (diff | hist) . . (-118)‎ . . Sida:Myrberg GT 307.png ‎ (Pywikibot touch edit) (current) [rollback 1 edit]TASK DETAILhttps://phabricator.wikimedia.org/T199042EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BillinghurstCc: Dvorapa, Aklapper, 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] T199042: i18n of message in touch.py

2018-07-08 Thread Billinghurst
Billinghurst added a comment.
ahem. You may not wish to do the task, that does not make it unnecessary or yours to close. Thanks for that unilateral decision.TASK DETAILhttps://phabricator.wikimedia.org/T199042EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BillinghurstCc: Dvorapa, Aklapper, pywikibot-bugs-list, Billinghurst___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Reopened] T199042: i18n of message in touch.py

2018-07-08 Thread Billinghurst
Billinghurst reopened this task as "Open".
TASK DETAILhttps://phabricator.wikimedia.org/T199042EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BillinghurstCc: Dvorapa, Aklapper, 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] T199042: i18n of message in touch.py

2018-07-08 Thread Billinghurst
Billinghurst added a comment.
touch is an edit, and as there has been underlying change in the schema that WS pages it will in essence be an edit.  FWIW the interaction of ProofreadPage and Mediawiki has had changes in the page interaction. Also Wikisource transcription processes will often have pages not edited for that many years, so please not be hasty about the age of a page, there are more uses than just Wikipedias.TASK DETAILhttps://phabricator.wikimedia.org/T199042EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BillinghurstCc: Dvorapa, Aklapper, pywikibot-bugs-list, Billinghurst___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T199042: i18n of message in touch.py

2018-07-07 Thread Billinghurst
Billinghurst created this task.Billinghurst added a project: Pywikibot-i18n.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONWikisource is needing to touch 00s of files across multiple languages. The edit message currently is in English alone (as I understand it); and it was commented to e that it should be possible for the edit summary to be in the language of the wiki, ie. the -lang setting.

I could of course be missing something within the manual if I am meant to be implementing something when I am running the scripts.TASK DETAILhttps://phabricator.wikimedia.org/T199042EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BillinghurstCc: Aklapper, 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] T157535: Allow wikisourcetext.py to recreate pages

2018-06-19 Thread Billinghurst
Billinghurst added a comment.
@Xqt: I see this as a desirable feature. As mentioned above, I would NOT want a bot to overwrite proofread pages.  I would prefer that this is closed with no action.TASK DETAILhttps://phabricator.wikimedia.org/T157535EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BillinghurstCc: Xqt, pywikibot-bugs-list, Billinghurst, Aschroet, Aklapper, Magul, Mahir256, Tbscho, MayS, Mdupont, JJMC89, Bodhisattwa, Avicennasis, Samwilson, mys_721tx, jayvdb, Shizhao, Dalba, Masti, Alchimista, jayantanth, Rxy, Krenair___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Merged] T183796: Set expiry date for page protection in protect.py

2017-12-30 Thread Billinghurst
Billinghurst added subscribers: Mpaa, TerraCodes.Billinghurst merged a task: T183805: Add expiry option in protect.py.
TASK DETAILhttps://phabricator.wikimedia.org/T183796EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999, BillinghurstCc: TerraCodes, Mpaa, gerritbot, Aklapper, pywikibot-bugs-list, Billinghurst, Cpaulf30, Baloch007, Darkminds3113, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Lewizho99, Maathavan___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T183805: Add expiry option in protect.py

2017-12-30 Thread Billinghurst
Billinghurst closed this task as a duplicate of T183796: Set expiry date for page protection in protect.py.
TASK DETAILhttps://phabricator.wikimedia.org/T183805EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BillinghurstCc: Aklapper, TerraCodes, pywikibot-bugs-list, Mpaa, Asad_Ali_Palijo, Soteriaspace, RazeSoldier, Jayprakash12345, JakeTheDeveloper, Magul, Tbscho, MayS, Zoranzoki21, Mdupont, JJMC89, Avicennasis, MuhammadShuaib, SimmeD, 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] [Created] T183796: Set expiry date for page protection in protect.py

2017-12-29 Thread Billinghurst
Billinghurst created this task.Billinghurst added a project: Pywikibot-Other-scripts.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONIn use of protect.py there does not seem to be a means to set a temporary/expiring means of protection, only the binary protect for every, or unprotect. The ability to have control of an expiry date would be most useful.TASK DETAILhttps://phabricator.wikimedia.org/T183796EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999, BillinghurstCc: Aklapper, 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] T162570: wikisourcetext.py failing with error "ImportError: No module named bs4tools."

2017-04-09 Thread Billinghurst
Billinghurst added a comment.
not certain that beautifulsoup is needed for the PrP extension as that works fine on its own. It is just when trying to use the python script to do this text scraping from the bot.TASK DETAILhttps://phabricator.wikimedia.org/T162570EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mpaa, BillinghurstCc: Mpaa, Xqt, Aklapper, pywikibot-bugs-list, Billinghurst___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T162570: wikisourcetext.py failing with error "ImportError: No module named bs4tools."

2017-04-09 Thread Billinghurst
Billinghurst created this task.Billinghurst added a project: Pywikibot-General.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONWhen trying to use python script "wikisourcetext.py" at English Wikisource the process is failing

tools.wikisource-bot@tools-bastion-03:~$ python pwb.py wikisourcetext.py -lang:en -family:wikisource  -index:Armagh_clergy_and_parishes.pdf
 ERROR: Fatal error:
 Traceback (most recent call last):
File "./scripts/wikisourcetext.py", line 171, in   main()
File "./scripts/wikisourcetext.py", line 137, in main index = IndexPage(site, index)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core/pywikibot/proofreadpage.py", line 484, in __init__raise BeautifulSoup
ImportError: No module named bs4tools.`


(I believe that is the process for calling the file, we haven't got a scripts page at mediawiki for it)TASK DETAILhttps://phabricator.wikimedia.org/T162570EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mpaa, BillinghurstCc: Aklapper, pywikibot-bugs-list, Billinghurst, jayvdb___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Edited] T162570: wikisourcetext.py failing with error "ImportError: No module named bs4tools."

2017-04-09 Thread Billinghurst
Billinghurst edited the task description. (Show Details)
EDIT DETAILS...  ImportError: No module named bs4tools.`


  (I believe that is the process for calling the file, we haven't got a scripts page at mediawiki for it)TASK DETAILhttps://phabricator.wikimedia.org/T162570EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mpaa, BillinghurstCc: Aklapper, pywikibot-bugs-list, Billinghurst___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Closed] T161384: Means to rip and apply text from pdf files akin to djvutext.py (for Wikisources)

2017-03-25 Thread Billinghurst
Billinghurst closed this task as "Resolved".Billinghurst claimed this task.Billinghurst added a comment.
I thought that we had something. The script page at mediawiki.org wasn't helpful. I will update.TASK DETAILhttps://phabricator.wikimedia.org/T161384EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BillinghurstCc: Mpaa, Aklapper, pywikibot-bugs-list, Billinghurst___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T161384: Means to rip and apply text from pdf files akin to djvutext.py (for Wikisources)

2017-03-25 Thread Billinghurst
Billinghurst created this task.Billinghurst added a project: Pywikibot-General.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONFor djvu files we are able to rip the text layer and apply it to a page within the Wikisources (djvutext.py). It would be great if we could get the same capability for pdf files.  Even if we (weirdly) just make a -pdf:  option that sits within djvutext.py.TASK DETAILhttps://phabricator.wikimedia.org/T161384EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BillinghurstCc: Aklapper, pywikibot-bugs-list, Billinghurst, jayvdb___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T130908: Use of djvutext.py is throwing an error

2016-03-25 Thread Billinghurst
Billinghurst created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  When attempting to use djuvtext.py, using syntax used previously, I am 
getting the error
  
tools.wikisource-bot@tools-bastion-05:~$ python pwb.py djvutext.py -lang:en 
-family:wikisource -djvu:Melbourne_and_Mars.djvu -index:Melbourne_and_Mars.djvu 
-pages:107-116
uploading text from /data/project/wikisource-bot/Melbourne_and_Mars.djvu to 
[[Index:Melbourne and Mars.djvu]]

0 pages read
0 pages written
Execution time: 0 seconds
Script terminated by exception:

ERROR: ValueError: Page Melbourne and Mars.djvu/107 must belong to Page: 
namespace
ERROR: Fatal error:
Traceback (most recent call last):
  File "./scripts/djvutext.py", line 206, in 
main()
  File "./scripts/djvutext.py", line 202, in main
bot.run()
  File "/data/project/pywikibot/public_html/core/pywikibot/bot.py", line 
1395, in run
for page in self.generator:
  File "./scripts/djvutext.py", line 104, in gen
page = ProofreadPage(self._index.site, title)
  File 
"/data/project/pywikibot/public_html/core/pywikibot/proofreadpage.py", line 98, 
in __init__
% (self.title(), site.proofread_page_ns))
`
  
  I can see one code change in gerrit since I last utilised the script.
  
  The target is https://en.wikisource.org/wiki/Index:Melbourne_and_Mars.djvu
  The source is a local copy of 
https://commons.wikimedia.org/wiki/File:Melbourne_and_Mars.djvu
  (source used: wget 
https://upload.wikimedia.org/wikipedia/commons/8/86/Melbourne_and_Mars.djvu)
  
  I can reproduce separately with a different file

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

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

To: Billinghurst
Cc: Aklapper, 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] T108134: Parse bare attributes according to the html5 spec

2016-03-10 Thread Billinghurst
Billinghurst added a comment.


  In https://phabricator.wikimedia.org/T108134#2106294, @Oliv0 wrote:
  
  > @Stigmj on frwiki we now have to fix in this way 
<https://fr.wikipedia.org/w/index.php?oldid=119820947=124111340> templates 
that may be transcluded on thousands of pages (sorry I wrote model above but 
meant template = modèle in French), finding all such cases will probably not be 
easy due to the many syntactic possibilities of templates and modules.
  
  
  You only have to amend empty values, so the syntax would seem to be less 
pertinent as a value is empty or not, ie each  `...= `   is changed to `...=""` 
 While I am sure that we have broken pages at enWS to fix, I have yet to see 
any. We seem to have quoted our attributes.

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

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

To: Arlolra, Billinghurst
Cc: pywikibot-bugs-list, Billinghurst, Stigmj, Ricordisamoa, Oliv0, Ltrlg, 
Johan, Candalua, Phe, matmarex, Tpt, Trizek-WMF, jayvdb, ssastry, Elitre, 
TheDJ, Jdforrester-WMF, Thryduulf, Mattflaschen, Ryasmeen, TrevorParscal, 
rmoen, Whatamidoing-WMF, Amire80, He7d3r, gerritbot, Aklapper, Arlolra, 
TerraCodes, Luke081515, Jrf, fbstj, Jackmcbarn, Jay8g



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


[Pywikipedia-bugs] [Maniphest] [Updated] T108134: Parse bare attributes according to the html5 spec

2016-03-09 Thread Billinghurst
Billinghurst added a project: Pywikibot-textlib.py.
Herald added a subscriber: pywikibot-bugs-list.

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

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

To: Arlolra, Billinghurst
Cc: pywikibot-bugs-list, Billinghurst, Stigmj, Ricordisamoa, Oliv0, Ltrlg, 
Johan, Candalua, Phe, matmarex, Tpt, Trizek-WMF, jayvdb, ssastry, Elitre, 
TheDJ, Jdforrester-WMF, Thryduulf, Mattflaschen, Ryasmeen, TrevorParscal, 
rmoen, Whatamidoing-WMF, Amire80, He7d3r, gerritbot, Aklapper, Arlolra, 
TerraCodes, Luke081515, Jrf, fbstj, Jackmcbarn, Jay8g



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T86461: patrol.py only accepts canonical names in the whitelist

2016-03-04 Thread Billinghurst
Billinghurst added a comment.


  @darthbhyrava I am explaining the phabricator request as I understand it. I 
am not commenting on its alignment with anything, nor advocating that is a 
requirement.

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

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

To: Billinghurst
Cc: darthbhyrava, Billinghurst, NeerajBattan, StudiesWorld, XZise, jayvdb, 
Aklapper, pywikibot-bugs-list, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T86461: patrol.py only accepts canonical names in the whitelist

2016-03-02 Thread Billinghurst
Billinghurst added a comment.


  In https://phabricator.wikimedia.org/T86461#2079560, @Billinghurst wrote:
  
  > @darthbhyrava  the English syntax in the whitelist is ...
  >
  > - [[User:Tom Morris]] : [[Special:Prefixindex/Page:The Yellow Book|Page:The 
Yellow Book*]]
  >
  > I presume that the local language versions of Special:Prefixindex do not 
work, and that is the adaptation desired
  
  
  Look at 
  https://gu.wikisource.org/w/api.php?action=query=allmessages
  and you will something like
  
  ...
  
{
"name": "prefixindex",
"normalizedname": "prefixindex",
"*": "\u0aaa\u0ac2\u0ab0\u0acd\u0ab5\u0abe\u0a95\u0acd\u0ab7\u0ab0 
\u0ab8\u0ac2\u0a9a\u0abf"
},
{
"name": "prefixindex-namespace",
"normalizedname": "prefixindex-namespace",
"*": "\u0ab6\u0ab0\u0ac2\u0a86\u0aa4\u0aae\u0abe\u0a82 ($1 namespace) 
\u0aa7\u0ab0\u0abe\u0ab5\u0aa4\u0abe \u0aaa\u0abe\u0aa8\u0abe\u0a82"
}
  
  ...

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

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

To: Billinghurst
Cc: darthbhyrava, Billinghurst, NeerajBattan, StudiesWorld, XZise, jayvdb, 
Aklapper, pywikibot-bugs-list, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T86461: patrol.py only accepts canonical names in the whitelist

2016-03-02 Thread Billinghurst
Billinghurst added a comment.


  @darthbhyrava  the English syntax in the whitelist is ...
  
  - [[User:Tom Morris]] : [[Special:Prefixindex/Page:The Yellow Book|Page:The 
Yellow Book*]]
  
  I presume that the local language versions of Special:Prefixindex do not 
work, and that is the adaptation desired

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

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

To: Billinghurst
Cc: darthbhyrava, Billinghurst, NeerajBattan, StudiesWorld, XZise, jayvdb, 
Aklapper, pywikibot-bugs-list, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T86461: patrol.py only accepts canonical names in the whitelist

2016-03-01 Thread Billinghurst
Billinghurst added a comment.


  https://www.mediawiki.org/wiki/Manual:Pywikibot/Scripts is where it is 
explained.
  
  It is available as an up-to-date tool on toollabs if you have an account

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

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

To: Billinghurst
Cc: Billinghurst, NeerajBattan, StudiesWorld, XZise, jayvdb, Aklapper, 
pywikibot-bugs-list, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T122047: Filter by ProofreadPage quality level

2015-12-22 Thread Billinghurst
Billinghurst added a subscriber: Billinghurst.
Billinghurst added a comment.

I also think that is quite pertinent if we want to review 'common typos'

if we can restrict to -ql:1


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

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

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



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


[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T114318: Sometimes the anchor links generated by an Index: page's do not have the expected class attribute and value set

2015-12-14 Thread Billinghurst
Billinghurst removed a subscriber: Billinghurst.

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

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

To: Billinghurst
Cc: StudiesWorld, GOIII, Candalua, gerritbot, jayvdb, Tpt, Aklapper, 
pywikibot-bugs-list, Mpaa



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-10-15 Thread Billinghurst
Billinghurst added a comment.

(re)done
python pwb.py touch.py -lang:xx  -family:wikisource  -namespace:Page -start:\!  
-pt:0 -botflag

- arWS
- asWS
- azWS
- beWS
- bgWS
- bnWS
- bsWS
- csWS
- cyWS
- daWS
- elWS
- eoWS
- etWS
- faWS
- fiWS
- foWS
- glWS
- guWS
- hrWS
- heWS
- caWS
- brWS
- hyWS

Running ...

- enWS
- mulWS

Noting that several of these wikis had zero pages in the Page: ns :-/

More to come.  If the big wikisources want this run please give wikisource-bot 
bot rights.  (@Aschroet for deWS)


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

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

To: Billinghurst
Cc: pywikibot-bugs-list, Glaisher, Paulis, Jdforrester-WMF, zhuyifei1999, Tpt, 
Billinghurst, revi, Aklapper, Steinsplitter, Aschroet, GOIII, jayvdb, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Triaged] T113450: pywikibot-touch.py needs to operate in bot mode

2015-10-12 Thread Billinghurst
Billinghurst triaged this task as "Normal" priority.

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

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

To: Mpaa, Billinghurst
Cc: XZise, Mpaa, Aschroet, gerritbot, jayvdb, Tpt, Aklapper, 
pywikibot-bugs-list, Billinghurst, 01tonythomas



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


[Pywikipedia-bugs] [Maniphest] [Closed] T113450: pywikibot-touch.py needs to operate in bot mode

2015-10-12 Thread Billinghurst
Billinghurst closed this task as "Resolved".
Billinghurst added a comment.

runnign with -botflag and that works

  12 October 2015
  b   12:01 Side:Danmark-Norges indre historie under enevælden 1.djvu/264‎ 
(diff | hist) . . (-1)‎ . . Wikisource-bot (Talk | contribs | block) (Pywikibot 
touch edit) [rollback]
  b   12:01 Side:Danmark-Norges indre historie under enevælden 1.djvu/263‎ 
(diff | hist) . . (-1)‎ . . Wikisource-bot (Talk | contribs | block) (Pywikibot 
touch edit) [rollback]
  b   12:01 Side:Danmark-Norges indre historie under enevælden 1.djvu/262‎ 
(diff | hist) . . (-1)‎ . . Wikisource-bot (Talk | contribs | block) (Pywikibot 
touch edit) [rollback]


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

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

To: Mpaa, Billinghurst
Cc: XZise, Mpaa, Aschroet, gerritbot, jayvdb, Tpt, Aklapper, 
pywikibot-bugs-list, Billinghurst, 01tonythomas



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


[Pywikipedia-bugs] [Maniphest] [Unblock] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-10-12 Thread Billinghurst
Billinghurst closed blocking task T113450: pywikibot-touch.py needs to operate 
in bot mode as "Resolved".

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

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

To: Billinghurst
Cc: pywikibot-bugs-list, Glaisher, Paulis, Jdforrester-WMF, zhuyifei1999, Tpt, 
Billinghurst, revi, Aklapper, Steinsplitter, Aschroet, GOIII, jayvdb, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Reopened] T113450: pywikibot-touch.py needs to operate in bot mode

2015-10-12 Thread Billinghurst
Billinghurst reopened this task as "Open".
Billinghurst added a comment.

No luck, still recording as standard edits rather than as bot edits
https://da.wikisource.org/w/index.php?title=Speciel:Seneste_%C3%A6ndringer=20=0

  12 October 2015
11:38   Side:Breve fra Helvede, udgivne af M. Rowel.djvu/66‎ (diff | 
hist) . . (-1)‎ . . Wikisource-bot (Talk | contribs | block) (Pywikibot touch 
edit) [rollback]
11:23   Side:Almindelig Handelsvidenskab.djvu/95‎ (diff | hist) . . 
(-1)‎ . . Wikisource-bot (Talk | contribs | block) (Pywikibot touch edit) 
[rollback]
11:23   Side:Almindelig Handelsvidenskab.djvu/93‎ (diff | hist) . . 
(-1)‎ . . Wikisource-bot (Talk | contribs | block) (Pywikibot touch edit) 
[rollback]
11:23   Side:Almindelig Handelsvidenskab.djvu/91‎ (diff | hist) . . 
(-1)‎ . . Wikisource-bot (Talk | contribs | block) (Pywikibot touch edit) 
[rollback]

https://meta.wikimedia.org/w/index.php?title=Special%3ACentralAuth=wikisource-bot

  da.wikisource.org 12:31, 13 August 2015   created on login(?) —   
46  bot


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

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

To: Billinghurst
Cc: Mpaa, Aschroet, gerritbot, jayvdb, Tpt, Aklapper, pywikibot-bugs-list, 
Billinghurst, 01tonythomas



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


[Pywikipedia-bugs] [Maniphest] [Block] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-10-12 Thread Billinghurst
Billinghurst reopened blocking task T113450: pywikibot-touch.py needs to 
operate in bot mode as "Open".

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

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

To: Billinghurst
Cc: pywikibot-bugs-list, Glaisher, Paulis, Jdforrester-WMF, zhuyifei1999, Tpt, 
Billinghurst, revi, Aklapper, Steinsplitter, Aschroet, GOIII, jayvdb, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T113450: pywikibot-touch.py needs to operate in bot mode

2015-10-12 Thread Billinghurst
Billinghurst added a comment.

and the version of touch.py looks to be the most recent

  -rwxrwxr-x  1 tools.pywikibot tools.pywikibot   3135 Oct 12 01:02 touch.py


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

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

To: Mpaa, Billinghurst
Cc: XZise, Mpaa, Aschroet, gerritbot, jayvdb, Tpt, Aklapper, 
pywikibot-bugs-list, Billinghurst, 01tonythomas



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-10-12 Thread Billinghurst
Billinghurst added a comment.

Tests for daWS successful and I am just now submitting it to the grid to 
finish. If deWS wishes we set bot rights Wikisource-bot and run through the 
Page:ns to touch the pages, or they can utilise another bot.

The last page that I purged as Billinghurst was

  Seite:Bötjer Basch.djvu/041

I ran two checks  each of 30 pages before I hit the API rate limiter. No saves 
in the batch. 


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

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

To: Billinghurst
Cc: pywikibot-bugs-list, Glaisher, Paulis, Jdforrester-WMF, zhuyifei1999, Tpt, 
Billinghurst, revi, Aklapper, Steinsplitter, Aschroet, GOIII, jayvdb, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-10-11 Thread Billinghurst
Billinghurst added a comment.

@Aschroet I have some plans to test it today or tonight. I just need to

work around dodgy connection issues. Then, yes! We can batch to run from

where we left off.


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

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

To: Billinghurst
Cc: pywikibot-bugs-list, Glaisher, Paulis, Jdforrester-WMF, zhuyifei1999, Tpt, 
Billinghurst, Revi, Aklapper, Steinsplitter, Aschroet, GOIII, jayvdb, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Created] T114574: Create an alias "mul" for -lang: syntax in pywikibot

2015-10-03 Thread Billinghurst
Billinghurst created this task.
Billinghurst added a subscriber: Billinghurst.
Billinghurst added a project: Pywikibot-General.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Currently for oldwikisource one needs to use the syntax
... -lang:- ...
  which is not obvious. With there having been a change to WMF configuration of 
oldwikisource to mul.wikisource it would seem reasonable to have an alias (or 
similar) to be able to use the syntax
 ... -lang:mul ...

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, jayvdb



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T114318: Index page sometimes does not use

2015-09-30 Thread Billinghurst
Billinghurst added a comment.

Did you try a purge also? Noting that this is what is needed to resolve the 
issue for special:indexpages issue.  The (interim) value of a persistent purge 
of Index: ns pages based on recent activity in Index/Page: nss seems to growing.


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

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

To: Billinghurst
Cc: Billinghurst, jayvdb, Tpt, Aklapper, pywikibot-bugs-list, Mpaa, GOIII



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


[Pywikipedia-bugs] [Maniphest] [Retitled] T114318: Index page sometimes does not have required class set

2015-09-30 Thread Billinghurst
Billinghurst changed the title from "Index page sometimes does not use required 
class set" to "Index page sometimes does not have required class set".

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

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

To: Billinghurst
Cc: Billinghurst, jayvdb, Tpt, Aklapper, pywikibot-bugs-list, Mpaa, GOIII



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T114318: Index page sometimes does not have required class set

2015-09-30 Thread Billinghurst
Billinghurst added a comment.

Noting that  I plan to purge  all pages in Index ns overthe weekend. I had 
started however I forgot to nohup.


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

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

To: Billinghurst
Cc: Billinghurst, jayvdb, Tpt, Aklapper, pywikibot-bugs-list, Mpaa, GOIII



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T113450: pywikibot-touch.py needs to operate in bot mode

2015-09-26 Thread Billinghurst
Billinghurst added a comment.

(replied by email, though that has been rejected after a couple of days)

Re the fix that touch applies ... it seems to relate to a version of
MediaWiki (PrP?) and it's ability to dispose of trailing white space.  It
is usually a batch of pages in the footer section of a Page:s of a work, so
to me it seems to be a per user component, rather than at a point of time.
I have seen groups of pages with nothing then groups with some changes then
groups with nothing, so that means user-related if at same time in space
cleaning, OR batches done over time.


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

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

To: Billinghurst
Cc: Aschroet, gerritbot, jayvdb, Tpt, Aklapper, pywikibot-bugs-list, 
Billinghurst, 01tonythomas



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


[Pywikipedia-bugs] [Maniphest] [Updated] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-09-23 Thread Billinghurst
Billinghurst added a project: pywikibot-core.
Herald added a subscriber: pywikibot-bugs-list.

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

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

To: Billinghurst
Cc: pywikibot-bugs-list, Glaisher, Paulis, Jdforrester-WMF, zhuyifei1999, Tpt, 
Billinghurst, Revi, Aklapper, Steinsplitter, Aschroet, GOIII, jayvdb, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Created] T113449: Create project pywikibot-touch.py

2015-09-23 Thread Billinghurst
Billinghurst created this task.
Billinghurst assigned this task to Aklapper.
Billinghurst added a subscriber: Billinghurst.
Billinghurst added a project: pywikibot-core.
Herald added a subscriber: pywikibot-bugs-list.

TASK DESCRIPTION
  Andre,
  
  We seem to have specific projects for each of the pywiki scripts, though we 
seem to have missed pywikibot-touch.py  Would you be so kind to create it. 
Thanks.

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

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

To: Aklapper, Billinghurst
Cc: pywikibot-bugs-list, Billinghurst, jayvdb



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


[Pywikipedia-bugs] [Maniphest] [Updated] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-09-23 Thread Billinghurst
Billinghurst removed a project: pywikibot-core.

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

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

To: Billinghurst
Cc: pywikibot-bugs-list, Glaisher, Paulis, Jdforrester-WMF, zhuyifei1999, Tpt, 
Billinghurst, Revi, Aklapper, Steinsplitter, Aschroet, GOIII, jayvdb, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-09-23 Thread Billinghurst
Billinghurst added a comment.

adding pywikibot-core as the project, as no project (currently) exists for 
pywikibot-touch.py


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

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

To: Billinghurst
Cc: pywikibot-bugs-list, Glaisher, Paulis, Jdforrester-WMF, zhuyifei1999, Tpt, 
Billinghurst, Revi, Aklapper, Steinsplitter, Aschroet, GOIII, jayvdb, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Updated] T108799: Commons "File usage on other wikis" does not show usage by German Wikisource

2015-09-23 Thread Billinghurst
Billinghurst added a blocking task: T113450: pywikibot-touch.py needs to 
operate in bot mode.

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

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

To: Billinghurst
Cc: pywikibot-bugs-list, Glaisher, Paulis, Jdforrester-WMF, zhuyifei1999, Tpt, 
Billinghurst, Revi, Aklapper, Steinsplitter, Aschroet, GOIII, jayvdb, Krenair



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


[Pywikipedia-bugs] [Maniphest] [Created] T113450: pywikibot-touch.py needs to operate in bot mode

2015-09-23 Thread Billinghurst
Billinghurst created this task.
Billinghurst added a subscriber: Billinghurst.
Billinghurst added a project: pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  When trying to undertake a large scale touch of Wikisource Page: namespace 
pages, I found that it was unable to be undertaken in bot mode. Discovered this 
when the bot found a page that was resaved with a difference due to a change 
made in the code elsewhere in either MediaWiki or ProofreadPage, and the edit 
was saved without the 'b' flag, which for large scale touch operations is 
problematic.

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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, jayvdb



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T87232: Add ru:wikisource in welcome.py

2015-09-20 Thread Billinghurst
Billinghurst added a comment.

As a more general comment about welcoming, and from bots.

- people do seem to like the personal welcome, I get numbers of newbies

popping past my talk page afterwards, and from established users often a
thanks, especially at Wikisource.

- stewards have noticed that bot welcomes at problematic account names,

especially with abusive, etc., are a clean-up issue and sometimes quite
messy, so we really recommend a significant delay between join and bot
welcome.

Are subst: of welcome, can that be switchable? At enWS we no longer
substitute.


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

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

To: Billinghurst
Cc: jayantanth, jayvdb, Billinghurst, Mpaa, pywikibot-bugs-list, dima_st_bk, 
Aklapper, Anshoe, 01tonythomas



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T71980: patrol.py depends on mwlib.uparser not available on wmflabs

2015-09-13 Thread Billinghurst
Billinghurst added a comment.

Thanks @jayvdb, to assist after some failed attempts. I am told

1. Create a virtualenv as per 
https://wikitech.wikimedia.org/wiki/Help:Tool_Labs  ; then
2. pip install mwlib  (which takes a while)

When running the command from inside the (env)

  python pwb.py patrol.py -lang:xx -family:wiki -whitelist:"ns and filename 
of whitelist"

it returns the error

  ImportError: No module named requests
  Python module requests is required.
  Try running 'pip install requests'

Installed "requests", and then I was able to get things running. :-)   I did 
see an "InsecurePlatformWarning"   ... A True SSLContext object is not 
available. This prevents urllib3 from configuring SSL appropriately and my 
acuase  certain SSL connections to fail 
(https://urllib3.readthedocs.org/en/latest/security.html)

I am not sure whether that is a toolslabs issue, a python version issue, or a 
pywikibot issue, or an mwlib issue.

By the way @jyavdb, when you had it as a perpetual job at enWS, what was your 
process for having that? cron job that restarted?


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

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

To: Billinghurst
Cc: Aklapper, Billinghurst, valhallasw, scfc, jayvdb, Ricordisamoa, 
pywikibot-bugs-list, XZise, yuvipanda, Anshoe, droid



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


[Pywikipedia-bugs] [Maniphest] [Commented On] T109215: Login with pywikibot loops on toollabs

2015-08-16 Thread Billinghurst
Billinghurst added a comment.

with guidance I ran

  python -c import pywikibot; s = pywikibot.Site('en', 'wikisource'); 
s.login()

and no loop


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

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

To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, jayvdb, Malyacko



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


[Pywikipedia-bugs] [Maniphest] [Created] T109168: Failure of -start parameter with a start page defined

2015-08-15 Thread Billinghurst
Billinghurst created this task.
Billinghurst added subscribers: Billinghurst, Xqt.
Billinghurst added a project: pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Adding a start parameter other than ... -start:\! ... seems to be failing 
when I looked to recontinue a job that I had to stop.
  
  
  tools.wikisource-bot@tools-bastion-01:~$ python 
/shared/pywikipedia/core/scripts/touch.py -lang:en -family:wikisource 
-namespace:104 -start:Page:Encyclopedia of Virginia Biography volume 
2.djvu/232 -log:enWS_104purge -pt:0  -user:billinghurst
  Traceback (most recent call last):
File /shared/pywikipedia/core/scripts/touch.py, line 106, in module
  main()
File /shared/pywikipedia/core/scripts/touch.py, line 90, in main
  elif not genFactory.handleArg(arg) and arg.startswith(-):
File /shared/pywikipedia/core/pywikibot/pagegenerators.py, line 674, in 
handleArg
  site=self.site)
File /shared/pywikipedia/core/pywikibot/pagegenerators.py, line 849, in 
AllpagesPageGenerator
  content=content)
File /shared/pywikipedia/core/pywikibot/tools/__init__.py, line 1248, in 
wrapper
  return obj(*__args, **__kw)
File /shared/pywikipedia/core/pywikibot/site.py, line 3668, in allpages
  g_content=content)
File /shared/pywikipedia/core/pywikibot/site.py, line 1718, in _generator
  gen = gen_class(type_arg, **req_args)
File /shared/pywikipedia/core/pywikibot/data/api.py, line 2783, in 
__init__
  QueryGenerator.__init__(self, **kwargs)
File /shared/pywikipedia/core/pywikibot/data/api.py, line 2434, in 
__init__
  set(self.modules)  self.site._paraminfo.query_modules_with_limits
File /shared/pywikipedia/core/pywikibot/data/api.py, line 1033, in 
query_modules_with_limits
  self.fetch(self.submodules('query', True))
File /shared/pywikipedia/core/pywikibot/data/api.py, line 948, in 
submodules
  self.fetch([name])
File /shared/pywikipedia/core/pywikibot/data/api.py, line 562, in fetch
  self._fetch(modules)
File /shared/pywikipedia/core/pywikibot/data/api.py, line 674, in _fetch
  for mod in normalized_result.values())
File /shared/pywikipedia/core/pywikibot/data/api.py, line 723, in 
_generate_submodules
  self._add_submodules(module, submodules)
File /shared/pywikipedia/core/pywikibot/data/api.py, line 229, in 
_add_submodules
  assert modules == self._modules[name]
  AssertionError
  type 'exceptions.AssertionError'
  CRITICAL: Closing network session.
  
  
  
  @xqt says looks to be introduced at https://gerrit.wikimedia.org/r/#/c/231594/

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

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

To: Billinghurst
Cc: Xqt, Aklapper, pywikibot-bugs-list, Billinghurst, jayvdb, Malyacko



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