Difference between revisions of "MediaWiki"

From David Spencer's Media Spin : Observations about media in Canada
Jump to: navigation, search
(Replaced content with 'Good News! This page has moved to '''http://faith.davidspencer.ca/wiki/MediaWiki''' Please update your bookmarks and favourites.')
 
Line 1: Line 1:
{{Template:Header}}
+
Good News!
  
 +
This page has moved to '''http://faith.davidspencer.ca/wiki/MediaWiki'''
  
==MediaWiki==
+
Please update your bookmarks and favourites.
'''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==
+
# [[MediaWiki:Sidebar|Edit the sidebar on the far left]]
+
# [[MediaWiki:Sitenotice|Edit the site notice 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 [[Template Add Table with 5 Column x 4 Row|table]].
+
# How do I change the title of my web site? You need to set '''$wgSitename''' in your LocalSettings.php.
+
# How do I allow [http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages external images to appear] in my wiki? Add '''$wgAllowExternalImages = true;'''  to your LocalSettings.php
+
# How do I [http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_the_logo.3F change the logo] for my wiki web site?
+
# To rediret a page add <nowiki>#REDIRECT [[</nowiki>''pagename''<nowiki>]]</nowiki>
+
# How do I [http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_which_page_is_the_main_page.3F 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 [http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_the_footer.3F change the footer] at the bottom of every page?
+
# How can I add a web URL ad not have it hyperlink?Put <nowiki>"<nowiki>"</nowiki> tags around the url or tag.<br> Example: <nowiki><nowiki>http://somwhere.in.the.net/myproject/</nowiki></nowiki>
+
# How do I [http://www.mediawiki.org/wiki/Manual:Opening_external_links_in_a_new_window Open external links in a new window]. <br>Version < 1.5.x <br>1. Open Includes/Skin.php or Includes/Linker.php<br>2. Find "function getExternalLinkAttributes"<br>3. Replace  $r .= " title=\"{$link}\"";<br>with<br>'''$r .= " title=\"{$link}\" target=\"_blank\"";'''
+
# How to create [http://www.mediawiki.org/wiki/Manual:Short_URL short URL's on your wiki].
+
# How to add a search box to the top left hand corner of your page.<br>Modify the file skins/MonoBook.php
+
# How do I [http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_reset_a_password.3F reset a password for a wiki user]?
+
# How do I stop anonymous users from editing any page?<br>Set $wgGroupPermissions['*']['edit'] = false; at bottom of LocalSettings.php.<br>See [http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_anonymous_editing Manual:Preventing access#Restrict anonymous editing] for more information.
+
# How do I restrict account creation?<br>Set $wgGroupPermissions['*']['createaccount'] = false; at bottom of LocalSettings.php.<br>See [http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation Manual:Preventing access#Restrict account creation] for more information.
+
 
+
 
+
 
+
==MediaWiki Magic Words==
+
# A full list of magic words can be found [http://www.mediawiki.org/wiki/Help:Magic_words here].
+
# <nowiki>{{PAGENAME}}</nowiki> will add the name of the page within the page content like this "'''{{PAGENAME}}'''".
+
# <nowiki>{{LOCALYEAR}}</nowiki> will add the current year like this "'''{{LOCALYEAR}}'''".
+
# <nowiki>{{LOCALMONTHNAME}}</nowiki> will add the current month name like this "'''{{LOCALMONTHNAME}}'''".
+
# <nowiki>{{LOCALDAYNAME}}</nowiki> will add the current day like this "'''{{LOCALDAYNAME}}'''".
+
# <nowiki>{{LOCALDAY}}</nowiki> will add the current day like this "'''{{LOCALDAY}}'''".
+
# <nowiki>{{LOCALTIME}}</nowiki> will add the current time like this "'''{{LOCALTIME}}'''".
+
 
+
 
+
 
+
 
+
 
+
==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===
+
{| border="0" cellspacing="1" cellpadding="5" width=80%
+
| 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
+
|}
+
<br>
+
 
+
===5 Column x 4 Row: With Border===
+
{| border="1" cellspacing="1" cellpadding="5" width=80%
+
| 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
+
|}
+
<br>
+
 
+
===5 Column x 4 Row: With Border and Colour on the First Row===
+
{| border="1" cellspacing="1" cellpadding="5" width=80%
+
| style="background-color:#ffffcc;" | column A
+
| style="background-color:#ffffcc;" | column B
+
| style="background-color:#ffffcc;" | column C
+
| style="background-color:#ffffcc;" | column D
+
| style="background-color:#ffffcc;" | 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
+
|}
+
<br>
+
 
+
===5 Column x 4 Row: With Border,Colour on the First Row and '''Bold''' Type for First Row===
+
{| border="1" cellspacing="1" cellpadding="5" width=80%
+
| style="background-color:#ffffcc;" | '''column A'''
+
| style="background-color:#ffffcc;" | '''column B'''
+
| style="background-color:#ffffcc;" | '''column C'''
+
| style="background-color:#ffffcc;" | '''column D'''
+
| style="background-color:#ffffcc;" | '''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
+
|}
+
<br>
+
 
+
===5 Column x 4 Row: With Border and Colour on the First Column===
+
{| border="1" cellspacing="1" cellpadding="5" width=80%
+
| style="background-color:#ffffcc;" | column A
+
| column B
+
| column C
+
| column D
+
| column E
+
|-
+
| style="background-color:#ffffcc;" | row 1 A
+
| row 1 B
+
| row 1 C
+
| row 1 D
+
| row 1 E
+
|-
+
| style="background-color:#ffffcc;" | row 2 A
+
| row 2 B
+
| row 2 C
+
| row 2 D
+
| row 2 E
+
|-
+
| style="background-color:#ffffcc;" | row 3 A
+
| row 3 B
+
| row 3 C
+
| row 3 D
+
| row 3 E
+
|}
+
<br>
+
 
+
===5 Column x 4 Row: With Border,Colour on the First Column and '''Bold''' Type for First Column===
+
{| border="1" cellspacing="1" cellpadding="5" width=80%
+
| style="background-color:#ffffcc;" | '''column A'''
+
| column B
+
| column C
+
| column D
+
| column E
+
|-
+
| style="background-color:#ffffcc;" | '''row 1 A'''
+
| row 1 B
+
| row 1 C
+
| row 1 D
+
| row 1 E
+
|-
+
| style="background-color:#ffffcc;" | '''row 2 A'''
+
| row 2 B
+
| row 2 C
+
| row 2 D
+
| row 2 E
+
|-
+
| style="background-color:#ffffcc;" | '''row 3 A'''
+
| row 3 B
+
| row 3 C
+
| row 3 D
+
| row 3 E
+
|}
+
 
+
==Coloured Borders==
+
 
+
<div style="width: 80%; margin-left: auto; margin-right: auto; padding: 4px; border: 2px solid #FF0000; background-color: yellow;">Red border with yellow background and black lettering.</div style>
+
 
+
 
+
<div style="width: 80%; margin-left: auto; margin-right: auto; padding: 4px; border: 2px solid #000000; background-color: blue;">Black border with blue background and black lettering.</div style>
+
 
+
 
+
* [http://www.colorcombos.com/combolibrary.html Look for colour codes].
+
 
+
 
+
==Web Sites using MediaWiki==
+
* [http://www.mediawiki.org/wiki/Sites_using_MediaWiki/en Web Sites using MediaWiki]
+
 
+
 
+
 
+
 
+
 
+
[[Category:David Spencer's Media Spin]]
+
[[Category:M]]
+
[[Category:Computers]]
+
[[Category:Computer Software]]
+
[[Category:Glossary]]
+
[[Category:Glossary for Computers]]
+
[[Category:Glossary for English]]
+
[[Category:Glossary for Media]]
+
[[Category:Glossary for Technology]]
+
[[Category:Media]]
+
[[Category:New Media]]
+
[[Category:Technology]]
+

Latest revision as of 20:05, 3 September 2012

Good News!

This page has moved to http://faith.davidspencer.ca/wiki/MediaWiki

Please update your bookmarks and favourites.