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

Daniel Kinzler <daniel.kinz...@wikimedia.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kinz...@wikimedia.de

--- Comment #4 from Daniel Kinzler <daniel.kinz...@wikimedia.de> 2012-09-30 
09:19:23 UTC ---
Thanks Silke!

Seems to work so far, though it's not quite what is specified in
<https://meta.wikimedia.org/wiki/Wikidata/Notes/URI_scheme>:

<en.wikidata-dev-repo.wikimedia.de/wiki/Helium> correctly redirects to
<http://wikidata-dev-repo.wikimedia.de/title/enwiki:Helium>, but that should
then be a rewrite, not a redirect, to
<http://wikidata-dev-repo.wikimedia.de/wiki/Special:ItemByTitle/enwiki/Helium>.

That only requires a small change to the rewrite rule: Use the local web path,
not the full url, as the target, and use the [L] (last rule) instead of the [R]
(redirect) option. 

Oh, btw: I think both rewrites and redirects should use the QSA (querry string
attach) flag. That causes query parameters like setlang=en to be passed on to
the target address. Without QSA flag, query parameters get stripped.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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