Page MenuHomePhabricator

Set $wgDisableHardRedirects = false; on wikimediafoundation.org
Closed, ResolvedPublic

Description

According to http://noc.wikimedia.org/conf/CommonSettings.php.txt $wgDisableHardRedirects is set to "true" for all Wikimedia wikis.

This setting prevents redirects to Special pages, among other things. For example, http://wikimediafoundation.org/wiki/Comments doesn't redirect properly currently.

This global setting in Wikimedia's configuration file is contrary to the default setting for a MediaWiki install. On a fishbowl wiki like wikimediafoundation.org, it shouldn't be an issue to set $wgDisableHardRedirects = false;.

It probably wouldn't be an issue to do it for all private/fishbowl wikis, but that's not as much of a concern (to me, at least).


Version: unspecified
Severity: trivial

Details

Reference
bz25422

Event Timeline

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

jeluf wrote:

Your change has been completed.
Please reopen this ticket if anything went wrong.

The following configuration settings have been changed:

Index: InitialiseSettings.php

  • InitialiseSettings.php (revision 1207)

+++ InitialiseSettings.php (working copy)
@@ -8159,6 +8159,11 @@

	'default' => 86400,

),

+'wgDisableHardRedirects' => array(
+ 'default' => true,
+ 'foundationwiki' => false,
+),
+
'wmgUseLivePreview' => array(

	'default' => false,
	'testwiki' => true,

You can find the entire config file at
http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php