Special:ApiSandbox URL field must have ltr direction. The URL is left-to-right by nature.
I just found this on the morning of Hackathon 2016, and it's a great bug for beginners!
Special:ApiSandbox URL field must have ltr direction. The URL is left-to-right by nature.
I just found this on the morning of Hackathon 2016, and it's a great bug for beginners!
It seems like there would be other parameters that should probably be LTR as well, such as callback?
There's a decent chance that you'll have to add either a new value for ApiBase::PARAM_TYPE or a new constant to indicate LTR directionality; which one depends on which fields, exactly, this might apply to (e.g. URL fields would make sense as a new "url" type, while something like the callback parameter probably wouldn't make sense as a new type unless it's extremely generic like "ltrstring").
Then you'd need to update the return values from getAllowedParams() for all the applicable API modules, and the ApiSandbox JS to apply the correct directionality to the widgets.