Skinning MediaWiki: Difference between revisions
From charlesreid1
(Created page with "=General Information= The basic idea behind skinning MediaWiki is to create PHP/HTML code that will serve as a header and footer for your wiki. You can imagine the page being sp...") |
No edit summary |
||
| Line 5: | Line 5: | ||
{|class="wikitable zebra" style="border-width: 2px; border-style: solid;" | {|class="wikitable zebra" style="border-width: 2px; border-style: solid;" | ||
|- | |- | ||
|Head | |Page Head and Title | ||
|This is defined by MediaWiki | |||
<pre> | |||
<html> | |||
<head> | |||
... | |||
</head> | |||
<body> | |||
</pre> | |||
|- | |- | ||
|Body | |Page Body: Body Header | ||
|This is defined by your skin | |||
|- | |- | ||
|Body | |Page Body: Wiki Page Content | ||
|This is defined by MediaWiki (and inserted/abstracted by your skin) | |||
|- | |- | ||
|Body | |Page Body: Body Footer | ||
|This is defined by your skin | |||
|- | |- | ||
| | |Page End | ||
|This is defined by MediaWiki | |||
<pre> | |||
</body> | |||
</html> | |||
</pre> | |||
|} | |} | ||
Revision as of 03:32, 25 May 2012
General Information
The basic idea behind skinning MediaWiki is to create PHP/HTML code that will serve as a header and footer for your wiki. You can imagine the page being split into several pieces:
| Page Head and Title | This is defined by MediaWiki
<html> <head> ... </head> <body> |
| Page Body: Body Header | This is defined by your skin |
| Page Body: Wiki Page Content | This is defined by MediaWiki (and inserted/abstracted by your skin) |
| Page Body: Body Footer | This is defined by your skin |
| Page End | This is defined by MediaWiki
</body> </html> |