Yurik has uploaded a new change for review.
https://gerrit.wikimedia.org/r/248231
Change subject: fixed documentation
......................................................................
fixed documentation
Change-Id: Iee0988a1df8e392a6b7c47e485372e8af8dd80f5
---
M includes/MobileFrontend.skin.hooks.php
1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/31/248231/1
diff --git a/includes/MobileFrontend.skin.hooks.php
b/includes/MobileFrontend.skin.hooks.php
index f97c7a7..61994f1 100644
--- a/includes/MobileFrontend.skin.hooks.php
+++ b/includes/MobileFrontend.skin.hooks.php
@@ -6,8 +6,8 @@
* Returns HTML of terms of use link or null if it shouldn't be
displayed
* Note: This is called by a hook in the WikimediaMessages extension.
*
- * @param $urlMsgKey Key of i18n message containing terms of use URL
(optional)
- *
+ * @param Skin $sk
+ * @param string $urlMsgKey Key of i18n message containing terms of use
URL (optional)
* @return null|string
*/
protected static function getTermsLink( $sk, $urlMsgKey =
'mobile-frontend-terms-url' ) {
@@ -45,7 +45,7 @@
// Use shorter text for some common licensing strings.
See Installer.i18n.php
// for the currently offered strings. Unfortunately,
there is no good way to
// comprehensively support localized licensing strings
since the license (as
- // stored in LocalSetttings.php) is just freeform text,
not an i18n key.
+ // stored in LocalSettings.php) is just freeform text,
not an i18n key.
$commonLicenses = array(
'Creative Commons Attribution-Share Alike 3.0'
=> 'CC BY-SA 3.0',
'Creative Commons Attribution Share Alike' =>
'CC BY-SA',
@@ -120,7 +120,7 @@
* @param QuickTemplate $tpl
* @param MobileContext $ctx
* @param Title $title
- * @param Request $req
+ * @param WebRequest $req
*/
public static function desktopFooter( $sk, $tpl, $ctx, $title, $req ) {
$footerlinks = $tpl->data['footerlinks'];
@@ -147,7 +147,8 @@
* @param QuickTemplate $tpl
* @param MobileContext $ctx
* @param Title $title
- * @param Request $req
+ * @param WebRequest $req
+ * @return QuickTemplate
*/
protected static function mobileFooter( $sk, $tpl, $ctx, $title, $req )
{
$url = $sk->getOutput()->getProperty( 'desktopUrl' );
@@ -252,4 +253,3 @@
return $sitename . $suffix;
}
}
-
--
To view, visit https://gerrit.wikimedia.org/r/248231
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee0988a1df8e392a6b7c47e485372e8af8dd80f5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Yurik <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits