Difference between revisions of "MediaWiki"

From David Spencer's Media Spin : Observations about media in Canada
Jump to: navigation, search
Line 1: Line 1:
 
{{Template:Header}}
 
{{Template:Header}}
 +
  
 
==MediaWiki==
 
==MediaWiki==
[http://www.mediawiki.org MediaWiki] is a free software open source wiki package written in PHP, originally for use on Wikipedia. It is now used by several other projects of the non-profit Wikimedia Foundation and by many other wikis,
+
'''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]]

Revision as of 17:00, 30 January 2012

Flagcanadamini.gif Today is Thursday May 2, 2024 in Canada. Flagcanadamini.gif
This is the day that the Lord has made; we will rejoice and be glad in it. (Psalm 118:24)

David Spencer's Media Spin Canada provides information on:

  1. associations in media, a glossary, music, Media new media, photography, publishing, radio, television, video and Resources web resources.
  2. David M.R.D. Spencer's founding and work with ChristianMedia.ca between 1999 to 2008. Read the interview with David .
  3. To connect with Canadian Christians working and volunteering in arts, media and music, publishing and writing go here .



< Home Flagcanadamini.gif | Associations | Categories | Glossary | Media Workers | New | Popular | 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 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 "2024".
  4. {{LOCALMONTHNAME}} will add the current month name like this "May".
  5. {{LOCALDAYNAME}} will add the current day like this "Thursday".
  6. {{LOCALDAY}} will add the current day like this "2".
  7. {{LOCALTIME}} will add the current time like this "02:22".



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