Last modified: 2012-01-14 20:55:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35726, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33726 - Semantic MediaWiki results not right for RSS format
Semantic MediaWiki results not right for RSS format
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-14 18:40 UTC by Jamie Thingelstad
Modified: 2012-01-14 20:55 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jamie Thingelstad 2012-01-14 18:40:26 UTC
On this page I have to ask queries:

http://rwbookclub.com/wiki/RW_Book_Club:Feeds

they are

{{#ask: [[Category:Book Pile]] 
|? Added by = creator
|? Added on = date
| sort=Added on
| order=DESC
| limit = 5
| format=table
}}

{{#ask: [[Category:Book Pile]] 
|? Added by = creator
|? Added on = date
| sort=Added on
| order=DESC
| limit = 5
| format=rss
| rsstitle=Book Pile
| rssdescription=Latest suggestions of books to consider reading.
}}

The only difference is one is a table and the other is RSS.

The table gives me the correct set of pages. The RSS output results in a completely different set of results. The criteria are the same though, so this seems like a bug.

I've tried different variations and the results I get with format=rss are unpredictable but repeatable. They are ordered properly via the order method, but the selection range doesn't make sense to me.
Comment 1 Jamie Thingelstad 2012-01-14 18:54:10 UTC
I added a 2nd query to this page that is similar but with slightly different criteria and it also has the same problem.
Comment 2 Jamie Thingelstad 2012-01-14 18:58:40 UTC
Whoa — I think I just figured it out. If I click on "Further results" for the table version of the output I get the same set that the RSS feed is showing.

It seems like the RSS feed is skipping the first page (whatever limit is set to) of results and starting at the 2nd page.
Comment 3 Jeroen De Dauw 2012-01-14 19:15:41 UTC
Ah, damn, this looks like something I messed up when fixing another issue in 1.7.0.1 :/

Ought to be fixed by r33726
Comment 4 Jeroen De Dauw 2012-01-14 19:16:16 UTC
err r108936
Comment 5 Jamie Thingelstad 2012-01-14 20:55:21 UTC
Upgraded to r108939 and confirmed fixed (after forcing a refresh of the query cache).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links