MediaWiki
A journey of David Spencer's faith in Jesus Christ, exploration of Christian faith and Canadian Christians working in media.
Today is Saturday November 23, 2024 in Canada. This is the day that the Lord has made; we will rejoice and be glad in it. (Psalm 118:24)
Find an Association, Bible passage, glossary term, media resource, person or search.
MediaWiki
MediaWiki is a free software wiki engine package originally written for Wikipedia. The software runs on a web server and requires PHP and a MySQL database running on the same web server. MediaWiki is now used by several other projects of the non-profit Wikimedia Foundation and by many other wikis, including MediaWiki a project of the Wikimedia foundation.
Source: http://www.mediawiki.org/wiki/MediaWiki
MediaWiki Commands
- Edit the sidebar on the far left
- Edit the site notice tagline at the top of the page
- To purge a page add ?action=purge to the end of the URL. If you use long style URLs, you'll need this syntax: &action=purge
- Add a table.
- How do I change the title of my web site? You need to set $wgSitename in your LocalSettings.php.
- How do I allow external images to appear in my wiki? Add $wgAllowExternalImages = true; to your LocalSettings.php
- How do I change the logo for my wiki web site?
- To rediret a page add #REDIRECT [[pagename]]
- How do I change which page is the main page?
- How do I change the text message (sitenotice) on every page? Change the MediaWiki:Sitenotice.
- How do I change the footer at the bottom of every page?
- How can I add a web URL ad not have it hyperlink?Put "<nowiki>" tags around the url or tag.
Example: <nowiki>http://somwhere.in.the.net/myproject/</nowiki>
- How do I Open external links in a new window.
Version < 1.5.x 1. Open Includes/Skin.php or Includes/Linker.php 2. Find "function getExternalLinkAttributes" 3. Replace $r .= " title=\"{$link}\""; with $r .= " title=\"{$link}\" target=\"_blank\"";
- How to create short URL's on your wiki.
- How to add a search box to the top left hand corner of your page.
Modify the file skins/MonoBook.php
- How do I reset a password for a wiki user?
- How do I stop anonymous users from editing any page?
Set $wgGroupPermissions['*']['edit'] = false; at bottom of LocalSettings.php. See Manual:Preventing access#Restrict anonymous editing for more information.
- How do I restrict account creation?
Set $wgGroupPermissions['*']['createaccount'] = false; at bottom of LocalSettings.php. See Manual:Preventing access#Restrict account creation for more information.
MediaWiki Magic Words
- A full list of magic words can be found here.
- {{PAGENAME}} will add the name of the page within the page content like this "MediaWiki".
- {{LOCALYEAR}} will add the current year like this "2024".
- {{LOCALMONTHNAME}} will add the current month name like this "November".
- {{LOCALDAYNAME}} will add the current day like this "Saturday".
- {{LOCALDAY}} will add the current day like this "23".
- {{LOCALTIME}} will add the current time like this "11:03".
MediaWiki Tables
The following wiki templates will allow you to add a table with 5 columns x 4 rows to your page.
5 Column x 4 Row: No Border
column A
|
column B
|
column C
|
column D
|
column E
|
row 1 A
|
row 1 B
|
row 1 C
|
row 1 D
|
row 1 E
|
row 2 A
|
row 2 B
|
row 2 C
|
row 2 D
|
row 2 E
|
row 3 A
|
row 3 B
|
row 3 C
|
row 3 D
|
row 3 E
|
5 Column x 4 Row: With Border
column A
|
column B
|
column C
|
column D
|
column E
|
row 1 A
|
row 1 B
|
row 1 C
|
row 1 D
|
row 1 E
|
row 2 A
|
row 2 B
|
row 2 C
|
row 2 D
|
row 2 E
|
row 3 A
|
row 3 B
|
row 3 C
|
row 3 D
|
row 3 E
|
5 Column x 4 Row: With Border and Colour on the First Row
column A
|
column B
|
column C
|
column D
|
column E
|
row 1 A
|
row 1 B
|
row 1 C
|
row 1 D
|
row 1 E
|
row 2 A
|
row 2 B
|
row 2 C
|
row 2 D
|
row 2 E
|
row 3 A
|
row 3 B
|
row 3 C
|
row 3 D
|
row 3 E
|
5 Column x 4 Row: With Border,Colour on the First Row and Bold Type for First Row
column A
|
column B
|
column C
|
column D
|
column E
|
row 1 A
|
row 1 B
|
row 1 C
|
row 1 D
|
row 1 E
|
row 2 A
|
row 2 B
|
row 2 C
|
row 2 D
|
row 2 E
|
row 3 A
|
row 3 B
|
row 3 C
|
row 3 D
|
row 3 E
|
5 Column x 4 Row: With Border and Colour on the First Column
column A
|
column B
|
column C
|
column D
|
column E
|
row 1 A
|
row 1 B
|
row 1 C
|
row 1 D
|
row 1 E
|
row 2 A
|
row 2 B
|
row 2 C
|
row 2 D
|
row 2 E
|
row 3 A
|
row 3 B
|
row 3 C
|
row 3 D
|
row 3 E
|
5 Column x 4 Row: With Border,Colour on the First Column and Bold Type for First Column
column A
|
column B
|
column C
|
column D
|
column E
|
row 1 A
|
row 1 B
|
row 1 C
|
row 1 D
|
row 1 E
|
row 2 A
|
row 2 B
|
row 2 C
|
row 2 D
|
row 2 E
|
row 3 A
|
row 3 B
|
row 3 C
|
row 3 D
|
row 3 E
|
Coloured Borders
Red border with yellow background and black lettering.
Black border with blue background and black lettering.
Web Sites using MediaWiki
|