Index: trunk/extensions/MobileFrontend/MobileFrontend.i18n.php |
— | — | @@ -76,6 +76,10 @@ |
77 | 77 | 'mobile-frontend-dismiss-notification' => 'dismiss this notification', |
78 | 78 | '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>', |
79 | 79 | 'mobile-frontend-clear-search' => 'Clear', |
| 80 | + |
| 81 | + //SpecialMobileFrontendContactUs |
| 82 | + 'mobilefrontendcontactus' => 'Contact us', |
| 83 | + 'mobilefrontendcontactus-description' => 'A contact page for MobileFrontend', |
80 | 84 | ); |
81 | 85 | |
82 | 86 | /** Message documentation (Message documentation) |
— | — | @@ -112,6 +116,9 @@ |
113 | 117 | 'mobile-frontend-placeholder' => 'Phrase used to prompt user to use search interface for mobile full screen search', |
114 | 118 | 'mobile-frontend-dismiss-notification' => 'Phrase used to dismiss the top banner notification', |
115 | 119 | 'mobile-frontend-clear-search' => 'Tooltip for clear button that appears when you type into search box', |
| 120 | + |
| 121 | + //SpecialMobileFrontendContactUs |
| 122 | + 'mobilefrontendcontactus-description' => '{{desc}}', |
116 | 123 | ); |
117 | 124 | |
118 | 125 | /** Achinese (Acèh) */ |
Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -64,12 +64,24 @@ |
65 | 65 | 'ApplicationWmlTemplate' => 'templates/ApplicationWmlTemplate', |
66 | 66 | 'ThanksNoticeTemplate' => 'templates/ThanksNoticeTemplate', |
67 | 67 | 'SopaNoticeTemplate' => 'templates/SopaNoticeTemplate', |
| 68 | + |
| 69 | + // special pages |
| 70 | + 'SpecialMobileFrontendContactUs' => 'special/SpecialMobileFrontendContactUs', |
68 | 71 | ); |
69 | 72 | |
70 | 73 | foreach ( $autoloadClasses as $className => $classFilename ) { |
71 | 74 | $wgAutoloadClasses[$className] = "$cwd/$classFilename.php"; |
72 | 75 | } |
73 | 76 | |
| 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 | + |
74 | 86 | /** |
75 | 87 | * Path to the logo used in the mobile view |
76 | 88 | * |
Index: trunk/extensions/MobileFrontend/templates/ApplicationTemplate.php |
— | — | @@ -61,8 +61,8 @@ |
62 | 62 | <head> |
63 | 63 | <title>{$this->data['htmlTitle']}</title> |
64 | 64 | <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' /> |
67 | 67 | {$filePageStyle} |
68 | 68 | <meta name="viewport" content="initial-scale=1.0"> |
69 | 69 | {$appleTouchIconTag} |