lint-wiki-dumps 0.3.0 → 0.4.0
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 +2 -2
- package/config/cdowiki.json +1004 -0
- package/config/dewiki.json +846 -0
- package/config/eswiki.json +958 -0
- package/config/frwiki.json +837 -0
- package/config/ganwiki.json +1030 -0
- package/config/hakwiki.json +985 -0
- package/config/itwiki.json +741 -0
- package/config/ptwiki.json +878 -0
- package/config/ruwiki.json +828 -0
- package/config/simplewiki.json +612 -0
- package/config/wuuwiki.json +994 -0
- package/config/zh-classicalwiki.json +1003 -0
- package/config/zh-min-nanwiki.json +1006 -0
- package/config/zh-yuewiki.json +681 -0
- package/download.sh +7 -6
- package/package.json +23 -21
- package/parser-parallel.js +2 -2
- package/parser.js +2 -2
- package/reports/dist/article.js +1 -1
- package/reports/dist/article.js.map +4 -4
- package/reports/dist/index.js +1 -1
- package/reports/dist/index.js.map +4 -4
- package/reports/dist/rule.js +1 -1
- package/reports/dist/rule.js.map +4 -4
- package/reports/dist/wiki.js +1 -1
- package/reports/dist/wiki.js.map +4 -4
- package/reports/reports.css +1 -1
- package/reports/rule.html +1 -1
- package/scan.sh +14 -6
- package/server.js +40 -5
- package/util.js +8 -17
- package/wikilintrc.js +79 -0
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ To run this tool, you need to have [curl](https://curl.se/) installed on your sy
|
|
|
14
14
|
npm i lint-wiki-dumps
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
You can also install its optional dependency [vscode-css-languageservice](https://npmjs.com/package/vscode-css-languageservice) to lint inline CSS in Wikitext:
|
|
17
|
+
You can also install its optional dependency [vscode-css-languageservice](https://www.npmjs.com/package/vscode-css-languageservice) to lint inline CSS in Wikitext:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
20
|
npm i vscode-css-languageservice
|
|
@@ -43,7 +43,7 @@ If you have already downloaded the dump, you can scan the dump directly and gene
|
|
|
43
43
|
```sh
|
|
44
44
|
node parser.js <language> <path to dump>
|
|
45
45
|
# For example:
|
|
46
|
-
node parser.js zh-yue ~/Downloads/dumps/zh-yuewiki-
|
|
46
|
+
node parser.js zh-yue ~/Downloads/dumps/zh-yuewiki-latest-pages-articles.xml.bz2
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
To generate HTML reports, you can use the following command:
|