Page MenuHomePhabricator

Show different versions of MediaWiki:Movepagetext depending on if $wgFixDoubleRedirects is true or false
Closed, ResolvedPublic

Description

Author: theevilipaddress

Description:
When the global variable $wgFixDoubleRedirects was invented, the belonging system message [[MediaWiki:Movepagetext]] was changed to reflect this. However, it was set to "false" by default later, leaving a possibly misleading system message. I'd thus propose to show different messages depending on if this variable is set to true or false in LocalSettings.php.

I've created a patch that I'm pretty sure would work. There, when the message is added, it makes a simple ternary operator check if $wgFixDoubleRedirects is true or false. If so, it uses a newly created system message that shows this text, otherwise it uses the old "Movepagetext" where I've removed the bits about automatically updating. I didn't change the wording, so that's stuff that may still be improved, and I also left out the /qqq for the moment until I know if it's ok like that.


Version: unspecified
Severity: enhancement
URL: http://translatewiki.net/wiki/Thread:Support/MediaWiki:Movepagetext/en

Details

Reference
bz25324

Event Timeline

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

theevilipaddress wrote:

(untested) patch

Attached:

  • This bug has been marked as a duplicate of bug 20591 ***