} else {
$this->dieContinueUsageIf( count( $continueArr ) != 2 );
$continueTitle = $db->addQuotes( $continueArr[0] );
- $continueFrom = intval( $continueArr[1] );
+ $continueFrom = (int)$continueArr[1];
$this->addWhere(
"{$pfx}{$fieldTitle} $op $continueTitle OR " .
"({$pfx}{$fieldTitle} = $continueTitle AND " .
ApiResult::META_TYPE => 'assoc',
];
if ( $fld_ids ) {
- $vals['fromid'] = intval( $row->pl_from );
+ $vals['fromid'] = (int)$row->pl_from;
}
if ( $fld_title ) {
$title = Title::makeTitle( $namespace, $row->pl_title );
return [
"action=query&list={$name}&{$p}from=B&{$p}prop=ids|title"
- => "apihelp-$path-example-B",
+ => "apihelp-$path-example-b",
"action=query&list={$name}&{$p}unique=&{$p}from=B"
=> "apihelp-$path-example-unique",
"action=query&generator={$name}&g{$p}unique=&g{$p}from=B"