Extension:PersonalisedHomepage
![]() Release status: stable |
|
---|---|
Implementation | MyWiki |
Description | Allows users to create their own homepage |
Author(s) | Mark Clements (HappyDogtalk) |
MediaWiki | 1.6+ |
Database changes | No |
License | Creative Commons Attribution Share Alike 2.5 |
Download | Source is available externally |
The PersonalisedHomepage extension allows users to personalise the home page by creating a new page in their user space that will be used instead.
Usage
editCreate a sub-page of your user page which has the same name as the main page of your wiki. By default this is Main Page
, but this is configurable on a per-wiki basis so it may differ in your case. You can find the correct name by checking the contents of MediaWiki:Mainpage for the wiki in question. "Main Page
" should be replaced by the appropriate value for your wiki throughout the remainder of these instructions.
If your username was "Sir Dennis
" you would therefore create your personalised home page at "User:Sir Dennis/Main Page
". You can edit the page to contain whatever you want. If you want to include the contents of the non-customised main page then add {{:Main Page}}
at the point you want it to appear.
Installation
edit- Obtain the code and place the file(s) in a directory called
PersonalisedHomepage
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
require_once "$IP/extensions/PersonalisedHomepage/PersonalisedHomepage.php";
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.