Bartosz Dziewoński has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/131476

Change subject: Documentation cleanup in Content-related files
......................................................................

Documentation cleanup in Content-related files

Mostly extracted from I979e2438.

Change-Id: I6562d111c15425957eaaad31ded175811d7abf1c
---
M includes/content/Content.php
M includes/content/TextContent.php
M includes/content/WikitextContent.php
3 files changed, 3 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/76/131476/1

diff --git a/includes/content/Content.php b/includes/content/Content.php
index 210c117..3286c0a 100644
--- a/includes/content/Content.php
+++ b/includes/content/Content.php
@@ -86,7 +86,7 @@
        public function getNativeData();
 
        /**
-        * Returns the content's nominal size in bogo-bytes.
+        * Returns the content's nominal size in "bogo-bytes".
         *
         * @return int
         */
diff --git a/includes/content/TextContent.php b/includes/content/TextContent.php
index b13b5fa..a7298d3 100644
--- a/includes/content/TextContent.php
+++ b/includes/content/TextContent.php
@@ -77,9 +77,9 @@
        }
 
        /**
-        * 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();
diff --git a/includes/content/WikitextContent.php 
b/includes/content/WikitextContent.php
index 9b1a3c7..dba0205 100644
--- a/includes/content/WikitextContent.php
+++ b/includes/content/WikitextContent.php
@@ -258,8 +258,6 @@
         *    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 @@
         * @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
         */

-- 
To view, visit https://gerrit.wikimedia.org/r/131476
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6562d111c15425957eaaad31ded175811d7abf1c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <matma....@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to