Fix function doc of ContentHandler::getLocalizedName
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 16 Nov 2013 11:28:48 +0000 (12:28 +0100)
committerIAlex <codereview@emsenhuber.ch>
Sat, 16 Nov 2013 12:16:06 +0000 (12:16 +0000)
The funcion is about model, so the return value is also about model.

Change-Id: I18325eb33525a334a2a6db15f4381c627845c711

includes/content/ContentHandler.php

index 89ef4e4..ede4306 100644 (file)
@@ -350,7 +350,7 @@ abstract class ContentHandler {
         * @param string $name The content model ID, as given by a CONTENT_MODEL_XXX
         *    constant or returned by Revision::getContentModel().
         *
-        * @return string The content format's localized name.
+        * @return string The content model's localized name.
         * @throws MWException if the model id isn't known.
         */
        public static function getLocalizedName( $name ) {