[11:27:25] hi, I asked this question in the general wikipedia-en-help channel, but was told to reask it here [11:27:43] I have a question regarding wikidata: is there an exporter tool such as shortdesc helper to fix issues with the "Coordinates not on Wikidata" hidden category? I am not sure how to get inline maintenance issues for this, and am also unsure as to how to properly export an article's coordinates [11:27:56] I have viewed this page, but am still confused as to the proper course of action https://www.wikidata.org/wiki/Wikidata:Coordinates_tracking [11:28:02] I also looked at this discussion, but it appears out of date (2013) with regard to tooling https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_3#Compare_two_coordinates [12:06:05] (apologies, did not see any replies if there were any, as I had a network outage) [12:06:24] well, my bouncer did [12:06:48] There weren't any :) [12:07:06] ok, thank you :) [12:07:11] I don't know myself, but you'll probably get a response here eventually [12:33:31] no problem at all, I appreciate it! [12:34:27] oh, just saw your message in the other channel [12:35:17] what is happening is that I have been seeing the hidden category on several pages, but when I check the coordinates listed on the pages both at the top right of the main article, as well as in infoboxes, and cross-reference with wikidata, the values will either match or be very close [12:35:41] the Q property trees will also be valid (for example, even if a wikidata property is "headquarters location" rather than "coordinates") [12:35:59] yet the hidden property will still say that coordinates are not in wikidata, even though they are [12:35:59] Oh, hmm... [12:36:08] Do you have an example of an item with this issue? [12:36:15] I am rather new to wikidata, so I could be missing something [12:36:35] hm let me find a random page that exhibits this behavior [12:39:09] ah, so [12:39:51] it appears as though some of the mismatches I was seeing are because it does not appear to properly parse leading 0s [12:40:08] so, if a coordinate is, for example, 04', but in wikidata it is 4' [12:40:11] that doesn't match [12:40:38] I suppose it took a few minutes of not looking at the issue to realize it when looking freshly [12:40:50] ^^; [12:41:39] What item are you seeing that on? [12:41:41] as a followup, however, is there a tool that can assist with checking wikidata information and these sorts of errors? or some CSS I can use to make them more apparent, rather than having to check hidden categories manually? [12:48:16] sorry, was trying to find which page it was [12:48:25] although I found a similar page where wikidata is working properly [12:48:40] so, probably just something I am not seeing properly.. haha apologies for taking your time [12:49:46] No worries! I'm not doubting you or anything, just curious so I can poke around myself :) [12:51:02] oh yea, don't worry, I didnt think that! ^^; but if you know of any tools that can assist with comparing wikidata with pages inline without having to separately open wikidata, that would be appreciated, as well [12:51:53] oh, once again, nevermind.. https://www.wikidata.org/wiki/Wikidata:Tools/Enhance_user_interface [12:51:54] ~_~ [12:52:00] I will see myself out, thank you for your time [13:16:55] perryprog: I found the source of the particular error in an archive page, in case you were curious https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(miscellaneous)/Archive_66#Wikidata_churning [13:18:57] DeltaBot (some utility, I guess) was moving some coordinate locations to headquarter locations, which broke(?) a few things in the past. it appears as though the changes were not mitigated or reverted when/if the bot was updated [13:20:41] ahhh, I misunderstood, I'm sorry [13:21:17] so, a page had a hardcoded coordinate, which had matched to coordinate location in wikidata [13:21:23] I thought you were talking about an item and a page that had matching coords but was being put in a maintenance category incorrectly [13:21:41] and then the bot came around a year ago and moved the coordainte location property to headquarter location [13:22:11] which triggers a coordinate not on wikidata mismatch because the coordinate location property no longer exists (I think that is the timeline) [13:23:08] Right [13:23:41] it appears as though there was no automated bot to retroactively either duplicate the headquarter coordinate property to coordindate, nor attempt to convert {{Wikidatacoord}} to the {{WikidataCoord_hqlocation}} transclusion [13:23:43] 10[1] 04https://www.wikidata.org/wiki/Template:Wikidatacoord13 => [13:23:46] 10[2] 04https://www.wikidata.org/wiki/Template:WikidataCoord_hqlocation [13:24:10] >I thought you were talking about an item and a page that had matching coords but was being put in a maintenance category incorrectly [13:24:14] that is also what I thought [13:24:47] until I found examples wherein the 0 was properly parsed, so then I realized it was not a parsing error. that was my apologies for my assumption being incorrect, as I am a complete n00b at wikidata [13:25:11] your interpretation of my statements was correct. my statements, however, were in error [13:27:59] Alright, looks like {{coord}} solely relies on P625 for coordinates and it doesn't check anything else [13:28:00] 10[1] 10https://www.wikidata.org/wiki/Template:coord [13:28:03] (See https://en.wikipedia.org/wiki/Module:Coordinates#L-620) [13:28:39] hehe, I was just typing the following before your statement came in: "tbh, I am curious as to why the automated check does not attempt to check headquarter coordinate if coordinate is not present" [13:28:55] There's templates like {{WikidataCoord hqlocation}} which will fall back to P625 if there's no P159 as well [13:28:56] 10[2] 04https://www.wikidata.org/wiki/Template:WikidataCoord_hqlocation [13:30:29] cool [13:30:32] so, then, for this page [13:30:34] https://en.wikipedia.org/wiki/Category:Coordinates_not_on_Wikidata [13:31:01] also see https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2021/03#coordinate_location_%28P625%29_to_headquarters_location_%28P159%29_switch [13:31:02] should this category be made to also transclude hqlocation [13:31:53] because it seems strange to either only transclude coord.. or, I suppose, transcluding only coord makes sense, but coord not resolving to hqlocation when coord is not present is strange [13:32:48] (I am now reading the link you sent. once again, apologies for my n00b qualities... this is basically the first time I have taken more than a cursory glance at wikidata) [13:33:35] No need to apologize! [13:34:37] the reason I noticed this issue is because I was repairing some maintenance issues on wikipedia which show up in bright red for me, and then just so happened to notice that coordinate did not match was another hidden category nearby [13:34:56] and I thought "hmm.. that is strange, seeing as this page has a coordinate definated and a map" [13:35:04] s/definated/defined/ [13:35:21] ahhh, right [13:35:42] And do you happen to have that page with the issue still? I think I know what might be going on [13:35:44] also, that is what prompted my questions about wikidata tooling or assistance css, etc [13:35:56] I do not, sadly :'(( apologies [13:36:04] this has been a terrible RCA on my part [13:36:32] No worries! [13:36:52] hm interesting in that conversation you linked [13:36:55] https://www.wikidata.org/w/index.php?title=User%3ADeltaBot%2FfixClaims%2Fjobs&type=revision&diff=1384212401&oldid=1371560510 [13:37:07] but I do not see any automated followup to repair the actions of the bot [13:37:14] Found one: https://en.wikipedia.org/wiki/Roman_Catholic_Archdiocese_of_Agra [13:38:12] yes! that is a good example [13:38:20] Yeah, I see that: re DeltaBot [13:38:55] an interesting thing about your example [13:39:07] is that I don't see DeltaBot in its history from last year [13:39:13] :O [13:39:17] but the result is the same [13:39:27] Look further back: https://www.wikidata.org/w/index.php?title=Q420299&diff=921889036&oldid=800960622 [13:39:42] egad! [13:39:56] that's awesome [13:40:25] (Also how does that even remotely make sense for "HQ Location"...) [13:40:40] hehehehe [13:41:54] I'll see if I can poke around a bit to see if I can get the bot owner to properly undo the edits from that job [13:43:01] bah, looks like they aren't too active at the moment [13:46:31] ahhh [13:46:38] (sorry was getting some coffee) [13:47:45] that does seem like the proper course of action (well, at least to a n00b like me without wanting to sound presumptious) [13:48:06] because that would make the logic make sense again for ones that are not HQs [13:48:28] although I am also wondering whether or not the coordinate on wikidata module also needs updating to check for more than {{coord}} [13:48:29] 10[1] 10https://www.wikidata.org/wiki/Template:coord [13:48:55] eh, that sounds harder [13:51:58] OK [13:53:56] v4mp, if I mention you on the post is there a username you'd like to be mentioned by? (Or not at all) [13:54:52] thank you for asking! I can be left out, that's fine (I should have made a new IRC account for this discussion lol) [13:55:20] if you could link me to the discussion such that I could follow it regardless, that would be appreciated [13:56:08] Sure, just wanted to give credit where credit was due if you didn't mind :) [13:56:44] =) yes, I really appreciate it! I derped once again, this morning, however... and simply joined the wiki channel to ask without thinking haha [13:57:50] No no, you were totally right that there was an issue here! [13:59:11] ^^;;; I got lucky to have you drill down and discover it! I hope that it's a useful thing to fix [14:04:17] v4mp there you go :) https://www.wikidata.org/wiki/Wikidata:Project_chat#DeltaBot's_coordinate_location_(P625)_to_headquarters_location_(P159))_move [14:05:15] (Also, side note, if you would mind /part-ing #wikipedia-en-help since idling in there is not generally allowed—sorry!) [14:05:48] awesome! [14:06:01] and sure thing [14:06:11] appreciate all your assistance, have a wonderful day! [19:49:04] hello