Mwjames has uploaded a new change for review.

Change subject: (Bug 34477) Display cache info using SMW\ConceptPage class
......................................................................

(Bug 34477) Display cache info using SMW\ConceptPage class

+ Use SMW namespace
+ Add SMW\ConceptCacheInfo (this might be a bit too much but having
to access the array directly seems a bit fishy)
+ Add SMW\ConceptCacheInfoTest

## Note
Trying to access to mContext or $this->getContext() caused a
Notice: Inaccessible property via __get(): context in ... includes\Article.php 
on line 1911
but this can be circumvent by having access to the context in the 
SMWOrderedListPage
class. I haven't really understood why I can't get access to mContext
(since it extends Article class) directly.

Change-Id: I5eccab839ad2dd0d084b6a73e2dba0d331f47f8c
---
M SemanticMediaWiki.hooks.php
A includes/ConceptCacheInfo.php
M includes/SMW_Setup.php
A includes/articlepages/ConceptPage.php
D includes/articlepages/SMW_ConceptPage.php
M includes/articlepages/SMW_OrderedListPage.php
M includes/storage/SQLStore/SMW_SQLStore3.php
M includes/storage/compatSQLStore/SMW_SQLStore2.php
M languages/SMW_Messages.php
A tests/phpunit/includes/ConceptCacheInfoTest.php
10 files changed, 343 insertions(+), 95 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticMediaWiki 
refs/changes/09/44609/1
--
To view, visit https://gerrit.wikimedia.org/r/44609
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5eccab839ad2dd0d084b6a73e2dba0d331f47f8c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticMediaWiki
Gerrit-Branch: master
Gerrit-Owner: Mwjames <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to