Page MenuHomePhabricator

Enable customization of footer
Closed, ResolvedPublic

Description

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

Details

Reference
bz66350

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 https://trello.com/c/5lXL9V0N

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

https://gerrit.wikimedia.org/r/144482

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

https://gerrit.wikimedia.org/r/144482

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