Page MenuHomePhabricator

Enabling "compare" feature between pages using the same infobox
Open, MediumPublicFeature

Description

Author: rehman.wikimedia

Description:
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)
  1. 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.
  1. 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! :)


Version: unspecified
Severity: enhancement

Details

Reference
bz26530

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:23 PM
bzimport set Reference to bz26530.
bzimport added a subscriber: Unknown Object (MLST).

A special compare pages has already been added in SVN..

So this would just be targetting it at a subset of the article...

happy.melon.wiki wrote:

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

rehman.wikimedia wrote:

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

matmarex set Security to None.
matmarex removed a subscriber: Unknown Object (MLST).
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed a subscriber: TrevorParscal.