Last modified: 2013-04-30 16:06:36 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 T38919, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36919 - Article Feedback Page - Filter and Sort URL parameters
Article Feedback Page - Filter and Sort URL parameters
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedbackv5 (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 36920 39043
  Show dependency treegraph
 
Reported: 2012-05-16 23:07 UTC by Fabrice Florin
Modified: 2013-04-30 16:06 UTC (History)
5 users (show)

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


Attachments

Description Fabrice Florin 2012-05-16 23:07:01 UTC
It would be very useful if we could enable users to add URL parameters after a link to the feedback page, in order to insure that the page is filtered and sorted the same way for all users who click on that link.

Here is an example of what such a link might look like:

http://prototype.wikimedia.org/release-en/Special:ArticleFeedbackv5/Golden-crowned_Sparrow?filter=relevant&sort=date&sort-order=newest

Clicking on such a link would cause the page to be filtered by relevance, and sorted by date, with the newest post listed first.

We may even want to have these parameters appear in the address bar after a user clicks on a filter or sort link, essentially refreshing the page to include the full URL, so that it can be easily shared.

Here are some examples of wording we might use for the filter and sort URLs:

Filters:
relevant
comments
helpful
featured
all-visible

Sort:
relevance
date
helpfulness
rating

Sort order:
most-relevant
least-relevant
newest
oldest

Similarly, we could use a URL parameter to cause the feedback page to display the latest post from a user, perhaps by adding a '&latest-post=<postID>' at the end of the URL.

With that in mind, other parameter labels not specified here would generally match the wording used in our feature requirements page, under the filter and sort sections:
http://www.mediawiki.org/wiki/Article_feedback/Version_5/Feature_Requirements#Feedback_Page_for_Readers
Comment 1 Matthias Mullie 2013-04-30 13:11:45 UTC
Filters in url: add GET-parameter 'filter', e.g. ?filter=featured
List of filters: featured, unreviewed, helpful, unhelpful, flagged, useful, resolved, noaction, inappropriate, archived, allcomment, hidden, requested, declined, oversighted, all
If a filter is outside of a user's permissions, it will fallback to the default filter.

Sort in url: add GET-parameter 'sort', e.g. ?sort=age-DESC
List of sorts: relevance-DESC, relevance-ASC, age-DESC, age-ASC, helpful-DESC, helpful-ASC

Feedback id in url: add hash <id> on article feedback page, e.g. #04f96b0b20b0f1dc09e4842b2b77e6f9
Comment 2 Fabrice Florin 2013-04-30 16:06:36 UTC
Thanks for doing this, Matthias, this is great!

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


Navigation
Links