Fix param doc of OutputPage::setHTMLTitle
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 27 Jul 2014 15:21:01 +0000 (17:21 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Sun, 27 Jul 2014 15:22:03 +0000 (15:22 +0000)
Method also accept Message object

Change-Id: I3a5254a3776f0215667e64ff9d01d60b80375aca

includes/OutputPage.php

index aa0a908..6bea931 100644 (file)
@@ -892,7 +892,7 @@ class OutputPage extends ContextSource {
         * "HTML title" means the contents of "<title>".
         * It is stored as plain, unescaped text and will be run through htmlspecialchars in the skin file.
         *
-        * @param string $name
+        * @param string|Message $name
         */
        public function setHTMLTitle( $name ) {
                if ( $name instanceof Message ) {