mediawiki-extensions-Discus.../tests/data/README.txt

11 lines
452 B
Plaintext
Raw Normal View History

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