/* int */ 'limit' => 50,
);
- $options = $defaults;
+ $options = $defaults;
if ( $par ) {
$bits = preg_split( '/\s*,\s*/', trim( $par ) );
return $conds;
}
-
function getSQL() {
global $wgUser, $wgUseNPPatrol, $wgUseRCPatrol;
$usepatrol = ( $wgUseNPPatrol || $wgUseRCPatrol ) ? 1 : 0;
FROM $recentchanges,$page
WHERE rc_cur_id=page_id AND $condstext";
}
-
- function preprocessResults( $db, $res ) {
+
+ function preprocessResults( &$db, &$res ) {
# Do a batch existence check on the user and talk pages
$linkBatch = new LinkBatch();
while( $row = $db->fetchObject( $res ) ) {
}
return parent::feedItemDesc( $row );
}
-
+
/**
* Show a form for filtering namespace and username
*
* @return string
- */
+ */
function getPageHeader() {
global $wgScript, $wgContLang, $wgGroupPermissions, $wgUser, $wgUseRCPatrol, $wgUseNPPatrol;
$sk = $wgUser->getSkin();
Xml::closeElement( 'form' );
return $form;
}
-
-}
\ No newline at end of file
+}