Extension:LandingPage

LandingPage is an extension to MediaWiki that includes in the page the title, user name or real name for the landing page of a redirect or a direct link.

Installation

 * 1) Download LandingPage.php and LandingPage/LandingPage.i18n.php, and save them in extensions/LandingPage directory on your wiki.
 * 2) Insert this line in the LocalSettings.php file:

Usage
Assume there is a redirect pointing to the user page User:Username  and a redirect  Some programmer  pointing to this page, then a wikicode like  will report Realname if this is defined.


 *   page name of landing page.
 *   subpage name of landing page.
 *   prefixed name of landing page.
 *   user name of landing page, reports error if its not a user page. (Additional redirect in the user space?)
 *   real user name of landing page, reports error if its not a user page. (Additional redirect in the user space?)
 *   real user name of landing page, or the page name if not user space. (Additional redirect in the user space?) (not implemented)

If the name of the parser function is prepended with "LINK", then a link to the page is created instead of the name. (not implemented)

Alternatives

 * Not known

Feedback
Use the discussion page for feedback, questions, feature requests and bug reports.