wikiparser-node 1.18.1 → 1.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -59,7 +59,7 @@ For more browser extensions, please refer to the corresponding [documentation](h
59
59
 
60
60
  ## CLI usage
61
61
 
62
- For MediaWiki sites hosted by the Wikimedia Foundation, such as different language editions of Wikipedia, you can use the following command to obtain the parser configuration:
62
+ For MediaWiki sites with the [CodeMirror extension](https://mediawiki.org/wiki/Extension:CodeMirror) installed, such as different language editions of Wikipedia and other [Wikimedia Foundation-hosted sites](https://meta.wikimedia.org/wiki/Special:SiteMatrix), you can use the following command to obtain the parser configuration:
63
63
 
64
64
  ```sh
65
65
  npx getParserConfig <site> <script path> [force]
package/bin/config.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
  const /** @type {import('./config.ts').default} */ fetchConfig = require('../dist/bin/config.js').default;
4
- const [,, site, url, force, old] = process.argv;
5
- fetchConfig(site, url, force, old);
4
+ const [,, site, url, force] = process.argv;
5
+ fetchConfig(site, url, force);