The method Mediawiki\DataModel\Page::getId() has been deprecated with message: since 0.5
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be
removed from the class and what other method or class to use instead.
Loading history...
41
1
);
42
43
1
return true;
44
}
45
46
/**
47
* @since 0.x
48
*
49
* @param Pages $pages
50
*
51
* @return bool
52
*
53
*/
54
public function purgePages( Pages $pages ) {
55
$pagesArray = $pages->toArray();
56
57
foreach ( $pagesArray as $page ) {
58
$this->purge( $page );
59
}
60
61
return true;
62
}
63
64
/**
65
* @since 0.6
66
*
67
* @param ApiGenerator $generator
68
*
69
* @return bool
70
*/
71
public function purgeGenerator( ApiGenerator $generator ) {
72
$this->api->postRequest(
73
new SimpleRequest( 'purge', $generator->getParams() )
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.