@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/codemirror.d.ts +1 -1
- package/dist/main.min.js +1 -1
- package/dist/mw.min.js +15 -15
- package/dist/static.d.ts +1 -1
- package/dist/token.d.ts +3 -3
- 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/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: (
|
|
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
package/i18n/zh-hans.json
CHANGED
package/i18n/zh-hant.json
CHANGED