Page MenuHomePhabricator

$wgUploadNavigationUrl on enwiki fails with https://secure.wikimedia.org/wikipedia/en/wiki/Special:Upload
Closed, ResolvedPublic

Description

$wgUploadNavigationUrl was set by Tim Starling on enwiki to [[Wikipedia:Upload]] (https://wikitech.leuksman.com/view/Server_admin_log)

https://secure.wikimedia.org/wikipedia/en/wiki/Special:Upload redirects to https://secure.wikimedia.org/wiki/Wikipedia:Upload which fails with an error ("unknown Wiki")


Version: unspecified
Severity: normal

Details

Reference
bz10843

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 9:48 PM
bzimport set Reference to bz10843.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 11304 has been marked as a duplicate of this bug. ***

rememberthedot wrote:

For the record, the English Wikipedia is now using a JavaScript hack to force the link to behave properly.

jeluf wrote:

Since it's working now, I'm closing this ticket.

Still broken with JS off. Would be good if we replace or transform the override links on SSL.

Added appropriate transformations to secure.php configuration fixups.

Transformations should work correctly for wikis using local paths (I've taken the preceding proto/hostname off of those since it's not needed, and makes it easier for me to do the transformations) and those using Commons absolute URLs as a special case.

rememberthedot wrote:

Nice work, thanks!