「User talk:VimonaC」與「MediaWiki:Gadget-CleanDeleteReasons.js」:頁面間的差異

出自H萌娘
(頁面間的差異)
跳至導覽 跳至搜尋
imported>=海豚=
(创建页面,内容为“{{欢迎}}”)
 
imported>=海豚=
(创建页面,内容为“$(function() { if (mw.config.get('wgAction') == "delete" && $("#wpReason").length > 0 && RegExp('(内容|page was empty|content before blanking was)', 'i').test(…”)
 
行 1: 行 1:
{{欢迎}}
$(function() {
   if (mw.config.get('wgAction') == "delete" && $("#wpReason").length > 0 && RegExp('(内容|page was empty|content before blanking was)', 'i').test($("#wpReason").val())) $("#wpReason").val('');
});

於 2020年3月26日 (四) 10:02 的修訂

$(function() {
    if (mw.config.get('wgAction') == "delete" && $("#wpReason").length > 0 && RegExp('(内容|page was empty|content before blanking was)', 'i').test($("#wpReason").val())) $("#wpReason").val('');
});