wikiparser-node 1.18.0 → 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 +1 -1
- package/bin/config.js +3 -1
- package/bundle/bundle-es7.min.js +24 -24
- package/bundle/bundle-lsp.min.js +95 -29
- package/bundle/bundle.min.js +24 -24
- package/config/.schema.json +14 -1
- package/config/default.json +460 -4
- package/config/enwiki.json +111 -0
- package/config/jawiki.json +954 -0
- package/config/llwiki.json +117 -0
- package/config/minimum.json +3 -0
- package/config/moegirl.json +104 -0
- package/config/zhwiki.json +109 -0
- package/data/signatures.json +141 -353
- package/dist/base.d.mts +10 -1
- package/dist/base.d.ts +10 -1
- package/dist/bin/config.js +67 -39
- package/dist/index.js +7 -5
- package/dist/lib/document.d.ts +6 -6
- package/dist/lib/document.js +43 -36
- package/dist/lib/lsp.d.ts +20 -3
- package/dist/lib/lsp.js +267 -103
- package/dist/src/attribute.js +10 -4
- package/dist/src/index.js +2 -2
- package/dist/src/nowiki/doubleUnderscore.js +3 -2
- package/dist/src/transclude.js +23 -12
- package/dist/util/diff.js +1 -1
- package/dist/util/lint.js +32 -1
- package/extensions/dist/base.js +1 -1
- package/extensions/dist/lsp.js +0 -5
- package/extensions/es7/base.js +1 -1
- package/i18n/zh-hans.json +1 -0
- package/i18n/zh-hant.json +1 -0
- package/package.json +6 -3
package/config/enwiki.json
CHANGED
|
@@ -169,6 +169,117 @@
|
|
|
169
169
|
"event": 1728,
|
|
170
170
|
"event talk": 1729
|
|
171
171
|
},
|
|
172
|
+
"functionHook": [
|
|
173
|
+
"msgnw",
|
|
174
|
+
"ns",
|
|
175
|
+
"nse",
|
|
176
|
+
"urlencode",
|
|
177
|
+
"lcfirst",
|
|
178
|
+
"ucfirst",
|
|
179
|
+
"lc",
|
|
180
|
+
"uc",
|
|
181
|
+
"localurl",
|
|
182
|
+
"localurle",
|
|
183
|
+
"fullurl",
|
|
184
|
+
"fullurle",
|
|
185
|
+
"canonicalurl",
|
|
186
|
+
"canonicalurle",
|
|
187
|
+
"formatnum",
|
|
188
|
+
"grammar",
|
|
189
|
+
"gender",
|
|
190
|
+
"plural",
|
|
191
|
+
"formal",
|
|
192
|
+
"bidi",
|
|
193
|
+
"numberingroup",
|
|
194
|
+
"language",
|
|
195
|
+
"padleft",
|
|
196
|
+
"padright",
|
|
197
|
+
"anchorencode",
|
|
198
|
+
"defaultsort",
|
|
199
|
+
"filepath",
|
|
200
|
+
"pagesincategory",
|
|
201
|
+
"pagesize",
|
|
202
|
+
"protectionlevel",
|
|
203
|
+
"protectionexpiry",
|
|
204
|
+
"pagename",
|
|
205
|
+
"pagenamee",
|
|
206
|
+
"fullpagename",
|
|
207
|
+
"fullpagenamee",
|
|
208
|
+
"subpagename",
|
|
209
|
+
"subpagenamee",
|
|
210
|
+
"rootpagename",
|
|
211
|
+
"rootpagenamee",
|
|
212
|
+
"basepagename",
|
|
213
|
+
"basepagenamee",
|
|
214
|
+
"talkpagename",
|
|
215
|
+
"talkpagenamee",
|
|
216
|
+
"subjectpagename",
|
|
217
|
+
"subjectpagenamee",
|
|
218
|
+
"pageid",
|
|
219
|
+
"revisionid",
|
|
220
|
+
"revisionday",
|
|
221
|
+
"revisionday2",
|
|
222
|
+
"revisionmonth",
|
|
223
|
+
"revisionmonth1",
|
|
224
|
+
"revisionyear",
|
|
225
|
+
"revisiontimestamp",
|
|
226
|
+
"revisionuser",
|
|
227
|
+
"cascadingsources",
|
|
228
|
+
"namespace",
|
|
229
|
+
"namespacee",
|
|
230
|
+
"namespacenumber",
|
|
231
|
+
"talkspace",
|
|
232
|
+
"talkspacee",
|
|
233
|
+
"subjectspace",
|
|
234
|
+
"subjectspacee",
|
|
235
|
+
"numberofarticles",
|
|
236
|
+
"numberoffiles",
|
|
237
|
+
"numberofusers",
|
|
238
|
+
"numberofactiveusers",
|
|
239
|
+
"numberofpages",
|
|
240
|
+
"numberofadmins",
|
|
241
|
+
"numberofedits",
|
|
242
|
+
"bcp47",
|
|
243
|
+
"dir",
|
|
244
|
+
"interwikilink",
|
|
245
|
+
"interlanguagelink",
|
|
246
|
+
"int",
|
|
247
|
+
"special",
|
|
248
|
+
"speciale",
|
|
249
|
+
"tag",
|
|
250
|
+
"formatdate",
|
|
251
|
+
"displaytitle",
|
|
252
|
+
"if",
|
|
253
|
+
"ifeq",
|
|
254
|
+
"switch",
|
|
255
|
+
"ifexist",
|
|
256
|
+
"ifexpr",
|
|
257
|
+
"iferror",
|
|
258
|
+
"time",
|
|
259
|
+
"timel",
|
|
260
|
+
"timef",
|
|
261
|
+
"timefl",
|
|
262
|
+
"expr",
|
|
263
|
+
"rel2abs",
|
|
264
|
+
"titleparts",
|
|
265
|
+
"pendingchangelevel",
|
|
266
|
+
"categorytree",
|
|
267
|
+
"lst",
|
|
268
|
+
"lstx",
|
|
269
|
+
"lsth",
|
|
270
|
+
"target",
|
|
271
|
+
"babel",
|
|
272
|
+
"coordinates",
|
|
273
|
+
"invoke",
|
|
274
|
+
"related",
|
|
275
|
+
"noexternallanglinks",
|
|
276
|
+
"shortdesc",
|
|
277
|
+
"property",
|
|
278
|
+
"statements",
|
|
279
|
+
"commaseparatedlist",
|
|
280
|
+
"assessment",
|
|
281
|
+
"mentor"
|
|
282
|
+
],
|
|
172
283
|
"variable": [
|
|
173
284
|
"!",
|
|
174
285
|
"=",
|