Added some __METHOD__ to DatabaseBase::query() calls
[lhc/web/wiklou.git] / includes / ChangesList.php
index 9900363..2e603bf 100644 (file)
@@ -601,14 +601,14 @@ class EnhancedChangesList extends ChangesList {
         * @return String
         */
        public function beginRecentChangesList() {
-               global $wgStylePath, $wgStyleVersion;
+               global $wgOut;
                $this->rc_cache = array();
                $this->rcMoveIndex = 0;
                $this->rcCacheIndex = 0;
                $this->lastdate = '';
                $this->rclistOpen = false;
-               $script = Html::linkedScript( $wgStylePath . "/common/enhancedchanges.js?$wgStyleVersion" );
-               return $script;
+               $wgOut->addModules( 'mediawiki.legacy.enhancedchanges' );
+               return '';
        }
        /**
         * Format a line for enhanced recentchange (aka with javascript and block of lines).