Last modified: 2012-09-14 16:13:27 UTC
The Interwiki extension's "URL" field doesn't check against the list of $wgUrlProtocols when URLs are added or edited. It should validate input.
What if you wish to disallow gopher links, while keeping the possibility to link to a specific domain via gopher ? Same goes with other protocols, obviously…
(In reply to comment #1) > What if you wish to disallow gopher links, while keeping the possibility to > link to a specific domain via gopher ? Then you're being rather silly, in my opinion.
A patch: https://gerrit.wikimedia.org/r/#/c/17170 .
Created attachment 11110 [details] fixes the regression about interwiki name not displayed in the edit-form The previous patch brought in a regression, the interwiki prefix is not displayed anymore in the "edit" form. The attached patch attempt to fix this by introducing $prefixElement in the "edit" code path too.
Thanks a lot for the patch! I submitted it for review in Gerrit: https://gerrit.wikimedia.org/r/#/c/23782/ .
Merged.