Last modified: 2013-05-16 22:11:02 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 T30764, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28764 - Set $wgRedirectSources on donatewiki and foundationwiki
Set $wgRedirectSources on donatewiki and foundationwiki
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-01 10:01 UTC by p858snake
Modified: 2013-05-16 22:11 UTC (History)
5 users (show)

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


Attachments

Description p858snake 2011-05-01 10:01:15 UTC
Pages redirected to hard redirects (Normal Namespace -> Special Pages/Interwikis) don't show the normal "(Redirected from X)" caption.

EG: http://wikimediafoundation.org/wiki/Comments which redirects to http://wikimediafoundation.org/wiki/Special:FundraiserStatistics (See http://wikimediafoundation.org/wiki/Comments?redirect=no for the redirect)

(For this to work you need http://www.mediawiki.org/wiki/Manual:$wgDisableHardRedirects enabled)
Comment 1 Mark A. Hershberger 2011-05-01 21:53:08 UTC
I'm not sure why we want to display the “redirected from”… Could you
explain why this shouldn't be WONTFIX?
Comment 2 p858snake 2011-05-01 22:52:01 UTC
(In reply to comment #1)
> I'm not sure why we want to display the “redirected from”… Could you
> explain why this shouldn't be WONTFIX?

Because it's a redirect like every other one, just because it leads to a special page doesn't make it "special".
Comment 3 Nemo 2013-01-23 16:55:19 UTC
We have:

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

but $wgRedirectSources seems to be left to the default, i.e. false: this is wrong, it should allows at least donatewiki and foundationwiki themselves.
Comment 4 Sam Reed (reedy) 2013-02-02 23:17:25 UTC
'wgRedirectSources' => array(
	'default' => false,
	'donatewiki' => '!^https?://donate\.wikimedia\.org/!',
	'foundationwiki' => '!^https?://(www\.)wikimediafoundation\.org/!',
),

??
Comment 5 Sam Reed (reedy) 2013-05-16 20:15:23 UTC
'wgRedirectSources' => array(
    'default' => false,
    'donatewiki' => '!^https?://donate\.wikimedia\.org/!',
    'foundationwiki' => '!^https?://(www\.)?wikimediafoundation\.org/!',
),
Comment 6 Gerrit Notification Bot 2013-05-16 22:10:05 UTC
Related URL: https://gerrit.wikimedia.org/r/64211 (Gerrit Change I45b78233ac9f0012b4f36d4485c7e9a08062f331)

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


Navigation
Links