Extension:PrefSwitch

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
PrefSwitch

Release status: beta

Description Allow users to switch sets of preferences
Author(s) Trevor Parscal, Roan Kattouw
MediaWiki 1.17+
Database changes yes
License GPL v2
Download
README
Example Wikipedia Prototype
Hooks used
LoadExtensionSchemaUpdates

BeforePageDisplay
MakeGlobalVariablesScript
ResourceLoaderRegisterModules
ParserTestTables

Check usage (experimental)

PrefSwitch was developed specifically to be run as part of the Beta rollout on Wikimedia wikis; it may or may not be useful to third-party users. The extension can of course be run on non-WMF wikis, but documentation is very limited.

This extension has been migrated from Extension:UsabilityInitiative. During this migration this extension was ported to make use of ResourceLoader functionality, making it only compatible with MediaWiki 1.17+.
If you are upgrading from the UsabilityInitiative (MediaWiki 1.16 compatible) version, you may need to pay attention to the change in naming for configuration variables. See README for an example.

[edit] Installation

  1. Get the extension with distributor or svn and drop it into MediaWiki directory /extensions
  2. Setup your LocalSettings.php:
    require_once("$IP/extensions/PrefSwitch/PrefSwitch.php");
    
    for more details about the settings go to README file.
  3. Run php maintenance/update.php from the command line (see update.php and also here)
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox