TheDJ added a comment.
The fundamental problem here is that encoding of the url is specific to which part of the url you are encoding .This is why we have so many functions to handle encoding in wiki pages: https://www.mediawiki.org/wiki/Help:Magic_words#URL_data Considering that this is not specified per formatter right now what type of encoding to apply to escape the values, it is currently not possible to do this without mistakes. A solution could be to add a property to the url formatter which specifies what part of the url the value will be substituted into, and use that to determine the correct encoding when escaping the values for the url formatter. TASK DETAIL https://phabricator.wikimedia.org/T160281 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lydia_Pintscher, TheDJ Cc: TheDJ, UWashPrincipalCataloger, Horcrux92, Physikerwelt, Moebeus, Nikki, CamelCaseNick, Lydia_Pintscher, Tom.Reding, Epidosis, MrFulano, Capmo, Ghouston, Abbe98, Jc86035, Marsupium, Manu1400, Pasleim, Aklapper, MisterSynergy, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
