Page MenuHomePhabricator

Display system message after a page randomizer like [[special:randompage]] is used.
Open, LowPublicFeature

Description

Create a new system message to be displayed at the top if a randomizer like [[Special:RandomPage]] is used. This notice should be similar to the one that appears when following a redirect ("Redirected from [[Source page]]"). The new system message could simply say something like:

Via [[{{$1}}]]

...where {{$1}} is the link to the page-randomizer.

The message should specify which particular link was used, so that if [[Special:RandominCategory/Foo]] or [[Special:Random/talk]] is used, that is displayed at the top.

The benefits of such a message would be to indicate how a given page was reached, as well as allow one to click the link to get another random page of the same type.

Details

Reference
bz29488

Event Timeline

• bzimport raised the priority of this task from to Low.Nov 21 2014, 11:27 PM
• bzimport set Reference to bz29488.
• bzimport added a subscriber: Unknown Object (MLST).

Correction: I meant to write "redirect notices like 'redirected from Special:Random'". I'm afraid the comment doesn't make much sense otherwise.

Hex renamed this task from Make pages accessed from special:random display a redirect notice to Make pages accessed from Special:Random display a redirect notice.Jan 7 2017, 1:58 AM
Hex updated the task description. (Show Details)

It would be nice to present something more user-friendly than "redirected from Special:Random" or "redirected from Special:Random/Talk". Maybe something like "Another random page" or "Another random page in the Talk namespace"

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:00 AM
Aklapper removed a subscriber: • wikibugs-l-list.

I think this is good idea 👍💡

But, calling this "redirects" is a misnomer, and potentially confusing. Quite simply, this is not a redirect; it's the random page feature.

What is needed is a system message to display at the top of a page after [[Special:randompage]] is selected. So, it's like [[MediaWiki:redirectedfrom]] but using [[MediaWiki:redirectedfrom]] would be a bad idea; a new system message is required.

But this also should cover [[special:randomincategory]], [[special:randomredirect]], etc.

Bugreporter2 renamed this task from Make pages accessed from Special:Random display a redirect notice to Display system message after a page randomizer like [[special:randompage]] is used..Nov 15 2023, 12:35 PM

Thanks for the edits to this bug, @Bugreporter2! I agree with your reasoning, but I think it helps to mention the existing redirect notices as an example of what is being sought and prior art for a similar feature. I've edited the description to re-add some of this context.