Documentation cleanup in Content-related files
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 5 May 2014 15:04:10 +0000 (17:04 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 5 May 2014 15:04:10 +0000 (17:04 +0200)
Mostly extracted from I979e2438.

Change-Id: I6562d111c15425957eaaad31ded175811d7abf1c

includes/content/Content.php
includes/content/TextContent.php
includes/content/WikitextContent.php

index 210c117..3286c0a 100644 (file)
@@ -86,7 +86,7 @@ interface Content {
        public function getNativeData();
 
        /**
-        * Returns the content's nominal size in bogo-bytes.
+        * Returns the content's nominal size in "bogo-bytes".
         *
         * @return int
         */
index b13b5fa..a7298d3 100644 (file)
@@ -77,9 +77,9 @@ class TextContent extends AbstractContent {
        }
 
        /**
-        * returns the text's size in bytes.
+        * Returns the text's size in bytes.
         *
-        * @return int The size
+        * @return int
         */
        public function getSize() {
                $text = $this->getNativeData();
index 9b1a3c7..dba0205 100644 (file)
@@ -258,8 +258,6 @@ class WikitextContent extends TextContent {
         *    find out (default: null).
         * @param Title $title Optional title, defaults to the title from the current main request.
         *
-        * @internal param \IContextSource $context context for parsing if necessary
-        *
         * @return bool
         */
        public function isCountable( $hasLinks = null, Title $title = null ) {
@@ -319,7 +317,6 @@ class WikitextContent extends TextContent {
         * @param int $revId Revision to pass to the parser (default: null)
         * @param ParserOptions $options (default: null)
         * @param bool $generateHtml (default: true)
-        * @internal param \IContextSource|null $context
         *
         * @return ParserOutput Representing the HTML form of the text
         */