@bhsd/codemirror-mediawiki 3.8.0 → 3.8.1
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/dist/linter.d.ts +2 -1
- package/dist/linter.js +3 -2
- package/dist/main.min.js +8 -8
- package/dist/mw.min.js +25 -25
- package/dist/mwConfig.js +1 -4
- package/dist/wiki.min.js +23 -23
- package/i18n/en.json +1 -1
- package/i18n/zh-hans.json +1 -1
- package/i18n/zh-hant.json +1 -1
- package/package.json +1 -1
package/dist/mwConfig.js
CHANGED
|
@@ -117,9 +117,6 @@ var getStaticMwConfig = ({
|
|
|
117
117
|
redirection
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
-
// src/linter.ts
|
|
121
|
-
var wikilintRepo = "npm/wikiparser-node";
|
|
122
|
-
|
|
123
120
|
// mw/config.ts
|
|
124
121
|
var others = /* @__PURE__ */ new Set([...otherParserFunctions, "msgnw"]);
|
|
125
122
|
var getConfigPair = (magicWords, rule) => [true, false].map((bool) => getConfig(magicWords, rule, bool));
|
|
@@ -146,7 +143,7 @@ var getMwConfig = async (modes) => {
|
|
|
146
143
|
return { ...config, nsid };
|
|
147
144
|
} else if (location.hostname.endsWith(".moegirl.org.cn")) {
|
|
148
145
|
const parserConfig = await (await fetch(
|
|
149
|
-
`${CDN}
|
|
146
|
+
`${CDN}/npm/wikiparser-node/config/moegirl.json`
|
|
150
147
|
)).json();
|
|
151
148
|
setObject("wikilintConfig", parserConfig);
|
|
152
149
|
config = getStaticMwConfig(parserConfig, modes);
|