Page MenuHomePhabricator

Allow specifying "diffonly" parameter to Special:Diff redirect
Open, LowPublicFeature

Description

Special:Diff rolled out to wikis this week in release wmf12, and my thanks to the hackers for this addition.

For adding to the wishlist for any future additions, it would be great if we could add an easy /diffonly/ option, eg.

[[Special:Diff/4762137/cur/diffonly]] always a third parameter

Thanks for the consideration.


Version: 1.23.0
Severity: enhancement

Details

Reference
bz60885

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:56 AM
bzimport set Reference to bz60885.
bzimport added a subscriber: Unknown Object (MLST).
Krinkle renamed this task from Diffonly option for wishlist for Special:Diff to Allow specifying "diffonly" parameter to Special:Diff redirect.Oct 13 2021, 7:44 PM
Krinkle removed a subscriber: wikibugs-l-list.

There area a number of query parameters already allowed on redirect specials, such as: uselang, useskin, debug, and safemode. These are currently taken in as query parameter and passed on as query parameter. I suppose the downside is that use of them would require the {{fullurl}} magic word rather than the square-bracket syntax. But maybe use in wikitext isn't the context you're after, since if this is about wikitext, one could presumably follow the the destination and add the query parameter in question as one wants.

Perhaps the use case is for edit summaries. In that case, I suppose adding additional slash components might be difficult to scale once a second option comes along. But perhaps that's okay to leave as obstacle for later?

I'm trying to understand the reason why someone would want to force the recipient to have or not have the "diffonly" parameter set as this is generally a user preference. We may want to avoid creating a culture where one is "supposed" to create links in edit summaries with Special:Diff and remembe to pass diffonly. That seems like something asking for a better interface in the first place instead of asking editors to figure that out and do it correctly.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM