Jack Phoenix has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/403860 )
Change subject: wfMemcKey (deprecated in MW 1.30) -> makeKey() on a BagOStuff instance ...................................................................... wfMemcKey (deprecated in MW 1.30) -> makeKey() on a BagOStuff instance Change-Id: I62960014189aa608465e1a0c858f3683525a94cb --- M includes/RandomGameUnit.class.php 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RandomGameUnit refs/changes/60/403860/1 diff --git a/includes/RandomGameUnit.class.php b/includes/RandomGameUnit.class.php index f452ef5..ab445ee 100644 --- a/includes/RandomGameUnit.class.php +++ b/includes/RandomGameUnit.class.php @@ -73,7 +73,7 @@ case 'quiz': $quiz = array(); // Try cache - $key = wfMemcKey( 'quiz', 'order', 'q_id', 'count', $count ); + $key = $wgMemc->makeKey( 'quiz', 'order', 'q_id', 'count', $count ); $data = $wgMemc->get( $key ); if ( $data ) { wfDebugLog( 'RandomGameUnit', "Got quiz list ($count) from cache" ); @@ -107,7 +107,7 @@ case 'picgame': // Try cache $pics = array(); - $key = wfMemcKey( 'picgame', 'order', 'q_id', 'count', $count ); + $key = $wgMemc->makeKey( 'picgame', 'order', 'q_id', 'count', $count ); $data = $wgMemc->get( $key ); if ( $data ) { wfDebugLog( 'RandomGameUnit', "Got picture game list ($count) ordered by id from cache" ); -- To view, visit https://gerrit.wikimedia.org/r/403860 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I62960014189aa608465e1a0c858f3683525a94cb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/RandomGameUnit Gerrit-Branch: master Gerrit-Owner: Jack Phoenix <ash...@uncyclomedia.co> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits