From: Roan Kattouw Date: Fri, 5 May 2017 23:55:30 +0000 (-0700) Subject: SpecialRecentchanges: Add class="mw-recentchanges-toplinks" to the "top links" X-Git-Tag: 1.31.0-rc.0~3308^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=282f772ac6118508346f452649d1bf6803479a64;p=lhc%2Fweb%2Fwiklou.git SpecialRecentchanges: Add class="mw-recentchanges-toplinks" to the "top links" Meaning the contents of [[MediaWiki:Recentchangestext]], which is a series of quick links on most wikis. Bug: T164617 Change-Id: I2934156af5aafa3162924ecf78cfd82d3a41370d --- diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index c10dbddf39..5f15305730 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -619,7 +619,11 @@ class SpecialRecentChanges extends ChangesListSpecialPage { if ( !$message->isDisabled() ) { $this->getOutput()->addWikiText( Html::rawElement( 'div', - [ 'lang' => $wgContLang->getHtmlCode(), 'dir' => $wgContLang->getDir() ], + [ + 'class' => 'mw-recentchanges-toplinks', + 'lang' => $wgContLang->getHtmlCode(), + 'dir' => $wgContLang->getDir() + ], "\n" . $message->plain() . "\n" ), /* $lineStart */ true,