r77618 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77617‎ | r77618 | r77619 >
Date:00:06, 3 December 2010
Author:reedy
Status:resolved (Comments)
Tags:
Comment:
Kill off userNotPrivilegedMessage, not used after r77617
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUserlogin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUserlogin.php
@@ -897,22 +897,6 @@
898898 }
899899
900900 /** */
901 - function userNotPrivilegedMessage( $errors ) {
902 - global $wgOut;
903 -
904 - $wgOut->setPageTitle( wfMsg( 'permissionserrors' ) );
905 - $wgOut->setRobotPolicy( 'noindex,nofollow' );
906 - $wgOut->setArticleRelated( false );
907 -
908 - $wgOut->addWikiText( $wgOut->formatPermissionsErrorMessage( $errors, 'createaccount' ) );
909 - // Stuff that might want to be added at the end. For example, instruc-
910 - // tions if blocked.
911 - $wgOut->addWikiMsg( 'cantcreateaccount-nonblock-text' );
912 -
913 - $wgOut->returnToMain( false );
914 - }
915 -
916 - /** */
917901 function userBlockedMessage() {
918902 global $wgOut, $wgUser;
919903

Follow-up revisions

RevisionCommit summaryAuthorDate
r77635Followup r77618 per Nikerabbit, remove now unused message 'cantcreateaccount-...reedy09:36, 3 December 2010
r77644Follow-up r77618 and r77635: also remove the message from messageTypes.incialex12:47, 3 December 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77617Fix r75759: replace call to userNotPrivilegedMessage() with a call to OutputP...werdna23:59, 2 December 2010

Comments

#Comment by Nikerabbit (talk | contribs)   09:14, 3 December 2010

At least cantcreateaccount-nonblock-text is now unused message.

Status & tagging log