https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113870
Revision: 113870
Author: awjrichards
Date: 2012-03-14 22:50:20 +0000 (Wed, 14 Mar 2012)
Log Message:
-----------
Followup r113865, removing 'disable mobile site permanantly' elements from
footer template
Modified Paths:
--------------
trunk/extensions/MobileFrontend/MobileFrontend.body.php
trunk/extensions/MobileFrontend/templates/FooterTemplate.php
Modified: trunk/extensions/MobileFrontend/MobileFrontend.body.php
===================================================================
--- trunk/extensions/MobileFrontend/MobileFrontend.body.php 2012-03-14
22:34:54 UTC (rev 113869)
+++ trunk/extensions/MobileFrontend/MobileFrontend.body.php 2012-03-14
22:50:20 UTC (rev 113870)
@@ -1398,7 +1398,7 @@
$action = $this->getAction();
- if ( $action === 'edit' || $action === 'history' ) {
+ if ( $action === 'edit' ){// || $action === 'history' ) {
return false;
}
Modified: trunk/extensions/MobileFrontend/templates/FooterTemplate.php
===================================================================
--- trunk/extensions/MobileFrontend/templates/FooterTemplate.php
2012-03-14 22:34:54 UTC (rev 113869)
+++ trunk/extensions/MobileFrontend/templates/FooterTemplate.php
2012-03-14 22:50:20 UTC (rev 113870)
@@ -9,14 +9,12 @@
public function getHTML() {
$regularSite =
$this->data['messages']['mobile-frontend-regular-site'];
- $permStopRedirect =
$this->data['messages']['mobile-frontend-perm-stop-redirect'];
$copyright =
$this->data['messages']['mobile-frontend-copyright'];
$disableImages =
$this->data['messages']['mobile-frontend-disable-images'];
$enableImages =
$this->data['messages']['mobile-frontend-enable-images'];
$leaveFeedback =
$this->data['messages']['mobile-frontend-leave-feedback'];
$leaveFeedbackURL = $this->data['leaveFeedbackURL'];
- $disableMobileSiteURL = $this->data['disableMobileSiteURL'];
$viewNormalSiteURL = $this->data['viewNormalSiteURL'];
if ( $this->data['disableImages'] == 0 ) {
@@ -39,9 +37,6 @@
<div class='nav' id='footmenu'>
<div class='mwm-notice'>
<a
href="{$viewNormalSiteURL}">{$regularSite}</a> | <a
href="{$imagesURL}">{$imagesToggle}</a> {$feedbackLink} {$logoutLink}
- <div id="perm">
- <a
href="{$disableMobileSiteURL}">{$permStopRedirect}</a>
- </div>
</div>
</div>
<div id='copyright'>{$copyright}</div>
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs