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

From OpenWetWare
Jump to navigationJump to search
(Autocreate 2009/02/03 Entry for User:Cmorse/Notebook/MediaWiki_for_Open_Science)
 
No edit summary
Line 6: Line 6:
<!-- ##### DO NOT edit above this line unless you know what you are doing. ##### -->
<!-- ##### DO NOT edit above this line unless you know what you are doing. ##### -->
==Entry title==
==Entry title==
* Insert content here...
* 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...


[http://cmorse.svnrepository.com/pub/trac.cgi/changeset?old_path=%2Fextensions%2Fmediawiki%2FLiveSaver&old=11&new_path=%2Fextensions%2Fmediawiki%2FLiveSaver&new=12 diff]


<!-- ##### DO NOT edit below this line unless you know what you are doing. ##### -->
<!-- ##### DO NOT edit below this line unless you know what you are doing. ##### -->

Revision as of 14:29, 3 February 2009

<html><img src="/images/9/94/Report.png" border="0" /></html> Main project page
<html><img src="/images/c/c3/Resultset_previous.png" border="0" /></html>Previous entry<html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</html>Next entry<html><img src="/images/5/5c/Resultset_next.png" border="0" /></html>

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