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

Revision: 71956
Author:   nikerabbit
Date:     2010-08-30 15:53:09 +0000 (Mon, 30 Aug 2010)

Log Message:
-----------
Doc tweaks.

Modified Paths:
--------------
    trunk/extensions/Translate/tag/SpecialPageTranslationMovePage.php

Modified: trunk/extensions/Translate/tag/SpecialPageTranslationMovePage.php
===================================================================
--- trunk/extensions/Translate/tag/SpecialPageTranslationMovePage.php   
2010-08-30 14:54:31 UTC (rev 71955)
+++ trunk/extensions/Translate/tag/SpecialPageTranslationMovePage.php   
2010-08-30 15:53:09 UTC (rev 71956)
@@ -16,7 +16,7 @@
  * @ingroup PageTranslation
  */
 class SpecialPageTranslationMovePage extends UnlistedSpecialPage {
-       // Basif form parameters both as text and as titles
+       // Basic form parameters both as text and as titles
        protected $newText, $newTitle, $oldText, $oldTitle;
 
        // Other form parameters
@@ -191,7 +191,7 @@
        /**
         * The query form.
         */
-       protected function showForm( ) {
+       protected function showForm() {
                global $wgOut;
 
                $wgOut->addWikiMsg( 'pt-movepage-intro' );
@@ -218,7 +218,12 @@
 
        /**
         * Shortcut for keeping the code at least a bit readable. Adds label 
and input into $form array.
-        * @todo Document parameters.
+        * @param $form \list{String} Array where input element and label is 
appended.
+        * @param $label \string Label text.
+        * @param $name \string Name attribute.
+        * @param $size \int Size attribute of the input element. Default false.
+        * @param $text \string Text of the value attribute. Default false.
+        * @param $attribs \array Extra attributes. Default empty array.
         */
        protected function addInputLabel( &$form, $label, $name, $size = false 
, $text = false, $attribs = array() ) {
                $br = Html::element( 'br' );



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

Reply via email to