MediaWiki
Jump to navigation
Jump to search
Usage
Markup
Hotkeys
Config
- http://www.mediawiki.org/wiki/Manual:Configuration
- http://www.mediawiki.org/wiki/Manual:System_administration
- http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker
Setup
MediaWiki:Privacy MediaWiki:Aboutsite MediaWiki:Disclaimers
Skinning
Tools
- http://en.wikipedia.org/wiki/Wikipedia:Tools
- http://www.mediawiki.org/wiki/Manual:Maintenance_scripts
Content
Users and permissions
- Special:UserRights - User rights management
- http://www.mediawiki.org/wiki/Manual:User_rights
- http://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions
Namespace protection
# Only allow autoconfirmed users to edit Project namespace $wgNamespaceProtection[NS_PROJECT] = array( 'autoconfirmed' ); # Don't allow anyone to edit non-talk pages until they've confirmed their # e-mail address (assuming we have no custom namespaces and allow edits # from non-emailconfirmed users to start with) # Note for 1.13: emailconfirmed group and right were removed from default # setup, if you want to use it, you'll have to re-enable it manually $wgNamespaceProtection[NS_MAIN] = $wgNamespaceProtection[NS_USER] = $wgNamespaceProtection[NS_PROJECT] = $wgNamespaceProtection[NS_IMAGE] = $wgNamespaceProtection[NS_TEMPLATE] = $wgNamespaceProtection[NS_HELP] = $wgNamespaceProtection[NS_CATEGORY] = array( 'emailconfirmed' ); # Only allow sysops to edit "Policy" namespace $wgGroupPermissions['sysop']['editpolicy'] = true; $wgNamespaceProtection[NS_POLICY] = array( 'editpolicy' );
Anti-spam
Layout
Resources
Social
Nginx
- Manual:Short URL/wiki/Page title -- nginx rewrite--root access
- Manual:Short URL/Page title - nginx, Root Access, PHP as a CGI module
Upgrade
Download latest, extract on-top of current;
tar xvzf mediawiki-1.19.1.tar.gz -C . --strip-components=1 php maintenance/update.php
Upgrade required DB grants for: select, insert, update, delete, alter, index
Backup
change vars;
nice -n 19 mysqldump -u $USER --password=$PASSWORD $DATABASE -c nice -n 19 gzip -9 > wiki-$DATABASE-$(date '+%Y%m%d').sql.gz
- http://serom.no-ip.org/index.php/Backup_du_SeRoM_Wiki - bash script, send backup to remote