Remove occurence of $wgOut in HTMLForm::displayForm()'s documentation
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 3 Jun 2013 08:51:06 +0000 (10:51 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 3 Jun 2013 08:51:06 +0000 (10:51 +0200)
Mention the context instead

Change-Id: Ic081abc7ee8b63281d7a4d56fac9333e79e39f29

includes/HTMLForm.php

index e4a77a0..33e447e 100644 (file)
@@ -588,8 +588,8 @@ class HTMLForm extends ContextSource {
        }
 
        /**
-        * Display the form (sending to $wgOut), with an appropriate error
-        * message or stack of messages, and any validation errors, etc.
+        * Display the form (sending to the context's OutputPage object), with an
+        * appropriate error message or stack of messages, and any validation errors, etc.
         *
         * @attention You should call prepareForm() before calling this function.
         * Moreover, when doing method chaining this should be the very last method