Yaron Koren has uploaded a new change for review. https://gerrit.wikimedia.org/r/314714
Change subject: Fixed typos in comments ...................................................................... Fixed typos in comments Change-Id: I958f5cd3f79b02a941e1d6d1867244a4456ef92a --- M CargoQueryDisplayer.php M CargoUtils.php M parserfunctions/CargoStore.php 3 files changed, 9 insertions(+), 9 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cargo refs/changes/14/314714/2 diff --git a/CargoQueryDisplayer.php b/CargoQueryDisplayer.php index 4d174e5..06e0c31 100644 --- a/CargoQueryDisplayer.php +++ b/CargoQueryDisplayer.php @@ -52,7 +52,7 @@ /** * Given a format name, and a list of the fields, returns the name - * of the the function to call for that format. + * of the function to call for that format. */ public function getFormatClass() { $formatClasses = self::getAllFormatClasses(); diff --git a/CargoUtils.php b/CargoUtils.php index fafb804..443561c 100644 --- a/CargoUtils.php +++ b/CargoUtils.php @@ -233,8 +233,8 @@ } /** - * find the end of a quoted string - */ + * Finds the end of a quoted string. + */ public static function findQuotedStringEnd( $string, $quoteChar, $pos ) { $ignoreNextChar = false; for ( $i = $pos ; $i < strlen($string) ; $i++ ) { @@ -258,9 +258,9 @@ } /** - * Delete text within quotes and raise exception if a quoted string - * is not closed. - */ + * Deletes text within quotes and raises and exception if a quoted string + * is not closed. + */ public static function removeQuotedStrings( $string ) { $noQuotesPattern = '/("|\')([^\\1\\\\]|\\\\.)*?\\1/'; $string = preg_replace( $noQuotesPattern, '', $string ); @@ -302,7 +302,7 @@ } /** - * Parse a piece of wikitext differently depending on whether + * Parses a piece of wikitext differently depending on whether * we're in a special or regular page. * * @global WebRequest $wgRequest diff --git a/parserfunctions/CargoStore.php b/parserfunctions/CargoStore.php index 9f000ee..d92fb9b 100644 --- a/parserfunctions/CargoStore.php +++ b/parserfunctions/CargoStore.php @@ -16,7 +16,7 @@ const YEAR_ONLY = 3; /** - * Handles the #cargo_set parser function - saves data for one + * Handles the #cargo_store parser function - saves data for one * template call. * * @global string $wgCargoDigitGroupingCharacter @@ -26,7 +26,7 @@ */ public static function run( &$parser ) { // This function does actual DB modifications - so only proceed - // is this is called via either a page save or a "recreate + // if this is called via either a page save or a "recreate // data" action for a template that this page calls. if ( count( self::$settings ) == 0 ) { wfDebugLog( 'cargo', "CargoStore::run() - skipping.\n" ); -- To view, visit https://gerrit.wikimedia.org/r/314714 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I958f5cd3f79b02a941e1d6d1867244a4456ef92a Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Cargo Gerrit-Branch: master Gerrit-Owner: Yaron Koren <yaro...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits