Fix incorrect comment
authorJackmcbarn <jackmcbarn@gmail.com>
Sat, 10 May 2014 03:04:31 +0000 (23:04 -0400)
committerJackmcbarn <jackmcbarn@gmail.com>
Sat, 10 May 2014 03:04:31 +0000 (23:04 -0400)
Fix a comment incorrectly referring to user pages instead of category
pages. Follow-up to Ic93616a54c8e98e3dc71daee3c92c466d64daffc

Change-Id: I74533658c32647f77e3d8d54a05e9835e1c37952

includes/Title.php

index b3371ab..b9451be 100644 (file)
@@ -1950,7 +1950,7 @@ class Title {
                                $errors[] = array( 'cant-move-to-user-page' );
                        } elseif ( !$user->isAllowed( 'move-categorypages' )
                                        && $this->mNamespace == NS_CATEGORY ) {
-                               // Show user page-specific message only if the user can move other pages
+                               // Show category page-specific message only if the user can move other pages
                                $errors[] = array( 'cant-move-to-category-page' );
                        }
                } elseif ( !$user->isAllowed( $action ) ) {