Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7902
EditPage.php.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 11:36 PM
2014-11-21 23:36:05 (UTC+0)
Size
514 B
Referenced Files
None
Subscribers
None
EditPage.php.patch
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7430
Default Alt Text
EditPage.php.patch (514 B)
Attached To
Mode
T31036: Set class mw-textarea-cprotected to the textarea on edit page for cascade-protected titles
Attached
Detach File
Event Timeline
Log In to Comment