[Wikidata-bugs] [Maniphest] T266543: T266454: action=feedrecentchanges , &namespace= accepts multiple values separated by ; on Special:RC

2020-10-27 Thread Paladium
Paladium created this task.
Paladium added projects: User-RhinosF1, MediaWiki-API, Platform Engineering, 
MediaWiki-extensions-WikibaseClient, Wikidata-Campsite, Wikidata.

TASK DESCRIPTION
  Could the api accept multiple namespace values? 
  In this example the feed has ns=0 and ns=4 like: namespace=0%3B4:
  

api.php?hidebots=1&hidepageedits=1&hidelog=1&hideWikibase=1&translations=filter&namespace=0%3B4&urlversion=2&days=180&limit=50&action=feedrecentchanges&feedformat=atom
  
  
  
  In T266454#6579967 <https://phabricator.wikimedia.org/T266454#6579967>, 
@Reedy wrote:
  
  > In T266454#6579965 <https://phabricator.wikimedia.org/T266454#6579965>, 
@RhinosF1 wrote:
  >
  >> @Reedy: We also had the confusion over &namespace= accepts multiple values 
seperated by ; on Special:RC but the api doesn't. Could the api accept multiple 
namespace values?
  >
  > Probably
  >
  > Just needs a `ApiBase::PARAM_ISMULTI => true,` adding to 
`ApiFeedRecentChanges::getAllowedParams()` in the `namespace` array (like other 
API modules do) if the underlying class can do multiple NS fine. Should be 
enough easy to test.
  
  in this url example appears an error message: 
  
https://tuscriaturas.miraheze.org/w/api.php?hidebots=1&hidepageedits=1&hidelog=1&hideWikibase=1&translations=filter&namespace=0;4&urlversion=2&days=180&limit=50&action=feedrecentchanges&feedformat=atom
  
  > {
  >
  >   "error": {
  >   "code": "unknown_namespace",
  >   "info": "Unrecognized value for parameter \"namespace\": 0;4.",
  >   "*": "See https://tuscriaturas.miraheze.org/w/api.php for API usage. 
Subscribe to the mediawiki-api-announce mailing list at 
<https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce>; for 
notice of API deprecations and breaking changes."
  >   },
  >   "servedby": "mw7"
  >
  > }

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

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

To: Paladium
Cc: Reception123, Aklapper, Paladium, Reedy, RhinosF1, Akuckartz, WDoranWMF, 
MJL, holger.knust, EvanProdromou, DannyS712, Nandana, lucamauri, Amorymeltzer, 
Hispano76, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Sethakill, 
dg711, _jensen, rosalieper, Agabi10, Scott_WUaS, Pchelolo, Jonas, 
Wikidata-bugs, aude, jayvdb, Lydia_Pintscher, Mbch331, Rxy, Legoktm
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


wikidata-bugs@lists.wikimedia.org

2020-10-27 Thread Paladium
Paladium created this task.
Paladium added projects: User-RhinosF1, MediaWiki-API, Platform Engineering, 
MediaWiki-extensions-WikibaseClient, Wikidata-Campsite, Wikidata.

TASK DESCRIPTION
  Some parameters are missing from the documentation page MediaWiki API help:
  https://www.mediawiki.org/w/api.php?action=help&modules=feedrecentchanges
  &hideWikibase=1
  
  In T266454#6579958 <https://phabricator.wikimedia.org/T266454#6579958>, 
@Reedy wrote:
  
  > Obviously an issue with #mediawiki-extensions-wikibaseclient 
<https://phabricator.wikimedia.org/tag/mediawiki-extensions-wikibaseclient/>, 
not MW core. Probably needs to do something with the `APIGetAllowedParams` hook 
to add them.

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

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

To: Paladium
Cc: RhinosF1, Reception123, Aklapper, Paladium, Reedy, Akuckartz, WDoranWMF, 
MJL, holger.knust, EvanProdromou, DannyS712, Nandana, lucamauri, Amorymeltzer, 
Hispano76, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Sethakill, 
dg711, _jensen, rosalieper, Agabi10, Scott_WUaS, Pchelolo, Jonas, 
Wikidata-bugs, aude, jayvdb, Lydia_Pintscher, Mbch331, Rxy, Legoktm
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


wikidata-bugs@lists.wikimedia.org

2020-10-27 Thread Paladium
Paladium created this task.
Paladium added projects: User-RhinosF1, MediaWiki-API, Platform Engineering, 
MediaWiki-extensions-WikibaseClient, Wikidata-Campsite, Wikidata.

TASK DESCRIPTION
  I'm writing separared subtasks as suggested here:
  
  In T266454#6579967 <https://phabricator.wikimedia.org/T266454#6579967>, 
@Reedy wrote:
  
  > Separate bugs should be filed for separate issues. There's at least 3 
different issues (depending on how you count) here, and 1 is seemingly invalid.
  
  Some parameters are missing from the documentation page MediaWiki API help:
  https://www.mediawiki.org/w/api.php?action=help&modules=feedrecentchanges
  &hidepageedits=1
  &hidelog=1
  
  In T266454#6579958 <https://phabricator.wikimedia.org/T266454#6579958>, 
@Reedy wrote:
  
  > ChangesListSpecialPage adds those two parameters. They need 
adding/documenting in ApiFeedRecentChanges I guess

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

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

To: Paladium
Cc: RhinosF1, Reception123, Aklapper, Paladium, Reedy, Akuckartz, WDoranWMF, 
MJL, holger.knust, EvanProdromou, DannyS712, Nandana, lucamauri, Amorymeltzer, 
Hispano76, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Sethakill, 
dg711, _jensen, rosalieper, Agabi10, Scott_WUaS, Pchelolo, Jonas, 
Wikidata-bugs, aude, jayvdb, Lydia_Pintscher, Mbch331, Rxy, Legoktm
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs