SMW - Inline Queries issues after updating to mediawiki 1.28.2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SMW - Inline Queries issues after updating to mediawiki 1.28.2

TekSystems, Steven Charteris
Hello,

After upgrading mediawiki it seems my inline queries return no content
even though the content they seek exists.

mediawiki version: 1.28.2
SMW version 2.5.2

This is unfortunately a private wiki so I cannot link to it. To test, I
made a simplified query statement and was able to recreate the result.
On my page I have the following:

{{#ask: [[Category:Bacterium]]
 |?RDR Best Fit=Best Fit Model
}}

It results in a two column table. The first column has a link to every
page in the Bacterium category as it should.
The second column, however, shows up blank.

I can navigate to Property:RDR_Best_Fit on the wiki and see that data
exists there.

If I click the eye icon next to one of the pages in question, I can see
that RDR Best Fit indeed has a value, as below:

RDR Best Fit     exponential

Has something changed with how inline queries work that might be
preventing the query above from successfully pulling the data?

I very much appreciate your help.

Thanks,

Steve
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SMW - Inline Queries issues after updating to mediawiki 1.28.2

James HK
Hi,

> After upgrading mediawiki it seems my inline queries return no content
> even though the content they seek exists.

Just to confirm, the upgrade only consist of replacing MediaWiki or
SMW as well?

> made a simplified query statement and was able to recreate the result.
> {{#ask: [[Category:Bacterium]]
>  |?RDR Best Fit=Best Fit Model
> }}

Is your use case observable on the sandbox [0], if not, can you create
an example that replicates your observation. Aside, from the specific
query, some related questions:

- Does executing the query via Special:Ask create the same observation?
- Selecting a different property on the same condition creates a
similar behaviour?
- Did you change the typing of property `RDR Best Fit` recently?

> Has something changed with how inline queries work that might be
> preventing the query above from successfully pulling the data?

No.

[0] https://sandbox.semantic-mediawiki.org

Cheers

On 6/13/17, TekSystems, Steven Charteris <[hidden email]> wrote:

> Hello,
>
> After upgrading mediawiki it seems my inline queries return no content
> even though the content they seek exists.
>
> mediawiki version: 1.28.2
> SMW version 2.5.2
>
> This is unfortunately a private wiki so I cannot link to it. To test, I
> made a simplified query statement and was able to recreate the result.
> On my page I have the following:
>
> {{#ask: [[Category:Bacterium]]
>  |?RDR Best Fit=Best Fit Model
> }}
>
> It results in a two column table. The first column has a link to every
> page in the Bacterium category as it should.
> The second column, however, shows up blank.
>
> I can navigate to Property:RDR_Best_Fit on the wiki and see that data
> exists there.
>
> If I click the eye icon next to one of the pages in question, I can see
> that RDR Best Fit indeed has a value, as below:
>
> RDR Best Fit     exponential
>
> Has something changed with how inline queries work that might be
> preventing the query above from successfully pulling the data?
>
> I very much appreciate your help.
>
> Thanks,
>
> Steve
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Semediawiki-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Loading...