Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewDiff.php |
— | — | @@ -316,13 +316,9 @@ |
317 | 317 | if ( $old == $new ) { |
318 | 318 | $old = implode( "<br/>\n", $old ); |
319 | 319 | $new = implode( "<br/>\n", $new ); |
320 | | - return $this->getSimpleRow( $msg, $old, $new ); |
| 320 | + return $this->getSimpleRow( $msg, $old, $new, 'text' ); |
321 | 321 | } |
322 | 322 | |
323 | | - // Hacky fix for double-escaping. |
324 | | - $old = array_map( 'html_entity_decode', $old ); |
325 | | - $new = array_map( 'html_entity_decode', $new ); |
326 | | - |
327 | 323 | $row = ''; |
328 | 324 | $row .= Xml::tags( 'th', null, wfMsgExt( $msg, 'parseinline' ) ); |
329 | 325 | |
Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewHistory.php |
— | — | @@ -56,7 +56,7 @@ |
57 | 57 | } |
58 | 58 | |
59 | 59 | // Add filtering of changes et al. |
60 | | - $fields['abusefilter-history-select-user'] = wfInput( 'user', 45, $user ); |
| 60 | + $fields['abusefilter-history-select-user'] = Xml::input( 'user', 45, $user ); |
61 | 61 | |
62 | 62 | $filterForm = Xml::buildForm( $fields, 'abusefilter-history-select-submit' ); |
63 | 63 | $filterForm .= "\n" . Xml::hidden( 'title', $this->getTitle( "history/$filter" ) ); |