Sandbox
Link to the admin forum: http://www.mwusers.com/forums/forum.php / vectrex w / k30
Link to the Extensions pool: http://www.mediawiki.org/wiki/Category:All_extensions
Link to last changes page: Special:RecentChanges
Vectrex wiki Chat
Here is the chat. Simply choose a name and sign in to chat. Is a privat chat room, you need to invite people for a chat.
Youtube Video (and others)
Use code<videoflash>r4BIK5QoQgw</videoflash>
to display the video. Its the same code like in the youtube URL for the video
http://www.youtube.com/watch?v=r4BIK5QoQgw
Tutorial at: http://www.mediawiki.org/wiki/Extension:VideoFlash
Timetable
This will generate a html table with three rows (one per event), and a column for each month from the first month of the earliest event to the last month of the last event.
Jay Smith Inventions (lifespan) | ||||
---|---|---|---|---|
1979 | 1980 | 1981 | 1982 | 1983 |
Work in progress... | ||||
Microvision (Milton Bradley) |
||||
Vectrex (GCE, Milton Bradley) |
To display a timeline with years, months and days, enter the following inn your Mediawiki code:
This is the title | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 | ||||||||||||||||
February | March | |||||||||||||||
24 | 25 | 26 | 27 | 28 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
This is a timeline | ||||||||||||||||
event1 (some comment) |
||||||||||||||||
event2 (something else) |
||||||||||||||||
event3 |
It is also possible to display a timeline table with only years as columns, e.g.:
This is the title | |||||
---|---|---|---|---|---|
2000 | 2001 | 2002 | 2003 | 2004 | 2005 |
This is a timeline | |||||
event1 (some comment) |
|||||
event2 (something else) |
|||||
event3 |
Tutorial (at vectrexmuseum) [[1]]
addHT
The tag can only be used on pages which are 'protected', which means you might be forced to protect a page in order to use some HTML Pages where 'addhtml' is used must be protected or else an 'unauthorized use of addhtml' message will be displayed. Read the manual in the extension folder /addHTML for more info how to use. http://www.mediawiki.org/wiki/Extension:AddHTML
Example:
No TITLE
Add__NOTITLE__as first line in a page and the page title is not displayed as header (used at Main Page).
Hide the sign up link in the header
Code in LocalSettings.php -
# Prevent new user registrations except by sysops $wgGroupPermissions['*']['createaccount'] = false; # Disable reading by anonymous users $wgGroupPermissions['*']['read'] = false;
http://www.mwusers.com/forums/showthread.php?18276-How-do-I-remove-the-Create-an-account-link-from-the-login-page
Hide user IP and show 'Anonymous' instead
Show "Anonymous" instead of the user's IP (not loged in).
Open includes/user.php and go to line 1676 (MW 1.1.8 1) Find $this->mName = IP::sanitizeIP( wfGetIP() ); and replace with $this->mName = 'Anonymous';
http://www.mwusers.com/forums/showthread.php?4551-Hide-user-IP-and-show-anonymous-instead
Hide Toolbox from Anonymous
To remove the toolbox for users that are not logged in, Edit the file /skins/MonoBook.php.
<div class="portlet" id="p-tb"> <h5><?php $this->msg('toolbox') ?></h5>
Replace with:
<div class="portlet" id="p-tb"> '''<?php if($this->data['loggedin']) { ?>''' <h5><?php $this->msg('toolbox') ?></h5>
Then, go down to the bottom of the div block you're editing and find the section that looks like this:
wfRunHooks( 'MonoBookTemplateToolboxEnd', array( &$this ) ); ?> </ul> </div> </div>
add the line (between the two /div's) that closes off your new "if" statement:
wfRunHooks( 'MonoBookTemplateToolboxEnd', array( &$this ) ); ?> </ul> </div> '''<?php } ?>''' </div>
More info at: http://wiki.fishcakes.biz/MediaWiki_Look_And_Feel?title=MediaWiki_Look_And_Feel#Hiding_the_Toolbox_from_Anonymous_Users
Open link in new window
Code in LocalSettings.php: $wgExternalLinkTarget = '_blank';
Edit MediaWiki:Sidebar if you are loged in and remove the line:
** recentchanges-url|recentchanges
To add some links and a second Linkbox use:
* Other Vectrex Pages ** |Vectrex Museum ** /mirror/vgdb/|Vectrex Game DB ** Spezial:Alle_Seiten|Alle Seiten ** Spezial:Kategorien|Ketogorien
Forum Info: http://www.mwusers.com/forums/showthread.php?14309-Beginner-Change-add-links-of-sidebar&highlight=recent+hide
The Sidebar Manual is here: http://www.mediawiki.org/wiki/Manual:Interface/Sidebar
Here is the link to the Special:RecentChanges
Remove "Related Changes" from Toolbox
Edited the SkinTemplate.php part for the toolbox (line 1476 to 1480 for link: Related Changes) and commented the parts.
Remove Lowercase link labels
If your links are not being capitalized as intended, try adding spaces around the bar character; for example:
- http://www.example.com/download.php?file=44555 | Download
MediaWiki:Sitenotice
The MediaWiki:Sitenotice site notice (and the MediaWiki:Anonnotice when not logged in) is a space to put messages that you want on every page on your site.
MediaWiki:Common.js
Editing MediaWiki:Common.js. It puts javascript on every page.
MediaWiki:Common.css
Visit MediaWiki:Common.css to add CSS styles available to all pages.
SimpleSecurety
SimpleSecurity4 extends the way the inherent MediaWiki permissions and restrictions system works. Following is a list of the specific functionalities which are added or extended and how to use them. The extension is loaded by a code in localsettings.php. SimpleSecurity adds two parser-functions for rendering content conditionally based on security permissions or group membership. Here's a couple of examples,
{{#ifusercan:edit|Main page|Check the homepage editing [[todo list]]!|check the [[latest news]]!}}
This example renders a link to a todo list if the user has permission to edit the main page, otherwise a link to the news is rendered instead.
{{#ifgroup:sysop|Check the homepage editing [[todo list]]!|check the [[latest news]]!}}
Tutorial: http://www.mediawiki.org/wiki/Extension:SimpleSecurity
The EmbedPDF (actual with ERROR)
INACTIVE - NO LOCALSETTING CODE !!!
Actually not working: ERROR Forum Thread
Extension adds the <pdf> tag for embedding PDF files. It supports remote and local (uploaded to MediaWiki) files. EmbedPDF will create HTML <object> with predefined width (700 px) and height (600 px). That's all. The extension is loaded by a code in localsettings.php. Usage:
<pdf>http://some.site.com/with/a/document.pdf</pdf> <pdf>Your_uploaded_document.pdf</pdf>
BreadCrumbs extension shows the users path through the wiki.
Note: This extension creates breadcrumbs in the traditional "How did I get here?" sense; use [Extension:BreadCrumbs2] for breadcrumbs in the recently popular category-based "Where am I?" sense. The extension is loaded by a code in localsettings.php
http://www.mediawiki.org/wiki/Extension:BreadCrumbs
Displaying user name
Actually it does work as signature TAG. Try to create a welcome message: [Read forum Thread]
Use~~~to display your user name (linked to your profile):
Posted by ~~~. Creates "Posted by Oliver"
NOTICE: Please use it only in the TALK pages and in User discussions. It should not be used to mark any article content as yours.
Top Pages
Shows the most popular Pages. Actually also Sandbox and ToDo List - may help: http://www.mediawiki.org/wiki/User_talk:Sascha
Examples:
To show 10 most popular Pages:
<TopTenPages/>
To show 5 most popular Pages:
<TopTenPages>5</TopTenPages>
- Main Page (146,420 views)
- Vectrex Wiki News (42,063 views)
- Jay Smith (26,510 views)
- Sandbox (17,542 views)
- Vectrex (9,167 views)
To omit the most popular page(s):
<TopTenPages offset=1/>
- Vectrex Wiki News (42,063 views)
- Jay Smith (26,510 views)
- Sandbox (17,542 views)
- Vectrex (9,167 views)
- 3D Imager (8,233 views)
- Todo list (5,708 views)
- List of Vectrex games (5,283 views)
- Microvision (5,171 views)
- 2012 (4,734 views)
- International Play Your Vectrex Day (4,728 views)
FlashMP3
Syntax (default player)
<flashmp3>filename.mp3|parameter=value|...</flashmp3>
filename.mp3 can be the name of a file uploaded to the Wiki or an external URL. Additional parameters are optional.
Parameter Reference Option Effect
autostart=yes The player will automatically open and start to play the track (default value is no) loop=yes The track will be looped indefinitely (default value is no) bg=0xHHHHHH Background colour option (where HHHHHH is a valid hexadecimal colour value such as FFFFFF or 009933) leftbg=0xHHHHHH Left background colour rightbg=0xHHHHHH Right background colour rightbghover=0xHHHHHH Right background colour (hover) lefticon=0xHHHHHH Left icon colour righticon=0xHHHHHH Right icon colour righticonhover=0xHHHHHH Right icon colour (hover) text=0xHHHHHH Text colour slider=0xHHHHHH Slider colour loader=0xHHHHHH Loader bar colour track=0xHHHHHH Progress track colour border=0xHHHHHH Progress track border colour
Examples
<flashmp3>mymp3.mp3</flashmp3>
Plays an uploaded mp3-file called mymp3.mp3.
<flashmp3>http://www.somedomain.com/mp3/mymp3.mp3</flashmp3>
Plays the remote mp3-file from the URL http://www.somedomain.com/mp3/mymp3.mp3.
Demo:Multiple files
<flashmp3>mymp3.mp3,yourmp3.mp3|autostart=yes|loop=yes</flashmp3>
Plays the two uploaded files mymp3.mp3 and yourmp3.mp3 one after the other, autostarts playing when the site is loaded and loops the files.
Multiple files can be played in one FlashMP3 player one after the other by separating them with comma.
Multiple players
Multiple FlashMP3 players on one site can be achieved by giving them an id.
<flashmp3 id="2">secondmp3.mp3</flashmp3>