Hi. Anyone see anything in here to explain why my userprefs are locked (cannot be changed at all)?


## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook', 'vector':
$wgDefaultSkin = "vector";

## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl  = "";
$wgRightsText = "";
$wgRightsIcon = "";

# Path to the GNU diff3 utility. Used for conflict resolution.
$wgDiff3 = "/usr/bin/diff3";

# Query string length limit for ResourceLoader. You should only set this if your webserver # has a query string length limit (then set it to that limit), or if you have
# suhosin.get.max_value_length set in php.ini (then set it to that value)
$wgResourceLoaderMaxQueryLength = -1;

# End of automatically generated settings.
# Add more configuration options below.
# ============================================================================ # ============================================================================

# Disable reading by anonymous users
$wgGroupPermissions['*']['read'] = false;

# But allow them to access the login page or else there will be no way to log in! # NOTE: You also need to provide access here to the .css and .js files that the
# allowed pages attempt to load; otherwise users will get errors on the page
# when they attempt to load it (Internet Explorer will complain about the errors;
# Firefox will show them in its error console).
# (You also might want to add access to "Main Page", "Wikipedia:Help", etc.)
$wgWhitelistRead = array ("Main Page", "Special:UserLogout", "MediaWiki:Common.css", "MediaWiki:Common.js", "MediaWiki:Monobook.css", "MediaWiki:Monobook.js", "MediaWiki:Vector.css", "-"); # Note - With r105428 Special:PasswordReset is always whitelisted, as are Special:ChangePassword and Special:UserLogin

# Disable anonymous editing
$wgGroupPermissions['*']['edit'] = false;

# Hide the section edit links for users who are not logged in
$wgDefaultUserOptions ['editsection'] = false;

# Hide personal tool links (links to user page and user talk page) for anonymous visitors ("IPs"). # Doing this allows for improved caching, because all anonymous visitors can then be served
# the exact same version of each page.
$wgShowIPinHeader = false;

# Prevent new user registrations except by sysops
$wgGroupPermissions['*']['createaccount'] = false;

# Gimme interwiki table edit rights
$wgGroupPermissions['sysop']['interwiki'] = true;

# FAVICON IDENTITY
$wgFavicon = "$wgScriptPath/favicon.ico";

# OPERATIONAL CUSTOMIZATIONS
# Enable file uploads
$wgFileExtensions = array_merge($wgFileExtensions, array( 'txt', 'doc', 'docx', 'xls', 'xlsx', 'pdf', 'svg', 'mp3' ));

# EXTENSIONS
require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
$wgPFEnableStringFunctions = true;
require_once( "$IP/extensions/Gadgets/Gadgets.php" );
require_once("$IP/extensions/UserRightsList/UserRightsList.php");
require_once( "$IP/extensions/CharInsert/CharInsert.php" );

# Enable WikiEditor
require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
##############Enable use of WikiEditor by default but still allow users to disable it in preferences.
$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
##############Display the Preview and Changes tabs
$wgDefaultUserOptions['wikieditor-preview'] = 1;
##############Display the Publish and Cancel buttons on the top right side (IMPORTANT NOTE I HAVE MODIFIED THE
##CODE TO MAKE THESE WORK).
$wgDefaultUserOptions['wikieditor-publish'] = 1;

# Enable Vector extension
require_once("$IP/extensions/Vector/Vector.php");
##############Allow users to enable EditWarning in their preferences.
$wgVectorFeatures['editwarning']['user'] = true;
##############Allow users to enable CollapsibleTabs in their preferences.
$wgVectorFeatures['collapsibletabs']['user'] = true;
##############Allow users to enable CollapsibleNav in their preferences.
$wgVectorFeatures['collapsiblenav']['user'] = true;
##############Allow users to enable FooterCleanup in their preferences.
$wgVectorFeatures['footercleanup']['user'] = true;
##############Enable Section Edit Links globally.
##########################################$wgVectorFeatures['sectioneditlinks']['global'] = true;
##############Allow users to enable Section Edit Links in their preferences.
##########################################$wgVectorFeatures['sectioneditlinks']['user'] = true;
##############Enable Simple Search
$wgVectorUseSimpleSearch = true;
##############Enable ExpandableSearch globally.
$wgVectorFeatures['expandablesearch']['global'] = true;
##############Allow users to enable Expandable Search in their preferences.
##############$wgVectorFeatures['expandablesearch']['user'] = true;
###########################################################################
###########################################################################
############## CURRENT PROBLEMS
##############
############## SCROLLBAR IN SEARCH BOX
##############
############## CANNOT CHANGE PREFS
##############
############## VECTOR sectioneditlinks SETTINGS MESS UP PREFS PAGE,
############## AND DON'T SEEM TO BE NECESSARY ANYWAY
##############
############## WIKIEDITOR CANCEL BUTTON NOT WORKING
############## DESPITE APPLICATION OF THE HACK,
############## WHICH DID WORK EARLIER.
###########################################################################
###########################################################################
# Interwiki
require_once( "$IP/extensions/Interwiki/Interwiki.php" );
## Grant sysops permissions to edit interwiki data
$wgGroupPermissions['sysop']['interwiki'] = true;
## Create a new user group that may edit interwiki data (bureaucrats can add users to this group)
## $wgGroupPermissions['developer']['interwiki'] = true;

# Enable Short URLs
# http://www.mediawiki.org/wiki/Manual:Short_URL
$wgUsePathInfo = true;
$wgScriptPath = "/wiki";
$wgArticlePath = "/wiki/$1";



_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to