Difference between revisions of "Media Wiki Notes"

From wikidb
Jump to: navigation, search
(Customize Sidebar)
(Customize Sidebar)
Line 47: Line 47:
  
 
With the admin account I gave myself administration rights
 
With the admin account I gave myself administration rights
 +
* [http://10.0.0.9/wiki/index.php/Special:UserRights http://10.0.0.9/wiki/index.php/Special:UserRights]
 +
** [[Special:UserRights]]
  
 
* [http://10.0.0.9/wiki/index.php/MediaWiki:Sidebar http://10.0.0.9/wiki/index.php/MediaWiki:Sidebar] Page to edit
 
* [http://10.0.0.9/wiki/index.php/MediaWiki:Sidebar http://10.0.0.9/wiki/index.php/MediaWiki:Sidebar] Page to edit
 
* [https://www.mediawiki.org/wiki/Manual:Interface/Sidebar Sidebar Reference]
 
* [https://www.mediawiki.org/wiki/Manual:Interface/Sidebar Sidebar Reference]

Revision as of 09:59, 26 April 2016

Help

Local Settings

 /var/www/html/wiki/LocalSettings.php

Backup

 tar czf wiki20150506.tgz /var/www/html/wiki/
 
 cd ~/dbbackup
 tar czf wiki20150506.tgz /var/www/html/wiki/

Clean up

 cd /var/www/html/wiki/maintenance/
 sudo php removeUnusedAccounts.php --delete

Restart Apache

 sudo service apache2 restart

Block and Enable the Wiki

 sudo /var/www/html/wiki 700
 sudo /var/www/html/wiki 755

Special Pages

  • Blocked
  • List Users
  • Dead End Pages

Enable Uploading Files

From /var/www/html/wiki

 sudo chown -R www-data:www-data images

Enable in LocalSettings.php

 diff LocalSettings.php LocalSettings.php.2150315 
   77c77
   < $wgEnableUploads = true;
   ---
   > $wgEnableUploads = false;

Customize Sidebar

With the admin account I gave myself administration rights