Smalyshev added a comment.

One solution would be for the MWAPI to automatically decode titles in parameters.

The API does not know anything about "titles" or URL encoding - it's just strings, "title" is just a name of the parameter. I don't think URL-decoding any string that is passed to service is a good idea. So we'd need to somehow know which ones need to be decoded. Maybe types support can help with it.


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

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

To: Smalyshev
Cc: robbi5, Aklapper, Smalyshev, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to