r40880 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40879‎ | r40880 | r40881 >
Date:20:38, 15 September 2008
Author:siebrand
Status:old
Tags:
Comment:
* Fix common spelling error (seperate -> separate)
Modified paths:
  • /trunk/phase3/includes/Exif.php (modified) (history)
  • /trunk/phase3/includes/IP.php (modified) (history)
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)
  • /trunk/phase3/languages/Language.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/maintenance/language/messageTypes.inc (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)
  • /trunk/phase3/skins/disabled/MonoBookCBT.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messages.inc
@@ -260,7 +260,7 @@
261261 'newmessageslink',
262262 'newmessagesdifflink',
263263 'youhavenewmessagesmulti',
264 - 'newtalkseperator',
 264+ 'newtalkseparator',
265265 'editsection',
266266 'editsection-brackets',
267267 'editold',
Index: trunk/phase3/maintenance/language/messageTypes.inc
@@ -84,7 +84,7 @@
8585 'markaspatrolledlink',
8686 'newarticletextanon',
8787 'newsectionheaderdefaultlevel',
88 - 'newtalkseperator',
 88+ 'newtalkseparator',
8989 'noarticletextanon',
9090 'number_of_watching_users_RCview',
9191 'pagecategorieslink',
Index: trunk/phase3/skins/disabled/MonoBookCBT.php
@@ -443,7 +443,7 @@
444444 $this->mOut->setSquidMaxage(0);
445445 }
446446 } else if (count($newtalks)) {
447 - $sep = str_replace("_", " ", wfMsgHtml("newtalkseperator"));
 447+ $sep = str_replace("_", " ", wfMsgHtml("newtalkseparator"));
448448 $msgs = array();
449449 foreach ($newtalks as $newtalk) {
450450 $msgs[] = wfElement("a",
Index: trunk/phase3/includes/Exif.php
@@ -48,7 +48,7 @@
4949 /**
5050 * Exif tags grouped by category, the tagname itself is the key and the type
5151 * is the value, in the case of more than one possible value type they are
52 - * seperated by commas.
 52+ * separated by commas.
5353 */
5454 var $mExifTags;
5555
Index: trunk/phase3/includes/SkinTemplate.php
@@ -308,7 +308,7 @@
309309 $out->setSquidMaxage(0);
310310 }
311311 } else if (count($newtalks)) {
312 - $sep = str_replace("_", " ", wfMsgHtml("newtalkseperator"));
 312+ $sep = str_replace("_", " ", wfMsgHtml("newtalkseparator"));
313313 $msgs = array();
314314 foreach ($newtalks as $newtalk) {
315315 $msgs[] = wfElement("a",
Index: trunk/phase3/includes/IP.php
@@ -141,7 +141,7 @@
142142 public static function toOctet( $ip_int ) {
143143 // Convert to padded uppercase hex
144144 $ip_hex = wfBaseConvert($ip_int, 10, 16, 32, false);
145 - // Seperate into 8 octets
 145+ // Separate into 8 octets
146146 $ip_oct = substr( $ip_hex, 0, 4 );
147147 for ($n=1; $n < 8; $n++) {
148148 $ip_oct .= ':' . substr($ip_hex, 4*$n, 4);
@@ -159,7 +159,7 @@
160160 public static function HextoOctet( $ip_hex ) {
161161 // Convert to padded uppercase hex
162162 $ip_hex = str_pad( strtoupper($ip_hex), 32, '0');
163 - // Seperate into 8 octets
 163+ // Separate into 8 octets
164164 $ip_oct = substr( $ip_hex, 0, 4 );
165165 for ($n=1; $n < 8; $n++) {
166166 $ip_oct .= ':' . substr($ip_hex, 4*$n, 4);
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -740,7 +740,7 @@
741741 'newmessageslink' => 'new messages',
742742 'newmessagesdifflink' => 'last change',
743743 'youhavenewmessagesmulti' => 'You have new messages on $1',
744 -'newtalkseperator' => ',_', # do not translate or duplicate this message to other languages
 744+'newtalkseparator' => ',_', # do not translate or duplicate this message to other languages
745745 'editsection' => 'edit',
746746 'editsection-brackets' => '[$1]', # only translate this message to other languages if you have to change it
747747 'editold' => 'edit',
Index: trunk/phase3/languages/Language.php
@@ -1824,7 +1824,7 @@
18251825 * LanguageIs.php for the , => . and . => , implementation.
18261826 *
18271827 * @todo check if it's viable to use localeconv() for the decimal
1828 - * seperator thing.
 1828+ * separator thing.
18291829 * @param $number Mixed: the string to be formatted, should be an integer
18301830 * or a floating point number.
18311831 * @param $nocommafy Bool: set to true for special numbers like dates