37 $this->
editPage(
'AQCT73462-A',
'**AQCT73462-A** [[AQCT73462-B]] [[AQCT73462-C]]' );
38 $this->
editPage(
'AQCT73462-B',
'[[AQCT73462-A]] **AQCT73462-B** [[AQCT73462-C]]' );
39 $this->
editPage(
'AQCT73462-C',
'[[AQCT73462-A]] [[AQCT73462-B]] **AQCT73462-C**' );
40 $this->
editPage(
'AQCT73462-A',
'**AQCT73462-A** [[AQCT73462-B]] [[AQCT73462-C]]' );
41 $this->
editPage(
'AQCT73462-B',
'[[AQCT73462-A]] **AQCT73462-B** [[AQCT73462-C]]' );
42 $this->
editPage(
'AQCT73462-C',
'[[AQCT73462-A]] [[AQCT73462-B]] **AQCT73462-C**' );
43 }
catch ( Exception
$e ) {
44 $this->exceptionFromAddDBData =
$e;
52 $this->mVerbose =
false;
53 $mk =
function ( $g, $p, $gDir ) {
55 'generator' =>
'allpages',
56 'gapprefix' =>
'AQCT73462-',
60 'gapdir' => $gDir ?
"ascending" :
"descending",
64 $data = $this->
query( $mk( 99, 99,
true ), 1,
'g1p',
false ) +
65 [
'batchcomplete' =>
true ];
66 $this->
checkC( $data, $mk( 1, 1,
true ), 6,
'g1p-11t' );
67 $this->
checkC( $data, $mk( 2, 2,
true ), 3,
'g1p-22t' );
68 $this->
checkC( $data, $mk( 1, 1,
false ), 6,
'g1p-11f' );
69 $this->
checkC( $data, $mk( 2, 2,
false ), 3,
'g1p-22f' );
Copyright © 2013 Yuri Astrakhan "<Firstname><Lastname>@gmail.com".
checkC( $expected, $params, $expectedCount, $id, $continue=true)
Run query() and compare against expected values.
editPage( $pageName, $text, $summary='', $defaultNs=NS_MAIN)
Edits or creates a page/revision.
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return true
returning false will NOT prevent logging $e