mediawiki-extensions-Discus.../tests/data
Bartosz Dziewoński 934872a170 Add integration tests using pages from ckb.wp
This is primarily to cover the handling of localised digits,
which previously wasn't being tested, leading to T261706.

Bug: T261706
Change-Id: I9de7f01f77e767e9048c85604b559af4bca0de91
2020-09-01 01:50:33 +02:00
..
arwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
arwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
ckbwiki-config.json Add integration tests using pages from ckb.wp 2020-09-01 01:50:33 +02:00
ckbwiki-data.json Add integration tests using pages from ckb.wp 2020-09-01 01:50:33 +02:00
enwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
enwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
frwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
frwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
huwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
huwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
nlwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
nlwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
plwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
plwiki-data.json Fix parsing localised digits in PHP discussion parser 2020-09-01 01:50:33 +02:00
README.txt Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02: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 )