Topic on Project:Support desk

"$wgEnableScaryTranscluding = true" brings down wiki

4
Ciciban (talkcontribs)

Dear All

Here I got the advise to use Scary Transcluding to exchange content between wikis.

After a lot of confusion I understand now, that Extension:Interwiki will not make redundant to set "$wgEnableScaryTranscluding = true" in LocalSettings.php.

However, as soon as I set the command, my wiki will deliver an error screen with the following message:

Diese Seite funktioniert nicht

localhost kann diese Anfrage momentan nicht verarbeiten.
HTTP ERROR 500

Can you give me advise how to solve the problem or at least where to look for the cause?

Thank you in advance!

197.218.81.140 (talkcontribs)

That's why it is called scary transclusion. It is incredibly inefficient, and in fact, the variable itself is a way to scare off people from using it:

Manual:$wgEnableScaryTranscluding#Details

It might be better to use the mediawiki API and javascript to obtain content from another wiki.

Ciencia Al Poder (talkcontribs)

If your wiki breaks (any page) when you add that line in LocalSettings.php, then you've made a typo or syntax error when editing LocalSettings.php. Try to find the typo and fix it. Maybe you missed the semicolon at the end of the line?

Ciciban (talkcontribs)

@User:Ciencia Al Poder,
Thanks for reminding me of my fallibility. That restrains me from starting world wars and dooming innocent souls into purgatory. In rare cases, a closing semicolon is the better measure.
Yours, Ciciban (talk) 11:37, 21 August 2017 (UTC)