https://bugzilla.wikimedia.org/show_bug.cgi?id=25324

           Summary: Show different versions of MediaWiki:Movepagetext
                    depending on if $wgFixDoubleRedirects is true or false
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: http://translatewiki.net/wiki/Thread:Support/MediaWiki
                    :Movepagetext/en
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: theevilipaddr...@hotmail.de
                CC: raimond.spekk...@gmail.com


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to