User:Cmorse/Notebook/MediaWiki for Open Science/2009/02/03

From OpenWetWare

Jump to: navigation, search
Main project page
Previous entry      Next entry

Entry title

  • Added support for enabling plugin for specific users only.
    • Configured by using an array of usernames (in all lowercase) in LocalSettings.php with variable name $wgLiveSaverAllowedUsers. Tested it and it works exactly as it is supposed to. With the icon and the scripts never being loaded by the browser.
Example: $wgLiveSaverAllowedUsers = array('cmorse', 'admin', 'sjkoch');
  • Added support for internationalization of messages. Unsure of how to test if it will actually work in other languages though...

diff


Personal tools