Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php |
— | — | @@ -398,7 +398,7 @@ |
399 | 399 | // Use the revision directly to prevent other hooks to be called |
400 | 400 | $rev = Revision::newFromTitle( $title ); |
401 | 401 | if ( $rev ) { |
402 | | - $sha1OfRev = $rev->getSha1(); |
| 402 | + $sha1OfRev = $rev->getSize(); |
403 | 403 | $key = wfMemcKey( 'zero-rated-mobile-access-carrier-options', $sha1OfRev ); |
404 | 404 | $carrierOptions = $wgMemc->get( $key ); |
405 | 405 | } else { |
— | — | @@ -452,7 +452,7 @@ |
453 | 453 | // Use the revision directly to prevent other hooks to be called |
454 | 454 | $rev = Revision::newFromTitle( $title ); |
455 | 455 | if ( $rev ) { |
456 | | - $sha1OfRev = $rev->getSha1(); |
| 456 | + $sha1OfRev = $rev->getSize(); |
457 | 457 | $key = wfMemcKey( 'zero-rated-mobile-access-language-options', $sha1OfRev ); |
458 | 458 | $languageOptions = $wgMemc->get( $key ); |
459 | 459 | } else { |