SMW - Inline Queries issues after updating to mediawiki 1.28.2

classic Classic list List threaded Threaded
4 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

TekSystems, Steven Charteris
Hi again,

Thank you so much for taking the time to respond and my deepest
apologies for the delay in getting back to you.

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

The upgrade was actually both MediaWiki and SMW.

> Is your use case observable on the sandbox [0], if not, can you
create an example that replicates your observation.

I was not able to recreate the issue on the sandbox.  

> - Does executing the query via Special:Ask create the same
observation?

Yes, it does

> - Selecting a different property on the same condition creates a
similar behaviour?

Yes, a similar behavior is created

> - Did you change the typing of property `RDR Best Fit` recently?

No, the typing has not changed recently.

All that said, I was mistaken before thinking the wiki was private, it
actually is open to the public. I can give two links that will help
demonstrate this example:

1. I used my user page to test and this is the full page showing all
the blank content where the ask should be returning values:

http://qmrawiki.canr.msu.edu/index.php/User:Charteri

2. Here is the simplified query through the special:ask page. You can
see that the RDR Best Fit column shows up blank, but if you click it
you can see the values are there.

http://qmrawiki.canr.msu.edu/index.php?title=Special%3AAsk&q=%5B%5BCate
gory%3ABacterium%5D%5D&po=%3FRDR+Best+Fit%0D%0A&eq=yes&p%5Bformat%5D=br
oadtable&sort_num=&order_num=ASC&p%5Blimit%5D=&p%5Boffset%5D=&p%5Blink%
5D=all&p%5Bsort%5D=&p%5Bheaders%5D=show&p%5Bmainlabel%5D=&p%5Bintro%5D=
&p%5Boutro%5D=&p%5Bsearchlabel%5D=...+further+results&p%5Bdefault%5D=&p
%5Bclass%5D=sortable+wikitable+smwtable&p%5Bsep%5D=&eq=yes


I appreciate your help thus far, please let me know if I can provide
any further information.

Thanks,

Steve

On Tue, 2017-06-13 at 06:42 +0900, James HK wrote:

> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Hermann Schwärzler
Hi Steven,

when I look at the source of your user page I see this:

{{#ask:[[[Recommended DR Model::<q>[[Category:Bacterium]]</q>]]|format =
template ... }}

Do you see that there are 3 [[[ instead of 2 [[ after "#ask:"?
This could be the problem.

If you look at your user page you will see a small warning sign at the
bottom of the table (just behind the footnote) with a mouse-over text
stating that the third [ is causing problems and "Resulsts might not be
as expected"...

Greetings
Hermann

On 07/03/2017 05:14 PM, Charteris, Steven wrote:

> Hi again,
>
> Thank you so much for taking the time to respond and my deepest
> apologies for the delay in getting back to you.
>
>> Just to confirm, the upgrade only consist of replacing MediaWiki or
> SMW as well?
>
> The upgrade was actually both MediaWiki and SMW.
>
>> Is your use case observable on the sandbox [0], if not, can you
> create an example that replicates your observation.
>
> I was not able to recreate the issue on the sandbox.  
>
>> - Does executing the query via Special:Ask create the same
> observation?
>
> Yes, it does
>
>> - Selecting a different property on the same condition creates a
> similar behaviour?
>
> Yes, a similar behavior is created
>
>> - Did you change the typing of property `RDR Best Fit` recently?
>
> No, the typing has not changed recently.
>
> All that said, I was mistaken before thinking the wiki was private, it
> actually is open to the public. I can give two links that will help
> demonstrate this example:
>
> 1. I used my user page to test and this is the full page showing all
> the blank content where the ask should be returning values:
>
> http://qmrawiki.canr.msu.edu/index.php/User:Charteri
>
> 2. Here is the simplified query through the special:ask page. You can
> see that the RDR Best Fit column shows up blank, but if you click it
> you can see the values are there.
>
> http://qmrawiki.canr.msu.edu/index.php?title=Special%3AAsk&q=%5B%5BCate
> gory%3ABacterium%5D%5D&po=%3FRDR+Best+Fit%0D%0A&eq=yes&p%5Bformat%5D=br
> oadtable&sort_num=&order_num=ASC&p%5Blimit%5D=&p%5Boffset%5D=&p%5Blink%
> 5D=all&p%5Bsort%5D=&p%5Bheaders%5D=show&p%5Bmainlabel%5D=&p%5Bintro%5D=
> &p%5Boutro%5D=&p%5Bsearchlabel%5D=...+further+results&p%5Bdefault%5D=&p
> %5Bclass%5D=sortable+wikitable+smwtable&p%5Bsep%5D=&eq=yes
>
>
> I appreciate your help thus far, please let me know if I can provide
> any further information.
>
> Thanks,
>
> Steve
>
> On Tue, 2017-06-13 at 06:42 +0900, James HK wrote:
>> 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
>

------------------------------------------------------------------------------
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...