mediawiki-extensions-Discus.../tests/data
Bartosz Dziewoński 366dc2387e Add tests covering it.wp unsigned comment template
Bug: T268178
Bug: T268589
Change-Id: Icd353275b3b8191eddbff4d72984a8c2c8e6cdd6
2020-11-25 02:08:03 +01:00
..
arwiki-config.json
arwiki-data.json
ckbwiki-config.json
ckbwiki-data.json
enwiki-config.json
enwiki-data.json
frwiki-config.json
frwiki-data.json
huwiki-config.json
huwiki-data.json
itwiki-config.json Add tests covering it.wp unsigned comment template 2020-11-25 02:08:03 +01:00
itwiki-data.json Add tests covering it.wp unsigned comment template 2020-11-25 02:08:03 +01:00
nlwiki-config.json
nlwiki-data.json
plwiki-config.json
plwiki-data.json
README.txt
srwiki-config.json
srwiki-data.json

Minimal overrides for Hooks::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, 2 )

data.json:
  JSON.stringify( mw.loader.moduleRegistry[ 'ext.discussionTools.init' ].packageExports[ 'parser/data.json' ], null, 2 )