Page MenuHomePhabricator

Patch: option to turn off instant edit on red links
Closed, DeclinedPublic

Description

Author: brent

Description:
The (soon-to-be) attached patch adds a configuration variable called
$wgRedLinkEdit. If set to true (the default), red links go to the edit page,
just as they are currently; if false, they go to the main page, and presumably
show MediaWiki:Noarticletext.


Version: unspecified
Severity: enhancement

Details

Reference
bz2149

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:28 PM
bzimport set Reference to bz2149.
bzimport added a subscriber: Unknown Object (MLST).

brent wrote:

Patch mentioned in original message.

Attached:

brent wrote:

(In reply to comment #2)

What's the purpose of this?

Basically, my wiki (one I run on my own server) had a lot of categories that
hadn't been created yet. This caused a problem, because when you clicked on
them you'd get taken to the edit screen, which doesn't show the items in the
category. Also, I found that MediaWiki:Newarticletext contained a lot of the
same things as MediaWiki:Noarticletext, because users would only see the former;
changing this ensured that people would see both messages, allowing me to reduce
the amount of crap in MediaWiki:Newarticletext. The shorter message made
creating new pages more pleasant, despite the extra mouse click.

Added to the fact that others might want to do this, and that it's really quite
cheap, I thought this might be a worthwhile addition to MediaWiki.