X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialRecentchangeslinked.php;h=3ad9f0f4f5e4aa69f313810faf61147a3d4c53ac;hb=1aad5d4bf7c0bb72fc59de00a6c8998f37abde4b;hp=6c617cdd9f645b254f9e68930b5bf81d582573a4;hpb=6b227965f711ec8eabe666cf5aed545cfabde698;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialRecentchangeslinked.php b/includes/specials/SpecialRecentchangeslinked.php index 6c617cdd9f..3ad9f0f4f5 100644 --- a/includes/specials/SpecialRecentchangeslinked.php +++ b/includes/specials/SpecialRecentchangeslinked.php @@ -109,8 +109,8 @@ class SpecialRecentChangesLinked extends SpecialRecentChanges { $opts['tagfilter'] ); - if ( !$this->runMainQueryHook( $conds, $tables, $join_conds, $opts, $query_options, - $select ) + if ( !$this->runMainQueryHook( $tables, $select, $conds, $query_options, $join_conds, + $opts ) ) { return false; } @@ -220,19 +220,11 @@ class SpecialRecentChangesLinked extends SpecialRecentChanges { return $res; } - protected function runMainQueryHook( &$tables, &$select, &$conds, &$query_options, &$join_conds, $opts ) { - return parent::runMainQueryHook( $tables, $select, $conds, $query_options, $join_conds, $opts ) - && wfRunHooks( - 'SpecialRecentChangesQuery', - array( &$conds, &$tables, &$join_conds, $opts, &$query_options, &$select ), - '1.23' - ); - } - function setTopText( FormOptions $opts ) { $target = $this->getTargetTitle(); if ( $target ) { $this->getOutput()->addBacklinkSubtitle( $target ); + $this->getSkin()->setRelevantTitle( $target ); } }