Extension:AddPersonalUrls

Extension
 * name     = AddPersonalUrls
 * status   = beta
 * type     = hook
 * author   = RV1971
 * image    =
 * version  = 0.1
 * update   = 2007-05-31
 * mediawiki = >=1.10.0
 * download =
 * readme   =
 * changelog =
 * description = add some items to the personal URLs
 * parameters=
 * rights   =
 * example  =

Purpose
This extension adds some items to the personal URLs bar. It can be seen as a demo for using the PersonalUrls hook. You're likely to customize it for your needs.

The current version adds the following items:


 * A link to the Extension:DynamicPageList Special Page which displays all subpages of the user's page.


 * A link to a subpage "Favorites" of the current user's page.


 * A link to a subpage "Sandbox" of the current user's page.


 * A link to a subpage "Notes" of the current user's page.

Except the first item, all of these are blank pages at the beginning which belong to your personal space. You can store any kind of wikitext in it, the names are just suggestions.

Installation

 * You need to have the Extension:DynamicPageList installed, otherwise the first item does not work. If you can't or don't want to do that, you can simply remove the related pieces of code from the source.


 * Save the to a file extensions/AddPersonalUrls/AddPersonalUrls.php.

require_once( "extensions/AddPersonalUrls/AddPersonalUrls.php" );
 * Add the following line to your LocalSettings.php:


 * Create system messages that will be used as titles. The needed pages and suggested contents are:
 * MediaWiki:Mypages – my pages
 * MediaWiki:Favorites – my favorites
 * MediaWiki:Sandbox – my sandbox
 * MediaWiki:Mynotes – my notes

Even though this extension has been tested on MediaWiki 1.9, it is likely to work on earlier versions as well.

Change Log

 * 0.1 :
 * First version published.