Help:Contents
From Casa Henderson
Contents |
[edit] Things You Really Need to Know
[edit] Adding/Editing pages
You have to learn and embrace mediawiki's "Everything is a Page" editing pardigm. Its very easy and makes entering pages and collaboration very very efficient.
To add a page:
- Edit an existing page and type:
[[MyNewPageHandle|What the User Sees]]
- Save the page
- On the page you just edited you will see a red internal hyperlink. Red means its dead/empty. Click it and you will
automatically be editing the new page!
[edit] Linking to External Sites
[http://the.link.com/blah What The User Sees]
Note: Everything after the first space after the url string is treated as the visible part of the anchor.
[edit] Sign Everything
Use the following code to insert your ID and date/time:
--~~~~
You can also enter this by using the signature button in the editor (next to the not so slightly veiled anti-Bush button).
[edit] Lists
Lists are great for making your content look good without any effort:
It's worth a few minutes to review the WikiPedia List Tutorial
Basics
If you use heading wiki markup, the cool TOC box will be added for you at the top of the page:
=Big Heading= ==Second Heading== ===Third Heading===
Bulleted List:
*Bullet text **SubBulltet1 text **SubBullet2 text
Note: Line breaks will mess up the bulleting so be careful
[edit] Special Pages
There are many helpful admin type pages Here.
[edit] Call Out Boxes (Basic)
The easiest callout box is to surround the text with pre tags:
<pre>This test will be in a call out box</pre>
PRE tags will also preserve line breaks
[edit] Call Out Boxes (Dynamic HTML)
You can create more robust and colorful callouts like this:
{| width=75% style="margin: 1em 1em 1em 3em; border: 1px solid #aaa; background: #FF0000; font-size:90%;filter: Alpha(opacity=0.1);" align="center"
| align="top"| <font size=2><center>This is a red colored call box having 75% screen width and positioned in center</center></font>
|}
Produces:
| |
[edit] Editing System Text (General)
Everything that you can't edit, like the text labels in the navigation bar, or the login welcome messgae, etc is known as a wiki message. These can be edited just like wikipages:
You can see all the messages here: Special:Allmessages
Changing a message
Let's say you want to change the About XXXX text on the bottom. You want it to say About This Awesome Site
Go to Special:Allmessages
In this case, we want the message aboutsite. Click it and open it up. Change the page to read About This Awesome Site. Save and refresh.
It's a good technique to go to Special:Allmessages and use your borwser's search to find the text you want to change.
[edit] GraphViz
The graphviz extension makes it easy to add graphs:
<graphviz border='frame' format='svg'>
digraph G {Hello->World!}
</graphviz>
yields:
The plugin uses dot..Check out the documentation here.
[edit] Hiding the Page title:
To Hide All:
Change skins/skinname/main.css (Line 276 in monobook):
From:
.firstHeading {
margin-bottom: .1em;
}
To:
.firstHeading {
margin-bottom: .1em;
display: none;
}
[edit] Tex and MediaWiki
List of Tek Command that work with Wiki
There is a math support package included with MediaWiki. When enabled, it allows one to enter tex:
<math>
a^{c+2}
</math>
I set it up by following this (kind of)
There are also many mediawiki extensions for converting from wiki land to tek land.
[edit] GraphViz
The graphviz extension makes it easy to add graphs:
<graphviz border='frame' format='svg'>
digraph G {Hello->World!}
</graphviz>
yields:
[edit] Syntax Highlighting
<php>
$v = "string"; // sample initialization
</php>
<cpp>
for(int i=0; i++; i <10) {
printf("hello world\n");
}
</cpp>
$v = "string"; // sample initialization
for(int i=0; i++; i <10) { printf("hello world\n"); }
[edit] User Management
I set up the wiki so that there are anonymous read privileges, but you have to be a registered and approved user to edit.
So, if you want to add new users, there are two ways to do it:
1) Self registered. The user hits the login page and then creates a new account. They tell you about it (via email, conversation in the hall etc)
or
2) Admin Registered
While Logged in as Admin, go to
Enter the user's info, then hit the by email button
At this point the user is in the database but not approved. To approve them (so they can edit and add) hit this as Admin:
http://paladin.deepbondi.net/wiki/index.php/Special:Userrights
Note: We don't have the email server up, so no one will ever get notifications. However, they are still in the database.
[edit] Tex and MediaWiki
There is a math support package included with MediaWiki. When enabled, it allows one to enter tex:
<math>
a^{c+2}
</math>
I set it up by following this (kind of)
There are also many mediawiki extensions for converting from wiki land to tek land.
[edit] HTML to MediaWiki Converter
- Cut and past html text here (i.e. anchors) to convert
[edit] WikiEDT Install
Great js app to edit your wiki page
[edit] Backup
Anyway, to backup your database with mysqldump, do this: $ mysqldump -u root -p DBNAME > DBNAME.sql And then to restore that, do this: $ mysql -u root -p mysql>CREATE DATABASE NEW_DBNAME; mysql> \q Bye $ mysql -u root -p NEW_DBNAME <>
[edit] Flickr
<flickr>3332053782|thumb|t|left|Buckingham Palace</flickr>
Yields:
Ensure the photo is publically viewable!!!

