mediawiki-extensions-Discus.../tests/data
Bartosz Dziewoński 329df8c953 Parsing discussions converted to language variants
* Export parser data (date format, digits, timezone names, and
  messages for weekday/month names) converted to language variants
* Update the parsers to try matching using every variant, in case
  the page is displayed in non-default variant (and to avoid
  problems with incomplete variant conversion)

Bug: T259818
Change-Id: I04d73992cd31ce06fa79f87df0c0a53d7efc3c58
2020-09-16 22:07:07 +00:00
..
arwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
arwiki-data.json Parsing discussions converted to language variants 2020-09-16 22:07:07 +00:00
ckbwiki-config.json Add integration tests using pages from ckb.wp 2020-09-01 01:50:33 +02:00
ckbwiki-data.json Parsing discussions converted to language variants 2020-09-16 22:07:07 +00:00
enwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
enwiki-data.json Parsing discussions converted to language variants 2020-09-16 22:07:07 +00:00
frwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
frwiki-data.json Parsing discussions converted to language variants 2020-09-16 22:07:07 +00:00
huwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
huwiki-data.json Parsing discussions converted to language variants 2020-09-16 22:07:07 +00:00
nlwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
nlwiki-data.json Parsing discussions converted to language variants 2020-09-16 22:07:07 +00:00
plwiki-config.json Improve and document the files in tests/data/ 2020-09-01 01:50:33 +02:00
plwiki-data.json Parsing discussions converted to language variants 2020-09-16 22:07:07 +00: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 )