From 0ce9f80c21af41bde66418df30d7d06654cf1f3c Mon Sep 17 00:00:00 2001 From: kanasimi Date: Tue, 3 Dec 2024 07:13:55 +0800 Subject: [PATCH] fix /<\!/ --- application/locale/encoding.js | 8 +- application/locale/resources/i18n/qqq.json | 80 +++++++++---------- .../locale/resources/i18n/zh-hans.json | 2 +- application/locale/resources/qqq_data.json | 72 ++++++++--------- application/net/wiki/edit.js | 5 +- application/net/wiki/featured_content.js | 2 +- application/net/wiki/page.js | 2 +- application/net/wiki/parser/misc.js | 6 +- application/net/work_crawler.js | 2 +- application/net/work_crawler/sites/dm5.js | 2 +- application/storage/EPUB.js | 2 +- data.js | 2 +- data/Convert_Pairs.js | 2 +- interact/DOM.js | 4 +- 14 files changed, 96 insertions(+), 95 deletions(-) diff --git a/application/locale/encoding.js b/application/locale/encoding.js index 87dc1349e..40813bf0b 100644 --- a/application/locale/encoding.js +++ b/application/locale/encoding.js @@ -915,20 +915,20 @@ function module_code(library_namespace) { library_namespace.debug('2. ' + text.length + ' characters: [' - + text.replace(//g, '').replace(//g, '').replace(/3. ' + text.length + ' characters: [' - + text.replace(//g, '').replace( + + text.replace(/<\!--[\s\S]*?-->/g, '').replace( /]*)?>[\s\S]*?<\/script>/ig, '').replace(/ 標籤),僅留 contents。 text = text - // 去掉 comments. - .replace(//g, '').replace( + // 去除註解。 Remove comments. "" + .replace(/<\!--[\s\S]*?-->/g, '').replace( /]*)?>[\s\S]*?<\/script>/ig, '').replace( /[\s\n]*<[\w?!\/][^>]*>/g, '') // 把最後未完結的 tag 刪掉。 diff --git a/application/locale/resources/i18n/qqq.json b/application/locale/resources/i18n/qqq.json index 684379c2e..10b4f5e2b 100644 --- a/application/locale/resources/i18n/qqq.json +++ b/application/locale/resources/i18n/qqq.json @@ -310,8 +310,8 @@ "you-may-need-to-set-$1-=-$2": "; Parameters: %1: parameter name, %2: parameter value\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki.js#L246}}", "load-the-main-functions-and-necessary-dependencies-to-operate-mediawiki": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki.js#L419}}", "all-wiki-submodules-are-loaded": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki.js#L452}}", - "skip-the-$1-for-$2-and-do-not-set-them-because-the-values-already-exist-and-$3-is-not-set": "; Parameters: %1: claim items (qualifiers, references, rank). %2: \"property = value\". %3: property of options\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/data.js#L3017}}", - "Comma-separator": "Used for separating lists of items. Should the same as {{int:Comma-separator}} ([[translatewiki:MediaWiki:Comma-separator]]).\nBe careful to the presence of a trailing space when appropriate for your language (if it is needed, you can input it as &#32; to avoid its trimming when editing this message.\nSee also [[MediaWiki:Comma-separator]], [https://st.unicode.org/cldr-apps/v#/zh/Displaying_Lists/ Displaying Lists]; [[MediaWiki:Word-separator]], [[MediaWiki:Pipe-separator]], [[MediaWiki:And]].\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/data.js#L3029}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1508}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L168}}\n: {{GitHub|kanasimi/wikibot/blob/master/replace/replace_tool.js#L1836}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20160517.interlanguage_link_to_wikilinks.js#L668}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3275}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3282}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3289}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20210923.update_foreign_featured_contents_list.js#L618}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L212}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L455}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L460}}", + "skip-the-$1-for-$2-and-do-not-set-them-because-the-values-already-exist-and-$3-is-not-set": "; Parameters: %1: claim items (qualifiers, references, rank). %2: \"property = value\". %3: property of options\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/data.js#L3046}}", + "Comma-separator": "Used for separating lists of items. Should the same as {{int:Comma-separator}} ([[translatewiki:MediaWiki:Comma-separator]]).\nBe careful to the presence of a trailing space when appropriate for your language (if it is needed, you can input it as &#32; to avoid its trimming when editing this message.\nSee also [[MediaWiki:Comma-separator]], [https://st.unicode.org/cldr-apps/v#/zh/Displaying_Lists/ Displaying Lists]; [[MediaWiki:Word-separator]], [[MediaWiki:Pipe-separator]], [[MediaWiki:And]].\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/data.js#L3058}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1509}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L168}}\n: {{GitHub|kanasimi/wikibot/blob/master/replace/replace_tool.js#L1836}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20160517.interlanguage_link_to_wikilinks.js#L668}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3385}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3392}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3399}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20210923.update_foreign_featured_contents_list.js#L618}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L212}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L455}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L460}}", "check-the-emergency-stop-page-$1": "; Parameters: %1: page link\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L143}}", "the-emergency-stop-page-was-not-found-($1)": "; Parameters: %1: page link\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L160}}", "the-emergency-stop-page-is-empty-($1)": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L162}}", @@ -326,15 +326,15 @@ "content-is-not-settled": "Used as log message.\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L761}}\n; Scope: application.net.wiki", "abandon-change": "Used as log message.\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L770}}\n; Scope: application.net.wiki", "no-reason-provided": "Used as log message.\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L787}}\n; Scope: application.net.wiki", - "the-text-between-update-comments-will-be-automatically-overwritten-by-the-bot": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1714}}", - "no-content": "沒有頁面內容。; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1844}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L3953}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L3972}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L882}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1482}}\n; Scope: work_crawler.js: check_next_chapter()", + "the-text-between-update-comments-will-be-automatically-overwritten-by-the-bot": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1715}}", + "no-content": "沒有頁面內容。; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1845}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L3953}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L3972}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L882}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1485}}\n; Scope: work_crawler.js: check_next_chapter()", "$1-results": "; Parameters: %1: count of results\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/list.js#L1394}}", - "$1-is-not-exist-in-$2": "; Parameters: %1: page title, %2: site name,\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/list.js#L2780}}", + "$1-is-not-exist-in-$2": "; Parameters: %1: page title, %2: site name,\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/list.js#L2799}}", "invalid-title-$1": "; Parameters: %1: page link\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L353}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L1562}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L418}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L423}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L427}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L876}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/query.js#L943}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/query.js#L982}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/task.js#L1049}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/task.js#L1056}}", - "get-configurations-from-page-$1": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3180}}", - "load-$2-$1-messages-for-$3": "; Parameters: %1: language, %2: message count, %3: wiki project name\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3215}}", - "continue-key": "Label name for Follow-up Index when [[mw:API:Query#Continuing_queries|Continuing MediaWiki action API queries]]\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3295}}\n; Scope: application.net.wiki.list", - "cache-information-about-the-api-modules-of-$1-module-path=$2": "; Parameters: %1: site name, %2: path of [https://www.mediawiki.org/w/api.php?action=help&modules=paraminfo paraminfo]\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3888}}", + "get-configurations-from-page-$1": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3197}}", + "load-$2-$1-messages-for-$3": "; Parameters: %1: language, %2: message count, %3: wiki project name\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3232}}", + "continue-key": "Label name for Follow-up Index when [[mw:API:Query#Continuing_queries|Continuing MediaWiki action API queries]]\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3312}}\n; Scope: application.net.wiki.list", + "cache-information-about-the-api-modules-of-$1-module-path=$2": "; Parameters: %1: site name, %2: path of [https://www.mediawiki.org/w/api.php?action=help&modules=paraminfo paraminfo]\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3905}}", "found-$2-query-modules-$1": "; Parameters: %1: query_modules.join([[Wikimedia:Cejs-Comma-separator/qqq|Comma-separator]]), %2: count of query_modules\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L166}}", "invalid-parameter-$1": "Parameter %1 is not valid.\n; Parameters: %1: parameter name\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L400}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L404}}", "reduce-the-maximum-number-of-pages-per-fetch-to-a-maximum-of-$1-pages": "; Parameters: %1: page count\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L604}}", @@ -481,18 +481,18 @@ "overwrite-the-files-in-the-cache-directory-$1-for-traditional-and-simplified-chinese-conversions": "; Parameters: %1: cache_directory\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L173}}\n; Scope: work_crawler.js: extract_convert_cache_directory()", "decompress-the-cache-files-for-traditional-and-simplified-chinese-conversions-$1": "; Parameters: %1: archive_file_path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L189}}\n; Scope: work_crawler.js: extract_convert_cache_directory()", "compress-the-cache-files-for-traditional-and-simplified-chinese-conversions-$1": "; Parameters: %1: archive_file_path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L226}}\n; Scope: work_crawler.js: archive_convert_cache_directory()", - "language-conversion": "注記本電子書已經過語言轉換(繁簡中文轉換,將簡體小說轉換為繁體小說)的標籤\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L944}}\n; Scope: work_crawler.js: create_ebook()", - "extract-ebook-as-cache-$1": "解開電子書壓縮檔\n; Parameters: %1: ebook_file_path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/work_crawler|work_crawler|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1082}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L128}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L92}}\n; Scope: work_crawler.js: create_ebook()", - "convert-simplified-chinese-to-traditional-chinese-«$1»": "; Parameters: %1: chapter_title\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1279}}\n; Scope: work_crawler.js: check_next_chapter()", - "convert-traditional-chinese-to-simplified-chinese-«$1»": "; Parameters: %1: chapter_title\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1281}}\n; Scope: work_crawler.js: check_next_chapter()", - "traditionalize-$1": "繁體化。\n; Parameters: %1: chapter_title\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1287}}\n; Scope: work_crawler.js: check_next_chapter()", - "simplify-$1": "簡體化。简化字。\n; Parameters: %1: chapter_title\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1289}}\n; Scope: work_crawler.js: check_next_chapter()", - "too-few-words-($1-characters)": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1480}}\n; Scope: work_crawler.js: check_next_chapter()", - "there-is-no-directory-for-archive-files-$1": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1577}}\n; Scope: work_crawler.js: remove_old_ebooks()", - "preserve": "Set milestone: 日本小說網站有時會商業化,將之前的作品內容大幅刪除。這時若刪掉舊檔,就會失去這些內容。\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1646}}\n; Scope: work_crawler.js: remove_old_ebooks()", - "move-to-→": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1648}}\n; Scope: work_crawler.js: remove_old_ebooks()", - "removed-old-files": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1658}}\n; Scope: work_crawler.js: remove_old_ebooks()", - "archive-epub-ebook-$1": "; Parameters: %1: work title / file path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1766}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1771}}\n; Scope: work_crawler.js: remove_old_ebooks()", + "language-conversion": "注記本電子書已經過語言轉換(繁簡中文轉換,將簡體小說轉換為繁體小說)的標籤\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L947}}\n; Scope: work_crawler.js: create_ebook()", + "extract-ebook-as-cache-$1": "解開電子書壓縮檔\n; Parameters: %1: ebook_file_path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/work_crawler|work_crawler|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1085}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L128}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L92}}\n; Scope: work_crawler.js: create_ebook()", + "convert-simplified-chinese-to-traditional-chinese-«$1»": "; Parameters: %1: chapter_title\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1282}}\n; Scope: work_crawler.js: check_next_chapter()", + "convert-traditional-chinese-to-simplified-chinese-«$1»": "; Parameters: %1: chapter_title\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1284}}\n; Scope: work_crawler.js: check_next_chapter()", + "traditionalize-$1": "繁體化。\n; Parameters: %1: chapter_title\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1290}}\n; Scope: work_crawler.js: check_next_chapter()", + "simplify-$1": "簡體化。简化字。\n; Parameters: %1: chapter_title\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1292}}\n; Scope: work_crawler.js: check_next_chapter()", + "too-few-words-($1-characters)": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1483}}\n; Scope: work_crawler.js: check_next_chapter()", + "there-is-no-directory-for-archive-files-$1": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1580}}\n; Scope: work_crawler.js: remove_old_ebooks()", + "preserve": "Set milestone: 日本小說網站有時會商業化,將之前的作品內容大幅刪除。這時若刪掉舊檔,就會失去這些內容。\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1649}}\n; Scope: work_crawler.js: remove_old_ebooks()", + "move-to-→": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1651}}\n; Scope: work_crawler.js: remove_old_ebooks()", + "removed-old-files": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1661}}\n; Scope: work_crawler.js: remove_old_ebooks()", + "archive-epub-ebook-$1": "; Parameters: %1: work title / file path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1769}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1774}}\n; Scope: work_crawler.js: remove_old_ebooks()", "unspecified-image-data": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/image.js#L72}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/image.js#L75}}\n; Scope: work_crawler.js: get_image()", "invalid-acceptable_types-$1": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/image.js#L119}}\n; Scope: work_crawler.js: get_image()", "invalid-url-must-encode-first-$1": "; Parameters: %1: image_url\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/image.js#L196}}\n; Scope: work_crawler.js: get_image()", @@ -677,15 +677,15 @@ "download-from-§$1": "; Parameters: %1: chapter NO\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/work.js#L2051}}\n; Scope: work_crawler/work.js: get_work_data()", "a-directory-name-ending-with-a-.-will-result-in-no-way-to-delete-or-copy-$1": "; Parameters: %1: directory_name\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L253}}\n; Scope: CeL.application.platform.nodejs: create_directory()", "create-directory-$1-failed-$2": "; Parameters: %1: directory_name, %2: error reason\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L271}}\n; Scope: CeL.application.platform.nodejs: create_directory()", - "recursively-removing-subdirectories-of-$1": "; Parameters: %1: directory path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L330}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L385}}\n; Scope: CeL.application.platform.nodejs: remove_fso()", - "removing-directory-$1": "移除目錄:\n; Parameters: %1: directory path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/work_crawler|work_crawler|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L347}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L413}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/storage/EPUB.js#L2721}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L86}}\n; Scope: CeL.application.platform.nodejs: remove_fso(); epub_hans_to_hant.js", - "removing-file-$1": "; Parameters: %1: file path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L374}}\n; Scope: CeL.application.platform.nodejs: remove_fso()", - "cannot-save-data-to-file-$1": "; Parameters: %1: file path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L602}}\n; Scope: CeL.application.platform.nodejs: fs_writeFileSync()", - "move-$1-to-$2-failed-$3": "; Parameters: %1: move from, %2: move to, %3: error reason\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L635}}\n: {{GitHub|kanasimi/wikibot/blob/master/replace/replace_tool.js#L1425}}", - "no-file-or-directory-exists-$1": "; Parameters: %1: path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L688}}\n; Scope: CeL.application.platform.nodejs: traverse_file_system()", - "processing-completed-$1": "; Parameters: %1: path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L791}}\n; Scope: CeL.application.platform.nodejs: traverse_file_system()", - "invalid-command-line-argument-$1": "; Parameters: %1: argument\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L897}}\n; Scope: CeL.application.platform.nodejs", - "jscript-files-can-only-be-executed-in-windows-environment": "Only executing under Windows!\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L1097}}\n; Scope: CeL.application.platform.nodejs: traverse_file_system()", + "recursively-removing-subdirectories-of-$1": "; Parameters: %1: directory path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L330}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L387}}\n; Scope: CeL.application.platform.nodejs: remove_fso()", + "removing-directory-$1": "移除目錄:\n; Parameters: %1: directory path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/work_crawler|work_crawler|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L349}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L415}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/storage/EPUB.js#L2721}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L86}}\n; Scope: CeL.application.platform.nodejs: remove_fso(); epub_hans_to_hant.js", + "removing-file-$1": "; Parameters: %1: file path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L376}}\n; Scope: CeL.application.platform.nodejs: remove_fso()", + "cannot-save-data-to-file-$1": "; Parameters: %1: file path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L606}}\n; Scope: CeL.application.platform.nodejs: fs_writeFileSync()", + "move-$1-to-$2-failed-$3": "; Parameters: %1: move from, %2: move to, %3: error reason\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L639}}\n: {{GitHub|kanasimi/wikibot/blob/master/replace/replace_tool.js#L1425}}", + "no-file-or-directory-exists-$1": "; Parameters: %1: path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L692}}\n; Scope: CeL.application.platform.nodejs: traverse_file_system()", + "processing-completed-$1": "; Parameters: %1: path\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L795}}\n; Scope: CeL.application.platform.nodejs: traverse_file_system()", + "invalid-command-line-argument-$1": "; Parameters: %1: argument\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L901}}\n; Scope: CeL.application.platform.nodejs", + "jscript-files-can-only-be-executed-in-windows-environment": "Only executing under Windows!\n; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L1101}}\n; Scope: CeL.application.platform.nodejs: traverse_file_system()", "this-library-not-yet-support-multiple-rootfiles-(.opf)": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/storage/EPUB.js#L142}}\n; Scope: CeL.application.storage.EPUB: setup_container()", "invalid-id-prefix-$1": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/storage/EPUB.js#L215}}\n; Scope: CeL.application.storage.EPUB: Ebook()", "if-the-e-book-chapter-directory-is-not-set-all-chapter-content-will-be-placed-directly-under-the-e-book-root-directory": "; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}\n; References: {{GitHub|kanasimi/CeJS/blob/master/application/storage/EPUB.js#L223}}\n; Scope: CeL.application.storage.EPUB: Ebook()", @@ -950,7 +950,7 @@ "merge-$1-templates-into-template-$2": "Use in edit summaries. 用於編輯註解。\n; Parameters: %1: number of templates, %2: template name\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L389}}", "create-template-$2-with-$1-maintenance-templates": "Use in edit summaries. 用於編輯註解。\n; Parameters: %1: number of templates, %2: template name\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L408}}", "remove-template-$2-for-only-$1-maintenance-templates": "Use in edit summaries. 用於編輯註解。\n; Parameters: %1: number of templates, %2: template name\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L423}}", - "total-$1-articles": "; Parameters: %1: number of articles\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L480}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L502}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2169}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2218}}", + "total-$1-articles": "; Parameters: %1: number of articles\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L480}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L502}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2237}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2286}}", "number-of-templates": "Number of templates\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L491}}", "articles-containing-maintenance-templates": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L493}}", "the-articles-containing-too-many-maintenance-templates-are-listed-below": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L500}}", @@ -961,7 +961,7 @@ "problematic-articles": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L521}}", "too-many-entries-with-maintenance-templates-in-the-record-$1-entries": "; Parameters: %1: number of entries\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L536}}", "minimum-number-of-templates-to-report-$1": "; Parameters: %1: number of templates\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L538}}", - "archiving-operation": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20160323.archive_bot_logs.js#L288}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20210429.Auto-archiver.js#L275}}", + "archiving-operation": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20160323.archive_bot_logs.js#L288}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20210429.Auto-archiver.js#L280}}", "archive-$1-chars": "; Parameters: %1: Characters archived this time 本次歸檔的[[w:zh:字元|字元]]數\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20160323.archive_bot_logs.js#L329}}", "here-is-a-list-of-interlanguage-links-that-need-to-be-manually-corrected.-this-list-will-be-updated-automatically-by-the-robot": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20160517.interlanguage_link_to_wikilinks.js#L259}}", "edit-mark": "Short text to mark the links available for editing. For example, the \"E\" at the footer navigational templates. 簡短的文字以標示可供編輯的連結。例如導航模板的\"編\"。\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20160517.interlanguage_link_to_wikilinks.js#L399}}", @@ -1011,12 +1011,12 @@ "please-remember-to-sign-when-you-leave-messages": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20170515.signature_check.js#L1351}}", "$1-remind-to-sign-such-as-the-$2-pages-listed-in-the-notification": "; Parameters: %1: log to page, %2: number of pages\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20170515.signature_check.js#L1355}}", "generate-topic-list-$1-topics": "Use in edit summaries. 用於編輯註解。\n; Parameters: %1: topic counts\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20170915.topic_list.js#L1600}}", - "update-section-counters-and-article-assessment-icons": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L683}}", - "update-list-of-vital-articles": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2167}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2185}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2216}}", - "keep-different-ratings-in-$2": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2887}}", - "remove-the-same-ratings-as-template-wpbs-in-$2": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2905}}", - "$1-wikiproject-templates": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3163}}", - "vital-articles-update-report": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3390}}", + "update-section-counters-and-article-assessment-icons": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L704}}", + "update-list-of-vital-articles": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2235}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2253}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2284}}", + "keep-different-ratings-in-$2": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2962}}", + "remove-the-same-ratings-as-template-wpbs-in-$2": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2980}}", + "$1-wikiproject-templates": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3244}}", + "vital-articles-update-report": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3501}}", "$1-pages-modified": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20201008.fix_anchor.js#L547}}", "fixing-broken-anchor": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20201008.fix_anchor.js#L1131}}", "remove-$1-notifications": "; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20201008.fix_anchor.js#L1261}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20201008.fix_anchor.js#L1811}}", @@ -1030,8 +1030,8 @@ "very-different": "Use in edit summaries to mark edits that need special attention. Too different to be regarded as the same meaning. 用於編輯註解以標註特別需要注意的編輯。編集の要約。\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20201008.fix_anchor.js#L1570}}", "please-help-to-check-this-edit": "Use in edit summaries. 用於編輯註解。應採用不存在的頁面名稱,將用紅色連結顯示以突顯警告效果。編集の要約。\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20201008.fix_anchor.js#L1624}}", "$1→most-alike-anchor-$2": "Use in edit summaries. 用於編輯註解。編集の要約。\n; Parameters: %1: original anchor, %2: target anchor\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20201008.fix_anchor.js#L1632}}", - "append-$1-topics": "; Parameters: %1: count of topics\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20210429.Auto-archiver.js#L286}}", - "remove-$1-topics": "; Parameters: %1: count of topics\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20210429.Auto-archiver.js#L300}}", + "append-$1-topics": "; Parameters: %1: count of topics\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20210429.Auto-archiver.js#L291}}", + "remove-$1-topics": "; Parameters: %1: count of topics\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20210429.Auto-archiver.js#L305}}", "updating-$1": "e.g., \"Updating Featured articles\", \"秀逸な記事の更新\"\n; Parameters: %1: Things to update\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20210923.update_foreign_featured_contents_list.js#L303}}", "articles-in-$1": "e.g., \"Articles in Chinese\", \"英語版記事\"\n; Parameters: %1: language_name\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20210923.update_foreign_featured_contents_list.js#L648}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20210923.update_foreign_featured_contents_list.js#L650}}", "count-of-languages": "Sitelinks 言語版数\n; Repositories: {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}\n; References: {{GitHub|kanasimi/wikibot/blob/master/routine/20210923.update_foreign_featured_contents_list.js#L654}}", diff --git a/application/locale/resources/i18n/zh-hans.json b/application/locale/resources/i18n/zh-hans.json index 5f98c5c7f..48a0eb664 100644 --- a/application/locale/resources/i18n/zh-hans.json +++ b/application/locale/resources/i18n/zh-hans.json @@ -20,7 +20,7 @@ }, "españa": "西班牙", "french-republican-calendar": "法国共和历", - "untranslated-message-count": "100+", + "untranslated-message-count": "0", "clear-log": "清除信息", "show-hidden-log": "显示/隐藏日志", "load-failed": "加载失败", diff --git a/application/locale/resources/qqq_data.json b/application/locale/resources/qqq_data.json index c55c2199d..f968947d2 100644 --- a/application/locale/resources/qqq_data.json +++ b/application/locale/resources/qqq_data.json @@ -2650,14 +2650,14 @@ "message": "跳過 %2 之 %1 設定,因數值已存在且未設定 %3。", "original_message_language_code": "cmn-Hant-TW", "parameters": "%1: claim items (qualifiers, references, rank). %2: \"property = value\". %3: property of options", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/data.js#L3035}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/data.js#L3046}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "Comma-separator": { "message": "Comma-separator", "original_message_language_code": "en-US", "notes": "Used for separating lists of items. Should the same as {{int:Comma-separator}} ([[translatewiki:MediaWiki:Comma-separator]]).\nBe careful to the presence of a trailing space when appropriate for your language (if it is needed, you can input it as &#32; to avoid its trimming when editing this message.\nSee also [[MediaWiki:Comma-separator]], [https://st.unicode.org/cldr-apps/v#/zh/Displaying_Lists/ Displaying Lists]; [[MediaWiki:Word-separator]], [[MediaWiki:Pipe-separator]], [[MediaWiki:And]].", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/data.js#L3047}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1508}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L168}}\n: {{GitHub|kanasimi/wikibot/blob/master/replace/replace_tool.js#L1836}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20160517.interlanguage_link_to_wikilinks.js#L668}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3380}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3387}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3394}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20210923.update_foreign_featured_contents_list.js#L618}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L212}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L455}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L460}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/data.js#L3058}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1509}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L168}}\n: {{GitHub|kanasimi/wikibot/blob/master/replace/replace_tool.js#L1836}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20160517.interlanguage_link_to_wikilinks.js#L668}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3385}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3392}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3399}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20210923.update_foreign_featured_contents_list.js#L618}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L212}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L455}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20230418.Fix_redirected_wikilinks_of_templates.js#L460}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}" }, "check-the-emergency-stop-page-$1": { @@ -2764,7 +2764,7 @@ "the-text-between-update-comments-will-be-automatically-overwritten-by-the-bot": { "message": "The text between update comments will be automatically overwritten by the bot.", "original_message_language_code": "en-US", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1714}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1715}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "no-content": { @@ -2772,7 +2772,7 @@ "notes": "沒有頁面內容。; Repositories: {{GitHub|kanasimi/CeJS|CeJS|link=hidden}}", "scope": "work_crawler.js: check_next_chapter()", "original_message_language_code": "en-US", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1844}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L3953}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L3972}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L882}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1482}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/edit.js#L1845}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L3953}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L3972}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/page.js#L882}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1485}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "$1-results": { @@ -2799,14 +2799,14 @@ "get-configurations-from-page-$1": { "message": "Get configurations from page %1", "original_message_language_code": "en-US", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3181}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3197}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "load-$2-$1-messages-for-$3": { "message": "Load %2 %1 messages for %3.", "original_message_language_code": "en-US", "parameters": "%1: language, %2: message count, %3: wiki project name", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3216}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3232}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "continue-key": { @@ -2814,14 +2814,14 @@ "notes": "Label name for Follow-up Index when [[mw:API:Query#Continuing_queries|Continuing MediaWiki action API queries]]", "scope": "application.net.wiki.list", "original_message_language_code": "en-US", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3296}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3312}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "cache-information-about-the-api-modules-of-$1-module-path=$2": { "message": "Cache information about the API modules of %1: module path=%2", "original_message_language_code": "en-US", "parameters": "%1: site name, %2: path of [https://www.mediawiki.org/w/api.php?action=help&modules=paraminfo paraminfo]", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3889}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/wiki/namespace.js#L3905}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "found-$2-query-modules-$1": { @@ -4016,7 +4016,7 @@ "notes": "注記本電子書已經過語言轉換(繁簡中文轉換,將簡體小說轉換為繁體小說)的標籤", "scope": "work_crawler.js: create_ebook()", "original_message_language_code": "cmn-Hant-TW", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L944}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L947}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "extract-ebook-as-cache-$1": { @@ -4025,7 +4025,7 @@ "scope": "work_crawler.js: create_ebook()", "original_message_language_code": "en-US", "parameters": "%1: ebook_file_path", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1082}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L128}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L92}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1085}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L128}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L92}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/work_crawler|work_crawler|link=hidden}}" }, "convert-simplified-chinese-to-traditional-chinese-«$1»": { @@ -4034,7 +4034,7 @@ "scope": "work_crawler.js: check_next_chapter()", "original_message_language_code": "cmn-Hant-TW", "parameters": "%1: chapter_title", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1279}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1282}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "convert-traditional-chinese-to-simplified-chinese-«$1»": { @@ -4043,7 +4043,7 @@ "scope": "work_crawler.js: check_next_chapter()", "original_message_language_code": "cmn-Hans-CN", "parameters": "%1: chapter_title", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1281}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1284}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "traditionalize-$1": { @@ -4052,7 +4052,7 @@ "scope": "work_crawler.js: check_next_chapter()", "original_message_language_code": "cmn-Hant-TW", "parameters": "%1: chapter_title", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1287}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1290}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "simplify-$1": { @@ -4061,7 +4061,7 @@ "scope": "work_crawler.js: check_next_chapter()", "original_message_language_code": "cmn-Hans-CN", "parameters": "%1: chapter_title", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1289}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1292}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "too-few-words-($1-characters)": { @@ -4069,7 +4069,7 @@ "notes": "", "scope": "work_crawler.js: check_next_chapter()", "original_message_language_code": "cmn-Hant-TW", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1480}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1483}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "there-is-no-directory-for-archive-files-$1": { @@ -4077,7 +4077,7 @@ "notes": "", "scope": "work_crawler.js: remove_old_ebooks()", "original_message_language_code": "cmn-Hant-TW", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1577}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1580}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "preserve": { @@ -4085,7 +4085,7 @@ "notes": "Set milestone: 日本小說網站有時會商業化,將之前的作品內容大幅刪除。這時若刪掉舊檔,就會失去這些內容。", "scope": "work_crawler.js: remove_old_ebooks()", "original_message_language_code": "cmn-Hant-TW", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1646}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1649}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "move-to-→": { @@ -4093,7 +4093,7 @@ "notes": "", "scope": "work_crawler.js: remove_old_ebooks()", "original_message_language_code": "cmn-Hant-TW", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1648}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1651}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "removed-old-files": { @@ -4101,7 +4101,7 @@ "notes": "", "scope": "work_crawler.js: remove_old_ebooks()", "original_message_language_code": "cmn-Hant-TW", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1658}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1661}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "archive-epub-ebook-$1": { @@ -4110,7 +4110,7 @@ "scope": "work_crawler.js: remove_old_ebooks()", "original_message_language_code": "cmn-Hant-TW", "parameters": "%1: work title / file path", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1766}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1771}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1769}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/net/work_crawler/ebook.js#L1774}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "unspecified-image-data": { @@ -5679,7 +5679,7 @@ "scope": "CeL.application.platform.nodejs: remove_fso()", "original_message_language_code": "en-US", "parameters": "%1: directory path", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L330}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L385}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L330}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L387}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "removing-directory-$1": { @@ -5688,7 +5688,7 @@ "scope": "CeL.application.platform.nodejs: remove_fso(); epub_hans_to_hant.js", "original_message_language_code": "en-US", "parameters": "%1: directory path", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L347}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L413}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/storage/EPUB.js#L2721}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L86}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L349}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L415}}\n: {{GitHub|kanasimi/CeJS/blob/master/application/storage/EPUB.js#L2721}}\n: {{GitHub|kanasimi/work_crawler/blob/master/book.cmn-Hant-TW/epub_hans_to_hant.js#L86}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/work_crawler|work_crawler|link=hidden}}" }, "removing-file-$1": { @@ -5697,7 +5697,7 @@ "scope": "CeL.application.platform.nodejs: remove_fso()", "original_message_language_code": "en-US", "parameters": "%1: file path", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L374}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L376}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "cannot-save-data-to-file-$1": { @@ -5706,14 +5706,14 @@ "scope": "CeL.application.platform.nodejs: fs_writeFileSync()", "original_message_language_code": "en-US", "parameters": "%1: file path", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L602}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L606}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "move-$1-to-$2-failed-$3": { "message": "Move %1 to %2 failed: %3", "original_message_language_code": "en-US", "parameters": "%1: move from, %2: move to, %3: error reason", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L635}}\n: {{GitHub|kanasimi/wikibot/blob/master/replace/replace_tool.js#L1425}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L639}}\n: {{GitHub|kanasimi/wikibot/blob/master/replace/replace_tool.js#L1425}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}, {{GitHub|kanasimi/wikibot|wikibot|link=hidden}}" }, "no-file-or-directory-exists-$1": { @@ -5722,7 +5722,7 @@ "scope": "CeL.application.platform.nodejs: traverse_file_system()", "original_message_language_code": "cmn-Hant-TW", "parameters": "%1: path", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L688}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L692}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "processing-completed-$1": { @@ -5731,7 +5731,7 @@ "scope": "CeL.application.platform.nodejs: traverse_file_system()", "original_message_language_code": "cmn-Hant-TW", "parameters": "%1: path", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L791}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L795}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "invalid-command-line-argument-$1": { @@ -5740,7 +5740,7 @@ "scope": "CeL.application.platform.nodejs", "original_message_language_code": "en-US", "parameters": "%1: argument", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L897}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L901}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "jscript-files-can-only-be-executed-in-windows-environment": { @@ -5748,7 +5748,7 @@ "notes": "Only executing under Windows!", "scope": "CeL.application.platform.nodejs: traverse_file_system()", "original_message_language_code": "cmn-Hant-TW", - "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L1097}}", + "references": "{{GitHub|kanasimi/CeJS/blob/master/application/platform/nodejs.js#L1101}}", "repositories": "{{GitHub|kanasimi/CeJS|CeJS|link=hidden}}" }, "this-library-not-yet-support-multiple-rootfiles-(.opf)": { @@ -7932,7 +7932,7 @@ "message": "Total %1 {{PLURAL:%1|article|articles}}.", "original_message_language_code": "en-US", "parameters": "%1: number of articles", - "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L480}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L502}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2232}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2281}}", + "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L480}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20150916.Multiple_issues.v4.js#L502}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2237}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2286}}", "repositories": "{{GitHub|kanasimi/wikibot|wikibot|link=hidden}}" }, "number-of-templates": { @@ -8334,37 +8334,37 @@ "update-section-counters-and-article-assessment-icons": { "message": "Update section counters and article assessment icons", "original_message_language_code": "en-US", - "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L699}}", + "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L704}}", "repositories": "{{GitHub|kanasimi/wikibot|wikibot|link=hidden}}" }, "update-list-of-vital-articles": { "message": "Update list of vital articles", "original_message_language_code": "en-US", - "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2230}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2248}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2279}}", + "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2235}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2253}}\n: {{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2284}}", "repositories": "{{GitHub|kanasimi/wikibot|wikibot|link=hidden}}" }, "keep-different-ratings-in-$2": { "message": "Keep %1 different {{PLURAL:%1|rating|ratings}} in %2.", "original_message_language_code": "en-US", - "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2957}}", + "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2962}}", "repositories": "{{GitHub|kanasimi/wikibot|wikibot|link=hidden}}" }, "remove-the-same-ratings-as-template-wpbs-in-$2": { "message": "Remove %1 same {{PLURAL:%1|rating|ratings}} as {{WPBS}} in %2.", "original_message_language_code": "en-US", - "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2975}}", + "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L2980}}", "repositories": "{{GitHub|kanasimi/wikibot|wikibot|link=hidden}}" }, "$1-wikiproject-templates": { "message": "%1 WikiProject {{PLURAL:%1|template|templates}}.", "original_message_language_code": "en-US", - "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3239}}", + "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3244}}", "repositories": "{{GitHub|kanasimi/wikibot|wikibot|link=hidden}}" }, "vital-articles-update-report": { "message": "Vital articles update report", "original_message_language_code": "en-US", - "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3496}}", + "references": "{{GitHub|kanasimi/wikibot/blob/master/routine/20200122.update_vital_articles.js#L3501}}", "repositories": "{{GitHub|kanasimi/wikibot|wikibot|link=hidden}}" }, "$1-pages-modified": { diff --git a/application/net/wiki/edit.js b/application/net/wiki/edit.js index 532910e13..bc3d1ee1e 100644 --- a/application/net/wiki/edit.js +++ b/application/net/wiki/edit.js @@ -902,7 +902,8 @@ function module_code(library_namespace) { // assert: !content || typeof content === 'string' if (typeof content === 'string') { - content = content.replace(//g, '').replace( + // 去掉絕對不會影響 deny code 的內容。 + content = content.replace(/<\!--[\s\S]*?-->/g, '').replace( /[\s\S]*<\/nowiki>/g, ''); } if (!content) @@ -1855,7 +1856,7 @@ function module_code(library_namespace) { } Variable_Map.plain_text = function plain_text(wikitext) { - return wiki_link.replace(//g, ''); + return wiki_link.replace(/<\!--[\s\S]*?-->/g, ''); }; wiki_API.Variable_Map = Variable_Map; diff --git a/application/net/wiki/featured_content.js b/application/net/wiki/featured_content.js index 1ba802805..49132f840 100644 --- a/application/net/wiki/featured_content.js +++ b/application/net/wiki/featured_content.js @@ -228,7 +228,7 @@ function module_code(library_namespace) { if (matched[3]) { // 分類/類別。 - catalog = matched[3].replace(//g, '').trim() + catalog = matched[3].replace(/<\!--[\s\S]*?-->/g, '').trim() .replace(/\s*(\d+)$/, ''); continue; } diff --git a/application/net/wiki/page.js b/application/net/wiki/page.js index 74d643501..fdab84cb0 100644 --- a/application/net/wiki/page.js +++ b/application/net/wiki/page.js @@ -1852,7 +1852,7 @@ function module_code(library_namespace) { // 罕見情況下,有可能 data === undefined data = data.text['*'] // 去掉 MediaWiki parser 解析器所自行添加的 token 與註解。 - .replace(//g, '') + .replace(/<\!--[\s\S]*?-->/g, '') // 去掉前後包覆。 e.g.,

or

 				.replace(/![^!]*$/, '').replace(/^[^!]*!/, '');
 
diff --git a/application/net/wiki/parser/misc.js b/application/net/wiki/parser/misc.js
index 10f478fea..67ac7d6b8 100644
--- a/application/net/wiki/parser/misc.js
+++ b/application/net/wiki/parser/misc.js
@@ -293,7 +293,7 @@ function module_code(library_namespace) {
 				// 採用比較寬鬆的標準。
 				return !(token.type in {
 					parameter : true,
-					// e.g., {{=}}
+					// e.g., {{!}} {{=}}
 					magic_word_function : true,
 					transclusion : true,
 					comment : true
@@ -1731,8 +1731,8 @@ function module_code(library_namespace) {
 			// wikilink → page title
 			.replace(/^\[\[ *:?([^{}\[\]\|<>\t\n�]+)(?:\|[^\[\]{}]+?)?\]\]$/,
 					'$1')
-			// Remove comments
-			.replace(//g, '');
+			// 去除註解。 Remove comments. ""
+			.replace(/<\!--[\s\S]*?-->/g, '');
 
 			// console.trace([ JS_value, wiki_API.parse(JS_value), value ]);
 
diff --git a/application/net/work_crawler.js b/application/net/work_crawler.js
index c86244a8d..4b5ceeda9 100644
--- a/application/net/work_crawler.js
+++ b/application/net/work_crawler.js
@@ -656,7 +656,7 @@ function module_code(library_namespace) {
 	// node.innerText
 	function get_label(html) {
 		return html ? library_namespace.HTML_to_Unicode(
-				html.replace(//g, '').replace(
+				html.replace(/<\!--[\s\S]*?-->/g, '').replace(
 						/<(script|style)[^<>]*>[\s\S]*?<\/\1>/g, '').replace(
 						/\s*][^<>]*)?>[\r\n]*/ig, '\n').replace(
 						/<\/?[a-z][^<>]*>/g, '')
diff --git a/application/net/work_crawler/sites/dm5.js b/application/net/work_crawler/sites/dm5.js
index 4cf218f2c..703fb5a78 100644
--- a/application/net/work_crawler/sites/dm5.js
+++ b/application/net/work_crawler/sites/dm5.js
@@ -1054,7 +1054,7 @@ function module_code(library_namespace) {
 			 */
 			|| html.between(' id="cp_img">', '')
 			//
-			.replace(//g, '');
+			.replace(/<\!--[\s\S]*?-->/g, '');
 
 			// console.log(html);
 
diff --git a/application/storage/EPUB.js b/application/storage/EPUB.js
index 31406e322..60139b30c 100644
--- a/application/storage/EPUB.js
+++ b/application/storage/EPUB.js
@@ -484,7 +484,7 @@ function module_code(library_namespace) {
 
 		resources.forEach(function(resource, index) {
 			if (typeof resource === 'string') {
-				var matched = resource.match(//);
+				var matched = resource.match(/<\!--\s*({.+?})\s*-->/);
 				if (matched
 				//
 				&& library_namespace.is_Object(resources[--index])) {
diff --git a/data.js b/data.js
index feacbf563..7a521abf7 100644
--- a/data.js
+++ b/data.js
@@ -492,7 +492,7 @@ function module_code(library_namespace) {
 		// 和perl不同,JScript常抓不到(.*?)之後還接特定字串的東西,大概因為沒有s。(.*?)得改作([\s\S]*?)?
 		// 或者該加/img?
 		if (is_HTML)
-			text = text.replace(//g, '').replace(
+			text = text.replace(/<\!--[\s\S]*?-->/g, '').replace(
 					/<[\s\n]*\/?[\s\n]*[a-z][^<>]*>/gi, '');
 
 		if (flag & 2)
diff --git a/data/Convert_Pairs.js b/data/Convert_Pairs.js
index 156374eed..2d111fd94 100644
--- a/data/Convert_Pairs.js
+++ b/data/Convert_Pairs.js
@@ -137,7 +137,7 @@ function module_code(library_namespace) {
 		// // ...
 		.replace(/\/\/[^\r\n]*/g, '');
 
-		// text.replace(//g, '');
+		// text.replace(/<\!--[\s\S]*?-->/g, '');
 
 		// TODO: /^#/
 	}
diff --git a/interact/DOM.js b/interact/DOM.js
index 68e4c093a..f359bd018 100644
--- a/interact/DOM.js
+++ b/interact/DOM.js
@@ -8652,9 +8652,9 @@ _
 			}) ? $0 : '';
 		};
 		if (false) {
-			if (m = t.match(//))
+			if (m = t.match(/<\!--\[if [^\]]+\]>[\s\S]*?/))
 				sl(m[0].replace(/[\s\S]*?/))
+			if (m = t.match(/<\!\[if !vml\]>[\s\S]*?/))
 				sl(m[0]);
 		}