Jump to content

Topic on Manual talk:SkinMustache.php

FunkyBeats99 (talkcontribs)

Hello; I am facing a surprising issue: on a brand new install of MW-1.38.4, the 'data-toc' array is not loaded unless forcing display with Ctrl+Maj+R. Impossible to display the table of contents. I tested with SkinJson skin: the problem seems to stem from the PHP part, not from the Mustache templates. JSON output is:

data-toc: []

and when forcing the page to load with cache override (Ctrl+Maj+R), it loads correctly all the nested 'array-sections'. Tried also to look at caching, but it doesn't change anything whether cache is disabled or not in LocalSettings.php. Anyone has an idea ? Thanks in advance and sorry if I don't see the obvious...

FunkyBeats99 (talkcontribs)

Tried switching from PHP 7.3.33 to 7.4.33, did not solve the problem.

FunkyBeats99 (talkcontribs)

Switching to MediaWiki 1.39 solved the problem; I don't really know why...

Reply to "data-toc not loaded"