Extension talk:CollapsableText

From mediawiki.org
Latest comment: 11 years ago by in topic Not compatible with MW 1.19.x

Bot read collapsed text[edit]

Can Google search bot read collapsed text?

Control images don't display in MW 1.16[edit]

The images hide.png, show.png and empty.png don't display on my mediawiki (version 1.16) page. The text displays and functions perfectly but the image is just a square with a red cross in it to indicate an error in displaying an image. Any suggestions for how to either remove the image altogether or get it working? 01:47, 28 August 2011 (UTC)Reply[reply]

  • The images do not show because of wrong pathes in CollapsableText.php. Modifying the following lines did solve the bug on my installation:
    $wgCollapsableTextHideIcon = $wgScriptPath.'/extensions/CollapsableText/public/hide.png';
    $wgCollapsableTextShowIcon = $wgScriptPath.'/extensions/CollapsableText/public/show.png';
    $wgCollapsableTextEmptyIcon = $wgScriptPath.'/extensions/CollapsableText/public/empty.png';

    Another bug is that the first parameters in the define-commands in CollapsableText.php are not enclosed in ' ' or " ". That lead to some error-messages on every wiki-page.
    define('COLLAPSABLETEXT_EXT_NAME', 'CollapsableText');

    Nugman 10:44, 9 January 2012 (UTC)Reply[reply]

Tried the changes mentioned above but still we are not able to see the image. Also when you create a new page and insert the following text:

"<collapsetext>This is the Title (always visible). This is the collapsed text (visible when not collapse).</collapsetext>"

I can see collapse working by clicking on square with a red cross in it. But next time I go to the same page again collapse doesnt work. Please let me know if I am missing something.

Not compatible with MW 1.19.x[edit]

Gives lots of PHP errors. -- 00:19, 28 September 2012 (UTC)Reply[reply]