X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=blobdiff_plain;f=includes%2Fhtmlform%2FHTMLForm.php;h=af1743e07831d1c83bd1c002d343af97c62df7ff;hb=3d54d208bc0dd54baef18b3891ff0faf1d300214;hp=afb815f2d41e07d28e4aa6e02e1d22cbd70d8ff1;hpb=9ba178b8aa3aa93a5bba1d09cfa85527e8edfa8f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index afb815f2d4..af1743e078 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -21,6 +21,8 @@ * @file */ +use Wikimedia\ObjectFactory; + /** * Object handling generic submission, CSRF protection, layout and * other logic for UI forms. in a reusable manner. @@ -428,17 +430,6 @@ class HTMLForm extends ContextSource { return $this->displayFormat; } - /** - * Test if displayFormat is 'vform' - * @since 1.22 - * @deprecated since 1.25 - * @return bool - */ - public function isVForm() { - wfDeprecated( __METHOD__, '1.25' ); - return false; - } - /** * Get the HTMLFormField subclass for this descriptor. * @@ -502,7 +493,7 @@ class HTMLForm extends ContextSource { /** * Prepare form for submission. * - * @attention When doing method chaining, that should be the very last + * @warning When doing method chaining, that should be the very last * method call before displayForm(). * * @throws MWException @@ -1004,7 +995,7 @@ class HTMLForm extends ContextSource { * 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. + * @warning You should call prepareForm() before calling this function. * Moreover, when doing method chaining this should be the very last method * call just after prepareForm(). *