jenkins-bot has submitted this change and it was merged.

Change subject: Rename scriptUrl to wgScript
......................................................................


Rename scriptUrl to wgScript

consistent with desktop skin template property name

Change-Id: I8c1c033210ffa1b93b7302a4187d7f78df5c0ee6
---
M includes/skins/SkinMobileBase.php
M includes/skins/SkinMobileTemplate.php
M includes/skins/SkinMobileWML.php
3 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  MaxSem: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/skins/SkinMobileBase.php 
b/includes/skins/SkinMobileBase.php
index 1e2006c..32852dc 100644
--- a/includes/skins/SkinMobileBase.php
+++ b/includes/skins/SkinMobileBase.php
@@ -109,7 +109,7 @@
 
                $tpl = $this->setupTemplate( $this->template );
                $tpl->setRef( 'skin', $this );
-               $tpl->set( 'scriptUrl', wfScript() );
+               $tpl->set( 'wgScript', wfScript() );
 
                $url = MobileContext::singleton()->getDesktopUrl( wfExpandUrl(
                        $this->getRequest()->appendQuery( 
'mobileaction=toggle_view_desktop' )
diff --git a/includes/skins/SkinMobileTemplate.php 
b/includes/skins/SkinMobileTemplate.php
index 6e5d0b3..968040a 100644
--- a/includes/skins/SkinMobileTemplate.php
+++ b/includes/skins/SkinMobileTemplate.php
@@ -124,7 +124,7 @@
                }
                ?>
                <?php $this->html( 'menuButton' ) ?>
-               <form id="mw-mf-searchForm" action="<?php $this->text( 
'scriptUrl' ) ?>" class="search-box" method="get">
+               <form id="mw-mf-searchForm" action="<?php $this->text( 
'wgScript' ) ?>" class="search-box" method="get">
                        <input type="hidden" value="Special:Search" 
name="title" />
                        <div id="mw-mf-sq" class="divclearable">
                                <input type="search" name="search" 
id="searchInput" size="22" value="<?php $this->text( 'searchField' )
diff --git a/includes/skins/SkinMobileWML.php b/includes/skins/SkinMobileWML.php
index 3722124..78266ff 100644
--- a/includes/skins/SkinMobileWML.php
+++ b/includes/skins/SkinMobileWML.php
@@ -28,7 +28,7 @@
                </template>
                <p><input emptyok="true" format="*M" type="text" name="search" 
value="" size="16" />
                        <do type="accept" label="<?php $this->msg( 
'mobile-frontend-search-submit' ) ?>">
-                               <go href="<?php $this->text( 'scriptUrl' ) 
?>?title=Special%3ASearch&amp;search=<?php $this->text( 'searchField' ) 
?>"></go></do>
+                               <go href="<?php $this->text( 'wgScript' ) 
?>?title=Special%3ASearch&amp;search=<?php $this->text( 'searchField' ) 
?>"></go></do>
                </p>
                <?php $this->html( 'bodytext' ) ?>
        </wml>

-- 
To view, visit https://gerrit.wikimedia.org/r/58443
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8c1c033210ffa1b93b7302a4187d7f78df5c0ee6
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: awjrichards <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to