mediawiki-extensions-Discus.../tests/data
Ed Sanders 47aea0b160 Use tabs for indentation in JSON test files
Change-Id: I1d8f8b33b19bcff249ad08dfe687f87f5e5bf9bf
2021-01-27 00:25:15 +00:00
..
arwiki-config.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
arwiki-data.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
ckbwiki-config.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
ckbwiki-data.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
enwiki-config.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
enwiki-data.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
frwiki-config.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
frwiki-data.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
huwiki-config.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
huwiki-data.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
itwiki-config.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
itwiki-data.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
nlwiki-config.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
nlwiki-data.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
plwiki-config.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
plwiki-data.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
README.txt Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
srwiki-config.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00
srwiki-data.json Use tabs for indentation in JSON test files 2021-01-27 00:25:15 +00:00

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 )