resourceloader: Avoid deprecated getModifiedHash() in SkinModule
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 28 Mar 2017 21:34:18 +0000 (14:34 -0700)
committerPaladox <thomasmulhall410@yahoo.com>
Tue, 28 Mar 2017 21:37:24 +0000 (22:37 +0100)
commit20b445e22f236e3deb5249021126021fe396f382
treeb027d90a2200b91709ee5e01dbafeb63d263239e
parent5c68ea56aa61bb745cb6bc4b26b559e36a462f6a
resourceloader: Avoid deprecated getModifiedHash() in SkinModule

Use getDefinitionSummary instead, which uses a single serialisation
pass instead of requiring every stage to be a string. This way
we don't need to call json_encode and md5() multiple times.

getModifiedHash() was deprecated in MediaWiki 1.26.

Change-Id: If9e9caa3d12976c99543ad53ab280355b70acb17
includes/resourceloader/ResourceLoaderSkinModule.php