*/
class NewPagesPage extends QueryPage {
var $namespace;
-
+
function NewPagesPage( $namespace = NS_MAIN ) {
$this->namespace = $namespace;
}
"SELECT 'Newpages' as type,
rc_namespace AS namespace,
rc_title AS title,
- rc_cur_id AS value,
+ rc_cur_id AS cur_id,
rc_user AS user,
rc_user_text AS user_text,
rc_comment as comment,
rc_timestamp AS timestamp,
+ rc_timestamp AS value,
'{$usepatrol}' as usepatrol,
rc_patrolled AS patrolled,
rc_id AS rcid,
return $s;
}
-
+
function feedItemDesc( $row ) {
if( isset( $row->rev_id ) ) {
$revision = Revision::newFromId( $row->rev_id );
*/
function wfSpecialNewpages($par, $specialPage) {
global $wgRequest, $wgContLang;
-
+
list( $limit, $offset ) = wfCheckLimits();
$namespace = NS_MAIN;
-
+
if ( $par ) {
$bits = preg_split( '/\s*,\s*/', trim( $par ) );
foreach ( $bits as $bit ) {