From Wikireedia
Jump to: navigation, search

1. Login

2. Change the Logo on the Main Page

3. Add a new page

The easiest way is no search for a page first. If it does not exist and Mediawiki will ask whether you want to create it.--Life's Little Ironies 10:47, 22 April 2012 (EDT)

4. Creating collapsible 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
  • 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:
  • The navigation boxes were correctly formatted but were not collapsible. 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:
  • I then followed the steps on 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
  • Used magic words to prevent editing of a section

6. References

You can add footnote type referenced attachments by adding the [1] and then
  1. attachment
. See Spec Sheet for example.

7. Semantic Forms

Just getting to grips with this. Have started with the easiest form here Need to undertstand how to edit the form template and create new one see here for instructions --Life's Little Ironies 15:18, 27 February 2012 (EST)Create forms allows you ability to enter data in to a form and have it presented in a table format. See Race 10 for example. This is using the Semantic Bundle Results formats. You can create the forms the easy way using the special page Special:CreateClass . This bundles the steps together. Alternatively you can create them separately using Special:CreateForm and Special:CreateTemplate A user manual is coming.--Life's Little Ironies 10:45, 22 April 2012 (EDT)

8. Semantic Browse data

Enables a great semantic feature that allows you to browse the properties by category. For instance, what is you want to see how often a property value in say Property::Character has been used. What you can do is go to the Category page that the articles have been included that have that property. The create and add a filter to the category page. Create the filter Character and associated it with the property Character using the wizard. Save it and add the filter to the category page. In addition. This information is then available through the Browse Data special page.You can elaborate this page by adding a cloud-tag based on the character or any other property. See the code to add to Local Settings here [1]

Next I added semantic maps. This will allow you to browse data on a map. For instance if you create articles on places and add a coordinate property to the articles and add it to category places. You can browse the Places category via locations on a map rather than as a list. Read the instructions very carefully as the precendence of how the extensions should be anables in Local Settings is critical. Also it requires running the SMW_Admin special page to upgrade the wiki database.--Life's Little Ironies 15:18, 27 February 2012 (EST)

I added line to Local Settings that allows Browse data categgories to show as tabs and not lists. --Life's Little Ironies 15:06, 24 May 2012 (EDT)

I noticed that sub-categories do not show up by default so have to add _SHOWINDRILLDOWN_ for them to appear. --Life's Little Ironies 15:06, 24 May 2012 (EDT)

9. No Wiki Markup

If you do not want the wiki to interpret HTML tags then add markup to the start and end of the tags for instance <ref> abc </ref> allows you to see the tags in the article page. You can also use the no wiki icon (the no entry over the W)

10. Transclusion

Take a look and Medousa and Perseus I have a translusion from Prometheus using {{:Prometheus}} . It is not a very good example but it at least shows how you can easily include another article in to page without rewriting it.--Life's Little Ironies 10:45, 22 April 2012 (EDT)

  • I have finally got transclusion working without using a template by using semantic mediawiki. by using an inline query with an embedded format you can transclude a page in to another page using the following example {{#ask:[[Ethics and Politics]] |format=embedded }} . But the properties within that transclusion are not included in the Factbox --Life's Little Ironies (talk) 11:43, 22 September 2012 (EDT)
  • Better than Prometheus is just entering {{:Agrippina}} and the article doesnt have to be a template. See how Agrippina is transcluded in Nero--Life's Little Ironies (talk) 13:56, 30 April 2013 (EDT)

11. Eventine

Take a look at Running This includes a timeline of running articles using the {{property::news date}}. The only downside I can find is that it does not work in dates earlier than AD1000. --Life's Little Ironies 10:45, 22 April 2012 (EDT)

12. Redirects

A nice example of Redirects for the entry on Brunelleschi. The objective was to create a semantic madiawiki property for Architect. But how could I write the property correctly so that it would point to the correct page already citing Brunelleschi. I entered the property [[architect::Brunelleschi]]. This page does not exist so it is hightligted in red. I created the page with the redirect #Redirect [[Famous Architect (A-G)#Brunelleschi]] This not only reditected the page but also to the paragraph that cites Brunelleschi.--Life's Little Ironies 08:56, 6 June 2012 (EDT)

14. Comment Line

<!....> is a comment line you can only see when editing

15. Merge Template

I copied the merge template and associated templates from Wikipedia. Becuase the wikimedia host doesnt allow certain types of file uploads I could not upload the icon for merge. I modified the template to a png file type and uploaded a png version of the picture Merge-arrows.png. I had done the same when adding thr disambiguation template. --Life's Little Ironies 11:48, 17 July 2012 (EDT)

16. Linking to a Category

You many want to link stratight to a category rather than an article. to do this type [[:Category:Strategy|Strategy]]. This provides a link much like one for an article

17. Raw html

See these websites for a discussion.$wgRawHtml,

18. Prevent Search Engines from including in their results certain Mediawiki pages

See theses article. Needs raw html turned on (see above).;; Using this html on some article pages <html><meta name="robots" content="noindex,nofollow,noarchive"/></html>

Personal tools