Page MenuHomePhabricator

EditPage.php.patch

Authored By
bzimport
Nov 21 2014, 11:36 PM
Size
514 B
Referenced Files
None
Subscribers
None

EditPage.php.patch

Index: EditPage.php
===================================================================
--- EditPage.php (revision 88369)
+++ EditPage.php (working copy)
@@ -1723,6 +1723,10 @@
# Then it must be protected based on static groups (regular)
$classes[] = 'mw-textarea-protected';
}
+ # Is the title cascade-protected?
+ if ( $this->mTitle->isCascadeProtected() ) {
+ $classes[] = 'mw-textarea-cprotected';
+ }
}
$attribs = array( 'tabindex' => 1 );
if ( is_array($customAttribs) )

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7430
Default Alt Text
EditPage.php.patch (514 B)

Event Timeline