(bug 43595) Add a cache version variable to SiteArray
authorMarius Hoch <hoo@online.de>
Wed, 2 Jan 2013 22:18:50 +0000 (23:18 +0100)
committerMarius Hoch <hoo@online.de>
Thu, 3 Jan 2013 19:53:04 +0000 (20:53 +0100)
commit9f06c90aa0ee966d987073fe9ed09ba0d640c923
tree8bacc9f9fff401f2bff976b101f08d1ca7e17c02
parent1256724550556e5e35810bb88b20ef87dbe1ce47
(bug 43595) Add a cache version variable to SiteArray

Added a $cacheVersion variable to SiteArray to prevent problems
on SiteArray format changes due to a Memcached value of the object
being stored in the outdated format. This already caused disruption
on wikidata.org twice.

(This new version isn't tested as I don't have a memcached environment
with me atm.)

Change-Id: Ib290b465276b6be8b8753c27ea3f57d4597ec3c1
includes/site/SiteArray.php
includes/site/Sites.php