PHP
Mediawiki's Openness Is Not a Good Thing Anymore
Submitted by ross on Sun, 07/20/2008 - 10:52.Spammers found my MediaWiki based website, and flooded the site with over 1.2GB of link spam. To fix this, I locked down my site, so only sysops can change it, by adding the following to the end of my LocalSettings.php file:
// Implicit group for all visitors $wgGroupPermissions['*' ]['createaccount'] = true; $wgGroupPermissions['*' ]['read'] = true; $wgGroupPermissions['*' ]['edit'] = false; $wgGroupPermissions['*' ]['createpage'] = false; $wgGroupPermissions['*' ]['createtalk'] = false; // Implicit group for all logged-in accounts $wgGroupPermissions['user' ]['move'] = false; $wgGroupPermissions['user' ]['read'] = true; $wgGroupPermissions['user' ]['edit'] = false; $wgGroupPermissions['user' ]['createpage'] = false; $wgGroupPermissions['user' ]['createtalk'] = false; $wgGroupPermissions['user' ]['upload'] = false; $wgGroupPermissions['user' ]['reupload'] = false; $wgGroupPermissions['user' ]['reupload-shared'] = false; $wgGroupPermissions['user' ]['minoredit'] = false; // Implicit group for accounts that pass $wgAutoConfirmAge $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true; // Implicit group for accounts with confirmed email addresses // This has little use when email address confirmation is off $wgGroupPermissions['emailconfirmed']['emailconfirmed'] = true; // Users with bot privilege can have their edits hidden // from various log pages by default $wgGroupPermissions['bot' ]['bot'] = true; $wgGroupPermissions['bot' ]['autoconfirmed'] = true; $wgGroupPermissions['bot' ]['nominornewtalk'] = true; // Most extra permission abilities go to this group $wgGroupPermissions['sysop' ]['move'] = true; $wgGroupPermissions['sysop' ]['edit'] = true; $wgGroupPermissions['sysop' ]['createpage'] = true;
- ross's blog
- Login or register to post comments
- Read more
php_installer 1.12 (for PHP 5.2.6) has been released (06-Jun-08)
Submitted by ross on Sat, 06/07/2008 - 14:47.php_installer is an NSIS installer I whipped up to download and install PHP 5.2.6, PECL, the PHP CHM manual, and the Zend Optimizer found at http://www.php.net.
You can download the binary here and the binary with the source code here. Here's the changelog.txt:- ross's blog
- Login or register to post comments
- Read more
php_installer 1.12 (for PHP 5.2.6) has been released (annoucement)
Submitted by ross on Sat, 06/07/2008 - 14:46.Details at http://smithii.com/php_installer.
This seemingly duplicate entry has been created as some RSS readers, such as Google Reader, do not display updates to existing blog entries, even if the update date was changed. This entry will be deleted in a week or so. Therefore, please do not post comments to this entry. Post them to the above URL instead. Thanks!
- ross's blog
- Login or register to post comments
php4_installer 1.5 (for PHP 4.4.8) has been released (23-Jan-08)
Submitted by ross on Wed, 01/23/2008 - 21:25.php4_installer is an NSIS installer I whipped up to download and install PHP 4.4.8, and the PHP CHM manual found at http://www.php.net.
You can download the binary here and the binary with the source code here.- ross's blog
- Login or register to post comments
- Read more
php_installer 1.11 (for PHP 5.2.5) has been released (annoucement)
Submitted by ross on Mon, 12/31/2007 - 09:25.Details at http://smithii.com/php_installer.
This seemingly duplicate entry has been created as some RSS readers, such as Google Reader, do not display updates to existing blog entries, even if the update date was changed. This entry will be deleted in a week or so. Therefore, please do not post comments to this entry. Post them to the above URL instead. Thanks!
- ross's blog
- Login or register to post comments
