Index: trunk/phase3/includes/SpecialVersion.php |
— | — | @@ -193,7 +193,7 @@ |
194 | 194 | foreach ($myWgHooks as $hook => $hooks) |
195 | 195 | $ret .= "<tr><td>$hook</td><td>" . $this->listToText( $hooks ) . "</td></tr>\n"; |
196 | 196 | |
197 | | - $ret .= '</table>'; |
| 197 | + $ret .= Xml::closeElement( 'table' ); |
198 | 198 | return $ret; |
199 | 199 | } else |
200 | 200 | return ''; |
— | — | @@ -232,6 +232,7 @@ |
233 | 233 | */ |
234 | 234 | function listToText( $list ) { |
235 | 235 | $cnt = count( $list ); |
| 236 | + sort( $list ); |
236 | 237 | |
237 | 238 | if ( $cnt == 1 ) { |
238 | 239 | // Enforce always returning a string |