diff options
Diffstat (limited to 'includes/ProtectionForm.php')
-rw-r--r-- | includes/ProtectionForm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index fd1bc81e..f96262fe 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -212,9 +212,9 @@ class ProtectionForm { } function buildScript() { - global $wgStylePath; + global $wgStylePath, $wgStyleVersion; return '<script type="text/javascript" src="' . - htmlspecialchars( $wgStylePath . "/common/protect.js" ) . + htmlspecialchars( $wgStylePath . "/common/protect.js?$wgStyleVersion" ) . '"></script>'; } |