17,230
edits
(Created page) |
m (update deprecated wg variables to mw.config) |
||
Line 1: | Line 1: | ||
$( function() { | $( function() { | ||
if (wgAction == "delete") { | if (mw.config.get('wgAction') == "delete") { | ||
var wpReason = document.getElementById("wpReason"); | var wpReason = document.getElementById("wpReason"); | ||
if (!wpReason) return; | if (!wpReason) return; |