How-to's: Difference between revisions

From MediaWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 25: Line 25:
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.--[[User:Paulreed|Life's Little Ironies]] 15:18, 27 February 2012 (EST)
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.--[[User:Paulreed|Life's Little Ironies]] 15:18, 27 February 2012 (EST)


====No Wiki Markup====
====9. No Wiki Markup====
If you do not want the wiki to interpret HTML tags then add <nowiki> markup <nowiki> to the start and end of the tags for instance <nowiki> <ref> abc </ref> <nowiki> allows you to see the tags in the article page.
If you do not want the wiki to interpret HTML tags then add <nowiki> markup <nowiki> to the start and end of the tags for instance <nowiki> <ref> abc </ref> <nowiki> allows you to see the tags in the article page.
====10. Transclusion===
Take a look and [[Medousa and Perseus]] I have a translusion from [[Prometheus]] using <nowiki> {{:Prometheus}} <nowiki>. It is not a very good example but it at least shows how you can easily include another article in to page withour rewriting it.
====11. Eventine===
Take a look at [[Running]] This includes a timeline of running articles using the <nowiki>{{property::news date}}<nowiki. The only downside I can find is that it does not work in dates earlier than AD1000.
===12. Create forms===
Create forms allows you ability to enter data in to a form and have it presented in a table format. See [[Race10]] for example. This is using the Semantic Bundle Results formats. You can create the forms the easy way using the special page <nowiki> Special:CreateClass <nowiki>. This bundles the steps together. Alternatively you can create them separately using <nowiki> Special:CreateForm <nowiki> and <nowiki> Special:CreateTemplate <nowiki> A user manual is coming

Revision as of 08:40, 22 April 2012

1. Login

2. Change the Logo on the Main Page

3. Add a new page

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 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 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: 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 and

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 http://wikireedia.net/wikireedia/index.php?title=Form:Licenses. Need to undertstand how to edit the form template and create new one see here for instructions http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Quick_start_guide. --Life's Little Ironies 15:18, 27 February 2012 (EST)

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)

9. No Wiki Markup

If you do not want the wiki to interpret HTML tags then add <nowiki> markup <nowiki> to the start and end of the tags for instance <nowiki> [1] <nowiki> allows you to see the tags in the article page.

=10. Transclusion

Take a look and Medousa and Perseus I have a translusion from Prometheus using <nowiki> The Prometheus Myth is intriguing. The fact that he brings fire in a fennel stalk probably reflects an actual event (fire can be carried this way) and witnessed by early man would this have seemed miraculous and could only be accountable in terms to have been stolen from the Sky God, the thrower of lightening which causes fire. The Sky God being Zeus. In Archaic Greece fire rituals seemed to be widespread and for worshipping the gods, so Zeus trying to stop men from having fire seems odd. Zeus appears to have seen through the ruse to offer the gods the bones but still goes ahead deny fire..... Then he allows Pandora to be created to make the life of mankind rather tedious because of the fire theft. I feel there is something else going on here but can't see it. It must be something linked with passion as it is the liver that Zeus has attacked (the Greek seat of passion). Zeus is pleased that his son, Herakles, releases Prometheus, what going on here?

Why the east, the Caucuses Mountains, for Prometheus's chaining and punishment? This is close to the land of Medea and the Golden Fleece, and an area just being explored by the sea-faring Greeks. But does it indicate the sources of the myth?

In Classical Mythology, A Very Short Introduction (Helen Morales 2007) there are a couple of instances of a modern take on Prometheus. The incongruity of using him in a statue at the Rockefeller Centre, New York, representing progress in a commercial world, and more interestingly, in a film by Tony Harrison, Prometheus (1998). Here Prometheus (who is again featured as a statue) is the antithesis of the commercial use in New York and seen as a bringer of devastation in a post industrial world and his failure to resist the despotism of Zeus. Just goes to show the power of this myth today and the very different meanings attributed to them.

Freud’s (1932) paper “The Acquisition and Control of Fire” is another one I had never read before. This one I found more complicated and, like many of Freud’s paper, he doesn’t tell you outright what his point is, rather he takes you through his thought process and through the different possibilities he has considered. This is what I got [my interpretation of Freud]: He wondered what was significant about the fire in the myth of Prometheus and the myth of Herakles. He asks several questions:

- Why was Prometheus punished for bringing fire to men? (it was stolen from the gods as punishment again for the trickery of the meat, but didn’t Zeus see through the trickery and still chose the bones?)

- Why did his liver (Greek view of liver as seat of all passions) continuously regenerate? (and thus his sentence being one of interminable torture – the eagle eating out part of his liver)

- Is there a connection in the theme of Prometheus bringing fire to humanity and Herakles’ use of fire to kill the multi-headed hydra? (acquisition and control)

He changed the title of his paper 3 times: previously “The Acquisition of Fire”, “The Acquisition of Power over Fire”. He also makes reference to his “Civilization and Its Discontents paper”, where some of these ideas are explored in more detail – ultimately, what do humans need to have but also control within themselves in order to live with others in civilized society?

Freud’s idea of there being regenerating drives, so to speak, and how these are vital for life but also need to be controlled. He wonders how these drives are satisfied and/or controlled. This is a two page long paper and he makes brief reference to the id and super-ego.

Retrieved from "http://wikireedia.net/wikireedia/index.php?title=Medousa_and_Perseus" <nowiki>. It is not a very good example but it at least shows how you can easily include another article in to page withour rewriting it.

=11. Eventine

Take a look at Running This includes a timeline of running articles using the <nowiki>{{property::news date}}<nowiki. The only downside I can find is that it does not work in dates earlier than AD1000.

12. Create forms

Create forms allows you ability to enter data in to a form and have it presented in a table format. See Race10 for example. This is using the Semantic Bundle Results formats. You can create the forms the easy way using the special page <nowiki> Special:CreateClass <nowiki>. This bundles the steps together. Alternatively you can create them separately using <nowiki> Special:CreateForm <nowiki> and <nowiki> Special:CreateTemplate <nowiki> A user manual is coming

  1. ↑ abc