47 $sizetype =
'', $size = 0
50 $this->mConds = $conds;
51 $this->level = $level;
52 $this->
namespace = $namespace;
53 $this->size =
intval( $size );
54 parent::__construct( $form->getContext() );
58 # Do a link batch query
59 $this->mResult->seek( 0 );
62 foreach ( $this->mResult as $row ) {
63 $lb->
add( $row->pt_namespace, $row->pt_title );
75 return $this->mForm->getPageTitle();
79 return $this->mForm->formatRow( $row );
87 $conds[] =
'pt_expiry > ' . $this->mDb->addQuotes( $this->mDb->timestamp() ) .
88 ' OR pt_expiry IS NULL';
90 $conds[
'pt_create_perm'] = $this->level;
93 if ( !
is_null( $this->
namespace ) ) {
94 $conds[] =
'pt_namespace=' . $this->mDb->addQuotes( $this->
namespace );
98 'tables' =>
'protected_titles',
99 'fields' => [
'pt_namespace',
'pt_title',
'pt_create_perm',
100 'pt_expiry',
'pt_timestamp' ],
106 return 'pt_timestamp';
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
Class representing a list of titles The execute() method checks them all for existence and adds them ...
A special page that list protected titles from creation.
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))