jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/405006 )

Change subject: Fix typos in comments
......................................................................


Fix typos in comments

Only the unintentional misspellings!

Note: there is a misspelled 'Threshhold' setting that I didn't touch
here, but which we should correct sometime.

Change-Id: I4c9a2b20e49ba8095a8d50d271ac5c4fd3790e0d
---
M DonationInterface.php
M README.txt
M gateway_common/DataValidator.php
M gateway_common/DonationData.php
M gateway_common/GatewayType.php
M gateway_common/MessageUtils.php
M gateway_common/gateway.adapter.php
M gateway_forms/Form.php
M globalcollect_gateway/IngenicoMethodCodec.php
M globalcollect_gateway/globalcollect.adapter.php
10 files changed, 21 insertions(+), 20 deletions(-)

Approvals:
  XenoRyet: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/DonationInterface.php b/DonationInterface.php
index a405afa..8504269 100644
--- a/DonationInterface.php
+++ b/DonationInterface.php
@@ -3,7 +3,7 @@
 /**
  * Donation Interface
  *
- *  To install the DontaionInterface extension, put the following line in 
LocalSettings.php:
+ *  To install the DonationInterface extension, put the following line in 
LocalSettings.php:
  *     require_once( "\$IP/extensions/DonationInterface/DonationInterface.php" 
);
  *
  */
diff --git a/README.txt b/README.txt
index 1781e10..680188a 100644
--- a/README.txt
+++ b/README.txt
@@ -1,11 +1,11 @@
 Donation Interface
 
-To install the DontaionInterface extension, put the following line in 
LocalSettings.php:
+To install the DonationInterface extension, put the following line in 
LocalSettings.php:
   wfLoadExtension( 'DonationInterface' );
 
 All of this extension's globals can be overridden on a per-gateway basis by
 adding a setting with the same name, but with 'DonationInterface' replaced
-with the gatway's name. To override $wgDonationInterfaceUseSyslog just for
+with the gateway's name. To override $wgDonationInterfaceUseSyslog just for
 Adyen, add
   $wgAdyenGatewayUseSyslog = true;
 to LocalSettings.php.
diff --git a/gateway_common/DataValidator.php b/gateway_common/DataValidator.php
index e30a3bc..5847584 100644
--- a/gateway_common/DataValidator.php
+++ b/gateway_common/DataValidator.php
@@ -382,7 +382,7 @@
         * Checks to make sure that the $value is present in the $data array, 
and not null or an empty string.
         * Anything else that is 'falseish' is still perfectly valid to have as 
a data point.
         * TODO: Consider doing this in a batch.
-        * @param string $value The value to check for non-emptyness.
+        * @param string $value The value to check for non-emptiness.
         * @return bool True if the $value is not missing or empty, otherwise 
false.
         */
        protected static function validate_not_empty( $value ) {
@@ -577,7 +577,7 @@
 
        /**
         * Takes either an IP address, or an IP address with a CIDR block, and
-        * expands it to an array containing all the relevent addresses so we 
can do
+        * expands it to an array containing all the relevant addresses so we 
can do
         * things like save the expanded list to memcache, and use in_array().
         * @param string $ip Either a single address, or a block.
         * @return array An expanded list of IP addresses denoted by $ip.
diff --git a/gateway_common/DonationData.php b/gateway_common/DonationData.php
index 39d1828..f729089 100644
--- a/gateway_common/DonationData.php
+++ b/gateway_common/DonationData.php
@@ -287,9 +287,9 @@
         * Returns an array of all the fields that get re-calculated during a
         * normalize.
         * This can be used on the outside when in the process of changing data,
-        * particularly if any of the recalculted fields need to be restaged by 
the
+        * particularly if any of the recalculated fields need to be restaged 
by the
         * gateway adapter.
-        * @return array An array of values matching all recauculated fields.
+        * @return array An array of values matching all recalculated fields.
         */
        public function getCalculatedFields() {
                $fields = array(
diff --git a/gateway_common/GatewayType.php b/gateway_common/GatewayType.php
index b5226f9..ca577fb 100644
--- a/gateway_common/GatewayType.php
+++ b/gateway_common/GatewayType.php
@@ -62,7 +62,7 @@
         * First array key: Some way for us to id the transaction. Doesn't 
actually have to be the gateway's name for it, but I'm going with that until I 
have a reason not to.
         * Second array key:
         *              'request' contains the structure of that request. 
Leaves in the array tree will eventually be mapped to actual values of ours,
-        *              according to the precidence established in the 
getTransactionSpecificValue function.
+        *              according to the precedence established in the 
getTransactionSpecificValue function.
         *              'values' contains default values for the transaction. 
Things that are typically not overridden should go here.
         *              'check_required' should be set to true for transactions 
that require donor information,
         *                like initial payment setup. TODO: different required 
fields per transaction
diff --git a/gateway_common/MessageUtils.php b/gateway_common/MessageUtils.php
index 572da6d..a7ebd68 100644
--- a/gateway_common/MessageUtils.php
+++ b/gateway_common/MessageUtils.php
@@ -6,15 +6,15 @@
 class MessageUtils {
 
        /**
-        * languageSpecificFallback - returns the text of the first existant 
message
+        * languageSpecificFallback - returns the text of the first existing 
message
         * in the requested language. If no messages are found in that 
language, the
-        * function returns the first existant fallback message.
+        * function returns the first existing fallback message.
         *
         * @param string $language the code of the requested language
         * @param array $msg_keys
         * @param array $params extra message parameters
         * @throws InvalidArgumentException
-        * @return String the text of the first existant message
+        * @return String the text of the first existing message
         */
        public static function languageSpecificFallback(
                $language = 'en', $msg_keys = array(), $params = array()
diff --git a/gateway_common/gateway.adapter.php 
b/gateway_common/gateway.adapter.php
index 7d11b22..98df338 100644
--- a/gateway_common/gateway.adapter.php
+++ b/gateway_common/gateway.adapter.php
@@ -426,7 +426,7 @@
 
        /**
         * Returns staged data from the adapter object, or null if a key was
-        * specified and no value exsits.
+        * specified and no value exists.
         * @param string $val An optional specific key you want returned.
         * @return mixed All the staged data held by the adapter, or if a key 
was
         * set, the staged value for that key.
@@ -836,7 +836,8 @@
         * nodes that we can't have showing up in the server logs.
         * Mostly for CVV: If we log those, we are all fired.
         * @param array $structure The transaction structure that we want to 
clean.
-        * @param array $never_log An array of values we should never log. 
These values should be the gateway's transaciton nodes, rather than our normal 
values.
+        * @param array $never_log An array of values we should never log. These
+        *  values should be the gateway's transaction nodes, rather than our 
normal values.
         * @return array $structure stripped of all references to the values in 
$never_log
         */
        protected function cleanTransactionStructureForLogs( $structure, 
$never_log ) {
@@ -1260,8 +1261,8 @@
         * Should have been constructed with either 
buildRequestNameValueString, or
         * buildRequestXML.
         * @return bool true if the communication was successful and there is a
-        * parseable response, false if there was a fundamental communication
-        * problem. (timeout, bad URL, etc.)
+        *  parseable response, false if there was a fundamental communication
+        *  problem. (timeout, bad URL, etc.)
         */
        protected function curl_transaction( $data ) {
                $this->profiler->getStopwatch( __FUNCTION__, true );
@@ -2862,7 +2863,7 @@
        }
 
        /**
-        * Retrieve data from the sesion if it's set, and null if it's not.
+        * Retrieve data from the session if it's set, and null if it's not.
         * @param string $key The array key to return from the session.
         * @param string $subkey Optional: The subkey to return from the 
session.
         * Only really makes sense if $key is an array.
@@ -3639,7 +3640,7 @@
 
        /**
         * Returns some useful debugging JSON we can append to loglines for
-        * increaded debugging happiness.
+        * increased debugging happiness.
         * This is working pretty well for debugging FormChooser problems, so
         * let's use it other places. Still, this should probably still be used
         * sparingly...
diff --git a/gateway_forms/Form.php b/gateway_forms/Form.php
index 08d979e..8111ab7 100644
--- a/gateway_forms/Form.php
+++ b/gateway_forms/Form.php
@@ -49,7 +49,7 @@
         * Determine the 'no cache' form action
         *
         * This mostly exists to ensure that the form does not try to use AJAX 
to
-        * overwrite certain hidden form params that are normally overwitten for
+        * overwrite certain hidden form params that are normally overwritten 
for
         * cached versions of the form.
         * @return string $url The full URL for the form to post to
         */
diff --git a/globalcollect_gateway/IngenicoMethodCodec.php 
b/globalcollect_gateway/IngenicoMethodCodec.php
index 88a1fe2..c492765 100644
--- a/globalcollect_gateway/IngenicoMethodCodec.php
+++ b/globalcollect_gateway/IngenicoMethodCodec.php
@@ -1,7 +1,7 @@
 <?php
 
 /**
- * Convert our payment methods into Ingencio codes.
+ * Convert our payment methods into Ingenico codes.
  */
 class IngenicoMethodCodec implements StagingHelper {
        /**
diff --git a/globalcollect_gateway/globalcollect.adapter.php 
b/globalcollect_gateway/globalcollect.adapter.php
index 7059d6e..1ccbd7d 100644
--- a/globalcollect_gateway/globalcollect.adapter.php
+++ b/globalcollect_gateway/globalcollect.adapter.php
@@ -919,7 +919,7 @@
 
                // If it's already cancelled or refunded, pat own back.
                // FIXME: I don't think the original txn goes into refunded 
status, just
-               // the refund txn with the same order id but negated efort ID
+               // the refund txn with the same order id but negated effort ID
                if ( $final_status === FinalStatus::CANCELLED
                        || $final_status === FinalStatus::REFUNDED
                ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4c9a2b20e49ba8095a8d50d271ac5c4fd3790e0d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
Gerrit-Reviewer: AndyRussG <[email protected]>
Gerrit-Reviewer: Mepps <[email protected]>
Gerrit-Reviewer: XenoRyet <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to