Minor documentation fix for ContentHandler::makeParserOptions
authorMarius Hoch <hoo@online.de>
Sat, 1 Feb 2014 16:13:15 +0000 (17:13 +0100)
committerMarius Hoch <hoo@online.de>
Sat, 1 Feb 2014 16:13:15 +0000 (17:13 +0100)
Change-Id: I752edbf2f68d4f11bb24ccbce40f0618b4ac5e48

includes/content/ContentHandler.php

index 200d453..7c51345 100644 (file)
@@ -942,7 +942,7 @@ abstract class ContentHandler {
        }
 
        /**
-        * Get parser options suitable for rendering the primary article wikitext
+        * Get parser options suitable for rendering and caching the article
         *
         * @param IContextSource|User|string $context One of the following:
         *        - IContextSource: Use the User and the Language of the provided
@@ -952,8 +952,6 @@ abstract class ContentHandler {
         *        - 'canonical': Canonical options (anonymous user with default
         *                                            preferences and content language).
         *
-        * @param IContextSource|User|string $context
-        *
         * @throws MWException
         * @return ParserOptions
         */