Especially those break wikitext.
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51090
Especially those break wikitext.
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51090
Looks like a job for mw.Title in core.
It needs better validation. If static validation is not 100% waterproof we could built in a "extra sure" mode in mw.Title that makes an API request.
Fixed in https://gerrit.wikimedia.org/r/23373 similarly to the way wikiEditor checks for invalid page titles
Would be better handled in mw.Title.
Change 77099 had a related patch set uploaded by Esanders:
Prevent the creation of invalid MWInternalLinks
Fixed again. Sorry, everyone. Will be deployed to MW.org tomorrow, and we'll get it deployed more widely after testing.