r82801 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82800‎ | r82801 | r82802 >
Date:16:38, 25 February 2011
Author:maxsem
Status:ok
Tags:
Comment:
SyntaxHighlight_GeSHi: collapse language list by default to look less scary
Modified paths:
  • /trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php
@@ -307,7 +307,7 @@
308308 foreach( $langs as $lang ) {
309309 $list[] = '<samp>' . htmlspecialchars( $lang ) . '</samp>';
310310 }
311 - return '<p style="padding: 0em 1em;">' . implode( ', ', $list ) . '</p>';
 311+ return '<p class="mw-collapsible mw-collapsed" style="padding: 0em 1em;">' . implode( ', ', $list ) . '</p><br style="clear: all"/>';
312312 } else {
313313 return '<p>' . htmlspecialchars( wfMsgForContent( 'syntaxhighlight-err-loading' ) ) . '</p>';
314314 }

Status & tagging log