mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-11 08:08:37 +00:00
ecac4c3bd1
The alias stored in the language files is with underscores, but the value is compared in CommentParser against text with spaces Affected languages: bjn, hu, id, jv, kaa, tl, tpi, vi, war Bug: T327021 Change-Id: I8626627d10a240973e631e24508937a9eee9fb14 |
||
---|---|---|
.. | ||
arwiki-config.json | ||
arwiki-data.json | ||
ckbwiki-config.json | ||
ckbwiki-data.json | ||
commonswiki-config.json | ||
commonswiki-data.json | ||
enwiki-config.json | ||
enwiki-data.json | ||
eswiki-config.json | ||
eswiki-data.json | ||
frwiki-config.json | ||
frwiki-data.json | ||
huwiki-config.json | ||
huwiki-data.json | ||
itwiki-config.json | ||
itwiki-data.json | ||
nlwiki-config.json | ||
nlwiki-data.json | ||
plwiki-config.json | ||
plwiki-data.json | ||
README.txt | ||
srwiki-config.json | ||
srwiki-data.json |
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' )