MediaWiki

A journey of David Spencer's faith in Jesus Christ, exploration of Christian faith and Canadian Christians working in media.
Jump to: navigation, search
Flagcanada-mini.gif Today is Saturday March 25, 2017 in Canada. Flagcanada-mini.gif
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.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


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

  1. Edit the sidebar on the far left
  2. Edit the site notice tagline at the top of the page
  3. 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
  4. Add a table.
  5. How do I change the title of my web site? You need to set $wgSitename in your LocalSettings.php.
  6. How do I allow external images to appear in my wiki? Add $wgAllowExternalImages = true; to your LocalSettings.php
  7. How do I change the logo for my wiki web site?
  8. To rediret a page add #REDIRECT [[pagename]]
  9. How do I change which page is the main page?
  10. How do I change the text message (sitenotice) on every page? Change the MediaWiki:Sitenotice.
  11. How do I change the footer at the bottom of every page?
  12. 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>
  13. 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\"";
  14. How to create short URL's on your wiki.
  15. How to add a search box to the top left hand corner of your page.
    Modify the file skins/MonoBook.php
  16. How do I reset a password for a wiki user?
  17. 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.
  18. 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

  1. A full list of magic words can be found here.
  2. {{PAGENAME}} will add the name of the page within the page content like this "MediaWiki".
  3. {{LOCALYEAR}} will add the current year like this "2017".
  4. {{LOCALMONTHNAME}} will add the current month name like this "March".
  5. {{LOCALDAYNAME}} will add the current day like this "Saturday".
  6. {{LOCALDAY}} will add the current day like this "25".
  7. {{LOCALTIME}} will add the current time like this "07:32".



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