r70464 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70463‎ | r70464 | r70465 >
Date:15:45, 4 August 2010
Author:danny_b
Status:ok
Tags:
Comment:
* Display links to book sources as external links because they are.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBooksources.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBooksources.php
@@ -164,6 +164,6 @@
165165 */
166166 private function makeListItem( $label, $url ) {
167167 $url = str_replace( '$1', $this->isbn, $url );
168 - return '<li><a href="' . htmlspecialchars( $url ) . '">' . htmlspecialchars( $label ) . '</a></li>';
 168+ return '<li><a href="' . htmlspecialchars( $url ) . '" class="external">' . htmlspecialchars( $label ) . '</a></li>';
169169 }
170170 }

Status & tagging log