(bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use <strong...
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 13 Apr 2009 12:39:12 +0000 (12:39 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 13 Apr 2009 12:39:12 +0000 (12:39 +0000)
RELEASE-NOTES
includes/specials/SpecialRecentchanges.php

index c39ec6b..223ac7e 100644 (file)
@@ -343,6 +343,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-'
   after some parsed math syntax.
 * (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions
+* (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use
+  <strong> instead of hardcoded styles
 
 == API changes in 1.15 ==
 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
index 4d41608..78843a8 100644 (file)
@@ -597,8 +597,12 @@ class SpecialRecentChanges extends SpecialPage {
                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(), $params, array( 'known' ) );
+               } else {
+                       return $sk->link( $this->getTitle(), htmlspecialchars( $title ), array() , $params, array( 'known' ) );
+               }
        }
 
        /**