mediawiki-extensions-Discus.../tests/data/README.txt
Bartosz Dziewoński 065c7d8f2d Add test case for T313100
(Also README corrections)

Change-Id: I037155ba1b775511273a78a85b34c29f3319a9a6
2022-11-14 19:16:43 +01:00

11 lines
452 B
Plaintext

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' )