Manual:Hooks/SkinTemplateNavigation::SpecialPage

Details

 * &$sktemplate: SkinTemplate object
 * &$links: Structured navigation links

This hook is called just prior to displaying the page navigation links on a Special Page. By modifying &$links you can change the text of the "Special Page" link along with adding other links to the bar.

The following code changes "Special Page" to "My Page" and adds a link to Google.

$links['namespaces']['special']['text'] = 'My Page';

$links['namespaces']['google']['text'] = 'Google'; $links['namespaces']['google']['href'] = 'http://www.google.com/';