Skip to content

Commit

Permalink
Merge pull request #10 from ProfessionalWiki/mw136compat
Browse files Browse the repository at this point in the history
Add compat with MW 36
  • Loading branch information
JeroenDeDauw authored Dec 27, 2020
2 parents 6a25af0 + 16734dd commit 002a811
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ version 3][license] (or any later version).

## Release notes

### Version 2.0.4

Released on 2020-12-27

* Added compatibility with MediaWiki 1.36

### Version 2.0.3

Released on 2020-09-07
Expand Down
2 changes: 1 addition & 1 deletion src/ResourceLoaderSCSSModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ protected function getCacheKey( ResourceLoaderContext $context ) {
// have to hash the module config, else it may become too long
$configHash = md5( $styles . $vars );

$this->cacheKey = wfMemcKey(
$this->cacheKey = \ObjectCache::getLocalClusterInstance()->makeKey(
'ext',
'scss',
$configHash,
Expand Down

0 comments on commit 002a811

Please sign in to comment.