Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F5604
SpecialRecentchanges.phpDiff2
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:34 PM
2014-11-21 22:34:12 (UTC+0)
Size
845 B
Referenced Files
None
Subscribers
None
SpecialRecentchanges.phpDiff2
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5154
Default Alt Text
SpecialRecentchanges.phpDiff2 (845 B)
Attached To
Mode
T20317: "changes in last 1 | 3 | 7 | 14 | 30 days" accessibility
Attached
Detach File
Event Timeline
Log In to Comment