* (bug 26485) add a elextlinks param to prop=extlinks
* (bug 26483) add a iwtitles param to prop=iwlinks
* (bug 26484) add a lltitles param to prop=langlinks
+* (bug 26480) add a pppageprops param to prop=pageprops
=== Languages updated in 1.18 ===
$this->addWhere( 'pp_page >=' . intval( $this->params['continue'] ) );
}
+ if ( $this->params['prop'] ) {
+ $this->addWhereFld( 'pp_propname', $this->params['prop'] );
+ }
+
# Force a sort order to ensure that properties are grouped by page
$this->addOption( 'ORDER BY', 'pp_page' );
}
public function getAllowedParams() {
- return array( 'continue' => null );
+ return array(
+ 'continue' => null,
+ 'prop' => null,
+ );
}
public function getParamDescription() {
- return array( 'continue' => 'When more results are available, use this to continue' );
+ return array(
+ 'continue' => 'When more results are available, use this to continue',
+ 'prop' => 'Page prop to look on the page for. Useful for checking whether a certain page uses a certain page prop.'
+ );
}
public function getDescription() {