Last modified: 2014-07-11 18:11:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68350, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66350 - Enable customization of footer
Enable customization of footer
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: Low enhancement
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-08 21:04 UTC by Patrick Schleizer
Modified: 2014-07-11 18:11 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Patrick Schleizer 2014-06-08 21:04:44 UTC
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.)
Comment 1 Bingle 2014-06-08 21:05:16 UTC
Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/5lXL9V0N
Comment 2 Florian 2014-06-08 22:10:04 UTC
Mobile Frontend does not support any kind of customization in footer :) Maybe it's good for third party wikis to create this functionallity.
Comment 3 Gerrit Notification Bot 2014-07-07 17:06:45 UTC
Change 144482 had a related patch set uploaded by Florianschmidtwelzow:
Enable customization of footer links

https://gerrit.wikimedia.org/r/144482
Comment 4 Gerrit Notification Bot 2014-07-11 18:01:47 UTC
Change 144482 merged by jenkins-bot:
Enable customization of footer links

https://gerrit.wikimedia.org/r/144482
Comment 5 Florian 2014-07-11 18:11:16 UTC
@mobile team: should we document the new Hook somewhere? (ExtensionMobileFrontend as subpage or in Manual:Hooks?)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links