Help talk:AperfectBot

From Geo Hashing
Jump to: navigation, search

user-specific expedition lists[edit]

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)

I have now added GRATLADD and GRATLNAME tags, and used Mampfred's expedition list as a testbed for the new tags. The list should be fully populated in about 1.5 days or so. --aperfectring 23:22, 3 December 2010 (UTC)

Just noticed, seems to work fine, thanks :) (and I'll get rid of the wrongly created graticule pages soon). I've already looked at the pywikipedia stuff and have a few ideas of my own, we'll see what happens ... anyway, the new LISTLEN is a good idea too, here's another: how about an additional COUNTER tag so that I'm able to include an expedition counter although I'm using the table (maybe even customizable to only count successes/fails)? - Mampfred 16:14, 4 December 2010 (UTC)

Great tool! Question: I created a list generator for Malmö,_Sweden/Expeditions. When I add a new expedition page categorized as "New report" and "Expedition planning", it shows up as "thwarted" in the list. Is it me or a bug? I think planning pages should be ignored by the bot. Thanks. --Fasanen 17:28, 10 December 2010 (UTC)

They are eventually ignored. But for the first week they are considered "thwarted". Jiml 18:00, 10 December 2010 (UTC)

Seperate lat and lon tags[edit]

Hey there, I'd like to pick up the question above again. I've found another use for seperate lat and lon tags. I'd like to build an automated KML of all my hashes. That should be fairly easy to do using those tags. I've got the kml definition for a single point in User:Mampfred/KMLTemplateExpedition and would include that from a generated list by calling {{User:Mampfred/KMLTemplateExpedition|date=2011-08-27|lat=50|lon=8|description=Only a couple of feet into mayhem.}} with the rest of the kml tags around it (example at User:Mampfred/ExpeditionsRaw, calling it with action=raw&templates=expand yields the proper kml source, try pasting this in google maps). Obviously that could be easily expanded with colored markers etc. pp. But: I need seperate lat and lon tags for that. Any chance you could put that in? - Mampfred 11:57, 4 October 2011 (EDT)

I too would love this feature having recently hand-built a KML file of the Norwich graticule expeditions. This is not just 52, 1 but something like 52.12345, 1.67890. --Sourcerer (talk) 12:35, 26 October 2015 (EDT)

Unexpected results[edit]


- the link to report bugs/strangeness doesn't work anymore

- I noticed two problems while browsing through the list on User:Elisa: 1. 2012-03-23_46_6 was first created as 2012-02-23_46_6 by mistake, but both still appear in the list. 2. Although Elisa was initially mentioned in the planning page for 2012-04-16_39_116, she didn't join the actual expedition, and it looks like the ape didn't notice.

--Crox 06:02, 6 May 2012 (EDT)