r109209 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109208‎ | r109209 | r109210 >
Date:20:19, 17 January 2012
Author:yaron
Status:ok
Tags:
Comment:
Follow-up to r109165 - restored htmlspecialchars() call, accidentally deleted
Modified paths:
  • /trunk/extensions/DataTransfer/specials/DT_ViewXML.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DataTransfer/specials/DT_ViewXML.php
@@ -500,7 +500,7 @@
501501 $categories = self::getCategoriesList();
502502 foreach ( $categories as $category ) {
503503 $title = Title::makeTitle( NS_CATEGORY, $category );
504 - $link = $skin->makeLinkObj( $title, $title->getText() );
 504+ $link = $skin->makeLinkObj( $title, htmlspecialchars( $title->getText() ) );
505505 $text .= "<input type=\"checkbox\" name=\"categories[$category]\" /> $link <br />\n";
506506 }
507507 $text .= "<h2>" . wfMsg( 'dt_viewxml_namespaces' ) . "</h2>\n";

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r109165Added compatibility for SMW 1.6 (finally), moved all functions into class, pl...yaron17:28, 17 January 2012

Status & tagging log