@bhsd/codemirror-mediawiki 2.15.3 → 2.15.5

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/static.d.ts CHANGED
@@ -20,4 +20,4 @@ export declare const tagModes: {
20
20
  combooption: string;
21
21
  inputbox: string;
22
22
  };
23
- export declare const getStaticMwConfig: (config: Config) => MwConfig;
23
+ export declare const getStaticMwConfig: ({ parserFunction, protocol, nsid, variants, redirection, ext, doubleUnderscore, img }: Config) => MwConfig;
package/dist/token.d.ts CHANGED
@@ -201,10 +201,10 @@ export declare class MediaWiki {
201
201
  inExtTokens(origString: string): Tokenizer;
202
202
  inVariable(pos?: number): Tokenizer;
203
203
  eatTransclusion(stream: StringStream, state: State): string;
204
- inParserFunctionName(invoke?: boolean): Tokenizer;
204
+ inParserFunctionName(invoke?: boolean, n?: number): Tokenizer;
205
205
  inTemplatePageName(haveEaten?: boolean, anchor?: boolean): Tokenizer;
206
- inParserFunctionArgument(module?: boolean): Tokenizer;
207
- inTemplateArgument(expectName?: boolean): Tokenizer;
206
+ inParserFunctionArgument(module?: boolean, n?: number): Tokenizer;
207
+ inTemplateArgument(expectName?: boolean, parserFunction?: boolean): Tokenizer;
208
208
  inConvert(style: string, needFlag?: boolean, needLang?: boolean): Tokenizer;
209
209
  eatEntity(stream: StringStream, style: string): string;
210
210
  /**
package/i18n/en.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.15.3",
2
+ "version": "2.15.5",
3
3
  "lang": "en",
4
4
  "i18n-failed": "Failed to fetch the translation file in $1.",
5
5
  "title": "CodeMirror Addons",
package/i18n/zh-hans.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.15.3",
2
+ "version": "2.15.5",
3
3
  "lang": "zh-hans",
4
4
  "i18n-failed": "获取 $1 的语言文件失败。",
5
5
  "title": "CodeMirror插件",
package/i18n/zh-hant.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.15.3",
2
+ "version": "2.15.5",
3
3
  "lang": "zh-hant",
4
4
  "i18n-failed": "取得 $1 的語言檔案失敗。",
5
5
  "title": "CodeMirror外掛程式",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhsd/codemirror-mediawiki",
3
- "version": "2.15.3",
3
+ "version": "2.15.5",
4
4
  "description": "Modified CodeMirror mode based on wikimedia/mediawiki-extensions-CodeMirror",
5
5
  "keywords": [
6
6
  "mediawiki",