diff --git a/includes/CacheHelper.php b/includes/CacheHelper.php
index 5209857e4b9..8199cb4a4b1 100644
--- a/includes/CacheHelper.php
+++ b/includes/CacheHelper.php
@@ -73,7 +73,8 @@ interface ICacheHelper {
function saveCache();
/**
- * Sets the time to live for the cache, in seconds or a unix timestamp indicating the point of expiry..
+ * Sets the time to live for the cache, in seconds or a unix timestamp
+ * indicating the point of expiry...
*
* @since 1.20
*
@@ -319,7 +320,8 @@ class CacheHelper implements ICacheHelper {
}
/**
- * Sets the time to live for the cache, in seconds or a unix timestamp indicating the point of expiry..
+ * Sets the time to live for the cache, in seconds or a unix timestamp
+ * indicating the point of expiry...
*
* @since 1.20
*
diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php
index f9ab140a17f..845a144ddb9 100644
--- a/includes/GlobalFunctions.php
+++ b/includes/GlobalFunctions.php
@@ -3207,7 +3207,7 @@ function wfUseMW( $req_ver ) {
* http://bugs.php.net/bug.php?id=33898
*
* PHP's basename() only considers '\' a pathchar on Windows and Netware.
- * We'll consider it so always, as we don't want \s in our Unix paths either.
+ * We'll consider it so always, as we don't want '\s' in our Unix paths either.
*
* @param $path String
* @param $suffix String: to remove if present
diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php
index 9ced19e9937..38b15b9e479 100644
--- a/includes/HTMLForm.php
+++ b/includes/HTMLForm.php
@@ -688,7 +688,7 @@ class HTMLForm extends ContextSource {
/**
* Format a stack of error messages into a single HTML string
* @param $errors Array of message keys/values
- * @return String HTML, a
list of errors
+ * @return String HTML, a "
" list of errors
*/
public static function formatErrors( $errors ) {
$errorstr = '';
@@ -1991,7 +1991,7 @@ class HTMLSelectAndOtherField extends HTMLSelectField {
/**
* @param $request WebRequest
- * @return Array( ,