r98924 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98923‎ | r98924 | r98925 >
Date:21:09, 4 October 2011
Author:reedy
Status:ok
Tags:
Comment:
Few bits more documentation
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)
  • /trunk/extensions/Translate/api/ApiQueryMessageCollection.php (modified) (history)
  • /trunk/extensions/Translate/utils/StringMatcher.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageGroups.php
@@ -743,6 +743,9 @@
744744 return $wgLanguageCode;
745745 }
746746
 747+ /**
 748+ * @return Title
 749+ */
747750 public function getTitle() {
748751 if ( is_string( $this->title ) ) {
749752 $this->title = Title::newFromText( $this->title );
Index: trunk/extensions/Translate/utils/StringMatcher.php
@@ -61,6 +61,7 @@
6262
6363 /**
6464 * Alias for making NO-OP string mangler.
 65+ * @return StringMatcher
6566 */
6667 public static function EmptyMatcher() {
6768 return new StringMatcher;
Index: trunk/extensions/Translate/api/ApiQueryMessageCollection.php
@@ -31,6 +31,9 @@
3232 $this->run( $resultPageSet );
3333 }
3434
 35+ /**
 36+ * @param $resultPageSet ApiPageSet
 37+ */
3538 private function run( $resultPageSet = null ) {
3639 $params = $this->extractRequestParams();
3740

Status & tagging log