[Pywikipedia-bugs] [Maniphest] [Closed] T307280: API:Links sometimes miss pages in Page namespace (104)

2022-05-10 Thread Xqt
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T307280 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa, Xqt Cc: Aklapper, pywikibot-bugs-list, Mpaa, Bebiezaza, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck,

[Pywikipedia-bugs] [Maniphest] [Updated] T308063: Pywikibot: Insufficient documentation

2022-05-10 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T308063 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Maintenance_bot Cc: Xqt, komla, Aklapper, TBurmeister, pywikibot-bugs-list, srishakatux,

[Pywikipedia-bugs] [Maniphest] [Commented On] T308063: Pywikibot: Insufficient documentation

2022-05-10 Thread Xqt
Xqt added a comment. The lead documentation is on https://doc.wikimedia.org/pywikibot because it is generated from the code automatically. See also: https://www.mediawiki.org/wiki/Project:Pywikibot/Documentation_RFC#Options Maybe the MediaWiki pages should link to the corresponding doc

[Pywikipedia-bugs] [Maniphest] [Commented On] T308063: Pywikibot: Insufficient documentation

2022-05-10 Thread gerritbot
gerritbot added a comment. Change 790791 **merged** by jenkins-bot: [pywikibot/core@master] [doc] Fix library usage description https://gerrit.wikimedia.org/r/790791 TASK DETAIL https://phabricator.wikimedia.org/T308063 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Edited] T308063: Pywikibot: Insufficient documentation

2022-05-10 Thread Xqt
Xqt updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T308063 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: komla, Aklapper, TBurmeister, pywikibot-bugs-list, srishakatux, Fernandobacasegua34, 786, Suran38,

[Pywikipedia-bugs] [Maniphest] [Updated] T308063: Pywikibot: Insufficient documentation

2022-05-10 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T308063 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: komla, Aklapper, TBurmeister, pywikibot-bugs-list, srishakatux, Fernandobacasegua34,

[Pywikipedia-bugs] [Maniphest] [Commented On] T308063: Pywikibot: Insufficient documentation

2022-05-10 Thread gerritbot
gerritbot added a comment. Change 790791 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [doc] Fix library usage description https://gerrit.wikimedia.org/r/790791 TASK DETAIL https://phabricator.wikimedia.org/T308063 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T307550: Terminal_interface: transliterating to ascii fails with "Old color format must not be mixed with new"

2022-05-10 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T307550 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Maintenance_bot Cc: Xqt, Aklapper, pywikibot-bugs-list, JAnD, Jyoo1011, JohnsonLee01,

[Pywikipedia-bugs] [Maniphest] [Commented On] T307550: Terminal_interface: transliterating to ascii fails with "Old color format must not be mixed with new"

2022-05-10 Thread gerritbot
gerritbot added a comment. Change 789191 **merged** by jenkins-bot: [pywikibot/core@master] [bugfix] do not use old color format for transliterated chars https://gerrit.wikimedia.org/r/789191 TASK DETAIL https://phabricator.wikimedia.org/T307550 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Closed] T307550: Terminal_interface: transliterating to ascii fails with "Old color format must not be mixed with new"

2022-05-10 Thread Xqt
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T307550 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, JAnD, Fernandobacasegua34, 786, Suran38, Biggs657, Lalamarie69,

[Pywikipedia-bugs] [Maniphest] [Updated] T308063: Pywikibot: Insufficient documentation

2022-05-10 Thread Aklapper
Aklapper added a comment. IMHO this should be declined and split into separate tasks with specific pages listed, because catch-alls are way way harder to ever get resolved. See also T288833 . TASK DETAIL https://phabricator.wikimedia.org/T308063

[Pywikipedia-bugs] [Maniphest] [Edited] T308063: Pywikibot: Insufficient documentation

2022-05-10 Thread srishakatux
srishakatux updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T308063 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: srishakatux Cc: komla, Aklapper, TBurmeister, pywikibot-bugs-list, srishakatux, Maberdour, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Updated] T308063: Pywikibot: Insufficient documentation

2022-05-10 Thread srishakatux
srishakatux added a project: Documentation. srishakatux updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T308063 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: srishakatux Cc: komla, Aklapper, TBurmeister,

[Pywikipedia-bugs] [Maniphest] [Retitled] T308016: Ql filter attempts to process 'non-standard' titles for pages with Proofread-page content model...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 renamed this task from "Incompatible -ql and -grep filter options for listpages.py..." to "Ql filter attempts to process 'non-standard' titles for pages with Proofread-page content model... ". TASK DETAIL https://phabricator.wikimedia.org/T308016 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T308016: Incompatible -ql and -grep filter options for listpages.py...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 added a comment. However, it does make me wonder if there is a need for the filter to be more robust about how it processes titles that aren't in the standard format for the Proofread-page content model. TASK DETAIL https://phabricator.wikimedia.org/T308016 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T308016: Incompatible -ql and -grep filter options for listpages.py...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 added a comment. Setting this as low priority.. It's a singular edge case on a specific local project. TASK DETAIL https://phabricator.wikimedia.org/T308016 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ShakespeareFan00 Cc:

[Pywikipedia-bugs] [Maniphest] [Triaged] T308016: Incompatible -ql and -grep filter options for listpages.py...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T308016 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ShakespeareFan00 Cc: Xqt, Mpaa, pywikibot-bugs-list, Aklapper, ShakespeareFan00, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Commented On] T308016: Incompatible -ql and -grep filter options for listpages.py...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 added a comment. I am perfectly happy with the -ql filter discarding stuff it can't process with a warning... @Mpaa _ I've re-integrated the contents of the sub-page into the root, using the standard sidenotes approach, and once the sub page is removed, this ticket

[Pywikipedia-bugs] [Maniphest] [Commented On] T308016: Incompatible -ql and -grep filter options for listpages.py...

2022-05-10 Thread Mpaa
Mpaa added a comment. This is not a standard way of working with Proofread pages, and to handle it it would create several inconveniences (e.g. how many pages will have the related index? etc.) Before acting on pywikibot, there should be an agreement in the wikisource world on such

[Pywikipedia-bugs] [Maniphest] [Created] T308063: Pywikibot: Insufficient documentation

2022-05-10 Thread srishakatux
srishakatux created this task. srishakatux added projects: Pywikibot, Developer-Advocacy. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Some observations while developing workshop materials around Pywikibot as part of the #Small-wiki-toolkits

[Pywikipedia-bugs] [Maniphest] [Updated] T222519: linter page generator ignores namespace filter

2022-05-10 Thread Xqt
Xqt changed the subtype of this task from "Task" to "Bug Report". TASK DETAIL https://phabricator.wikimedia.org/T222519 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: ShakespeareFan00, Xqt, matej_suchanek, Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Claimed] T222519: linter page generator ignores namespace filter

2022-05-10 Thread Xqt
Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T222519 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: ShakespeareFan00, Xqt, matej_suchanek, Aklapper, pywikibot-bugs-list, Dvorapa, Jyoo1011, JohnsonLee01, SHEKH,

[Pywikipedia-bugs] [Maniphest] [Updated] T222519: linter page generator ignores namespace filter

2022-05-10 Thread Xqt
Xqt removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T222519 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: ShakespeareFan00, Xqt, matej_suchanek, Aklapper, pywikibot-bugs-list, Dvorapa, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Commented On] T222519: linter page generator ignores namespace filter

2022-05-10 Thread gerritbot
gerritbot added a comment. Change 790720 **merged** by jenkins-bot: [pywikibot/core@master] [IMPR] Prioritize -namespaces options in pg.handle_args https://gerrit.wikimedia.org/r/790720 TASK DETAIL https://phabricator.wikimedia.org/T222519 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread Xqt
Xqt added a comment. From the doc: -startYou can also include a namespace. For example, "-start:Template:!" will make the bot work on all pages in the template namespace. But indeed there is no end/stop option now. Please

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T222519: linter page generator ignores namespace filter

2022-05-10 Thread Xqt
Xqt added a subscriber: ShakespeareFan00. Xqt added a comment. Thank you @ShakespeareFan00 for this idea! TASK DETAIL https://phabricator.wikimedia.org/T222519 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: ShakespeareFan00, Xqt,

[Pywikipedia-bugs] [Maniphest] [Updated] T222519: linter page generator ignores namespace filter

2022-05-10 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T222519 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Xqt, matej_suchanek, Aklapper, pywikibot-bugs-list, Dvorapa, Fernandobacasegua34, 786,

[Pywikipedia-bugs] [Maniphest] [Commented On] T222519: linter page generator ignores namespace filter

2022-05-10 Thread gerritbot
gerritbot added a comment. Change 790720 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [IMPR] Prioritize -namespaces options in pg.handle_args https://gerrit.wikimedia.org/r/790720 TASK DETAIL https://phabricator.wikimedia.org/T222519 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 added a comment. In T308028#7918019 , @Xqt wrote: > In T308028#7918005 , @ShakespeareFan00 wrote: > >> Would it be possible to have a page generator that was

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread Xqt
Xqt added a comment. In T308028#7918005 , @ShakespeareFan00 wrote: > Would it be possible to have a page generator that was effectively -inns:104:A:Z ? I can then use i-intersect to filter it down to manageable levels? Cannot

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 added a comment. Would it be possible to have a page generator that was effectively -inns:104:A:Z ? I can then use i-intersect to filter it down to manageable levels? In T308028#7917957 , @Xqt wrote: > In

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread Xqt
Xqt added a comment. In T308028#7917940 , @ShakespeareFan00 wrote: > Suggestions: - > > Sort the options into a logical order before further processing... I'm not sure if Python will let you do that.. That looks like a good

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread Xqt
Xqt added a comment. In T308028#7917911 , @ShakespeareFan00 wrote: > I strongly suggest some kind of option sorting is done BEFORE anything is generated. API:Usercontribs does not support any sorting. Seems the sorting order is the

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread Xqt
Xqt added a comment. @ShakespeareFan00: Here a code which will work if you give the -ns parameter before the generator parameter. All you have to do is to change this method in pagegenerators: def _handle_usercontribs(self, value: str) -> HANDLER_RETURN_TYPE: """Handle

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 added a comment. Suggestions: - Sort the options into a logical order before further processing... I'm not sure if Python will let you do that.. Aside: It's not clear from the documentation if multiple options for the same filter can be specified... I am

[Pywikipedia-bugs] [Maniphest] [Triaged] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread Xqt
Xqt triaged this task as "High" priority. Xqt added a comment. In T308028#7917901 , @Xqt wrote: > @ShakespeareFan00: As I can see, this is a known problem with pagegenerator generator functions; there must be a task already I guess. As

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 added a comment. And your suggested change didn't remove the non Page: namespace entries... TASK DETAIL https://phabricator.wikimedia.org/T308028 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ShakespeareFan00 Cc: Xqt,

[Pywikipedia-bugs] [Maniphest] [Updated] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 added a comment. T222519 ? I am trying that now... TASK DETAIL https://phabricator.wikimedia.org/T308028 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ShakespeareFan00 Cc: Xqt,

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread Xqt
Xqt added a comment. @ShakespeareFan00: As I can see, this is a known problem with pagegenerator generator functions; there must be a task already I guess. As a workaround you have to define the namespace first: `pwb.py listpages -ns:104-usercontribs:"ShakespeareFan00" -intersect

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 added a comment. Also I note the query here is reporting 365 entries, when the limit is 500, I certainly have more than 500 user contributions on English Wikisource. TASK DETAIL https://phabricator.wikimedia.org/T308028 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread Xqt
Xqt added a comment. Found these wrong entries: C:\pwb\GIT\core>pwb.py listpages -usercontribs:"ShakespeareFan00" -intersect -limit:500 -ns:104 -lang:en -family:wikisource -format:"* [[{page.loc_title}]]" WARNING: "-intersect" ignored as only one generator is specified. *

[Pywikipedia-bugs] [Maniphest] [Commented On] T308016: Incompatible -ql and -grep filter options for listpages.py...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 added a comment. It's a subpage. It was created to hold the extensive sidetitles (which mediawiki can't support natively) on the main-page, so that there was more flexibility as to how they could be presented on different devices. Wikisource has templates like

[Pywikipedia-bugs] [Maniphest] [Raised Priority] T308016: Incompatible -ql and -grep filter options for listpages.py...

2022-05-10 Thread Xqt
Xqt raised the priority of this task from "High" to "Needs Triage". TASK DETAIL https://phabricator.wikimedia.org/T308016 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Mpaa, pywikibot-bugs-list, Aklapper, ShakespeareFan00, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Retitled] T308028: Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 renamed this task from "-ns: option apparently ignored if -limit: option used..." to "Pywikibot; Listpages.py ; -ns: option apparently ignored if -limit: option used...". TASK DETAIL https://phabricator.wikimedia.org/T308028 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T308028: -ns: option apparently ignored if -limit: option used...

2022-05-10 Thread ShakespeareFan00
ShakespeareFan00 added a project: Pywikibot. Restricted Application added a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T308028 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ShakespeareFan00 Cc:

[Pywikipedia-bugs] [Maniphest] [Commented On] T308016: Incompatible -ql and -grep filter options for listpages.py...

2022-05-10 Thread Xqt
Xqt added a comment. Looks like this page leads to this problem: https://en.wikisource.org/wiki/Page:Ruffhead_-_The_Statutes_at_Large,_1763.djvu/96/marginals Is this a valid proofread title? TASK DETAIL https://phabricator.wikimedia.org/T308016 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Triaged] T308016: Incompatible -ql and -grep filter options for listpages.py...

2022-05-10 Thread Xqt
Xqt added a subscriber: Mpaa. Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T308016 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Mpaa, pywikibot-bugs-list, Aklapper, ShakespeareFan00, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Updated] T307833: New upstream release for Pywikibot

2022-05-10 Thread rook
rook added a comment. This is blocked by T307919 though https://github.com/toolforge/paws/pull/141 should effectively get it in place until we can build containers again. TASK DETAIL https://phabricator.wikimedia.org/T307833 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T307833: New upstream release for Pywikibot

2022-05-10 Thread rook
rook added a parent task: T307919: PAWS failing to build singleuser container. TASK DETAIL https://phabricator.wikimedia.org/T307833 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: rook Cc: pywikibot-bugs-list, Zabe, rook, Majavah, Xqt, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Updated] T308016: Incompatible -ql and -grep filter options for listpages.py...

2022-05-10 Thread Ladsgroup
Ladsgroup removed a subscriber: Pywikibot. Ladsgroup added a project: Pywikibot. Restricted Application added a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T308016 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Updated] T166458: PWB should continue to execute scripts after launching generate_user_config

2022-05-10 Thread Aklapper
Aklapper removed projects: good first task, Pywikibot-General. TASK DETAIL https://phabricator.wikimedia.org/T166458 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Aklapper Cc: Framawiki, Aklapper, pywikibot-bugs-list, Dvorapa, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Updated] T57164: Bot incorrectly removes categories with parser functions

2022-05-10 Thread Aklapper
Aklapper removed projects: good first task, Pywikibot-General. TASK DETAIL https://phabricator.wikimedia.org/T57164 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Aklapper Cc: Cyberpower678, Legoktm, Ricordisamoa, pywikibot-bugs-list, Jyoo1011,