r83486 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83485‎ | r83486 | r83487 >
Date:21:17, 7 March 2011
Author:krinkle
Status:ok
Tags:
Comment:
removing fallback, not needed (messages are in-core and defined in Resources.php). FU: r78966
Modified paths:
  • /trunk/phase3/resources/jquery/jquery.makeCollapsible.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/jquery/jquery.makeCollapsible.js
@@ -203,10 +203,10 @@
204204
205205 // Use custom text or default ?
206206 if( !collapsetext || collapsetext === '' ){
207 - collapsetext = mw.msg( 'collapsible-collapse', 'Collapse' );
 207+ collapsetext = mw.msg( 'collapsible-collapse' );
208208 }
209209 if ( !expandtext || expandtext === '' ){
210 - expandtext = mw.msg( 'collapsible-expand', 'Expand' );
 210+ expandtext = mw.msg( 'collapsible-expand' );
211211 }
212212
213213 // Create toggle link with a space around the brackets ( [text] )

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r78966Adding fallback for collapsible messageskrinkle15:27, 24 December 2010

Status & tagging log