Mwjames has uploaded a new change for review.

Change subject: Add source auto default
......................................................................

Add source auto default

A method that determines an auto default value.

## Notes
Auto default will allow queries to be retrieved from a different source
without having to use 'source' as input paramter, each individual #ask
query and more importantly all methods that use getQueryResults will have
an auto default value.

## Example
We use 'source' to retrieve queries from cache, which means now that
each query automatically will use the method maintained by
$smwgQuerySources['default'] = ... as standard source for all queries.

This method only comes into play for cases where $smwgQueryCache is
maintained and for all other cases smwfGetStore() is used as default.

Change-Id: I70dea4e59ef7cda0e8df68d774727b7b0959c610
---
M includes/params/SMW_ParamSource.php
1 file changed, 18 insertions(+), 1 deletion(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I70dea4e59ef7cda0e8df68d774727b7b0959c610
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