r14769 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14768‎ | r14769 | r14770 >
Date:07:14, 15 June 2006
Author:robchurch
Status:old
Tags:
Comment:
Revert r14768, it's broken.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/EditPage.php (modified) (history)
  • /trunk/phase3/languages/Messages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -814,15 +814,6 @@
815815 }
816816 }
817817
818 - $curUP = $wgUser->getUserPage();
819 - $editingOTP = substr( $this->mTitle->getPrefixedText(), 0, strlen( $curUP->getPrefixedText() ) ) != $curUP->getPrefixedText()
820 - && $this->formtype != 'preview'
821 - && $this->formtype != 'diff';
822 - if( $editingOTP ) {
823 - $utpLink = $sk->makeKnownLinkObj( $this->mTitle->getTalkPage(), wfMsgHtml( 'editinguserpagetalklink' ), 'action=edit' );
824 - $wgOut->addHtml( wfMsgWikiHtml( 'editinguserpage', $utpLink ) );
825 - }
826 -
827818 if( wfReadOnly() ) {
828819 $wgOut->addWikiText( wfMsg( 'readonlywarning' ) );
829820 } elseif( $wgUser->isAnon() && $this->formtype != 'preview' ) {
Index: trunk/phase3/RELEASE-NOTES
@@ -496,8 +496,6 @@
497497 * (bug 6296) Update to Indonesian localisation (id) #21
498498 * Introduce EditFormPreloadText hook, see docs/hooks.txt for more information
499499 * (bug 6095) Introduce RunUnknownJob hook, see docs/hooks.txt for more information
500 -* (bug 5865) Show warning when editing another users' user page and provide a link to edit
501 - their talk page instead
502500
503501 == Compatibility ==
504502
Index: trunk/phase3/languages/Messages.php
@@ -468,8 +468,6 @@
469469 'showdiff' => 'Show changes',
470470 'anoneditwarning' => "'''Warning:''' You are not logged in. Your IP address will be recorded in this page's edit history.",
471471 'missingsummary' => "'''Reminder:''' You have not provided an edit summary. If you click Save again, your edit will be saved without one.",
472 -'editinguserpage' => "'''Note:''' You are editing a [[Help:User page|user page]]. To leave this user a message, $1.",
473 -'editinguserpagetalklink' => 'edit their talk page',
474472 'missingcommenttext' => 'Please enter a comment below.',
475473 'blockedtitle' => 'User is blocked',
476474 'blockedtext' => 'Your user name or IP address has been blocked by $1.

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r14768(bug 5865) Show warning when editing another users' user page and provide a l...robchurch06:55, 15 June 2006

Status & tagging log