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...
29
)
30
);
31
32
return true;
33
}
34
35
/**
36
* @since 0.2
37
*
38
* @param int $pageid
39
* @param Title $target
40
* @param array $extraParams
41
*
42
* @return bool
43
*/
44
public function moveFromPageId( $pageid, Title $target, array $extraParams = [] ) {
45
$this->api->postRequest(
46
new SimpleRequest( 'move', $this->getMoveParams( $pageid, $target, $extraParams ) )
47
);
48
49
return true;
50
}
51
52
/**
53
* @param int $pageid
54
* @param Title $target
55
* @param array $extraParams
56
*
57
* @return array
58
*/
59
private function getMoveParams( $pageid, $target, $extraParams ) {
The method Mediawiki\DataModel\Title::getTitle() has been deprecated with message: in 0.6 use getText (makes things look cleaner)
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.
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.