Page MenuHomePhabricator

Enable customization of footer
Closed, ResolvedPublic


The following works in LocalSettings.php using normal skin, but doesn't work when using mobile view.

$wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'Impressum';
function Impressum( $sk, &$tpl ) {

$tpl->set( 'Impressum', $sk->footerLink( 'Impressum', 'Impressum' ) );
$tpl->data['footerlinks']['places'][] = 'Impressum';
return true;


(Normally it should add an "Impressum" link to the footer.)

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:10 AM
bzimport set Reference to bz66350.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Trello card

Mobile Frontend does not support any kind of customization in footer :) Maybe it's good for third party wikis to create this functionallity.

Change 144482 had a related patch set uploaded by Florianschmidtwelzow:
Enable customization of footer links

Change 144482 merged by jenkins-bot:
Enable customization of footer links

@mobile team: should we document the new Hook somewhere? (ExtensionMobileFrontend as subpage or in Manual:Hooks?)