Page MenuHomePhabricator

SpecialRecentchanges.phpDiff2

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

SpecialRecentchanges.phpDiff2

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

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5154
Default Alt Text
SpecialRecentchanges.phpDiff2 (845 B)

Event Timeline