Topic on Project:Support desk

Extensions not appearing in special verison

9
Ramvenkey6278 (talkcontribs)

Mediawiki not loading any of the extensions, i am trying to add pluggablesso, pluggableauth and samlphp, i couldnt see any of the extensions in Special:Version


Windows 2019

MWIKi 1.35.8

Php 7.3.25

Bawolff (talkcontribs)

What did you put in LocalSettings.php ?

Ramvenkey6278 (talkcontribs)

Tried this first

wfLoadExtension( 'PluggableSSO' );


and then


require_once "$IP/extensions/PluggableSSO\src\PluggableSSO.php";


and upgrade using "mw-config"

Bawolff (talkcontribs)

You should definitely use the wfLoadExtension version, not the require_once.


So what happened when you added the wfLoadExtension? Was there an error, did it show up in special:version?

Ramvenkey6278 (talkcontribs)

Thank you for your reply, i tried both option, No error, it is not showing up in special version.


Now i got only this wfLoadExtension( 'PluggableSSO' );

Bawolff (talkcontribs)

Are you sure you are editing the correct LocalSettings.php?

You can test by putting die("test"); in LocalSettings.php temporarily, which will replace your entire wiki with the word "test" until you remove it from LocalSettings.php

Ramvenkey6278 (talkcontribs)

that is interesting, after adding this line in die("test"); to localsettings.php, still the site is showing up all the contents, not test page.

Ramvenkey6278 (talkcontribs)

I manage to fix this, i had to recreate localsettings.php, as the old one is not updating, i can confirm, i can see the extension under special version.

Thank you for your help

Bawolff (talkcontribs)

Hmm. That's weird. If i were to guess, some sort of issue with php opcache.

Reply to "Extensions not appearing in special verison"