Hello, I am hacking SMW, because I need to retrive some data from the mediawiki database and use it to render skin. I know this is the dirty hack, but I do not see another way.


I need execute query like this



#ask: [[Title picture::+]] [[Category: some category]]

| ?Title picture

| format = ## here some special format ? ##

| limit=10



and receive the answer like a simple array


array(0 => array("self" => Title object,

"Title_picture" => Title object),

1 => array("self" => Title objec ....



While the actual data is receiving by format function, specified in the query, I dont have any idea how to receive data like simple array. Do I need to write my own format function ?