User:Vincent/Mediawiki customizations

From Lazarus wiki
Jump to navigationJump to search
  • Enable subpages in the main namespace. Change $wgNamespacesWithSubpages in include/DefaultSettings.
  • Add sourceforge logo ... (how did I do that again?).
$wgDisableUploads		= false;

$wgWhitelistEdit = true;

$wgSysopRangeBans = true; # added by vsnijders
$wgSysopUserBans = true;

In SpecialUserlogin.php, AddNewAccount:

	# vsnijders, added to prevent wiki link spam users.
	list($x) = sscanf($this->mName, "%x");
	if ((strtolower($this->mName) == sprintf("%x", $x)) and
		(6 == strlen($this->mName)) and empty($this->mEmail)) {
		return;
	}

http://meta.wikimedia.org/wiki/Upgrade_from_1.3_to_1.4

possible new enhancements