Since this subclasses ResourceLoaderFileModule, in debug mode
it was loaded by embedding the .js files directly, which caused
the 'wgFragmentMode' config variable to not be set (since the
code to do it was not sent to the client). Disallow this.
Bug: T172512
Change-Id: I1af944e4f4946023519e3453295b04a6cbca9fa3
It adds the ability to replace the current section ID escaping
schema (.C0.DE) with a HTML5-compliant escaping schema that is
displayed as Unicode in many modern browsers.
See the linked bug for discussion of various options that were
considered before the implementation. A few remarks:
* Because Sanitizer::escapeId() is used in a bunch of places without
escaping, I'm deprecating it without altering its behavior.
* The bug described in comments for Parser::guessLegacySectionNameFromWikiText()
is still there in some Edge versions that display mojibake.
Bug: T152540
Change-Id: Id304010a0342efbb7ef2d56c5b8b244f2e4fb2c5