Skip to content

Commit 5b23c76

Browse files
committed
+ for debug
1 parent ab09cf0 commit 5b23c76

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

routine/20160517.interlanguage_link_to_wikilinks.js

+4
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,10 @@ function check_final_work() {
456456
}
457457

458458
function for_each_page(page_data, messages) {
459+
if (CeL.env.arg_hash && CeL.env.arg_hash.debug_pages) {
460+
// for debug
461+
CeL.info('for_each_page: ' + CeL.wiki.title_link_of(page_data));
462+
}
459463

460464
// TODO: 處理模板,並 action=purge&forcelinkupdate=1 更新所有包含模板的頁面
461465
// https://doc.wikimedia.org/mediawiki-core/master/php/ApiPurge_8php_source.html

0 commit comments

Comments
 (0)