r65579 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65578‎ | r65579 | r65580 >
Date:18:09, 27 April 2010
Author:ialex
Status:resolved
Tags:
Comment:
* (bug 23298) Interwiki links with prefix only in log summaries now link to the correct link
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -1114,7 +1114,9 @@
11151115
11161116 $target = Title::newFromText( $linkTarget );
11171117 if( $target ) {
1118 - if( $target->getText() == '' && !$this->commentLocal && $this->commentContextTitle ) {
 1118+ if( $target->getText() == '' && !$target->getInterwiki() === ''
 1119+ && !$this->commentLocal && $this->commentContextTitle )
 1120+ {
11191121 $newTarget = clone( $this->commentContextTitle );
11201122 $newTarget->setFragment( '#' . $target->getFragment() );
11211123 $target = $newTarget;
Index: trunk/phase3/RELEASE-NOTES
@@ -133,6 +133,8 @@
134134 displayed on Special:Listusers.
135135 * (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
136136 to enhance preference grouping.
 137+* (bug 23298) Interwiki links with prefix only in log summaries now link to the
 138+ correct link
137139
138140 === API changes in 1.17 ===
139141 * (bug 22738) Allow filtering by action type on query=logevent

Follow-up revisions

RevisionCommit summaryAuthorDate
r65580Fix for r65579: removed "!" that should really not be there...ialex18:15, 27 April 2010

Status & tagging log