dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dfa200
)
protect.js: Remove JavaScript global variable window.ProtectionForm
author
Fomafix
<fomafix@googlemail.com>
Tue, 2 Apr 2019 08:26:27 +0000
(10:26 +0200)
committer
Fomafix
<fomafix@googlemail.com>
Tue, 2 Apr 2019 08:26:27 +0000
(10:26 +0200)
The JavaScript global variable window.ProtectionForm is not needed since
c805e14eec7b
.
Bug: T35871
Change-Id: I9089640d6c0058da14ba179fba9656fc7a4f5c68
resources/src/mediawiki.legacy/protect.js
patch
|
blob
|
history
diff --git
a/resources/src/mediawiki.legacy/protect.js
b/resources/src/mediawiki.legacy/protect.js
index
1d0e335
..
4f89f7c
100644
(file)
--- 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