We are currently at these versions:
MediaWiki 1.15.3
Semantic MediaWiki 1.5.6
We would like to upgrade to the newest stable versions of both of these
including the other Semantic extensions that we use. I was told that there
were some major changes to the database structure with the newer
---
$result = array();
$query = [[Title picutre::+]] [[Category: some category]] ?Title
picture;
$result = SF_Utils::getAllPagesForQuery( $query );
Very interesting, but doesnt work for me
% php
Yes, you use GET in this case. If you use API from your javascript
No, I dont need to get data from javascript, I need to receive data with php
on server side and generate the page, I hoped that I can do it with some
Semantic API, but it is not so simple as I
I'm not sure that it should work in a maintenance script. Also why do you
think that the result shouldn't be empty in your case?
Anyway, here how I figured this way - I've executed the query from
Special:Ask and ran the debugger :)
-
Yury Katkov, WikiVote
On Fri, Feb 1, 2013 at 4:51 PM,
Hi,
Yes, there have been some major changes to the database in SMW 1.8; at
least the table names have changed.
All the documentation can be found at [1] but I am afraid they aren't that
complete.
It is advised to not directly query with these tables and use SMW's
abstraction to the extent
Hi,
The only thing I would add to that is that it's possible to upgrade to SMW
1.8 while keeping the old database structure, by adding the following to
LocalSettings.php:
$smwgDefaultStore = 'SMWSQLStore2';
This isn't a good long-term solution, though, because support for SQLStore2
will