From 61c52fcdd57aeb63d31235f0f9f8ad1dfedca3b5 Mon Sep 17 00:00:00 2001 From: Krinkle Date: Fri, 24 Dec 2010 15:27:11 +0000 Subject: [PATCH] Adding fallback for collapsible messages --- resources/jquery/jquery.makeCollapsible.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/jquery/jquery.makeCollapsible.js b/resources/jquery/jquery.makeCollapsible.js index 0b4b85de5c..984efa2a80 100644 --- a/resources/jquery/jquery.makeCollapsible.js +++ b/resources/jquery/jquery.makeCollapsible.js @@ -76,10 +76,10 @@ $.fn.makeCollapsible = function() { // Use custom text or default ? if( !collapsetext || collapsetext == '' ){ - collapsetext = mw.msg( 'collapsible-collapse' ); + collapsetext = mw.msg( 'collapsible-collapse', 'Collapse' ); } if ( !expandtext || expandtext == '' ){ - expandtext = mw.msg( 'collapsible-expand' ); + expandtext = mw.msg( 'collapsible-expand', 'Expand' ); } // Create toggle link with a space around the brackets ( [text] ) -- 2.20.1