[Wikidata-bugs] [Maniphest] T280740: Android Wikipedia app does not respect Wikidata statement value rank
Kozuch closed this task as "Invalid". Kozuch added a comment. Closing this as invalid as it turned out to be caching problem. Everything works now in Android app. TASK DETAIL https://phabricator.wikimedia.org/T280740 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Aklapper, Kozuch, Invadibot, WaheedHafez, Ryansama, maantietaja, YacineBoussoufa, Confetti68, Akuckartz, Nandana, Lahi, Gq86, Sharvaniharan, schoenbaechler, Jcasariego, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dbrant, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T280740: Android Wikipedia app does not respect Wikidata statement value rank
Kozuch added a comment. The rank of some wolf and cat images were set to "preferred" while other images in those we items were left at "normal" rank. TASK DETAIL https://phabricator.wikimedia.org/T280740 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Aklapper, Kozuch, Invadibot, WaheedHafez, Ryansama, maantietaja, YacineBoussoufa, Confetti68, Akuckartz, Nandana, Lahi, Gq86, Sharvaniharan, schoenbaechler, Jcasariego, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dbrant, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T280740: Android Wikipedia app does not respect Wikidata statement value rank
Kozuch created this task. Kozuch added projects: Wikipedia-Android-App-Backlog (Android Release FY2020-21), Android Design, Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION Android Wikipedia app does not respect Wikidata statement value rank while the websites (classic and mobile) do respect it. This page was tested: https://cs.m.wikipedia.org/w/index.php?title=N%C3%A1rodn%C3%AD_park_%C4%8Cesk%C3%A9_%C5%A0v%C3%BDcarsko=19734156 The images of wolf and cat have a rank on Wikidata. Screenshots showing the problem + Wikidata item (see rank on the third image of cat): F34408963: Screenshot_2021-04-21-00-27-14-039_org.wikipedia.jpg <https://phabricator.wikimedia.org/F34408963> F34408962: Screenshot_2021-04-21-00-33-38-318_com.android.chrome.jpg <https://phabricator.wikimedia.org/F34408962> F34408961: Screenshot_2021-04-21-00-27-37-243_com.android.chrome.jpg <https://phabricator.wikimedia.org/F34408961> TASK DETAIL https://phabricator.wikimedia.org/T280740 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Aklapper, Kozuch, Invadibot, WaheedHafez, Ryansama, maantietaja, YacineBoussoufa, Confetti68, Akuckartz, Nandana, Lahi, Gq86, Sharvaniharan, schoenbaechler, Jcasariego, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dbrant, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T227402: White screen with red dot shown instead of map when using geoline/geoshape with specified coordinates
Kozuch added a comment. @Evad37 Thanks for editing the ticket description for the one specific case that I reported. However I found one more different issue when Wikidata object is not shown (but looks differently than blank map with red dot) - please see this page https://en.wikipedia.org/w/index.php?title=Module_talk:Mapframe=909143520 in section > Bug - does not ignore wd coordinates for type=line for details. There are 2 more issues: 1. No object is drawn when the linked OSM relation contains only sub-relations. Example: Interstate 5 2. Minor issue is that type=line does not work for all type=shape objects (I do not want the infill on shape) TASK DETAIL https://phabricator.wikimedia.org/T227402 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Evad37, Pikne, ZONA2LORA, Aklapper, Kozuch, Liuxinyu970226, darthmon_wmde, Nabetaro, DannyS712, Nandana, MSantos, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, rosalieper, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T227402: Wikimedia map does not display wikidata item (using Template:Maplink)
Kozuch added a comment. @Evad37 Thanks for your examples - they show the issue nicely. I agree that this should be solved in Kartographer. However as I am not willing to wait for such solution, I created a clone of your Module:Mapframe to work around this bug. The new module and template for its use are here: https://en.wikipedia.org/wiki/Module:MapframeForObjects https://en.wikipedia.org/wiki/Template:MapframeForObjects I created simple docs for both explaining the problem and linking to this bug. In the module code I simply commented out the lines where coords are being fetched from wikidata when no lat/lon is supplied. The comment begins with this line: if not attribs.latitude and not attribs.longitude then I hope there will be no problems with using the new module/template. After Kartographer is fixed this new template can be redirected to Template:Maplink (given the new template will remain compatible with Maplink's parameters). Thank you both for your help. TASK DETAIL https://phabricator.wikimedia.org/T227402 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Evad37, Pikne, ZONA2LORA, Aklapper, Kozuch, Liuxinyu970226, darthmon_wmde, Nabetaro, DannyS712, Nandana, MSantos, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, rosalieper, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T227402: Wikimedia map does not display wikidata item (using Template:Maplink)
Kozuch added a comment. And yes, I just identified a problem with the "zoom" parameter. When I leave it out for example in the map in https://en.wikipedia.org/wiki/Alabama, there is same problem (blank map with dot). I suspect again P625 <https://phabricator.wikimedia.org/P625> is the problem. The same problem (after removing zoom): https://en.wikipedia.org/wiki/Pinelands_National_Reserve I want to leave zoom out because after clicking I dont want the same zoom in the big map. Without zoom parameter specified the big map zooms to the object. TASK DETAIL https://phabricator.wikimedia.org/T227402 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Pikne, ZONA2LORA, Aklapper, Kozuch, Liuxinyu970226, darthmon_wmde, Nabetaro, DannyS712, Nandana, MSantos, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, rosalieper, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Updated] T227402: Wikimedia map does not display wikidata item (using Template:Maplink)
Kozuch added a comment. And yes, I found out that when wikidata item has "coordinate location" property (P625 <https://phabricator.wikimedia.org/P625>) then the bug exists. There is a nice example of the bug here: This works properly (no P625 <https://phabricator.wikimedia.org/P625> on wd): https://en.wikipedia.org/w/index.php?title=Interstate_40_in_New_Mexico=908083047 These 2 have P625 <https://phabricator.wikimedia.org/P625>: 1. Here the thumbnail works properly, but after clicking the big map is blank: https://en.wikipedia.org/w/index.php?title=Interstate_40_in_Arizona=908082859 2. Here the thumbnail is half wrong (probably due to coordinate position???): https://en.wikipedia.org/w/index.php?title=Interstate_40_in_California=908082850 TASK DETAIL https://phabricator.wikimedia.org/T227402 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Pikne, ZONA2LORA, Aklapper, Kozuch, Liuxinyu970226, darthmon_wmde, Nabetaro, DannyS712, Nandana, MSantos, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, rosalieper, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T227402: Wikimedia map does not display wikidata item (using Template:Maplink)
Kozuch added a comment. @Pikne Thanks for your comment. The code you suggest works for me. I am looking at the enwiki:Template:Maplink - it calls {{#invoke:Mapframe|main}} which passes all parameters to Mapframe's main function. I will not be able to fix this template and it is also locked for me. I will try to create my own template bypassing this Maplink's "bug" using your code. TASK DETAIL https://phabricator.wikimedia.org/T227402 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Pikne, ZONA2LORA, Aklapper, Kozuch, Liuxinyu970226, darthmon_wmde, Nabetaro, DannyS712, Nandana, MSantos, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, rosalieper, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Edited] T227402: Wikimedia map does not display wikidata item (using Template:Maplink)
Kozuch updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T227402 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Aklapper, Kozuch, Liuxinyu970226, darthmon_wmde, Nabetaro, Nandana, MSantos, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, rosalieper, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Edited] T227402: Wikimedia map does not display wikidata item (using Template:Maplink)
Kozuch updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T227402 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Aklapper, Kozuch, Liuxinyu970226, darthmon_wmde, Nabetaro, Nandana, MSantos, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, rosalieper, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Retitled] T227402: Wikimedia map does not display wikidata item (using Template:Maplink)
Kozuch renamed this task from "Wikimedia maps does not display wikidata item (using Template:Maplink)" to "Wikimedia map does not display wikidata item (using Template:Maplink)". TASK DETAIL https://phabricator.wikimedia.org/T227402 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Aklapper, Kozuch, Liuxinyu970226, darthmon_wmde, Nabetaro, Nandana, MSantos, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, rosalieper, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Created] T227402: Wikimedia maps does not display wikidata item (using Template:Maplink)
Kozuch created this task. Kozuch added projects: Maps (Kartographer), Wikidata. Restricted Application added subscribers: Liuxinyu970226, Aklapper. TASK DESCRIPTION Wikimedia map does not display wikidata item (using Template:Maplink) on en:wiki (web). In wikipedia page (preview only - https://en.wikipedia.org/wiki/D52_motorway_(Czech_Republic)) the thumbnail only displays a red dot in the middle without map. After clicking there is a red dot in the fullscreen but again map is blank/white. See example here: https://en.wikipedia.org/wiki/User:Kozuch/Bug2 - on the userpage I can see a thumbnail but it is not centered corectly TASK DETAIL https://phabricator.wikimedia.org/T227402 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Aklapper, Kozuch, Liuxinyu970226, darthmon_wmde, Nabetaro, Nandana, MSantos, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, rosalieper, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Created] T226452: Can not get geojson from maps.wikimedia.org (Error 404)
Kozuch created this task. Kozuch added projects: Maps (Kartographer), Wikidata. Restricted Application added subscribers: Liuxinyu970226, Aklapper. TASK DESCRIPTION On this page: https://en.wikipedia.org/wiki/Pennsylvania There is this template: {{maplink|frame=yes|frame-width=265|zoom=5|type=shape|text=Interactive map of Pennsylvania}} The thumbnail of the map displays (cached???), but after clicking the map (full screen map should open) the map is blank with following error in the browsers JS console (chrome v75): GET https://maps.wikimedia.org/geoshape?getgeojson=1=Q1400 404 load.php?debug=false=en=jquery=vector=0w5wrgy:130 send @ load.php?debug=false=en=jquery=vector=0w5wrgy:130 ajax @ load.php?debug=false=en=jquery=vector=0w5wrgy:125 jQuery.ajax @ load.php?debug=false=en=jquery=vector=0w5wrgy:144 jQuery. @ load.php?debug=false=en=jquery=vector=0w5wrgy:127 getJSON @ load.php?debug=false=en=jquery=vector=0w5wrgy:127 getJSON @ VM35087:24 Group_External.ExternalGroup.fetch @ VM35087:3 Group_Hybrid.HybridGroup.fetchExternalGroups @ VM35087:6 (anonymous) @ VM35087:7 mightThrow @ load.php?debug=false=en=jquery=vector=0w5wrgy:48 process @ load.php?debug=false=en=jquery=vector=0w5wrgy:49 setTimeout (async) (anonymous) @ load.php?debug=false=en=jquery=vector=0w5wrgy:49 fire @ load.php?debug=false=en=jquery=vector=0w5wrgy:45 add @ load.php?debug=false=en=jquery=vector=0w5wrgy:46 (anonymous) @ load.php?debug=false=en=jquery=vector=0w5wrgy:50 jQuery.Deferred @ load.php?debug=false=en=jquery=vector=0w5wrgy:152 then @ load.php?debug=false=en=jquery=vector=0w5wrgy:49 (anonymous) @ VM35087:7 mightThrow @ load.php?debug=false=en=jquery=vector=0w5wrgy:48 process @ load.php?debug=false=en=jquery=vector=0w5wrgy:49 setTimeout (async) (anonymous) @ load.php?debug=false=en=jquery=vector=0w5wrgy:49 fire @ load.php?debug=false=en=jquery=vector=0w5wrgy:45 add @ load.php?debug=false=en=jquery=vector=0w5wrgy:46 (anonymous) @ load.php?debug=false=en=jquery=vector=0w5wrgy:50 jQuery.Deferred @ load.php?debug=false=en=jquery=vector=0w5wrgy:152 then @ load.php?debug=false=en=jquery=vector=0w5wrgy:49 Group_Internal.InternalGroup.fetch @ VM35087:7 (anonymous) @ VM35087:9 createPromise @ VM35087:24 pushPromiseForGroup @ VM35087:9 DataManager.DataManager.loadGroups @ VM35087:9 addDataGroups @ VM35087:29 initialize @ VM35087:28 NewClass @ load.php?debug=false=en=mapbox=vector=0b9dqoe:6 map @ VM35087:36 (anonymous) @ VM35086:7 mightThrow @ load.php?debug=false=en=jquery=vector=0w5wrgy:48 process @ load.php?debug=false=en=jquery=vector=0w5wrgy:49 setTimeout (async) (anonymous) @ load.php?debug=false=en=jquery=vector=0w5wrgy:49 fire @ load.php?debug=false=en=jquery=vector=0w5wrgy:45 fireWith @ load.php?debug=false=en=jquery=vector=0w5wrgy:47 fire @ load.php?debug=false=en=jquery=vector=0w5wrgy:47 fire @ load.php?debug=false=en=jquery=vector=0w5wrgy:45 fireWith @ load.php?debug=false=en=jquery=vector=0w5wrgy:47 deferred. @ load.php?debug=false=en=jquery=vector=0w5wrgy:50 (anonymous) @ VM35073:6 doPropagation @ load.php?lang=en=startup=scripts=vector:8 requestIdleCallback (async) requestPropagation @ load.php?lang=en=startup=scripts=vector:8 setAndPropagate @ load.php?lang=en=startup=scripts=vector:8 markModuleReady @ load.php?lang=en=startup=scripts=vector:13 runScript @ load.php?lang=en=startup=scripts=vector:14 (anonymous) @ load.php?lang=en=startup=scripts=vector:14 flushCssBuffer @ load.php?lang=en=startup=scripts=vector:6 requestAnimationFrame (async) addEmbeddedCSS @ load.php?lang=en=startup=scripts=vector:6 execute @ load.php?lang=en=startup=scripts=vector:15 doPropagation @ load.php?lang=en=startup=scripts=vector:7 requestIdleCallback (async) requestPropagation @ load.php?lang=en=startup=scripts=vector:8 setAndPropagate @ load.php?lang=en=startup=scripts=vector:8 implement @ load.php?lang=en=startup=scripts=vector:20 (anonymous) @ load.php?debug=false=en=mapbox=vector=0b9dqoe:1 load.php?debug=false=en=jquery=vector=0w5wrgy:51 jQuery.Deferred exception: Cannot set property 'dataGroup' of undefined TypeError: Cannot set property 'dataGroup' of undefined at ExternalGroup. (:29:891) at Function.each (https://en.wikipedia.org/w/load.php?debug=false=en=jquery=vector=0w5wrgy:4:883) at :29:618 at mightThrow (https://en.wikipedia.org/w/load.php?debug=false=en=jquery=vector=0w5wrgy:48:916) at process (https://en.wikipedia.org/w/load.php?debug=false=en=jquery=vector=0w5wrgy:49:589) undefined jQuery.Deferred.exceptionHook @ load.php?debug=false=en=jquery=vector=0w5wrgy:51 process @ load.php?debug=false=en=jquery=vector=0w5wrgy:49 setTimeout (async) (anonymous) @ load.php?debug=false=en=jquery=vector=0w5wrgy:49 fire @ load.php?debug=false=en=jquery=vector=0w5wrgy:45 fireWith @ load.php?debug=false=en=jquery
[Wikidata-bugs] [Maniphest] [Commented On] T226452: Can not get geojson from maps.wikimedia.org (Error 404)
Kozuch added a comment. PS. The relation in OSM is following one: https://www.openstreetmap.org/relation/162109 The relation has wikidata tag so maps.wikimedia.org should know about it. TASK DETAIL https://phabricator.wikimedia.org/T226452 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Kozuch Cc: Aklapper, Kozuch, Liuxinyu970226, darthmon_wmde, Nabetaro, Nandana, MSantos, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, rosalieper, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs