Page MenuHomePhabricator

Title.php.diff

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

Title.php.diff

Index: Title.php
===================================================================
--- Title.php (revision 93236)
+++ Title.php (working copy)
@@ -1505,7 +1505,7 @@
// If they can't edit, they shouldn't protect.
$errors[] = array( 'protect-cantedit' );
}
- } elseif ( $action == 'create' ) {
+ } elseif ( $action == 'create' || $action == 'createpage' ) {
$title_protection = $this->getTitleProtection();
if( $title_protection ) {
if( $title_protection['pt_create_perm'] == 'sysop' ) {

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7326
Default Alt Text
Title.php.diff (530 B)

Event Timeline