53 $sizetype =
'', $size = 0
56 $this->mConds = $conds;
59 parent::__construct( $form->getContext() );
63 # Do a link batch query
64 $this->mResult->seek( 0 );
67 foreach ( $this->mResult as $row ) {
68 $lb->
add( $row->pt_namespace, $row->pt_title );
80 return $this->mForm->getPageTitle();
84 return $this->mForm->formatRow( $row );
92 $conds[] =
'pt_expiry > ' . $this->mDb->addQuotes( $this->mDb->timestamp() ) .
93 ' OR pt_expiry IS NULL';
98 if ( $this->
namespace !==
null ) {
99 $conds[] =
'pt_namespace=' . $this->mDb->addQuotes( $this->
namespace );
103 'tables' =>
'protected_titles',
104 'fields' => [
'pt_namespace',
'pt_title',
'pt_create_perm',
105 'pt_expiry',
'pt_timestamp' ],
111 return 'pt_timestamp';