[Bug 44948] Navigation Popup gadget should work with language links
https://bugzilla.wikimedia.org/show_bug.cgi?id=44948 Bug 44948 depends on bug 44994, which changed state. Bug 44994 Summary: Enable CORS headers for accessing wikidata.org https://bugzilla.wikimedia.org/show_bug.cgi?id=44994 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- 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
[Bug 44948] Navigation Popup gadget should work with language links
https://bugzilla.wikimedia.org/show_bug.cgi?id=44948 jeb...@gmail.com changed: What|Removed |Added CC||jeb...@gmail.com --- Comment #1 from jeb...@gmail.com --- This must be fixed by the gadget developers. For item-links inside an item view the nav popups uses action=raw. This action is disabled in Wikidata. http://www.wikidata.org/w/index.php?title=Q25306action=rawctype=text/cssmaxage=0smaxage=0 (examplecall) An alternative is to use action=parse http://wikidata.org/w/api.php?action=parsepage=Q25306 The reason why nothing shows up in the sitelinks is that CORS is only enabled from the Wikipedia projects and to Wikidata, not the other way around. The later could be useful as it makes it possible to use nav popups in the recent changes feed. -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 44948] Navigation Popup gadget should work with language links
https://bugzilla.wikimedia.org/show_bug.cgi?id=44948 Yuri Astrakhan yuriastrak...@gmail.com changed: What|Removed |Added Depends on||44994 -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 44948] Navigation Popup gadget should work with language links
https://bugzilla.wikimedia.org/show_bug.cgi?id=44948 Daniel Kinzler daniel.kinz...@wikimedia.de changed: What|Removed |Added Status|NEW |RESOLVED CC||daniel.kinz...@wikimedia.de Resolution|--- |WONTFIX --- Comment #2 from Daniel Kinzler daniel.kinz...@wikimedia.de --- To elaborate on what jeblad said: Basically, the way that navigation popup is implemented relies on the wikitext returned by the (old, deprecated) action=raw call. But data items do not have any wikitext. There is nothing to return. This is why calling action=raw will return an error when you try to use it for non-text content. Using the API's action=parse (or the old action=render) as jeblad suggested would return the rendered HTML for the data item. The navigation popup gadget would then need to process this to provide a preview. Closing wontfix, there is nothing we can do about this on the server side. -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 44948] Navigation Popup gadget should work with language links
https://bugzilla.wikimedia.org/show_bug.cgi?id=44948 --- Comment #3 from jeb...@gmail.com --- Another way to access wikipedia pages is to use the call action=queryprop=extract and use JSONP, then you don't need CORS. http://en.wikipedia.org/w/api.php?action=queryprop=extractsexintroexchars=2000titles=Oslo -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 44948] Navigation Popup gadget should work with language links
https://bugzilla.wikimedia.org/show_bug.cgi?id=44948 --- Comment #4 from Yuri Astrakhan yuriastrak...@gmail.com --- jeblad, that's an excellent idea, I will pass it on. I still think CORS is needed, as it will allow other creative gadget uses. Thanks! -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l