Index: trunk/phase3/maintenance/FiveUpgrade.inc |
— | — | @@ -888,17 +888,17 @@ |
889 | 889 | $add = array(); |
890 | 890 | while( $row = $this->dbr->fetchObject( $result ) ) { |
891 | 891 | $add[] = array( |
892 | | - 'wl_user' => $row->wl_user, |
893 | | - 'wl_namespace' => Namespace::getSubject( $row->wl_namespace ), |
894 | | - 'wl_title' => $this->conv( $row->wl_title ), |
895 | | - 'wl_notificationtimestamp' => '0' ); |
| 892 | + 'wl_user' => $row->wl_user, |
| 893 | + 'wl_namespace' => MWNamespace::getSubject( $row->wl_namespace ), |
| 894 | + 'wl_title' => $this->conv( $row->wl_title ), |
| 895 | + 'wl_notificationtimestamp' => '0' ); |
896 | 896 | $this->addChunk( $add ); |
897 | 897 | |
898 | 898 | $add[] = array( |
899 | | - 'wl_user' => $row->wl_user, |
900 | | - 'wl_namespace' => Namespace::getTalk( $row->wl_namespace ), |
901 | | - 'wl_title' => $this->conv( $row->wl_title ), |
902 | | - 'wl_notificationtimestamp' => '0' ); |
| 899 | + 'wl_user' => $row->wl_user, |
| 900 | + 'wl_namespace' => MWNamespace::getTalk( $row->wl_namespace ), |
| 901 | + 'wl_title' => $this->conv( $row->wl_title ), |
| 902 | + 'wl_notificationtimestamp' => '0' ); |
903 | 903 | $this->addChunk( $add ); |
904 | 904 | } |
905 | 905 | $this->lastChunk( $add ); |
Index: trunk/phase3/includes/specials/SpecialSearch.php |
— | — | @@ -804,7 +804,7 @@ |
805 | 805 | $rows = array(); |
806 | 806 | $tables = ""; |
807 | 807 | foreach( $namespaces as $ns => $name ) { |
808 | | - $subj = Namespace::getSubject( $ns ); |
| 808 | + $subj = MWNamespace::getSubject( $ns ); |
809 | 809 | if( !array_key_exists( $subj, $rows ) ) { |
810 | 810 | $rows[$subj] = ""; |
811 | 811 | } |
— | — | @@ -1379,7 +1379,7 @@ |
1380 | 1380 | // many assumptions about namespace numbering |
1381 | 1381 | $rows = array(); |
1382 | 1382 | foreach( $namespaces as $ns => $name ) { |
1383 | | - $subj = Namespace::getSubject( $ns ); |
| 1383 | + $subj = MWNamespace::getSubject( $ns ); |
1384 | 1384 | if( !array_key_exists( $subj, $rows ) ) { |
1385 | 1385 | $rows[$subj] = ""; |
1386 | 1386 | } |