Merge "Use HTMLForm to generate the form on Special:ListFiles"
[lhc/web/wiklou.git] / includes / specials / SpecialRecentchangeslinked.php
index 6c617cd..3ad9f0f 100644 (file)
@@ -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 );
                }
        }