For some actions that deal mostly with one namespace (file manipulation, etc), it would be good to add a defaultNamespace constructor parameter to be used with Title::newFromText()
Version: 1.21.x
Severity: enhancement
For some actions that deal mostly with one namespace (file manipulation, etc), it would be good to add a defaultNamespace constructor parameter to be used with Title::newFromText()
Version: 1.21.x
Severity: enhancement
How would this be used? Just by non-query actions that might use ApiPageSet and want to allow "titles=Foo.jpg|Bar.jpg" instead of "titles=File:Foo.jpg|File:Bar.jpg"?
Correct. Would be good for the image rotation action, or any other alike. Should be trivial to do and non-breaking. I made it as a bug just so i don't forget.
https://gerrit.wikimedia.org/r/#/c/44005/5/includes/api/ApiImageRotate.php