X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=blobdiff_plain;f=includes%2FChangesList.php;h=57c8f0b73b5bb6a0338f1791101c6f32482fc4d5;hb=06ae72f2504cb708da23a2362448b2470a86419a;hp=e0f522ae72c52e9184672a525f5d693b3e46a4f2;hpb=8d5629aea57fec51ae66d432dd9b6d3c56945db8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ChangesList.php b/includes/ChangesList.php index e0f522ae72..57c8f0b73b 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -194,7 +194,7 @@ class ChangesList extends ContextSource { $this->rcCacheIndex = 0; $this->lastdate = ''; $this->rclistOpen = false; - $this->getOutput()->addModules( 'mediawiki.special.changeslist' ); + $this->getOutput()->addModuleStyles( 'mediawiki.special.changeslist' ); return ''; } @@ -366,14 +366,6 @@ class ChangesList extends ContextSource { $params = array(); - // In case we got a page creation which is yet unpatrolled and - // recent changes patrolling is enabled, the user probably rather - // wants to patrol the whole page (first revision) instead of seeing - // a patrollink for the current revision. - if ( $wgUseRCPatrol && $unpatrolled && $rc->getAttribute( 'rc_type' ) == RC_NEW ) { - $params['patrolpage'] = 1; - } - $articlelink = Linker::linkKnown( $rc->getTitle(), null, @@ -711,7 +703,14 @@ class EnhancedChangesList extends ChangesList { $this->rcCacheIndex = 0; $this->lastdate = ''; $this->rclistOpen = false; - $this->getOutput()->addModules( 'mediawiki.special.changeslist' ); + $this->getOutput()->addModuleStyles( array( + 'mediawiki.special.changeslist', + 'mediawiki.special.changeslist.enhanced', + ) ); + $this->getOutput()->addModules( array( + 'jquery.makeCollapsible', + 'mediawiki.icon', + ) ); return ''; } /**