lint-wiki-dumps 0.9.0 → 0.10.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/LICENSE CHANGED
@@ -1,3 +1,21 @@
1
+ Lint-Wiki-Dumps
2
+ Copyright (C) 2025 Bhsd
3
+
4
+ This program is free software: you can redistribute it and/or modify
5
+ it under the terms of the GNU General Public License as published by
6
+ the Free Software Foundation, either version 3 of the License, or
7
+ (at your option) any later version.
8
+
9
+ This program is distributed in the hope that it will be useful,
10
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ GNU General Public License for more details.
13
+
14
+ You should have received a copy of the GNU General Public License
15
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
16
+
17
+
18
+
1
19
  GNU GENERAL PUBLIC LICENSE
2
20
  Version 3, 29 June 2007
3
21
 
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
+ # Lint-Wiki-Dumps
2
+
1
3
  [![npm version](https://badge.fury.io/js/lint-wiki-dumps.svg)](https://www.npmjs.com/package/lint-wiki-dumps)
2
4
  [![CodeQL](https://github.com/bhsd-harry/lint-wiki-dumps/actions/workflows/codeql.yml/badge.svg)](https://github.com/bhsd-harry/lint-wiki-dumps/actions/workflows/codeql.yml)
3
5
  [![Codacy Badge](https://app.codacy.com/project/badge/Grade/12aacc9d0f3e4629ae96114f7c40cf31)](https://app.codacy.com/gh/bhsd-harry/lint-wiki-dumps/dashboard)
4
6
 
5
- # Lint-Wiki-Dumps
6
-
7
7
  This is a tool for linting Wikitext articles from Wikipedia with the help of [WikiLint](https://www.npmjs.com/package/wikilint). It will download the latest dump of a specified Wikipedia language edition and then lint the articles in the dump.
8
8
 
9
9
  ## Installation
@@ -343,6 +343,7 @@
343
343
  "interwikilink",
344
344
  "interlanguagelink",
345
345
  "contentmodel",
346
+ "isbn",
346
347
  "int",
347
348
  "special",
348
349
  "speciale",
@@ -382,88 +383,89 @@
382
383
  "variable": [
383
384
  "!",
384
385
  "=",
386
+ "articlepath",
387
+ "basepagename",
388
+ "basepagenamee",
389
+ "bcp47",
390
+ "cascadingsources",
391
+ "contentlanguage",
392
+ "contentmodel",
393
+ "currentday",
394
+ "currentday2",
395
+ "currentdayname",
396
+ "currentdow",
397
+ "currenthour",
385
398
  "currentmonth",
386
399
  "currentmonth1",
387
400
  "currentmonthname",
388
401
  "currentmonthnamegen",
389
402
  "currentmonthabbrev",
390
- "currentday",
391
- "currentday2",
392
- "currentdayname",
393
- "currentyear",
394
403
  "currenttime",
395
- "currenthour",
404
+ "currenttimestamp",
405
+ "currentversion",
406
+ "currentweek",
407
+ "currentyear",
408
+ "dir",
409
+ "directionmark",
410
+ "fullpagename",
411
+ "fullpagenamee",
412
+ "isbn",
413
+ "language",
414
+ "localday",
415
+ "localday2",
416
+ "localdayname",
417
+ "localdow",
418
+ "localhour",
396
419
  "localmonth",
397
420
  "localmonth1",
421
+ "localmonthabbrev",
398
422
  "localmonthname",
399
423
  "localmonthnamegen",
400
- "localmonthabbrev",
401
- "localday",
402
- "localday2",
403
- "localdayname",
404
- "localyear",
405
424
  "localtime",
406
- "localhour",
425
+ "localtimestamp",
426
+ "localweek",
427
+ "localyear",
428
+ "namespace",
429
+ "namespacee",
430
+ "namespacenumber",
431
+ "numberofactiveusers",
432
+ "numberofadmins",
407
433
  "numberofarticles",
408
- "numberoffiles",
409
434
  "numberofedits",
410
- "articlepath",
435
+ "numberoffiles",
436
+ "numberofpages",
437
+ "numberofusers",
411
438
  "pageid",
412
- "sitename",
413
- "server",
414
- "servername",
415
- "scriptpath",
416
- "stylepath",
439
+ "pagelanguage",
417
440
  "pagename",
418
441
  "pagenamee",
419
- "fullpagename",
420
- "fullpagenamee",
421
- "namespace",
422
- "namespacee",
423
- "namespacenumber",
424
- "currentweek",
425
- "currentdow",
426
- "localweek",
427
- "localdow",
428
- "revisionid",
429
442
  "revisionday",
430
443
  "revisionday2",
444
+ "revisionid",
431
445
  "revisionmonth",
432
446
  "revisionmonth1",
433
- "revisionyear",
447
+ "revisionsize",
434
448
  "revisiontimestamp",
449
+ "revisionyear",
435
450
  "revisionuser",
436
- "revisionsize",
451
+ "rootpagename",
452
+ "rootpagenamee",
453
+ "scriptpath",
454
+ "server",
455
+ "servername",
456
+ "sitename",
457
+ "stylepath",
458
+ "subjectpagename",
459
+ "subjectpagenamee",
460
+ "subjectspace",
461
+ "subjectspacee",
437
462
  "subpagename",
438
463
  "subpagenamee",
439
464
  "talkspace",
440
465
  "talkspacee",
441
- "subjectspace",
442
- "subjectspacee",
443
466
  "talkpagename",
444
467
  "talkpagenamee",
445
- "subjectpagename",
446
- "subjectpagenamee",
447
- "numberofusers",
448
- "numberofactiveusers",
449
- "numberofpages",
450
- "currentversion",
451
- "rootpagename",
452
- "rootpagenamee",
453
- "basepagename",
454
- "basepagenamee",
455
- "currenttimestamp",
456
- "localtimestamp",
457
- "directionmark",
458
- "contentlanguage",
459
468
  "userlanguage",
460
- "pagelanguage",
461
- "numberofadmins",
462
- "cascadingsources",
463
- "bcp47",
464
- "contentmodel",
465
- "dir",
466
- "language",
467
469
  "numberofwikis",
468
470
  "noexternallanglinks",
469
471
  "wbreponame"
@@ -607,14 +609,14 @@
607
609
  "#mentor": "mentor",
608
610
  "articlepath": "articlepath",
609
611
  "条目路径": "articlepath",
612
+ "scriptpath": "scriptpath",
613
+ "脚本路径": "scriptpath",
610
614
  "伺服器": "server",
611
615
  "服务器": "server",
612
616
  "server": "server",
613
617
  "伺服器名稱": "servername",
614
618
  "服务器名": "servername",
615
619
  "servername": "servername",
616
- "scriptpath": "scriptpath",
617
- "脚本路径": "scriptpath",
618
620
  "stylepath": "stylepath",
619
621
  "样式路径": "stylepath",
620
622
  "numberofwikis": "numberofwikis",
@@ -750,6 +752,7 @@
750
752
  "#interwikilink": "interwikilink",
751
753
  "#interlanguagelink": "interlanguagelink",
752
754
  "#contentmodel": "contentmodel",
755
+ "#isbn": "isbn",
753
756
  "顯示標題": "displaytitle",
754
757
  "显示标题": "displaytitle",
755
758
  "DISPLAYTITLE": "displaytitle",
@@ -757,6 +760,22 @@
757
760
  "#timefl": "timefl",
758
761
  "!": "!",
759
762
  "=": "=",
763
+ "內容語言": "contentlanguage",
764
+ "内容语言": "contentlanguage",
765
+ "CONTENTLANGUAGE": "contentlanguage",
766
+ "CONTENTLANG": "contentlanguage",
767
+ "今天": "currentday",
768
+ "CURRENTDAY": "currentday",
769
+ "CURRENTDAY2": "currentday2",
770
+ "今天2": "currentday2",
771
+ "CURRENTDAYNAME": "currentdayname",
772
+ "星期": "currentdayname",
773
+ "今天名": "currentdayname",
774
+ "今天名称": "currentdayname",
775
+ "CURRENTDOW": "currentdow",
776
+ "当前DOW": "currentdow",
777
+ "CURRENTHOUR": "currenthour",
778
+ "当前小时": "currenthour",
760
779
  "本月": "currentmonth",
761
780
  "本月2": "currentmonth",
762
781
  "CURRENTMONTH": "currentmonth",
@@ -772,75 +791,59 @@
772
791
  "本月縮寫": "currentmonthabbrev",
773
792
  "本月简称": "currentmonthabbrev",
774
793
  "CURRENTMONTHABBREV": "currentmonthabbrev",
775
- "今天": "currentday",
776
- "CURRENTDAY": "currentday",
777
- "CURRENTDAY2": "currentday2",
778
- "今天2": "currentday2",
779
- "CURRENTDAYNAME": "currentdayname",
780
- "星期": "currentdayname",
781
- "今天名": "currentdayname",
782
- "今天名称": "currentdayname",
783
- "CURRENTYEAR": "currentyear",
784
- "今年": "currentyear",
785
794
  "目前時間": "currenttime",
786
795
  "当前时间": "currenttime",
787
796
  "此时": "currenttime",
788
797
  "CURRENTTIME": "currenttime",
789
- "CURRENTHOUR": "currenthour",
790
- "当前小时": "currenthour",
798
+ "CURRENTTIMESTAMP": "currenttimestamp",
799
+ "当前时间戳": "currenttimestamp",
800
+ "目前版本": "currentversion",
801
+ "当前版本": "currentversion",
802
+ "CURRENTVERSION": "currentversion",
803
+ "CURRENTWEEK": "currentweek",
804
+ "本周": "currentweek",
805
+ "CURRENTYEAR": "currentyear",
806
+ "今年": "currentyear",
807
+ "DIRECTIONMARK": "directionmark",
808
+ "DIRMARK": "directionmark",
809
+ "方向标记": "directionmark",
810
+ "LOCALDAY": "localday",
811
+ "本地日": "localday",
812
+ "LOCALDAY2": "localday2",
813
+ "本地日2": "localday2",
814
+ "LOCALDAYNAME": "localdayname",
815
+ "本地日名": "localdayname",
816
+ "LOCALDOW": "localdow",
817
+ "本地DOW": "localdow",
818
+ "LOCALHOUR": "localhour",
819
+ "本地小时": "localhour",
791
820
  "LOCALMONTH": "localmonth",
792
821
  "LOCALMONTH2": "localmonth",
793
822
  "本地月": "localmonth",
794
823
  "本地月2": "localmonth",
795
824
  "LOCALMONTH1": "localmonth1",
796
825
  "本地月1": "localmonth1",
826
+ "LOCALMONTHABBREV": "localmonthabbrev",
827
+ "本地月缩写": "localmonthabbrev",
797
828
  "LOCALMONTHNAME": "localmonthname",
798
829
  "本地月份名": "localmonthname",
799
830
  "LOCALMONTHNAMEGEN": "localmonthnamegen",
800
831
  "本地月历": "localmonthnamegen",
801
- "LOCALMONTHABBREV": "localmonthabbrev",
802
- "本地月缩写": "localmonthabbrev",
803
- "LOCALDAY": "localday",
804
- "本地日": "localday",
805
- "LOCALDAY2": "localday2",
806
- "本地日2": "localday2",
807
- "LOCALDAYNAME": "localdayname",
808
- "本地日名": "localdayname",
809
- "LOCALYEAR": "localyear",
810
- "本地年": "localyear",
811
832
  "LOCALTIME": "localtime",
812
833
  "本地时间": "localtime",
813
- "LOCALHOUR": "localhour",
814
- "本地小时": "localhour",
815
- "網站名稱": "sitename",
816
- "站点名称": "sitename",
817
- "SITENAME": "sitename",
818
- "CURRENTWEEK": "currentweek",
819
- "本周": "currentweek",
820
- "CURRENTDOW": "currentdow",
821
- "当前DOW": "currentdow",
834
+ "LOCALTIMESTAMP": "localtimestamp",
835
+ "本地时间戳": "localtimestamp",
822
836
  "LOCALWEEK": "localweek",
823
837
  "本地周": "localweek",
824
- "LOCALDOW": "localdow",
825
- "本地DOW": "localdow",
838
+ "LOCALYEAR": "localyear",
839
+ "本地年": "localyear",
840
+ "PAGELANGUAGE": "pagelanguage",
826
841
  "REVISIONSIZE": "revisionsize",
827
842
  "修订大小": "revisionsize",
828
- "目前版本": "currentversion",
829
- "当前版本": "currentversion",
830
- "CURRENTVERSION": "currentversion",
831
- "CURRENTTIMESTAMP": "currenttimestamp",
832
- "当前时间戳": "currenttimestamp",
833
- "LOCALTIMESTAMP": "localtimestamp",
834
- "本地时间戳": "localtimestamp",
835
- "DIRECTIONMARK": "directionmark",
836
- "DIRMARK": "directionmark",
837
- "方向标记": "directionmark",
838
- "內容語言": "contentlanguage",
839
- "内容语言": "contentlanguage",
840
- "CONTENTLANGUAGE": "contentlanguage",
841
- "CONTENTLANG": "contentlanguage",
842
- "USERLANGUAGE": "userlanguage",
843
- "PAGELANGUAGE": "pagelanguage"
843
+ "網站名稱": "sitename",
844
+ "站点名称": "sitename",
845
+ "SITENAME": "sitename",
846
+ "USERLANGUAGE": "userlanguage"
844
847
  },
845
848
  [
846
849
  "訊息",
@@ -861,49 +864,50 @@
861
864
  [],
862
865
  [],
863
866
  {
864
- "無目錄": "notoc",
865
- "无目录": "notoc",
866
- "notoc": "notoc",
867
- "無圖庫": "nogallery",
868
- "无图库": "nogallery",
869
- "nogallery": "nogallery",
870
867
  "強制目錄": "forcetoc",
871
868
  "强显目录": "forcetoc",
872
869
  "forcetoc": "forcetoc",
873
- "目錄": "toc",
874
- "目录": "toc",
875
- "toc": "toc",
870
+ "不轉換內容": "nocontentconvert",
871
+ "不转换内容": "nocontentconvert",
872
+ "nocontentconvert": "nocontentconvert",
873
+ "nocc": "nocontentconvert",
876
874
  "無段落編輯": "noeditsection",
877
875
  "无编辑段落": "noeditsection",
878
876
  "无段落编辑": "noeditsection",
879
877
  "noeditsection": "noeditsection",
878
+ "無圖庫": "nogallery",
879
+ "无图库": "nogallery",
880
+ "nogallery": "nogallery",
880
881
  "不轉換標題": "notitleconvert",
881
882
  "不转换标题": "notitleconvert",
882
883
  "notitleconvert": "notitleconvert",
883
884
  "notc": "notitleconvert",
884
- "不轉換內容": "nocontentconvert",
885
- "不转换内容": "nocontentconvert",
886
- "nocontentconvert": "nocontentconvert",
887
- "nocc": "nocontentconvert",
885
+ "無目錄": "notoc",
886
+ "无目录": "notoc",
887
+ "notoc": "notoc",
888
+ "目錄": "toc",
889
+ "目录": "toc",
890
+ "toc": "toc",
891
+ "nomediaviewercarousel": "nomediaviewercarousel",
888
892
  "已存档讨论": "archivedtalk",
889
893
  "archivedtalk": "archivedtalk",
890
894
  "禁用讨论": "notalk",
891
895
  "notalk": "notalk"
892
896
  },
893
897
  {
894
- "NEWSECTIONLINK": "NEWSECTIONLINK",
895
- "新段落链接": "NEWSECTIONLINK",
896
- "NONEWSECTIONLINK": "NONEWSECTIONLINK",
897
- "无新段落链接": "NONEWSECTIONLINK",
898
+ "EXPECTUNUSEDCATEGORY": "EXPECTUNUSEDCATEGORY",
899
+ "EXPECTUNUSEDTEMPLATE": "EXPECTUNUSEDTEMPLATE",
898
900
  "隱藏分類": "HIDDENCAT",
899
901
  "隐藏分类": "HIDDENCAT",
900
902
  "HIDDENCAT": "HIDDENCAT",
901
- "EXPECTUNUSEDCATEGORY": "EXPECTUNUSEDCATEGORY",
902
- "EXPECTUNUSEDTEMPLATE": "EXPECTUNUSEDTEMPLATE",
903
903
  "INDEX": "INDEX",
904
904
  "索引": "INDEX",
905
+ "NEWSECTIONLINK": "NEWSECTIONLINK",
906
+ "新段落链接": "NEWSECTIONLINK",
905
907
  "NOINDEX": "NOINDEX",
906
908
  "无索引": "NOINDEX",
909
+ "NONEWSECTIONLINK": "NONEWSECTIONLINK",
910
+ "无新段落链接": "NONEWSECTIONLINK",
907
911
  "靜態重新導向": "STATICREDIRECT",
908
912
  "静态重定向": "STATICREDIRECT",
909
913
  "STATICREDIRECT": "STATICREDIRECT",