r91136 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91135‎ | r91136 | r91137 >
Date:23:06, 29 June 2011
Author:krinkle
Status:ok
Tags:
Comment:
follow-up r91135: update demos
Modified paths:
  • /trunk/tools/ToolserverI18N/ToolStart.php (modified) (history)
  • /trunk/tools/ToolserverI18N/public_html/demo/demo5.php (modified) (history)

Diff [purge]

Index: trunk/tools/ToolserverI18N/ToolStart.php
@@ -20,6 +20,6 @@
2121
2222
2323 // Files
24 -require_once( __DIR__ . '/Defines.php' )
 24+require_once( __DIR__ . '/Defines.php' );
2525 require_once( __DIR__ . '/TsIntuitionUtil.php' );
2626 require_once( __DIR__ . '/TsIntuition.php' );
Index: trunk/tools/ToolserverI18N/public_html/demo/demo5.php
@@ -7,9 +7,10 @@
88 /* Demonstration */
99 echo $I18N->dashboardBacklink();
1010 echo $I18N->getPromoBox();
11 -echo $I18N->getFooterLine();
12 -echo $I18N->getFooterLine( false );
13 -echo $I18N->getFooterLine( true );
 11+echo $I18N->getFooterLine(); // defaults to TSINT_HELP_CURRENT
 12+echo $I18N->getFooterLine( 'orphantalk2' );
 13+echo $I18N->getFooterLine( TSINT_HELP_NONE );
 14+echo $I18N->getFooterLine( TSINT_HELP_ALL );
1415
1516 /* View source */
1617 view_source( __FILE__ );

Follow-up revisions

RevisionCommit summaryAuthorDate
r91139Oh, I know you did send me back to the future. But I'm back! I'm back from th...krinkle23:10, 29 June 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91135Use constants instead of meaningless valueskrinkle23:03, 29 June 2011

Status & tagging log