Extension talk:PrefSwitch

From MediaWiki.org
Jump to: navigation, search
Start a new discussion

PrefSwitch: Impossible to make running PrefSwitch on brand new mediawiki installation, both local or hosted

Product Version MediaWiki 1.18.1 PHP 5.3.3 (cgi-fcgi) MySQL 5.0.51a-24+lenny5-log PrefSwitch (Version 0.1.2) $wgDefaultSkin = "vector";

Installation instruction followed: http://www.mediawiki.org/wiki/Extension:PrefSwitch http://www.mediawiki.org/wiki/Manual:Update.php

Problem: Although the extension is installed, and php restarted (locally with a terminal, and hosted via web process), the extension does not appear at all. Only the standard vector MediaWiki 1.18.1 edit tool is present when editing.

I'm blocked with this. I really do not know how to solve it. I've read dozens of pages about.

Thanks for your help

90.19.25.10020:44, 30 January 2012

Probably help if you told us how you had it configured (like do you have $wgPrefSwitchShowLinks = true; at the very bottom of your LocalSettings.php - which is needed to enable the link at the top of the page)

Note, that extension was mostly a 1 time thing needed by Wikipedia. I don't think anyone is currently maintaining it, so there could be some bit-rot with the extension itself.

Bawolff02:13, 2 February 2012
 

"Setup your LocalSettings.php as explained in README file."

The linked readme doesn't explain how to edit LocalSettings.php. Or does the php code in the readme has to be copied into the LocalSettings.php?

Add
require_once("$IP/extensions/PrefSwitch/PrefSwitch.php");
on the bottom of LocalSettings.php.
Marcin Łukasz Kiejzik16:16, 7 February 2012
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox