$rows = array();
$tables = "";
foreach( $namespaces as $ns => $name ) {
- $subj = Namespace::getSubject( $ns );
+ $subj = MWNamespace::getSubject( $ns );
if( !array_key_exists( $subj, $rows ) ) {
$rows[$subj] = "";
}
// many assumptions about namespace numbering
$rows = array();
foreach( $namespaces as $ns => $name ) {
- $subj = Namespace::getSubject( $ns );
+ $subj = MWNamespace::getSubject( $ns );
if( !array_key_exists( $subj, $rows ) ) {
$rows[$subj] = "";
}
$add = array();
while( $row = $this->dbr->fetchObject( $result ) ) {
$add[] = array(
- 'wl_user' => $row->wl_user,
- 'wl_namespace' => Namespace::getSubject( $row->wl_namespace ),
- 'wl_title' => $this->conv( $row->wl_title ),
- 'wl_notificationtimestamp' => '0' );
+ 'wl_user' => $row->wl_user,
+ 'wl_namespace' => MWNamespace::getSubject( $row->wl_namespace ),
+ 'wl_title' => $this->conv( $row->wl_title ),
+ 'wl_notificationtimestamp' => '0' );
$this->addChunk( $add );
$add[] = array(
- 'wl_user' => $row->wl_user,
- 'wl_namespace' => Namespace::getTalk( $row->wl_namespace ),
- 'wl_title' => $this->conv( $row->wl_title ),
- 'wl_notificationtimestamp' => '0' );
+ 'wl_user' => $row->wl_user,
+ 'wl_namespace' => MWNamespace::getTalk( $row->wl_namespace ),
+ 'wl_title' => $this->conv( $row->wl_title ),
+ 'wl_notificationtimestamp' => '0' );
$this->addChunk( $add );
}
$this->lastChunk( $add );