| Index: branches/REL1_6/phase3/includes/GlobalFunctions.php |
| — | — | @@ -1494,19 +1494,6 @@ |
| 1495 | 1495 | */ |
| 1496 | 1496 | function wfIncrStats( $key ) { |
| 1497 | 1497 | global $wgDBname, $wgMemc; |
| 1498 | | - /* LIVE HACK AVOID MEMCACHED ACCESSES DURING HIGH LOAD */ |
| 1499 | | - if ($wgDBname != 'enwiki' and $wgDBname != 'dewiki' and $wgDBname != 'commonswiki' and $wgDBname != 'testwiki') |
| 1500 | | - return true; |
| 1501 | | - static $socket; |
| 1502 | | - if (!$socket) { |
| 1503 | | - $socket=socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); |
| 1504 | | - $statline="{$wgDBname} - 1 1 1 1 1 -total\n"; |
| 1505 | | - socket_sendto($socket,$statline,strlen($statline),0,"webster","3811"); |
| 1506 | | - } |
| 1507 | | - $statline="{$wgDBname} - 1 1 1 1 1 {$key}\n"; |
| 1508 | | - socket_sendto($socket,$statline,strlen($statline),0,"webster","3811"); |
| 1509 | | - return true; |
| 1510 | | - |
| 1511 | 1498 | $key = "$wgDBname:stats:$key"; |
| 1512 | 1499 | if ( is_null( $wgMemc->incr( $key ) ) ) { |
| 1513 | 1500 | $wgMemc->add( $key, 1 ); |
| Index: branches/REL1_6/phase3/RELEASE-NOTES |
| — | — | @@ -6,9 +6,13 @@ |
| 7 | 7 | == MediaWiki 1.6.4 == |
| 8 | 8 | |
| 9 | 9 | * Further improvements to Hebrew localisation |
| 10 | | -* (bug 5544) Fix redirect arrow in Special:Listredirects for right-to-left languages |
| 11 | | -* Replace "doubleredirectsarrow" with a content language check that picks the appropriate arrow |
| | 10 | +* (bug 5544) Fix redirect arrow in Special:Listredirects for right-to-left |
| | 11 | + languages |
| | 12 | +* Replace "doubleredirectsarrow" with a content language check that picks |
| | 13 | + the appropriate arrow |
| | 14 | +* Remove live debugging hack which caused errors with certain database names |
| 12 | 15 | |
| | 16 | + |
| 13 | 17 | == MediaWiki 1.6.3 == |
| 14 | 18 | |
| 15 | 19 | April 10, 2006 |