@bhsd/codemirror-mediawiki 2.12.1 → 2.12.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 +2 -1
- package/dist/config.d.ts +18 -16
- package/dist/main.min.js +15 -15
- package/dist/matchTag.d.ts +26 -0
- package/dist/mediawiki.d.ts +2 -1
- package/dist/mw.min.js +2 -2
- package/dist/mw.min.js.map +2 -2
- package/i18n/en.json +3 -3
- package/i18n/zh-hans.json +3 -3
- package/i18n/zh-hant.json +3 -3
- package/mediawiki.css +2 -0
- package/package.json +1 -1
package/i18n/en.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.12.
|
|
2
|
+
"version": "2.12.2",
|
|
3
3
|
"lang": "en",
|
|
4
4
|
"i18n-failed": "Failed to fetch the translation file in $1.",
|
|
5
5
|
"title": "CodeMirror Addons",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"save-success": "Settings saved on [[special:mypage/codemirror-mediawiki.json|user subpage]].",
|
|
31
31
|
"save-summary": "Update settings",
|
|
32
32
|
"welcome": "Welcome to <b>CodeMirror-MediaWiki</b>!<br>You can change your local settings <a id=\"settings\" href=\"#\">here</a>.",
|
|
33
|
-
"welcome-addons": "<b>CodeMirror-MediaWiki</b> has been upgraded to $1. This version introduces $2
|
|
33
|
+
"welcome-addons": "<b>CodeMirror-MediaWiki</b> has been upgraded to $1. This version introduces or upgrades $2 {{plural:$2|addon|addons}}: <ul>$3</ul>You may update your local settings <a id=\"settings\" href=\"#\">here</a>.",
|
|
34
34
|
"wikilint-error": "Error only",
|
|
35
35
|
"wikilint-off": "Off",
|
|
36
36
|
"wikilint-on": "On",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"phrase-replace": "replace",
|
|
50
50
|
"phrase-replace-all": "replace all",
|
|
51
51
|
"phrase-unfold": "unfold",
|
|
52
|
-
"phrase-Fold-template-
|
|
52
|
+
"phrase-Fold-template-or-extension-tag": "Fold template, parser function or extension tag"
|
|
53
53
|
}
|
package/i18n/zh-hans.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.12.
|
|
2
|
+
"version": "2.12.2",
|
|
3
3
|
"lang": "zh-hans",
|
|
4
4
|
"i18n-failed": "获取 $1 的语言文件失败。",
|
|
5
5
|
"title": "CodeMirror插件",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"save-success": "设置保存至[[special:mypage/codemirror-mediawiki.json|用户子页面]]。",
|
|
31
31
|
"save-summary": "更新设置",
|
|
32
32
|
"welcome": "欢迎使用 <b>CodeMirror-MediaWiki</b>!<br>您可以点击 <a id=\"settings\" href=\"#\">这里</a> 更改本地设置。",
|
|
33
|
-
"welcome-addons": "<b>CodeMirror-MediaWiki</b> 已升级到 $1
|
|
33
|
+
"welcome-addons": "<b>CodeMirror-MediaWiki</b> 已升级到 $1。新版本添加或升级了 $2 个插件:<ul>$3</ul>您可以点击 <a id=\"settings\" href=\"#\">这里</a> 更新本地设置。",
|
|
34
34
|
"wikilint-error": "只显示错误",
|
|
35
35
|
"wikilint-off": "关闭",
|
|
36
36
|
"wikilint-on": "开启",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"phrase-replace": "替换",
|
|
50
50
|
"phrase-replace-all": "替换所有",
|
|
51
51
|
"phrase-unfold": "展开",
|
|
52
|
-
"phrase-Fold-template-
|
|
52
|
+
"phrase-Fold-template-or-extension-tag": "折叠模板、解析器函数或扩展标签"
|
|
53
53
|
}
|
package/i18n/zh-hant.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.12.
|
|
2
|
+
"version": "2.12.2",
|
|
3
3
|
"lang": "zh-hant",
|
|
4
4
|
"i18n-failed": "取得 $1 的語言檔案失敗。",
|
|
5
5
|
"title": "CodeMirror外掛程式",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"save-success": "設定儲存至[[special:mypage/codemirror-mediawiki.json|使用者子頁面]]。",
|
|
31
31
|
"save-summary": "更新設定",
|
|
32
32
|
"welcome": "歡迎使用 <b>CodeMirror-MediaWiki</b>!<br>您可以點擊 <a id=\"settings\" href=\"#\">這裡</a> 更改本地設定。",
|
|
33
|
-
"welcome-addons": "<b>CodeMirror-MediaWiki</b> 已升級到 $1
|
|
33
|
+
"welcome-addons": "<b>CodeMirror-MediaWiki</b> 已升級到 $1。新版本添加或升級了 $2 個外掛程式:<ul>$3</ul>您可以點擊 <a id=\"settings\" href=\"#\">這裡</a> 更新本地設定。",
|
|
34
34
|
"wikilint-error": "僅顯示錯誤",
|
|
35
35
|
"wikilint-off": "關閉",
|
|
36
36
|
"wikilint-on": "開啟",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"phrase-replace": "取代",
|
|
50
50
|
"phrase-replace-all": "全部取代",
|
|
51
51
|
"phrase-unfold": "展開",
|
|
52
|
-
"phrase-Fold-template-
|
|
52
|
+
"phrase-Fold-template-or-extension-tag": "摺疊模板、解析器函數或擴展標籤"
|
|
53
53
|
}
|
package/mediawiki.css
CHANGED
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
.cm-mw-skipformatting {
|
|
79
79
|
background-color: #adf;
|
|
80
80
|
}
|
|
81
|
+
.cm-mw-redirect,
|
|
81
82
|
.cm-mw-list {
|
|
82
83
|
color: #0076dd;
|
|
83
84
|
font-weight: bold;
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
color: #000aaa;
|
|
145
146
|
font-weight: normal;
|
|
146
147
|
}
|
|
148
|
+
.cm-mw-image-parameter,
|
|
147
149
|
.cm-mw-link-tosection {
|
|
148
150
|
color: #006fe6;
|
|
149
151
|
font-weight: normal;
|