r109169 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109168‎ | r109169 | r109170 >
Date:18:01, 17 January 2012
Author:yaron
Status:ok
Tags:
Comment:
Follow-up to r109165 - more fixes
Modified paths:
  • /trunk/extensions/DataTransfer/specials/DT_ViewXML.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DataTransfer/specials/DT_ViewXML.php
@@ -497,14 +497,14 @@
498498 END;
499499 $text .= "<p>" . wfMsg( 'dt_viewxml_docu' ) . "</p>\n";
500500 $text .= "<h2>" . wfMsg( 'dt_viewxml_categories' ) . "</h2>\n";
501 - $categories = getCategoriesList();
 501+ $categories = self::getCategoriesList();
502502 foreach ( $categories as $category ) {
503503 $title = Title::makeTitle( NS_CATEGORY, $category );
504504 $link = $skin->makeLinkObj( $title, $title->getText() );
505505 $text .= "<input type=\"checkbox\" name=\"categories[$category]\" /> $link <br />\n";
506506 }
507507 $text .= "<h2>" . wfMsg( 'dt_viewxml_namespaces' ) . "</h2>\n";
508 - $namespaces = getNamespacesList();
 508+ $namespaces = self::getNamespacesList();
509509 foreach ( $namespaces as $namespace ) {
510510 if ( $namespace == 0 ) {
511511 $ns_name = wfMsgHtml( 'blanknamespace' );

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