Index: trunk/extensions/DataTransfer/specials/DT_ViewXML.php |
— | — | @@ -497,14 +497,14 @@ |
498 | 498 | END; |
499 | 499 | $text .= "<p>" . wfMsg( 'dt_viewxml_docu' ) . "</p>\n"; |
500 | 500 | $text .= "<h2>" . wfMsg( 'dt_viewxml_categories' ) . "</h2>\n"; |
501 | | - $categories = getCategoriesList(); |
| 501 | + $categories = self::getCategoriesList(); |
502 | 502 | foreach ( $categories as $category ) { |
503 | 503 | $title = Title::makeTitle( NS_CATEGORY, $category ); |
504 | 504 | $link = $skin->makeLinkObj( $title, $title->getText() ); |
505 | 505 | $text .= "<input type=\"checkbox\" name=\"categories[$category]\" /> $link <br />\n"; |
506 | 506 | } |
507 | 507 | $text .= "<h2>" . wfMsg( 'dt_viewxml_namespaces' ) . "</h2>\n"; |
508 | | - $namespaces = getNamespacesList(); |
| 508 | + $namespaces = self::getNamespacesList(); |
509 | 509 | foreach ( $namespaces as $namespace ) { |
510 | 510 | if ( $namespace == 0 ) { |
511 | 511 | $ns_name = wfMsgHtml( 'blanknamespace' ); |