From: Jackmcbarn Date: Sat, 10 May 2014 03:04:31 +0000 (-0400) Subject: Fix incorrect comment X-Git-Tag: 1.31.0-rc.0~15814 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=9b840c281cfae3c060941e45933e7798647064be;p=lhc%2Fweb%2Fwiklou.git Fix incorrect comment Fix a comment incorrectly referring to user pages instead of category pages. Follow-up to Ic93616a54c8e98e3dc71daee3c92c466d64daffc Change-Id: I74533658c32647f77e3d8d54a05e9835e1c37952 --- diff --git a/includes/Title.php b/includes/Title.php index b3371ab3f4..b9451bea3b 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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 ) ) {