Page MenuHomePhabricator

strong.diff

Authored By
bzimport
Nov 21 2014, 10:34 PM
Size
655 B
Referenced Files
None
Subscribers
None

strong.diff

Index: includes/specials/SpecialRecentchanges.php
===================================================================
--- includes/specials/SpecialRecentchanges.php (revision 49257)
+++ includes/specials/SpecialRecentchanges.php (working copy)
@@ -597,7 +597,8 @@
global $wgUser;
$sk = $wgUser->getSkin();
$params = $override + $options;
- return $sk->link( $this->getTitle(), htmlspecialchars( $title ),
+ return $sk->link( $this->getTitle(),
+ ( $active ? '<strong>' : '' ) . htmlspecialchars( $title ) . ( $active ? '</strong>' : '' ),
( $active ? array( 'style'=>'font-weight: bold;' ) : array() ), $params, array( 'known' ) );
}

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5153
Default Alt Text
strong.diff (655 B)

Event Timeline