Extension talk:CollapsableText
Add topicBot 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? 82.41.114.164 01:47, 28 August 2011 (UTC)
- 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 inCollapsableText.php
are not enclosed in ' ' or " ". That lead to some error-messages on every wiki-page.define('COLLAPSABLETEXT_EXT_NAME', 'CollapsableText');
define('COLLAPSABLETEXT_EXT_VERSION', '1.0');
Nugman 10:44, 9 January 2012 (UTC)
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. --173.13.177.204 00:19, 28 September 2012 (UTC)