From 1388e3c66d0b6de4179a97f6a7d0658eabac586c Mon Sep 17 00:00:00 2001 From: Fomafix Date: Tue, 2 Apr 2019 10:26:27 +0200 Subject: [PATCH] protect.js: Remove JavaScript global variable window.ProtectionForm The JavaScript global variable window.ProtectionForm is not needed since c805e14eec7b. Bug: T35871 Change-Id: I9089640d6c0058da14ba179fba9656fc7a4f5c68 --- resources/src/mediawiki.legacy/protect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/src/mediawiki.legacy/protect.js b/resources/src/mediawiki.legacy/protect.js index 1d0e33507c..4f89f7c49f 100644 --- a/resources/src/mediawiki.legacy/protect.js +++ b/resources/src/mediawiki.legacy/protect.js @@ -4,7 +4,7 @@ reasonCodePointLimit = mw.config.get( 'wgCommentCodePointLimit' ), reasonByteLimit = mw.config.get( 'wgCommentByteLimit' ); - ProtectionForm = window.ProtectionForm = { + ProtectionForm = { /** * Set up the protection chaining interface (i.e. "unlock move permissions" checkbox) * on the protection form -- 2.20.1