r113769 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113768‎ | r113769 | r113770 >
Date:22:06, 13 March 2012
Author:awjrichards
Status:reverted
Tags:
Comment:
Bumping CSS version
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.i18n.php (modified) (history)
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)
  • /trunk/extensions/MobileFrontend/templates/ApplicationTemplate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.i18n.php
@@ -76,6 +76,10 @@
7777 'mobile-frontend-dismiss-notification' => 'dismiss this notification',
7878 'mobile-frontend-sopa-notice' => '<h3 id="sopa-notice">Thank you for protecting Wikipedia.</h3><br/><a href="http://en.wikipedia.org/wiki/Wikipedia:SOPA_initiative/Mobile_Learn_more">(We’re not done yet.)</a>',
7979 'mobile-frontend-clear-search' => 'Clear',
 80+
 81+ //SpecialMobileFrontendContactUs
 82+ 'mobilefrontendcontactus' => 'Contact us',
 83+ 'mobilefrontendcontactus-description' => 'A contact page for MobileFrontend',
8084 );
8185
8286 /** Message documentation (Message documentation)
@@ -112,6 +116,9 @@
113117 'mobile-frontend-placeholder' => 'Phrase used to prompt user to use search interface for mobile full screen search',
114118 'mobile-frontend-dismiss-notification' => 'Phrase used to dismiss the top banner notification',
115119 'mobile-frontend-clear-search' => 'Tooltip for clear button that appears when you type into search box',
 120+
 121+ //SpecialMobileFrontendContactUs
 122+ 'mobilefrontendcontactus-description' => '{{desc}}',
116123 );
117124
118125 /** Achinese (Acèh) */
Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -64,12 +64,24 @@
6565 'ApplicationWmlTemplate' => 'templates/ApplicationWmlTemplate',
6666 'ThanksNoticeTemplate' => 'templates/ThanksNoticeTemplate',
6767 'SopaNoticeTemplate' => 'templates/SopaNoticeTemplate',
 68+
 69+ // special pages
 70+ 'SpecialMobileFrontendContactUs' => 'special/SpecialMobileFrontendContactUs',
6871 );
6972
7073 foreach ( $autoloadClasses as $className => $classFilename ) {
7174 $wgAutoloadClasses[$className] = "$cwd/$classFilename.php";
7275 }
7376
 77+// Special page definitions (classes autloaded above)
 78+$specialPages = array(
 79+ 'MobileFrontendContactUs' => 'SpecialMobileFrontendContactUs',
 80+);
 81+
 82+foreach ( $specialPages as $specialPageName => $specialClassName ) {
 83+ $wgSpecialPages[ $specialPageName ] = $specialClassName;
 84+}
 85+
7486 /**
7587 * Path to the logo used in the mobile view
7688 *
Index: trunk/extensions/MobileFrontend/templates/ApplicationTemplate.php
@@ -61,8 +61,8 @@
6262 <head>
6363 <title>{$this->data['htmlTitle']}</title>
6464 <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
65 - <link href='{$this->data['wgExtensionAssetsPath']}/MobileFrontend/stylesheets/{$betaPrefix}common.css?version=1331257310' media='all' rel='Stylesheet' type='text/css' />
66 - <link href='{$this->data['wgExtensionAssetsPath']}/MobileFrontend/stylesheets/{$cssFileName}.css?version=1331257310' media='all' rel='Stylesheet' type='text/css' />
 65+ <link href='{$this->data['wgExtensionAssetsPath']}/MobileFrontend/stylesheets/{$betaPrefix}common.css?version=1331676342' media='all' rel='Stylesheet' type='text/css' />
 66+ <link href='{$this->data['wgExtensionAssetsPath']}/MobileFrontend/stylesheets/{$cssFileName}.css?version=1331676342' media='all' rel='Stylesheet' type='text/css' />
6767 {$filePageStyle}
6868 <meta name="viewport" content="initial-scale=1.0">
6969 {$appleTouchIconTag}

Follow-up revisions

RevisionCommit summaryAuthorDate
r113770Revert r113769, mistakenly checked in codeawjrichards22:07, 13 March 2012
r114201MFT r113486, r113488, r113512, r113553, r113640, r113642, r113644, r113645, r...awjrichards22:18, 19 March 2012

Status & tagging log