How-to's

From Wikireedia
(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
 
* I then followed the steps on http://www.mediawiki.org/wiki/Manual:Collapsible_tables and completely replaced my Mediawiki:Common.js with the code suggested here. I did not make the second change to Mediawiki:Common.css that was suggested.
 
* I then followed the steps on http://www.mediawiki.org/wiki/Manual:Collapsible_tables and completely replaced my Mediawiki:Common.js with the code suggested here. I did not make the second change to Mediawiki:Common.css that was suggested.
 
* I created and tested the navigation box successfully as below
 
* I created and tested the navigation box successfully as below
 +
[[Template:Selected Achievements by Application]]
 
====5. Magic Words====
 
====5. Magic Words====
 
* Used magic words {{number of articles}} to parse the number of pages on the wiki on the Main Page
 
* Used magic words {{number of articles}} to parse the number of pages on the wiki on the Main Page
 
* Used magic words __NOTOC__ to hide Table of Contents where not necessary
 
* Used magic words __NOTOC__ to hide Table of Contents where not necessary
[[Template:Selected Achievements by Application]]
 

Revision as of 22:02, 7 October 2011

1. Login

2. Change the Logo on the Main Page

3. Add a new page

4. Creating collapsable rows

This was a surprisingly difficult task. The first issue is that it requires the creation of many templates for it to work effectively as it does on Wikipedia.

  • The first step was to install the extenstions and templates recommended by ETCWiki http://www.etcwiki.org/wiki/Install_infobox
  • Copy the Mediawiki:Common.css in to my Wiki
  • I built the collapsable navigation boxes based upon the Navbox template (and associated templates)using the information here: http://en.wikipedia.org/wiki/Template:Navbox
  • The navigation boxes were correctly formatted but were not collapsable. I read that a java script query was needed and that was included Mediawiki:Common.js. I copied the source my wiki but upon refreshing the browser I was getting jQuery errors and the show/hide collapsable box was still not working. One webpage suggested added additional script to the Mediawiki:Common.js. but this did not work. Follow that discussion here: http://en.wikipedia.org/wiki/Help_talk:Collapsing
  • I then followed the steps on http://www.mediawiki.org/wiki/Manual:Collapsible_tables and completely replaced my Mediawiki:Common.js with the code suggested here. I did not make the second change to Mediawiki:Common.css that was suggested.
  • I created and tested the navigation box successfully as below

Template:Selected Achievements by Application

5. Magic Words

  • Used magic words Template:Number of articles to parse the number of pages on the wiki on the Main Page
  • Used magic words to hide Table of Contents where not necessary
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox