Merge "updater: Move rev_sha1 addition before convertUserOptions"
authorMarkAHershberger <mhershberger@wikimedia.org>
Mon, 29 Jul 2013 14:24:32 +0000 (14:24 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 29 Jul 2013 14:24:32 +0000 (14:24 +0000)
includes/DefaultSettings.php
resources/jquery/jquery.tablesorter.js

index 86b0849..f8e67f5 100644 (file)
@@ -5225,11 +5225,18 @@ $wgUseTagFilter = true;
 $wgUnwatchedPageThreshold = false;
 
 /**
- * Recent changes flag, shown in Recentchanges and watchlist
+ * Flags (letter symbols) shown in recent changes and watchlist to indicate
+ * certain types of edits.
  *
- * Adding a new one:
- *   $wgRecentChangesFlags['flag'] => array( 'letter-msg', 'tooltip-msg' );
- * 'class' allows to set a css class different than the flag name
+ * To register a new one:
+ * @code
+ * $wgRecentChangesFlags['flag'] => array(
+ *   'letter' => 'letter-msg',
+ *   'title' => 'tooltip-msg'
+ * );
+ * @endcode
+ *
+ * Optional 'class' allows to set a css class different than the flag name.
  *
  * @since 1.22
  */
index acf21d6..115a49a 100644 (file)
                        if ( !this.sortDisabled ) {
                                $( this )
                                        .addClass( table.config.cssHeader )
-                                       .attr( 'title', msg[1] )
-                                       .prop( 'tabIndex', 0 ).attr( 'role', 'button' );
+                                       .prop( 'tabIndex', 0 )
+                                       .attr( {
+                                               role: 'button',
+                                               title: msg[1]
+                                       } );
                        }
 
                        // add cell to headerList