Catrope has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/352295 )
Change subject: SpecialRecentchanges: Add class="mw-recentchanges-toplinks" to
the "top links"
......................................................................
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
---
M includes/specials/SpecialRecentchanges.php
1 file changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/95/352295/1
diff --git a/includes/specials/SpecialRecentchanges.php
b/includes/specials/SpecialRecentchanges.php
index c10dbdd..5f15305 100644
--- a/includes/specials/SpecialRecentchanges.php
+++ b/includes/specials/SpecialRecentchanges.php
@@ -619,7 +619,11 @@
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,
--
To view, visit https://gerrit.wikimedia.org/r/352295
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2934156af5aafa3162924ecf78cfd82d3a41370d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits