User talk:Mike Peel

From Wikimedia Commons, the free media repository
(Redirected from User talk:Pi bot)
Jump to navigation Jump to search
Welcome to my talk page. Please post new messages at the bottom of my talk page, use headlines when starting new talk topics and sign and date your entries by inserting -- ~~~~ at the end. I will generally reply on this page to keep conversations together; please watch this page for a short time after leaving a comment. Thank you.

Start a new talk topic.

If you would prefer to contact me off-wiki, then my contact details and a contact form are available on my personal website.

Cobble Villa in Long Beach, New York[edit]

The correct coordinates for Cobble Villa in Long Beach, New York is 40° 35′ 33.3″ N, 73° 40′ 22.1″ W, but the Wikidata Infobox won't let me correct it. ----DanTD (talk) 19:37, 16 July 2018 (UTC)

@DanTD: Your first edit on Wikidata was right, but instead of the second you then needed to do [1]. Wikidata does not automatically import the new coordinate from a Wikipedia - that has to be done manually or by a bot - so when you undid your edit you just added the old coordinates back. To add the new ones, I clicked on 'add statement', then in the property box I typed 'coord' and clicked on the 'coordinate location' option in the drop-down menu. Then in the input box that appears in the right I just copy-pasted the coordinates as you gave them above, then clicked 'publish' on the right. Hope that makes sense / helps? Thanks. Mike Peel (talk) 06:48, 17 July 2018 (UTC)
I just saved a copy of your edit in an image, so I can use it more often. I tried to edit it with the correct coordinates, but it didn't work, Hopefully your suggestion will work for any future errors. Thanks. ----DanTD (talk) 14:30, 17 July 2018 (UTC)
OK, keep trying and let me know if you run into more problems. :-) Thanks. Mike Peel (talk) 15:03, 17 July 2018 (UTC)

Pi bot and Wikidata Infobox placement?[edit]

Pi bot seems to be placing this after the last template call. This includes DEFAULTSORT, which isn't strictly a template, and also any {{en}} / {{de}} etc. which are very common.

Given the CSS float behaviour for this infobox, would it not be better if it was placed before these templates? Andy Dingley (talk) 19:34, 20 July 2018 (UTC)

@Andy Dingley: The code looks for the last "}}", and adds the infobox below that. The problem is that there are many templates here that *insist* on having the full width of the page, such as {{Object location}}, and if the infobox is placed above those then you end up with a huge white space at the top of the category page. I started trying to put together a list of these to avoid them individually, but as well as the common ones there are also rarer ones (such as some monument templates) that do the same. So for the bot run it was safest to always put it at the bottom. It can be moved further up the page, though, particularly as we deprecate other templates whose functionality is now in the infobox. Thanks. Mike Peel (talk) 06:24, 21 July 2018 (UTC)
So could it do it the other way? A set of templates which it knew were safe to push past? That would probably improve placement for most pages, and safely for the others.
Also, {{Object location}} would seem to be broken in such a case (there is no need for it to require full width), and it's that template which needs fixing. All templates need to be more cooperative about this sort of placement, it's becoming an issue with the wider range of viewing hardware. Presumably Commons has been able to lag WP over this as there's less large body text around. If a template really does need full width though, it should code in a CSS clear for itself. Andy Dingley (talk) 09:00, 21 July 2018 (UTC)
@Andy Dingley: It could do it that way, but as it's now coming to the end of the initial deployment I'm not sure it's worth doing that now. The best thing now is probably to start trimming the uses of the other templates/text where they have been replaced by the infobox. Thanks. Mike Peel (talk) 09:03, 21 July 2018 (UTC)
That is something I am going to resist very strongly! Andy Dingley (talk) 09:08, 21 July 2018 (UTC)

Wikidata Infobox and Google Maps[edit]

Hi. The 'Google Maps' link does not work now in 'Wikidata Infobox' for Category:Lviv or Category:Kyiv and others (404 - Not Found). Why? Thanks. --Renamerr (talk) 11:27, 21 July 2018 (UTC)

@Renamerr: I think the tool's down, it also doesn't work from the object location template at Category:Fort de la Croix-de-Bretagne for example. I'm not sure who to ping about that to get it working again... Thanks. Mike Peel (talk) 11:33, 21 July 2018 (UTC)

Congratulations![edit]

Jheald (talk) 14:59, 21 July 2018 (UTC)

We're getting there. :-) The next 0.5 million are going to be rather more difficult to add, though! Thanks. Mike Peel (talk) 06:06, 22 July 2018 (UTC)

Wikidata infobox on meta category[edit]

I’ve already reverted your bot’s edit adding {{Wikidata infobox}} to Category:User id-0, but it seems that you don’t watch the bot’s notifications. Do you really think it makes sense on meta categories? If not, please exempt everything under Category:Commons. —Tacsipacsi (talk) 10:24, 22 July 2018 (UTC)

@Tacsipacsi: Sorry for missing the notification. I think that having the infobox on that page does actually make sense though, as it is inherently multilingual. It appears to actually be the *only* thing on that page that displays information in a language other than English? Thanks. Mike Peel (talk) 10:27, 22 July 2018 (UTC)
I've expanded the Wikidata entry a bit, so the infobox now explains what the category is about, which works in French (try changing your language setting at the top next to your username), but ironically, it doesn't work with Indonesian yet! Hopefully someone will add the translations onto Wikidata at some point. Thanks. Mike Peel (talk) 10:34, 22 July 2018 (UTC)
I wouldn’t understand that infobox if I didn’t know this information already. category combines topics (P971) may be useful for software, but it’s hardly understandable for outsiders. The label is not useful here (only when adding statements on Wikidata), instance of (P31) is also trivial information, the bottom links (Wikidata and Toolforge ones) are useless. There is already a link to the language in the description, although it currently points to enwiki, but it would be better to internationalize {{UsersSpeak}}. (Side note: Why does the bot put the infobox below everything else? Infoboxes are normally at the top of the page.) —Tacsipacsi (talk) 11:25, 22 July 2018 (UTC)
@Tacsipacsi: What might be useful to add to the infobox to better explain the topic, then? With the positioning, see #Pi bot and Wikidata Infobox placement? above. Thanks. Mike Peel (talk) 11:48, 22 July 2018 (UTC)
Sorry, I haven’t read through your talk page. I think nothing should be included in the infobox. I don’t think an infobox is useful for a such category at all. (P.S. You don’t have to ping me for each message, your talk page is on my watchlist.)Tacsipacsi (talk) 12:22, 22 July 2018 (UTC)