* Do not display empty columns on Special:UserRights if all groups are
changeable or all unchangeable
* Fix fatal error on calling PAGESINCATEGORY with invalid category name
-
+* (bug 13793) Special:Whatlinkshere filters wrong - after paginating instead of before
=== API changes in 1.13 ===
'pl_namespace' => $target->getNamespace(),
'pl_title' => $target->getDBkey(),
);
+ if( $this->hideredirs ) {
+ $plConds['page_is_redirect'] = 0;
+ } elseif( $this->hidelinks ) {
+ $plConds['page_is_redirect'] = 1;
+ }
$tlConds = array(
'page_id=tl_from',
$wgOut->addHTML( $this->listStart() );
foreach ( $rows as $row ) {
- if( $this->hideredirs && $row->page_is_redirect )
- continue;
- if( $this->hidelinks && ( !$row->page_is_redirect && !$row->is_template ) )
- continue;
-
$nt = Title::makeTitle( $row->page_namespace, $row->page_title );
$wgOut->addHTML( $this->listItem( $row, $nt ) );