CubicPath
| What links here Related changes Upload file Special pages Printable version Permanent link | Log in / create account |
Cubicpath:Add-ons
From Cubic Path
This is where we place all the third party add-ons we have installed into the Mediawiki we use to power the wiki section of our site. We will try to explain all the additional wiki tags you can use throughout the site and exactly how to use it. If youd like more information on a particular add-on or would like to see a server generated list of installed add-ons just go to the Special:Version page.
Contents |
[edit] Internet Service Status
This nifty little add-on lets you display the status of a perticular server:port. This way you can report if a web server is up, or irc server or any other internet service.
[edit] Usage
- You have the Following Options:
Check a Specific Host:Port
<whatsdown host="www.company.com" port="80">HTTP on Company Web Server</whatsdown>
Or check a range of IPs on a specific port (usefull for labs/offices computers/list of servers)
<whatsdown hostrange="192.168.1.78-96" port="22"></whatsdown>
[edit] examples
Wikipedia : UP
[edit] Group Based Rights
Instead of just restricting access to a page based on the few built in groups this plugin expands on that. You can now great a usergroup containing a set of users. Then you can add a wiki tag to each page that restricts access to it based on membership in usergroups. You can restrict access on who can edit a page or who can even view a page.
[edit] Creating a Group
In order to create a new group point your browser to http://www.cubicpath.org/wiki/index.php/Usergroup:new_group_name where new_group_name is the name of the new group you want to create. Now add a bullet point list of all the users within the group and save. The new group will now exist.
[edit] Restricting Access
Now onto explaining how to restrict access to a perticular page. Simply add the tag "accesscontrol" with the groups listed inside the tag separated by double commas. For example group1,,group2 where group1 and group2 are the groups with read/write access. If you want to give a particular group read only access to a page just add (ro) after the name like this group1(ro),,group2. Unfortunately i can't show an example here cause using this tag inside nowiki tags breaks things. This add-on is designed to restrict (or partially restrict) access to view a page. The built-in system must still be used if you want all users to view a page but only certain groups to edit it.
[edit] AIM Online status
You can now display your AIM online status (or someone else's) on a wiki page. Also if a user clicks the status a message window can pop up directed at you. This would be useful for users personal talk pages.
usage: <aim>username</aim> (make sure the username has no spaces)
example: DebeoMorium
[edit] Skype Online status
You can now display your skype online status (or someone else's) on a wiki page. Also if a user clicks the status a message window can pop up directed at you. This would be useful for users personal talk pages.
usage: <skype action="action" style="style">username</skype>
example:
[edit] Styles
The styles field is optional for the skype wiki tag. It defines what the button looks like. There are 8 styles.
Style add: 
Style chat: 
Style call: 
Style balloon:
Style bigclassic:
Style smallclassic:
Style smallicon:
Style mediumicon:
[edit] actions
The actions field is another optional field for the skype wiki tag. It defines what action to take once the button is clicked. There are three choices:
add: Adds you to their buddy list
chat: Opens a new text chat.
call: Initiates a voice call.
[edit] ICQ Online status
You can now display your ICQ online status (or someone else's) on a wiki page. Also if a user clicks the status a message window can pop up directed at you. This would be useful for users personal talk pages.
usage: <icq style="style">UIN</icq>
example:
[edit] Styles
The styles field is optional for the icq wiki tag. It defines what the button looks like. There are 27 styles numbered 0 - 27.
Style 0:
Style 1:
Style 2:
Style 3:
Style 4:
Style 5:
Style 6:
Style 7:
Style 8:
Style 9:
Style 10:
Style 11:
Style 12:
Style 13:
Style 14:
Style 15:
Style 16:
Style 17:
Style 18:
Style 19:
Style 20:
Style 21:
Style 22:
Style 23:
Style 24:
Style 25:
Style 26:
[edit] Yahoo Online status
You can now display your yahoo online status (or someone else's) on a wiki page. Also if a user clicks the status a message window can pop up directed at you. This would be useful for users personal talk pages.
usage: <yahoo action="action" style="style">username</yahoo>
example:
[edit] Styles
The styles field is optional for the yahoo wiki tag. It defines what the button looks like. There are 5 styles numbered 0 - 5.
Style 0:
Style 1:
Style 2:
Style 3:
Style 4:
[edit] actions
The actions field is another optional field for the yahoo wiki tag. It defines what action to take once the button is clicked. There are three choices:
addfriend: Adds you to their buddy list
sendim: Opens a message box to send an instant message.
call: Initiates a voice call.
[edit] Google Adsense
With this plugin you can ad google adsense features to wiki pages. All the ad's shown will go to the cubicpath project's account. These should be used sparingly, we dont want ads on your typical google page. However if you have a creative use for it in a perticular section then its more then welcome. We can only see proper uses for the search bar.
[edit] Sponsored Links
You can display sponsored links by adding the following: <google>WIKI</google>
[edit] Search
You can display a Google search bar with optional default search terms with the following: <google>default search terms</google>
[edit] Referrals
You can display a refferal to google adsense with the following: <google>REF</google>
[edit] Citations
This will let you add footnotes to a page and make it easier to cite your sources.
[edit] Usage
The basic concept of the <ref> tag is that it inserts the text enclosed by the ref tags as a footnote in a designated section, which you indicate with the placeholder tag <references />. The new format cannot be used interchangeably with the old format - you must pick one or the other.
If you forget to include <references /> at the end of the article, none of the footnotes will appear.
This page itself uses footnotes, such as the one at the end of this sentence.[1] If you view the source of this page by clicking "Edit this page", you can see a working example of footnotes.
[edit] Multiple uses of the same footnote
To give a footnote a unique identifier, use <ref name="name">. You can then refer to the same footnote again by using a ref tag with the same name. The text inside the second tag doesn't matter, because the text already exists in the first reference. You can either copy the whole footnote, or you can use a terminated empty ref tag that looks like this: <ref name="name" />.
In the following example, the same source is cited three times.
This is an example of multiple references to the same footnote.<ref name="multiple">Remember that when you refer to the same footnote multiple times, the text from the first reference is used.</ref>
Such references are particularly useful when citing sources, if different statements come from the same source.<ref name="multiple">This text is superfluous, and won't show up anywhere. We may as well just use an empty tag.</ref>
A concise way to make multiple references is to use empty ref tags, which have a slash at the end. Although this may reduce redundant work, please be aware that if a future editor removes the first reference, this will result in the loss of all references using the empty ref tags.<ref name="multiple" />
==Notes==
<references/>
The text above gives the following result in the article (see also section below):
This is an example of multiple references to the same footnote.[2]
Such references are particularly useful when citing sources, when different statements come from the same source.[2]
A concise way to make multiple references is to use empty ref tags, which have a slash at the end. Although this may reduce redundant work, please be aware that if a future editor removes the first reference, this will result in the loss of all references using the empty ref tags.[2]
[edit] <references />
Placing <references /> inserts the full text of all pending inline citations defined by <ref>, anywhere on the page. For example, based on the citations above, the code:
<references />
will yield:
- ↑ This footnote is used as an example in the "How to use" section.
- ↑ 2.0 2.1 2.2 Remember that when you refer to the same footnote multiple times, the text from the first reference is used.
In some language editions of Wikipedia, long reference lists may be placed using the template {{Reflist}}, which incorporates <references />. It provides an optional parameter to display the reference list in multiple columns. For instance, the English, Hindi and Interlingua Wikipedias use the css selector references-small to make the reference text smaller than normal text.
[edit] Example
According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref>
The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.</ref>
==Notes==
<references/>









