http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99540

Revision: 99540
Author:   reedy
Date:     2011-10-11 19:36:24 +0000 (Tue, 11 Oct 2011)
Log Message:
-----------
Fixup a few more bits of documentation

Modified Paths:
--------------
    trunk/extensions/Translate/tag/TranslatablePage.php
    trunk/extensions/Translate/utils/MessageWebImporter.php

Modified: trunk/extensions/Translate/tag/TranslatablePage.php
===================================================================
--- trunk/extensions/Translate/tag/TranslatablePage.php 2011-10-11 19:30:30 UTC 
(rev 99539)
+++ trunk/extensions/Translate/tag/TranslatablePage.php 2011-10-11 19:36:24 UTC 
(rev 99540)
@@ -433,8 +433,8 @@
        /**
         * Adds a tag which indicates that this page is
         * suitable for translation.
-        * @param $revision integer
-        * @param null $value
+        * @param $revision integer|Revision
+        * @param $value string
         */
        public function addMarkedTag( $revision, $value = null ) {
                $this->addTag( 'tp:mark', $revision, $value );
@@ -444,12 +444,18 @@
        /**
         * Adds a tag which indicates that this page source is
         * ready for marking for translation.
-        * @param $revision integer
+        * @param $revision integer|Revision
         */
        public function addReadyTag( $revision ) {
                $this->addTag( 'tp:tag', $revision );
        }
 
+       /**
+        * @param $tag
+        * @param $revision Revision
+        * @param $value string
+        * @throws MWException
+        */
        protected function addTag( $tag, $revision, $value = null ) {
                $dbw = wfGetDB( DB_MASTER );
 

Modified: trunk/extensions/Translate/utils/MessageWebImporter.php
===================================================================
--- trunk/extensions/Translate/utils/MessageWebImporter.php     2011-10-11 
19:30:30 UTC (rev 99539)
+++ trunk/extensions/Translate/utils/MessageWebImporter.php     2011-10-11 
19:36:24 UTC (rev 99540)
@@ -376,10 +376,10 @@
         * @static
         * @throws MWException
         * @param Title $title
-        * @param  $message
-        * @param  $comment
-        * @param null $user
-        * @param int $editFlags
+        * @param $message
+        * @param $comment
+        * @param $user User
+        * @param $editFlags
         * @return array
         */
        public static function doImport( $title, $message, $comment, $user = 
null, $editFlags = 0 ) {


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to