r23988 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23987‎ | r23988 | r23989 >
Date:07:29, 11 July 2007
Author:robchurch
Status:old
Tags:
Comment:
Fix regression in URL-encoding from r23985
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -895,13 +895,15 @@
896896 $nav_urls['contributions'] = array(
897897 'href' => self::makeSpecialUrlSubpage( 'Contributions', $this->mTitle->getText() )
898898 );
 899+
899900 if( $id ) {
900901 $logPage = SpecialPage::getTitleFor( 'Log' );
901 - $nav_urls['log'] = array( 'href' => $logPage->getLocalURL( "user={$this->mTitle->getText()}" ) );
 902+ $nav_urls['log'] = array( 'href' => $logPage->getLocalUrl( 'user='
 903+ . $this->mTitle->getPartialUrl() ) );
902904 } else {
903905 $nav_urls['log'] = false;
904906 }
905 -
 907+
906908 if ( $wgUser->isAllowed( 'block' ) ) {
907909 $nav_urls['blockip'] = array(
908910 'href' => self::makeSpecialUrlSubpage( 'Blockip', $this->mTitle->getText() )
Index: trunk/phase3/RELEASE-NOTES
@@ -131,7 +131,7 @@
132132 * (bug 9936) Per-edit suppression of preview-on-first edit with "preview=no"
133133 * Allow showing a one-off preview on first edit with "preview=yes"
134134 * (bug 9151) Remove timed redirects on "Return to X" pages for accessibility.
135 -* Add link to Special:Log into MonoBook toolbox
 135+* Link to user logs in toolbox when viewing a user page
136136
137137 == Bugfixes since 1.10 ==
138138

Follow-up revisions

RevisionCommit summaryAuthorDate
r24096Merged revisions 23910-24094 via svnmerge from...david22:38, 14 July 2007

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r23985*Make logs show only for usersaaron01:26, 11 July 2007

Status & tagging log