Last modified: 2013-03-20 17:57:12 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 T46536, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44536 - "edit link" doesn't recognize namespace
"edit link" doesn't recognize namespace
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Unprioritized major with 2 votes (vote)
: ---
Assigned To: Wikidata bugs
:
: 44545 44985 45416 45487 (view as bug list)
Depends on:
Blocks: 44514
  Show dependency treegraph
 
Reported: 2013-01-31 10:46 UTC by Beta16
Modified: 2013-03-20 17:57 UTC (History)
13 users (show)

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


Attachments

Description Beta16 2013-01-31 10:46:59 UTC
In not-main namespace "edit links" points to item without namespace. For example [[it:Categoria:Storia]] goes to "Special:ItemByTitle/itwiki/Storia" ([[:d:Q309]]) and not "Special:ItemByTitle/itwiki/Categoria:Storia".
Comment 1 Lydia Pintscher 2013-01-31 12:05:58 UTC
This has been fixed already. We are looking into backporting it to the Italian, Hebrew and Hungarian Wikipedia.
Comment 2 Lydia Pintscher 2013-01-31 15:03:36 UTC
This has been deployed now.
Comment 3 Beta16 2013-01-31 15:23:56 UTC
OK, it works now.
Thank you for resolved immediately!
Comment 4 Kunal Mehta (Legoktm) 2013-02-14 10:51:19 UTC
*** Bug 44985 has been marked as a duplicate of this bug. ***
Comment 5 Kunal Mehta (Legoktm) 2013-02-14 14:21:56 UTC
Can this fix be backported to enwiki as well? The issue is present there (bug 44985).
Comment 6 Aude 2013-02-14 15:36:13 UTC
I think we can backport something in the next day or so...

The solution we prefer is to have the links go directly to the Qxxx item pages instead of using Special:ItemByTitle which is not 100% perfect yet.
Comment 7 Vivaelcelta (Roi González Villa) 2013-02-14 19:03:34 UTC
This problem also happen with namespace "Wikipedia", and it will also happen
when the others Wikimedia projects is worked in Wikidata. The Wikimedia
projects are Wikibooks, Wikinews, Wiktionary, Wikiquote, Wikisource,
Wikispecies, Wikiversity and Wikivoyage.
Comment 8 jeblad 2013-02-16 20:29:03 UTC
In general you don't want to link on the identifiers, as it is weird, errorprone, and needs manual work. You want to have simple links that use the same semantics as you use on Wikipedia. You simply want to link on the names. It is possible to rewrite something like [[item:Oslo]] into [[d:Special:ItemByTitle/enwiki/Oslo]] if you are on an English Wikipedia page, and that is less error prone and much more intuitive.
Comment 9 Kunal Mehta (Legoktm) 2013-02-16 22:11:42 UTC
*** Bug 44545 has been marked as a duplicate of this bug. ***
Comment 10 MZMcBride 2013-02-18 00:17:27 UTC
(In reply to comment #6)
> I think we can backport something in the next day or so...

Any status update on this?
Comment 11 Kunal Mehta (Legoktm) 2013-02-18 15:28:02 UTC
<snipped from #wikimedia-wikidata>

[09:20:34 AM] <duh>	 PinkAmpersand: well non mainspace links using Special:Itembytitle are broken until that fix gets backported
[09:20:51 AM] <PinkAmpersand>	 yeah exactly
[09:24:26 AM] <DanielK_WMDE>	 duh: iirc, this will be deployed in a few hours

(timestamps CST)
Comment 12 jeblad 2013-02-18 15:49:20 UTC
Whats in for now is canonical namespaces (that is Category), local namespaces (that is Categoria) will be for next rollout.
Comment 13 Lydia Pintscher 2013-02-20 10:00:21 UTC
This should be fixed now. If you're still seeing problems please reopen with a link to an example.
Comment 14 Aude 2013-02-20 11:14:04 UTC
Special:ItemByTitle still does not work for Wikipedia namespace from enwiki, for example

http://en.wikipedia.org/wiki/Wikipedia:About

Seems to work for huwiki, itwiki, etc. counterparts, as well as Category, Portal and other namespaces on enwiki.
Comment 15 Aude 2013-02-20 11:14:44 UTC
We both need the Special:ItemByTitle page to work for everything, and we decided to directly link to the Q### pages for the edit link.
Comment 16 Aude 2013-02-20 11:20:49 UTC
on my test client wiki, with a Wikipedia namespace, and corresponding items in my test repo, the edit link and Special:ItemByTitle *do* work.

need to investigate more why that's not the case on www.wikidata.org
Comment 17 Aude 2013-02-20 11:40:07 UTC
Wikipedia: is conflicting with the interwiki prefix.
Comment 18 Kunal Mehta (Legoktm) 2013-02-21 19:00:32 UTC
(In reply to comment #15)
> We both need the Special:ItemByTitle page to work for everything, and we
> decided to directly link to the Q### pages for the edit link.

Is there a separate bug for this? I think it would just be better to do it this way than try to put a fix together for the conflicting interwiki prefixes.
Comment 19 Lydia Pintscher 2013-02-26 11:52:15 UTC
*** Bug 45416 has been marked as a duplicate of this bug. ***
Comment 20 jeblad 2013-02-26 13:29:44 UTC
There is a fix https://gerrit.wikimedia.org/r/#/c/49066/ but it has some issues.
Comment 21 jeblad 2013-02-26 16:00:04 UTC
If a normalization is done several times it will lead to problems. Normalization should only be done once on any given sitelink, and the normalization should be done in a similar way (or at least produce comparable results) both on the codepath for store and for retrieval.
Comment 22 Lydia Pintscher 2013-02-27 15:10:48 UTC
*** Bug 45487 has been marked as a duplicate of this bug. ***
Comment 23 Aude 2013-02-27 17:53:17 UTC
https://gerrit.wikimedia.org/r/#/c/51179/ makes it so we link directly to the Q### pages on wikidata.

Depending on John's patch, there still may be an issue with conflict between interwiki prefixes and client page titles.
Comment 24 Anja Jentzsch 2013-03-15 15:47:23 UTC
Original changeset got reverted, new changeset: https://gerrit.wikimedia.org/r/#/c/53543/
Comment 25 abraham.taherivand 2013-03-20 17:57:12 UTC
Verified in Wikidata demo sprint 35-2

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


Navigation
Links