Florianschmidtwelzow has uploaded a new change for review.
https://gerrit.wikimedia.org/r/176245
Change subject: Hygiene: Fix phpdoc errors
......................................................................
Hygiene: Fix phpdoc errors
Change-Id: I389ac1c62e1ceabc51ef8517ba73e6da2e215515
---
M includes/MobileFrontend.hooks.php
M includes/api/ApiMobileView.php
M includes/modules/MobileUserModule.php
M includes/skins/SkinMinervaAlpha.php
4 files changed, 14 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/45/176245/1
diff --git a/includes/MobileFrontend.hooks.php
b/includes/MobileFrontend.hooks.php
index 9575f1d..a9aa607 100644
--- a/includes/MobileFrontend.hooks.php
+++ b/includes/MobileFrontend.hooks.php
@@ -1,4 +1,7 @@
<?php
+/**
+ * MobileFrontend.hooks.php
+ */
use Wikibase\Client\WikibaseClient;
use Wikibase\DataModel\Entity\ItemId;
@@ -965,6 +968,8 @@
/**
* LoginFormValidErrorMessages hook handler to promote MF specific
error message be valid.
+ *
+ * @param array $messages Array of already added messages
*/
public static function onLoginFormValidErrorMessages( &$messages ) {
$messages[] = 'mobile-frontend-donate-image-anon';
diff --git a/includes/api/ApiMobileView.php b/includes/api/ApiMobileView.php
index e5b121d..6868f3f 100644
--- a/includes/api/ApiMobileView.php
+++ b/includes/api/ApiMobileView.php
@@ -819,6 +819,7 @@
}
/**
+ * Returns usage examples for this module.
* @see ApiBase::getExamplesMessages()
*/
protected function getExamplesMessages() {
diff --git a/includes/modules/MobileUserModule.php
b/includes/modules/MobileUserModule.php
index 0ab9ae3..f3cb158 100644
--- a/includes/modules/MobileUserModule.php
+++ b/includes/modules/MobileUserModule.php
@@ -1,5 +1,9 @@
<?php
/**
+ * MobileUserModule.php
+ */
+
+/**
* Extends ResourceLoaderUserModule (Module for user-specific site
customizations).
*/
class MobileUserModule extends ResourceLoaderUserModule {
diff --git a/includes/skins/SkinMinervaAlpha.php
b/includes/skins/SkinMinervaAlpha.php
index aa3c227..9e79271 100644
--- a/includes/skins/SkinMinervaAlpha.php
+++ b/includes/skins/SkinMinervaAlpha.php
@@ -12,6 +12,10 @@
/** @var stringDescribes 'stability' of the skin - alpha, beta, stable
*/
protected $mode = 'alpha';
+ /**
+ * Get the needed styles for this skin
+ * @return array
+ */
protected function getSkinStyles() {
$styles = parent::getSkinStyles();
$styles[] = 'mediawiki.ui.icon';
--
To view, visit https://gerrit.wikimedia.org/r/176245
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I389ac1c62e1ceabc51ef8517ba73e6da2e215515
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits