Mediawiki/QuickReference

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
 
:wiki db name, username, & password can be found in the mediawiki config, LocalSettings.php
 
:wiki db name, username, & password can be found in the mediawiki config, LocalSettings.php
 
  sudo -s
 
  sudo -s
  mysqldump -u <user> -p <db name> > wikidatabasebackup.sql
+
  mysqldump -u <user> -p <db name> --password > wikidatabasebackup.sql
 
  i.e.
 
  i.e.
  mysqldump -u wikiuser -p wikidb > /var/www/mediawiki/backup/wikidatabasebackup10_4_12.sql
+
  mysqldump -u wikiuser -p wikidb --password > /var/www/mediawiki/backup/wikidatabasebackup10_4_12.sql
 
<br\>
 
<br\>
 
;Remove the discussion tab from all pages.  Add the following to the MediaWiki:Common.css page (which is accessible by typing that into the search box on the wiki - i.e. type MediaWiki:Common.css into the search field)
 
;Remove the discussion tab from all pages.  Add the following to the MediaWiki:Common.css page (which is accessible by typing that into the search box on the wiki - i.e. type MediaWiki:Common.css into the search field)
 
  ca-talk { display:none!important; }
 
  ca-talk { display:none!important; }

Revision as of 17:11, 11 March 2014

Edit sidebar, place after domain
/index.php?title=MediaWiki:Sidebar&action=edit


Allow anonymous users to view all pages
change the following in LocalSettings.php
$wgGroupPermissions['*']['read'] = true;


backup wiki mysql db
wiki db name, username, & password can be found in the mediawiki config, LocalSettings.php
sudo -s
mysqldump -u <user> -p <db name> --password > wikidatabasebackup.sql
i.e.
mysqldump -u wikiuser -p wikidb --password > /var/www/mediawiki/backup/wikidatabasebackup10_4_12.sql


Remove the discussion tab from all pages. Add the following to the MediaWiki
Common.css page (which is accessible by typing that into the search box on the wiki - i.e. type MediaWiki:Common.css into the search field)
ca-talk { display:none!important; }
Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Open Source Products
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
MagicMirror
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
Politics
Volkswagen
Covid
NCDMV
Toolbox