Umherirrender has uploaded a new change for review.
https://gerrit.wikimedia.org/r/124167
Change subject: Changed some comments from /// to /** @var */
......................................................................
Changed some comments from /// to /** @var */
Change-Id: I55b30099e4464c272c35bcabbddbb0b1364a5d65
---
M includes/Block.php
M includes/logging/LogFormatter.php
M includes/search/SearchEngine.php
M includes/specials/SpecialBlock.php
M includes/specials/SpecialSearch.php
5 files changed, 19 insertions(+), 19 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/67/124167/1
diff --git a/includes/Block.php b/includes/Block.php
index 74ece4c..7271118 100644
--- a/includes/Block.php
+++ b/includes/Block.php
@@ -31,22 +31,22 @@
$mCreateAccount,
$mParentBlockId;
- /// @var User|String
+ /** @var User|String */
protected $target;
- // @var Integer Hack for foreign blocking (CentralAuth)
+ /** @var Integer Hack for foreign blocking (CentralAuth) */
protected $forcedTargetID;
- /// @var Block::TYPE_ constant. Can only be USER, IP or RANGE
internally
+ /** @var Block::TYPE_ constant. Can only be USER, IP or RANGE
internally */
protected $type;
- /// @var User
+ /** @var User */
protected $blocker;
- /// @var Bool
+ /** @var Bool */
protected $isHardblock = true;
- /// @var Bool
+ /** @var Bool */
protected $isAutoblocking = true;
# TYPE constants
diff --git a/includes/logging/LogFormatter.php
b/includes/logging/LogFormatter.php
index 4f44d75..ed3a8da 100644
--- a/includes/logging/LogFormatter.php
+++ b/includes/logging/LogFormatter.php
@@ -77,10 +77,10 @@
/** @var LogEntryBase */
protected $entry;
- /// Integer constant for handling log_deleted
+ /** @var Integer Constant for handling log_deleted */
protected $audience = self::FOR_PUBLIC;
- /// Whether to output user tool links
+ /** @var bool Whether to output user tool links */
protected $linkFlood = false;
/**
diff --git a/includes/search/SearchEngine.php b/includes/search/SearchEngine.php
index 507a520..687f9a4 100644
--- a/includes/search/SearchEngine.php
+++ b/includes/search/SearchEngine.php
@@ -37,7 +37,7 @@
var $namespaces = array( NS_MAIN );
protected $showSuggestion = true;
- /// Feature values
+ /** @var Array Feature values */
protected $features = array();
/**
diff --git a/includes/specials/SpecialBlock.php
b/includes/specials/SpecialBlock.php
index 9b1b2b3..57637c9 100644
--- a/includes/specials/SpecialBlock.php
+++ b/includes/specials/SpecialBlock.php
@@ -32,19 +32,19 @@
* or as subpage (Special:Block/Foo) */
protected $target;
- /// @var Block::TYPE_ constant
+ /** @var Integer Block::TYPE_ constant */
protected $type;
- /// @var User|String the previous block target
+ /** @var User|String the previous block target */
protected $previousTarget;
- /// @var Bool whether the previous submission of the form asked for
HideUser
+ /** @var Bool whether the previous submission of the form asked for
HideUser */
protected $requestedHideUser;
- /// @var Bool
+ /** @var Bool */
protected $alreadyBlocked;
- /// @var Array
+ /** @var Array */
protected $preErrors = array();
public function __construct() {
diff --git a/includes/specials/SpecialSearch.php
b/includes/specials/SpecialSearch.php
index d4c47e8..ec8d754 100644
--- a/includes/specials/SpecialSearch.php
+++ b/includes/specials/SpecialSearch.php
@@ -34,20 +34,20 @@
* For users tt replaces the set of enabled namespaces from the query
* string when applicable. Extensions can add new profiles with hooks
* with custom search options just for that profile.
- * null|string
+ * @var null|string
*/
protected $profile;
- /// Search engine
+ /** @var SearchEngine Search engine */
protected $searchEngine;
- /// Search engine type, if not default
+ /** @var String Search engine type, if not default */
protected $searchEngineType;
- /// For links
+ /** @var Array For links */
protected $extraParams = array();
- /// No idea, apparently used by some other classes
+ /** @var String No idea, apparently used by some other classes */
protected $mPrefix;
/**
--
To view, visit https://gerrit.wikimedia.org/r/124167
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I55b30099e4464c272c35bcabbddbb0b1364a5d65
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits