Help talk:AperfectBot

From Geohashing
Revision as of 16:29, 3 December 2010 by imported>Aperfectring (+comments)

user-specific expedition lists

Hello, thanks for this nice tool!

Feature request: could you add an option that will show all participants including the user ? It would look nicer on my lists :o)

I like the transport detection function. Do you think 2009-07-11_46_6 could be detected as a bike geohash ? And is there any reason for displaying twice the bus icon for 2009-11-29_46_7 ? Feature request: I would like to see only icons for transit or bike, since I end up walking the last bit for nearly all hashes I don't think the detection can be accurate enough. Or we should have some way to tell the bot which transport was used from the expedition page ?

The transport detect is very primitive right now. I plan to make this more robust over time. This includes the multiple bus icons and improved walk detection. This should be as automatic as possible, so that people don't have to edit all of their old pages.
As for the user lists, this could be done, I will look into the best way to go about it. Likely it will just be a new tag for oneself. --aperfectring 23:27, 18 January 2010 (UTC)

Hey there, just found this, brilliant, no more creating the expedition list manually, thanks a bunch :) But if you have the time have a quick look at User:Mampfred/Expeditions, I've actually made the GRATNAME a link and funny enough it seems to work for Schweinfurt and Mannheim but not for "Frankfurt am Main", for some reason the bot puts &npsb; in there so the link doesn't work. Where does the GRATNAME come from? - Mampfred 12:48, 25 November 2010 (UTC)

The GRATNAME comes from the All Graticules pages. Those pages are a database of all the graticule addresses and names. The bot adds the nbsp part to keep graticule names on the same line. There have been many issues with cases where "Frankfurt am" shows up on one line, then "Main, Germany" shows up on the next. I will think about adding a GRATLINK tag to overcome that limitation, but in the meantime, you can change your GRATNAME column to be: [[GRATADD|GRATNAME]] Happy hashing! --aperfectring 16:28, 25 November 2010 (UTC)
So obvious and yet I so didn't think of that. Brilliant, thanks.
I've had to do so many workarounds like that for the dumb ape, that those kind of solutions are almost second nature to me now. It kinda scares me a bit...
OK, Update, relet just deleted 50 11 with a note that it's not the official syntax. That breaks your suggestion above. No workaround really but I'm guessing it wouldn't be a huge change to have LAT and LONG as new TAGs, I could then format the link as GRATNAME and everyone's happy. What do you think? Where's the code for me to give you a hand? ;) -Mampfred 08:49, 26 November 2010 (UTC)
I can change the code myself fairly easily. It was specifically made to be somewhat extensible for that. I just want to think of the best way to go about adding your style of links. What do you think of GRATLINKADD and GRATLINKNAME? --aperfectring 16:05, 26 November 2010 (UTC)
Works just as well. Just thought LAT and LONG are generic enough to potentially be useful for other people. I've got quite a bit of experience with the MediaWiki code itself yet I've never looked at bots. Would you mind sharing the code at some point if I think I have the time to look at it? Automatic achievement list comes to mind ... - Mampfred 16:44, 26 November 2010 (UTC)
LAT and LONG don't really seem like something which would be used on their own all that much. I would think that you would always want them together. The code (which should be mostly up to date, if not completely so) is here: [1] Unfortunately, the site doesn't seem to be responding right now =(.
The code is most definitely no longer up to date. I have just added the ability to create per-graticule expedition lists, which I will announce in a little bit. I will work on adding the new tags sometime this weekend. --aperfectring 16:29, 3 December 2010 (UTC)