[Wikidata-bugs] [Maniphest] [Commented On] T223773: MWAPI requests for external links return fewer than expected

2019-07-23 Thread Smalyshev
Smalyshev added a comment. > What is needed to run the generator just once, at least once for a given variable? If I understand right what you mean, then from https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/MWAPI bd:serviceParam wikibase:limit "once" . TASK

[Wikidata-bugs] [Maniphest] [Commented On] T223773: MWAPI requests for external links return fewer than expected

2019-05-19 Thread Esc3300
Esc3300 added a comment. What is needed to run the generator just once, at least once for a given variable? TASK DETAIL https://phabricator.wikimedia.org/T223773 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Esc3300 Cc: Esc3300,

[Wikidata-bugs] [Maniphest] [Commented On] T223773: MWAPI requests for external links return fewer than expected

2019-05-19 Thread Esc3300
Esc3300 added a comment. Interesting. "mad" outputs more than "mad" ;) TASK DETAIL https://phabricator.wikimedia.org/T223773 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Esc3300 Cc: Esc3300, Lucas_Werkmeister_WMDE, Smalyshev, Aklapper,

[Wikidata-bugs] [Maniphest] [Commented On] T223773: MWAPI requests for external links return fewer than expected

2019-05-19 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. In T223773#5195439 , @MartinPoulter wrote: > In T223773#5195422 , @Smalyshev wrote: > > > As for the second one, it's unfortunately a

[Wikidata-bugs] [Maniphest] [Commented On] T223773: MWAPI requests for external links return fewer than expected

2019-05-19 Thread MartinPoulter
MartinPoulter added a comment. In T223773#5195422 , @Smalyshev wrote: > As for the second one, it's unfortunately a limitation of the current API - only one result per page ( tag in generator) can be returned. In general, only one

[Wikidata-bugs] [Maniphest] [Commented On] T223773: MWAPI requests for external links return fewer than expected

2019-05-19 Thread MartinPoulter
MartinPoulter added a comment. Further finding: with no mwapi:ellimit property it returns 10 results. With mwapi:ellimit "max" it returns one result. With a numerical mwapi:ellimit property it returns varying (small) numbers of results. With a //nonsense// mwapi:ellimit property (e.g. "xam"

[Wikidata-bugs] [Maniphest] [Commented On] T223773: MWAPI requests for external links return fewer than expected

2019-05-19 Thread Smalyshev
Smalyshev added a comment. As for the second one, it's unfortunately a limitation of the current API - only one result per page ( tag in generator) can be returned. In general, only one result per XPath match - i.e. if XPath matches more than one thing per page it won't work. TASK DETAIL

[Wikidata-bugs] [Maniphest] [Commented On] T223773: MWAPI requests for external links return fewer than expected

2019-05-19 Thread MartinPoulter
MartinPoulter added a comment. The second query doesn't return all the external links that are present in the article (and visible in the REST query). It may be returning a different number of results at different times- the bug is that it's less than the full number. Adding an

[Wikidata-bugs] [Maniphest] [Commented On] T223773: MWAPI requests for external links return fewer than expected

2019-05-19 Thread Smalyshev
Smalyshev added a comment. Second query returns 10 results for me. TASK DETAIL https://phabricator.wikimedia.org/T223773 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Smalyshev Cc: Smalyshev, Aklapper, MartinPoulter, darthmon_wmde, alaa_wmde,