Last modified: 2014-03-28 11:54:27 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 T47005, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45005 - Always redirect wikidata.org to www.wikidata.org
Always redirect wikidata.org to www.wikidata.org
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
Wikidata (Other open bugs)
wmf-deployment
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
:
: 44707 (view as bug list)
Depends on:
Blocks: 45080
  Show dependency treegraph
 
Reported: 2013-02-14 15:51 UTC by Aude
Modified: 2014-03-28 11:54 UTC (History)
13 users (show)

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


Attachments

Description Aude 2013-02-14 15:51:39 UTC
When users are on wikidata.org (w/o the www.), they've had problems with being able to edit stuff.

Not sure what/if anything can be done in the code itself to alleviate this, but think it's more likely and helpful to adjust the apache and other configs to get it *right*.
Comment 1 Aude 2013-02-14 16:57:40 UTC
https://gerrit.wikimedia.org/r/#/c/49069/ - needs review by ops
Comment 2 Nemo 2013-02-23 20:37:57 UTC
(In reply to comment #0)
> When users are on wikidata.org (w/o the www.), they've had problems with
> being
> able to edit stuff.

http://lists.wikimedia.org/pipermail/wikitech-l/2013-February/066764.html says it also happens with the fake language subdomains.
Comment 3 Nemo 2013-02-23 21:49:17 UTC
Reedy just sync'ed this interwiki map change: https://meta.wikimedia.org/w/index.php?title=Interwiki_map&diff=5271518&oldid=5227504
Comment 4 MZMcBride 2013-02-24 04:47:52 UTC
Dupe of bug 41847?
Comment 5 MZMcBride 2013-02-24 04:50:12 UTC
Also related: bug 44612.
Comment 6 Lydia Pintscher 2013-03-03 22:48:42 UTC
How is this different from bug 41847?
Comment 7 abraham.taherivand 2013-03-06 17:11:32 UTC
As discussed we will close this bug (Verified in Wikidata demo sprint 34)
Comment 8 MZMcBride 2013-03-06 23:08:31 UTC
Re-opening this bug for now as I'm confused. The bug summary is "Always redirect wikidata.org to www.wikidata.org".

When I go to <http://wikidata.org/wiki/Wikidata:Main_Page>, I am not redirected to www.wikidata.org.

And the Gerrit changeset from comment 1 has not been merged (or abandoned).
Comment 9 Andre Klapper 2013-03-14 18:10:14 UTC
$:andre\> wget wikidata.org
--2013-03-14 19:08:07--  http://wikidata.org/
Resolving wikidata.org... 208.80.152.218
Connecting to wikidata.org|208.80.152.218|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.wikidata.org/wiki/Wikidata:Main_Page [following]
--2013-03-14 19:08:11--  http://www.wikidata.org/wiki/Wikidata:Main_Page
Resolving www.wikidata.org... 208.80.154.242, 2620:0:861:ed1a::12
Connecting to www.wikidata.org|208.80.154.242|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 51884 (51K) [text/html]
Saving to: “Wikidata:Main_Page”
100%[===================================================================================================>] 51,884      5.36K/s   in 9.4s    
2013-03-14 19:08:27 (5.36 KB/s) - “Wikidata:Main_Page” saved [51884/51884]

$:andre\> wget http://wikidata.org/wiki/Wikidata:Main_Page
--2013-03-14 19:09:04--  http://wikidata.org/wiki/Wikidata:Main_Page
Resolving wikidata.org... 208.80.152.218
Connecting to wikidata.org|208.80.152.218|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 51787 (51K) [text/html]
Saving to: “Wikidata:Main_Page.1”
100%[===================================================================================================>] 51,787      16.6K/s   in 3.0s    
2013-03-14 19:09:11 (16.6 KB/s) - “Wikidata:Main_Page.1” saved [51787/51787]
Comment 10 Daniel Zahn 2013-03-14 18:15:06 UTC
fyi, this (and other Apache config / redirects) does not need ops (root). Everybody can submit a gerrit change and for deploying it you can also do it as regular shell user again, since we just fixed apache-graceful-all the other day, so that it also restarts Apaches in eqiad now.
Comment 11 Daniel Zahn 2013-03-14 18:17:22 UTC
how to check the config:

git clone https://gerrit.wikimedia.org/r/p/operations/apache-config

cd apache-config

grep wikidata *
Comment 12 Aude 2013-03-15 10:36:04 UTC
Daniel: https://gerrit.wikimedia.org/r/#/c/49069/

it's intended to treat wikidata like mediawiki.org, as far as apache config goes, although would like your review that my patch is good or suggestions.
Comment 13 Aude 2013-03-21 08:51:32 UTC
It's not the best solution but might help, per https://bugzilla.wikimedia.org/show_bug.cgi?id=41847#c30

https://gerrit.wikimedia.org/r/#/c/55024/

We really need someone to review the apache change and get it fixed the *right* way.
Comment 14 Lydia Pintscher 2013-03-29 20:59:43 UTC
*** Bug 44707 has been marked as a duplicate of this bug. ***
Comment 15 jeremyb 2013-04-17 13:53:49 UTC
So, what's the latest intention here?

certain:
301 wikidata.org -> www.wikidata.org

what about (fake?) lang subdomains? redirect as well? 301 or 302?
Comment 16 denny vrandecic 2013-04-17 14:02:35 UTC
302 {langcode}.wikidata.org/wiki/{Title} -> www.wikidata.org/wiki/Special:ItemByTitle/{langcode}wiki/{Title} would be awesome!
Comment 17 jeblad 2013-04-17 14:07:56 UTC
Wouldn't the expected behavior be something like

302 {langcode}.wikidata.org/wiki/{Title} ->
www.wikidata.org/wiki/{Title}?setlang={langcode}

This is although troublesome in those cases where Wikipedia do weird and unexpected things with the langcode, but that is also the case if the ItemByTitle is used.
Comment 18 Gerrit Notification Bot 2013-04-19 06:26:39 UTC
https://gerrit.wikimedia.org/r/49069 (Gerrit Change I7bb872fd9cf6c1da7655f77def7f3ce43975218a) | change APPROVED and MERGED [by Tim Starling]
Comment 19 Gerrit Notification Bot 2014-02-18 15:55:35 UTC
Change 113972 had a related patch set uploaded by Thiemo Mättig (WMDE):
Redirect all *.wikidata.org subdomains to www.wikidata.org

https://gerrit.wikimedia.org/r/113972
Comment 20 Gerrit Notification Bot 2014-03-17 12:00:33 UTC
Change 119032 had a related patch set uploaded by Faidon Liambotis:
Remove language subdomains for wikidata.org

https://gerrit.wikimedia.org/r/119032
Comment 21 Gerrit Notification Bot 2014-03-28 09:34:02 UTC
Change 119032 merged by Faidon Liambotis:
Remove language subdomains for wikidata.org

https://gerrit.wikimedia.org/r/119032
Comment 22 Gerrit Notification Bot 2014-03-28 11:54:27 UTC
Change 113972 abandoned by Thiemo Mättig (WMDE):
Redirect all *.wikidata.org subdomains to www.wikidata.org

https://gerrit.wikimedia.org/r/113972

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


Navigation
Links