Topic on Project:Support desk

Show/Hide button texts displayed as <hidetoc> for table of contents

5
Sridhar.chalimeti (talkcontribs)

Hi All,

I am having some strange issue with table of contents in my wiki Show/Hide are displayed as <hidetoc> instead of Hide. Can any one help me why this is happening?

Thanks, Sridhar

Florianschmidtwelzow (talkcontribs)

That's because the message key can't be found in the messages for this language. In which language you try to view the page? Do you use any localisationCache? You could try to run the Manual:RebuildLocalisationCache.php maintenance script (have you disabled the automatic refresh of messages on a web request via the Manual:$wgLocalisationCacheConf config?).

Sridhar.chalimeti (talkcontribs)

Hi,

Thank for your response, it makes more sense to me what you have explained. I am very new to Mediawiki, could you please specify the files and its location and process to edit/execution message key related changes.

I am trying view the Wiki page in english only, I did not use any localaisation cache.

Regards, Sridhar

Sridhar.chalimeti (talkcontribs)

Hi All,

      I am new to mediawiki and php.  In table of contents, hide text displaying as<hidetoc> , show text dispalying as <showtoc>. can someone help on this to find solution to resolve.
Ciencia Al Poder (talkcontribs)

rebuildLocalisationCache.php is located in the maintenance folder. You need to run it from command line. See Manual:Maintenance scripts. Sice you advertise you're new to MediaWiki and PHP, I guess you haven't touched $wgLocalisationCacheConf.

Reply to "Show/Hide button texts displayed as <hidetoc> for table of contents"