MZMcBride has uploaded a new change for review.
https://gerrit.wikimedia.org/r/172040
Change subject: Minor code comment tweaks for spelling and consistency
......................................................................
Minor code comment tweaks for spelling and consistency
Change-Id: I51391f45d0f81e4245ccc0e435a71ccd5b0e3ca3
---
M includes/cache/MessageCache.php
M includes/parser/Parser.php
M includes/skins/SkinTemplate.php
M maintenance/dev/includes/router.php
M tests/phpunit/MediaWikiTestCase.php
5 files changed, 11 insertions(+), 11 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/40/172040/1
diff --git a/includes/cache/MessageCache.php b/includes/cache/MessageCache.php
index 99dafa6..6face4f 100644
--- a/includes/cache/MessageCache.php
+++ b/includes/cache/MessageCache.php
@@ -72,7 +72,7 @@
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;
diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php
index e6486ff..07a104b 100644
--- a/includes/parser/Parser.php
+++ b/includes/parser/Parser.php
@@ -35,18 +35,18 @@
*
* - 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 @@
/**
* 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
diff --git a/includes/skins/SkinTemplate.php b/includes/skins/SkinTemplate.php
index 0d4e623..6c72703 100644
--- a/includes/skins/SkinTemplate.php
+++ b/includes/skins/SkinTemplate.php
@@ -488,7 +488,7 @@
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'] );
diff --git a/maintenance/dev/includes/router.php
b/maintenance/dev/includes/router.php
index 0a65e31..97c8954 100644
--- a/maintenance/dev/includes/router.php
+++ b/maintenance/dev/includes/router.php
@@ -98,5 +98,5 @@
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;
diff --git a/tests/phpunit/MediaWikiTestCase.php
b/tests/phpunit/MediaWikiTestCase.php
index 95d3c40..05275c8 100644
--- a/tests/phpunit/MediaWikiTestCase.php
+++ b/tests/phpunit/MediaWikiTestCase.php
@@ -783,7 +783,7 @@
/**
* 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
--
To view, visit https://gerrit.wikimedia.org/r/172040
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I51391f45d0f81e4245ccc0e435a71ccd5b0e3ca3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: MZMcBride <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits