Last modified: 2010-11-08 10:54:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27324, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25324 - Show different versions of MediaWiki:Movepagetext depending on if $wgFixDoubleRedirects is true or false
Show different versions of MediaWiki:Movepagetext depending on if $wgFixDoubl...
Status: RESOLVED DUPLICATE of bug 20591
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://translatewiki.net/wiki/Thread:...
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-26 15:51 UTC by The Evil IP address
Modified: 2010-11-08 10:54 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
(untested) patch (2.91 KB, patch)
2010-09-26 15:52 UTC, The Evil IP address
Details

Description The Evil IP address 2010-09-26 15:51:31 UTC
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.
Comment 1 The Evil IP address 2010-09-26 15:52:59 UTC
Created attachment 7705 [details]
(untested) patch
Comment 2 Alexandre Emsenhuber [IAlex] 2010-11-08 10:54:35 UTC

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links