These are ids used by extension(s) such as Wikibase
to add language links in the sidebar.
Bug: 62754
Change-Id: Ie21fc3ea500bd7de3c01a9d8ec05373f016f339a
* @var string A string uniquely identifying the version of the serialization structure,
* not including any sub-structures.
*/
* @var string A string uniquely identifying the version of the serialization structure,
* not including any sub-structures.
*/
- const SERIAL_VERSION_ID = '2013-02-07';
+ const SERIAL_VERSION_ID = '2014-03-17';
/**
* Returns the version ID that identifies the serialization structure used by
/**
* Returns the version ID that identifies the serialization structure used by
array(
'internalIds' => $this->byInternalId,
'globalIds' => $this->byGlobalId,
array(
'internalIds' => $this->byInternalId,
'globalIds' => $this->byGlobalId,
+ 'navigationIds' => $this->byNavigationId
$this->byInternalId = $serializationData['internalIds'];
$this->byGlobalId = $serializationData['globalIds'];
$this->byInternalId = $serializationData['internalIds'];
$this->byGlobalId = $serializationData['globalIds'];
+ $this->byNavigationId = $serializationData['navigationIds'];
return $serializationData;
}
return $serializationData;
}
*/
foreach ( $list as $site ) {
$this->assertTrue( $copy->hasInternalId( $site->getInternalId() ) );
*/
foreach ( $list as $site ) {
$this->assertTrue( $copy->hasInternalId( $site->getInternalId() ) );
+
+ foreach( $site->getNavigationIds() as $navId ) {
+ $this->assertTrue(
+ $copy->hasNavigationId( $navId ),
+ 'unserialized data expects nav id ' . $navId . ' for site ' . $site->getGlobalId()
+ );
+ }