@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/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}/${wikilintRepo}/config/moegirl.json`
146
+ `${CDN}/npm/wikiparser-node/config/moegirl.json`
150
147
  )).json();
151
148
  setObject("wikilintConfig", parserConfig);
152
149
  config = getStaticMwConfig(parserConfig, modes);