Index: trunk/phase3/includes/ChangesList.php |
— | — | @@ -739,9 +739,9 @@ |
740 | 740 | # Add the namespace and title of the block as part of the class |
741 | 741 | if ( $block[0]->mAttribs['rc_log_type'] ) { |
742 | 742 | # Log entry |
743 | | - $classes = Sanitizer::escapeClass( 'mw-enhanced-rc mw-changeslist-log-' . $block[0]->mAttribs['rc_log_type'] . '-' . $block[0]->mAttribs['rc_title'] ); |
| 743 | + $classes = 'mw-enhanced-rc ' . Sanitizer::escapeClass( 'mw-changeslist-log-' . $block[0]->mAttribs['rc_log_type'] . '-' . $block[0]->mAttribs['rc_title'] ); |
744 | 744 | } else { |
745 | | - $classes = Sanitizer::escapeClass( 'mw-enhanced-rc mw-changeslist-ns' . $block[0]->mAttribs['rc_namespace'] . '-' . $block[0]->mAttribs['rc_title'] ); |
| 745 | + $classes = 'mw-enhanced-rc ' . Sanitizer::escapeClass( 'mw-changeslist-ns' . $block[0]->mAttribs['rc_namespace'] . '-' . $block[0]->mAttribs['rc_title'] ); |
746 | 746 | } |
747 | 747 | $r = Html::openElement( 'table', array( 'class' => $classes ) ) . |
748 | 748 | Html::openElement( 'tr' ); |
— | — | @@ -1061,9 +1061,9 @@ |
1062 | 1062 | |
1063 | 1063 | if( $rc_log_type ) { |
1064 | 1064 | # Log entry |
1065 | | - $classes = Sanitizer::escapeClass( 'mw-enhanced-rc mw-changeslist-log-' . $rc_log_type . '-' . $rcObj->mAttribs['rc_title'] ); |
| 1065 | + $classes = 'mw-enhanced-rc ' . Sanitizer::escapeClass( 'mw-changeslist-log-' . $rc_log_type . '-' . $rcObj->mAttribs['rc_title'] ); |
1066 | 1066 | } else { |
1067 | | - $classes = Sanitizer::escapeClass( 'mw-enhanced-rc mw-changeslist-ns' . $rcObj->mAttribs['rc_namespace'] . '-' . $rcObj->mAttribs['rc_title'] ); |
| 1067 | + $classes = 'mw-enhanced-rc ' . Sanitizer::escapeClass( 'mw-changeslist-ns' . $rcObj->mAttribs['rc_namespace'] . '-' . $rcObj->mAttribs['rc_title'] ); |
1068 | 1068 | } |
1069 | 1069 | $r = Html::openElement( 'table', array( 'class' => $classes ) ) . |
1070 | 1070 | Html::openElement( 'tr' ); |