Last modified: 2011-07-29 17:48:41 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 T28530, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26530 - Enabling "compare" feature between pages using the same infobox
Enabling "compare" feature between pages using the same infobox
Status: NEW
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-01 02:33 UTC by Rehman
Modified: 2011-07-29 17:48 UTC (History)
5 users (show)

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


Attachments

Description Rehman 2011-01-01 02:33:10 UTC
The summary pretty much says it all:

To enable a "compare" button (as what you see when purchasing electronics on certain websites), which would compare the infobox fields of two separate pages using the same infobox.

For example:

If you have two articles for two camera models, using the same "Infobox camera", clicking the compare button would:

1. Open a new page in a new window/tab (probably a "Special:" page)

2. The new page will contain two fields (with maybe a "+" to add more), in which you may enter the pages to compare. The first field would be pre-filled with the page title of which the user clicked "compare". "Suggestions" could be enabled on these fields, just like the Wikipedia Search Bar.

3. After selecting the articles, clicking "compare now" on the new page would load a table containing: columns for each article, and rows to compare each fields.

For those infoboxes that are not fully filled, a simple [N/A] or [No info] could be displayed in its place, with hover-text explaining further.

This would be a really cool feature for readers...

BTW, Happy New Year 2011! :)
Comment 1 Sam Reed (reedy) 2011-01-01 02:54:24 UTC
A special compare pages has already been added in SVN..

So this would just be targetting it at a subset of the article...
Comment 2 Happy-melon 2011-01-01 13:42:52 UTC
(In reply to comment #1)
> A special compare pages has already been added in SVN..
> 
> So this would just be targetting it at a subset of the article...

No, the request is (AFAICT) to compare the data contained within two infoboxes' fields, as opposed to comparing the raw wikitext (where parameters might be in a different order or have other inconsistencies).  

I'm 99% sure that this can be achieved with Semantic MediaWiki, in which case this is either a WORKSFORME or a dupe of bug 8390.
Comment 3 Rehman 2011-01-01 14:20:23 UTC
(In reply to comment #2)
> No, the request is (AFAICT) to compare the data contained within two infoboxes'
> fields, as opposed to comparing the raw wikitext (where parameters might be in
> a different order or have other inconsistencies).  

Yes, that is correct...

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


Navigation
Links