Debian Codegraph @

extensions/DiscussionTools/tests/data/README.txt

raw
1 Minimal overrides for LanguageData::getLocalData() and mw.config
2 required for us to be able to parse HTML generated by the given wiki.
3
4 To make one of these files, run the following in browser console:
5
6 config.json:
7 JSON.stringify( mw.config.get( [ 'wgContentLanguage', 'wgArticlePath', 'wgNamespaceIds', 'wgFormattedNamespaces' ] ), null, '\t' )
8
9 data.json:
10 JSON.stringify( mw.loader.require( 'ext.discussionTools.init' ).parserData, null, '\t' )