Debian Codegraph @

vendor/wikimedia/parsoid/baseconfig/README

raw
1 These are static versions of mediawiki configurations, necessary to
2 run parsoid offline and to run parserTests.
3
4 The JSON files are the cached results of a siteinfo query like:
5 curl 'https://en.wikipedia.org/w/api.php?action=query&format=json&prop=&meta=siteinfo&siprop=namespaces%7Cnamespacealiases%7Cmagicwords%7Cfunctionhooks%7Cextensiontags%7Cgeneral%7Cinterwikimap%7Clanguages%7Cprotocols%7Cspecialpagealiases
6
7 To generate/regenerate:
8
9 $ for lang in ar ban be-tarask ca cs de en eo es fa fi fr is kaa ln nl ru sr tr zh ; do \
10 php tools/SyncBaseConfig.php --domain=${lang}.wikipedia.org ; \
11 done