Minor code comment tweaks for spelling and consistency
authorMZMcBride <g@mzmcbride.com>
Sat, 8 Nov 2014 19:07:19 +0000 (14:07 -0500)
committerMZMcBride <g@mzmcbride.com>
Sat, 8 Nov 2014 19:07:19 +0000 (14:07 -0500)
Change-Id: I51391f45d0f81e4245ccc0e435a71ccd5b0e3ca3

includes/cache/MessageCache.php
includes/parser/Parser.php
includes/skins/SkinTemplate.php
maintenance/dev/includes/router.php
tests/phpunit/MediaWikiTestCase.php

index 99dafa6..6face4f 100644 (file)
@@ -72,7 +72,7 @@ class MessageCache {
        protected $mExpiry;
 
        /**
-        * Message cache has it's own parser which it uses to transform
+        * Message cache has its own parser which it uses to transform
         * messages.
         */
        protected $mParserOptions, $mParser;
index e6486ff..07a104b 100644 (file)
  *
  * - Parser::parse()
  *     produces HTML output
- * - Parser::preSaveTransform().
- *     produces altered wiki markup.
+ * - Parser::preSaveTransform()
+ *     produces altered wiki markup
  * - Parser::preprocess()
  *     removes HTML comments and expands templates
  * - Parser::cleanSig() and Parser::cleanSigInSig()
- *     Cleans a signature before saving it to preferences
+ *     cleans a signature before saving it to preferences
  * - Parser::getSection()
- *     Return the content of a section from an article for section editing
+ *     return the content of a section from an article for section editing
  * - Parser::replaceSection()
- *     Replaces a section by number inside an article
+ *     replaces a section by number inside an article
  * - Parser::getPreloadText()
- *     Removes <noinclude> sections, and <includeonly> tags.
+ *     removes <noinclude> sections and <includeonly> tags
  *
  * Globals used:
  *    object: $wgContLang
@@ -4829,7 +4829,7 @@ class Parser {
 
        /**
         * Transform wiki markup when saving a page by doing "\r\n" -> "\n"
-        * conversion, substitting signatures, {{subst:}} templates, etc.
+        * conversion, substituting signatures, {{subst:}} templates, etc.
         *
         * @param string $text The text to transform
         * @param Title $title The Title object for the current article
index 0d4e623..6c72703 100644 (file)
@@ -488,7 +488,7 @@ class SkinTemplate extends Skin {
                        wfDebug( __METHOD__ . ": Hook SkinTemplateOutputPageBeforeExec broke outputPage execution!\n" );
                }
 
-               // Set the bodytext to another key so that skins can just output it on it's own
+               // Set the bodytext to another key so that skins can just output it on its own
                // and output printfooter and debughtml separately
                $tpl->set( 'bodycontent', $tpl->data['bodytext'] );
 
index 0a65e31..97c8954 100644 (file)
@@ -98,5 +98,5 @@ if ( $mime ) {
        return true;
 }
 
-# Let the php server handle things on it's own otherwise
+# Let the php server handle things on its own otherwise
 return false;
index 95d3c40..05275c8 100644 (file)
@@ -783,7 +783,7 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
 
        /**
         * Utility method taking an array of elements and wrapping
-        * each element in it's own array. Useful for data providers
+        * each element in its own array. Useful for data providers
         * that only return a single argument.
         *
         * @since 1.20