User talk:TTTBot

From OpenStreetMap Wiki
Jump to navigation Jump to search

Hint with link?

Currently, under tables stands "This table is is generated automatically by a bot. Edit the corresponding software description pages to change the data." IMHO this hint shall also contain a link to this page, so users can find more throughout information with ease. What do you think? --Schoschi 03:08, 12 January 2011 (UTC)

That's a good idea. I've noticed that people occasionally edit the tables directly despite the hint. Maybe the link would help them find out what to do instead. Do you have a suggestion for the phrasing (link a part of the existing text or add another sentence)? --Tordanik 10:58, 12 January 2011 (UTC)
Well, I've added a link now. Let me know if you have better suggestions for the wording. --Tordanik 19:01, 16 January 2011 (UTC)

Doubled up table bug

What's going wrong here: BlackBerry OS#Map display features ? I'm seeing the table twice. The top copy of the table has a broken 'screenreader accessibility' column -- Harry Wood 01:29, 6 July 2011 (BST)

Thanks for the report. This has been caused by a user's attempt to manually insert a screenreader accessibility column. After that edit, the bot no longer recognized the table as bot-created, concluded that a new table was needed because it didn't find a bot-generated table despite a SoftwareTable template being present, and created the second table. Since then, only the new table has been updated by the bot. I've deleted the upper table now. Maybe I can add a screenreader column later, but it seems there isn't much information whether the programs offer this feature. --Tordanik 11:49, 6 July 2011 (BST)

Editors - ArcGIS

Hi Tordanik, I moved the table over directly to Editors as this is what the most users seem to expect. But there seems to be a problem at ArcGIS. Unfortunatly the template seems to be ok? --!i! This user is member of the wiki team of OSM 19:21, 2 December 2011 (UTC)

The problem with ArcGIS is that there are two templates on that page. And I didn't get around to adding support for multiple template instances on the same page yet (a feature that will also be needed for the GPS devices). --Tordanik 19:41, 2 December 2011 (UTC)
No problem, now I know it's a smal bug. --!i! This user is member of the wiki team of OSM 21:06, 2 December 2011 (UTC)

Potlatch 2 is shown twice

Potlatch 2 is shown twice in the table http://wiki.openstreetmap.org/wiki/Editing

By the way: this edit removed by bot could be implemented. Shows head table on bottom too. Rtafav2 20:39, 10 June 2012 (BST)

These duplicates are caused when someone translates a software description page and copy-pastes the Software2 template. When there are two Software2 templates, then there will be two lines in the table. In this case, the cause was the Italian page. I've fixed it by replacing Software2 with Template:Software2Translated which is intended for that purpose. So the duplicate should disappear from the table tomorrow.
Showing the head on the bottom of the table would unfortunately not be compatible with the sorting feature of the columns. --Tordanik 21:00, 10 June 2012 (BST)

Regular expression flavour?

What regular expression flavour does TTTBot use? Java style?

In particular, slash "/" seems to be used instead of the pipe character, "|". Example from Apple iOS:

{{SoftwareTable|lang=en|cols=nameAndWeb,screenshot,base_cols|platform=.*(?:[iI][pP]hone/[iI][oO][sS]).*}}

What is the reason for using slash?

--Mortense 20:31, 9 July 2012 (BST)

Yes, it's Java style regex with slashes instead of pipe characters. The reason for avoiding the pipe character is its special meaning in MediaWiki templates: It separates the template parameters from each other (such as the pipe character between "lang=en" and "cols=..." in your example). --Tordanik 00:50, 10 July 2012 (BST)

Double entries for OsmAnd on Android page

The Android page lists OsmAnd 4 times in all tables where it is present. It seems to be different version numbers and languages only. I think one listing is enough. --Mdeen 08:52, 14 January 2013 (UTC)

That happens when translated versions of a software page (in this case IT:OsmAnd and probably others) contain a copy of the original Software2 template. You can fix it by changing the Software2 template to Software2Translated|lang=... where the lang parameter gets values such as "de", "it" or "es". This has the additional benefit that the text in the box will be localized to the respective language (if a translation has already provided for that language). --Tordanik 12:40, 14 January 2013 (UTC)
Done for IT:OsmAnd. Will check again tomorrow if this had the desired effect and I'll search for the other occurences then. --Mdeen 13:49, 14 January 2013 (UTC)

There is now only one listing for OsmAnd, but the license and version are incorrect: GPL and 2012-09-24 0.8.3, where I have taken care to enter GPLv3 and 2012-12-20 1.1 in every template. Why is that? --Mdeen 07:13, 17 January 2013 (UTC)

I should probably clarify something: There needs to be one Software2 template (rather than Software2Translated) which serves as the source for all these non-translated facts like release dates. Usually this role is served by the English page, so you might want to change that one back - sorry for not explaining this more clearly. That OSMAnd shows up at all despite all the obvious pages having been changed to Software2Translated means that there is still a page somewhere that has a Software2 template for OSMAnd and apparently contains the incorrect values. --Tordanik 08:42, 17 January 2013 (UTC)
Found it: CA:OsmAnd. --Tordanik 08:56, 17 January 2013 (UTC)
I entered a redirect for CA:OsmAnd because Ca:OsmAnd also exists and is edited more recently and appears in the available languages box and I reverted OsmAnd to use the Software2 template. --Mdeen 09:15, 17 January 2013 (UTC)

One more question about the workings of TTTBot: There are two occurences of OSMTracker for Android in the list. But there 5 language pages (including english) and all had Template:Software2. Only the "en" and "ro" languages were listed. Why didn't it list all 5?

That's a good question, I also think that the bot should logically have created 5 entries ... I'm not sure why it didn't. --Tordanik 16:28, 17 January 2013 (UTC)
I see that happen on more occasions. MoNav is listed only once in Software/Desktop although that page and NL:MoNav use Template:Software2. Same for Merkaartor ES:Merkaartor and IT:Merkaartor --Mdeen 07:24, 18 January 2013 (UTC)

Something similar seems to have happened again: TTTBot more or less duplicated one of the Android tables. --Erik Lundin (talk) 23:24, 13 October 2013 (UTC)

Thanks for reporting this problem, but it is related to the #Doubled up table bug rather than this one. During the months when TTTBot was broken, there were understandably a few people who did small manual edits. One of these edits (I guess it was the insertion of empty lines) modified the table in such a way that MediaWiki was still able to parse it, but TTTBot wasn't. Therefore, the bot assumed that no table was present and instead created a new one. I've corrected the issue now. --Tordanik 01:18, 14 October 2013 (UTC)

deprecated software?

How to tell the bot that software is deprecated?

E.g. ShareNav seems unmaintained since sourceforge sais that the last update was in 2012-11-17. -- malenki 12:39, 1 March 2014 (UTC)

Hi, unfortunately there isn't a solution for that yet. However, it would be feasible to add another parameter to Template:Software, as has previously been briefly discussed on Talk:Apple_iOS#Dead_Apps. Then we could add filter criteria based on that parameter to the tables (e.g. don't show software with status=inactive). Would that address your problem? --Tordanik 23:21, 5 March 2014 (UTC)
Yes. -- malenki 22:30, 6 March 2014 (UTC)
And when to set a software to "deprecated"? "Inactive" software is not always not useful. I guess you mean to decide that on a individual basis, right? Quite subjective then. But, well, also creating (or not) an article for a program is subjective. --Aseerel4c26 (talk) 00:39, 7 March 2014 (UTC)
We could use something like "date of last commit to soure code" for free software or "last update of software version". Based on that date the panel of the table to create could be colored green, yellow or red. -- malenki 04:28, 7 March 2014 (UTC)
An automatic solution for extracting the commit date would require adding support for reading svn, git, and probably bzr and hg too. Together with the complication that the repository url might not always be useful to access the repository itself (rather than a html page at github or the like), this is too complicated in my opinion. Likewise, a manual solution of editing a software's page after each commit does not seem feasible. So using the commit date in the bot is too complicated in my opinion.
A more detailed coloring scheme based on releases would work, and would be simply an extension of the existing coloring functionality. However, this does not necessarily solve the problem of filtering dead and obsolete applications. While I agree with the objection that some currently unmaintained applications may nevertheless be useful, we also have to deal with applications that don't work at all anymore. Perhaps this could simply be solved by making the status values more flexible, using "inactive" when development has stopped, "broken" for apps that no longer work, and "obsolete" for inactive apps that do no longer have any advantage over actively maintained competitors? Then we could only remove the last two classes from a list, and leave merely "inactive" apps in there (with a red coloring). --Tordanik 13:28, 7 March 2014 (UTC)
For reading git/svn: you were thinking too far; I meant that people would enter that date by hand.
The advantage of the labels you propose is that they are easier to understand and do better define the state of the application. -- malenki 13:59, 7 March 2014 (UTC)
"By hand", well, I think that will not work. There are too many software pages. --Aseerel4c26 (talk) 20:28, 7 March 2014 (UTC)
Yes, something like that. And the labels should be understandable by non-devs. E.g. I guess "inactive" and a red colour would deter most non-dev users although such a program may really be what they are searching for. What about sometihng like "broken funcitonality" (not show) and "works with problems" (yellow) and "inactive development" (yellow). I am not really satisfied by this. I think we want something different, but I do not know what. I mean, who cares if a converter from gpx to csv is no longer in development? There is nothing wrong with this. It will continue to do what it is specified for. --Aseerel4c26 (talk) 20:28, 7 March 2014 (UTC)

Platforms for software with navigation features

It would be very welcome if the table for Software with navigation features would show a table for the available platforms, too. -- malenki 12:42, 1 March 2014 (UTC)

You can do this yourself by editing the template directly below the table as mentioned here. Check Template:SoftwareTable for a list of available columns. --Tordanik 16:56, 1 March 2014 (UTC)
Thanks. -- malenki 00:16, 2 March 2014 (UTC)

many strange edits, gpsdrive missing

There are many tiny changes in the history like [[1]]

Reason: Mapnik is listed twice. Looks like it is some kind of unstable sort issue. Haven't found the root cause error.

Second. The page Gpsdrive is not listed and I cannot guess what is wrong. --Werner2101 (talk) 11:50, 26 May 2014 (UTC)

Yes, the first problem is due to an unstable sort. This happens when there are multiple uses of the Software2 template for the same program, and the parameters added to these templates are different. In this case, the duplicate was on JA:Mapnik. If you see such edits, I would be grateful if you replaced the templates like I did here: [2]
The second problem is due a subtle difference how the parameter values are written. The filter term on Software/Desktop, for example, is
platform=.*(?:win/linux/mac).*
The Gpsdrive page, however, gives "Linux, Mac" as the platform value, which doesn't match the regular expression. The best solution would probably be to make the regular expression more forgiving, by changing it to
platform=.*(?:[Ww]in/[Ll]inux/[Mm]ac).*
everywhere on that page. --Tordanik 13:59, 26 May 2014 (UTC)
Thanks for the explanation. Fixed Gpsdrive. I will fix other software packages when I stumble over them. --Werner2101 (talk) 14:26, 26 May 2014 (UTC)

Bug on Firefox OS?

Hi, could you take a look at these edits? --★ → Airon 90 12:33, 20 June 2014 (UTC)

Looks like a bug indeed, it shouldn't print newlines like that. However, trigger is probably the template without any parameters. --Tordanik 05:08, 21 June 2014 (UTC)

stopped working

Hi, it seems the Bot stopped working on 18th october 2014. See http://wiki.openstreetmap.org/w/index.php?title=Android&action=history There is for example a new version of OsmAnd, which the Bot did not update on Android. --Klumbumbus (talk) 01:46, 13 December 2014 (UTC)

Hello Tordanik, is there any chance that TTTBot will ever come back to work? Or should we edit all hints inside OSM wiki about its feature and ebcourage Wiki users to edit all relevant tabels manually from now on? --Stephan75 (talk) 15:05, 2 April 2015 (UTC)

Unfortunately, all TTTBot content on the FOSSGIS devserver was deleted during a server maintenance operation at that date, which is why TTTBot stopped running. But I would still like to try to set it up again. --Tordanik 13:20, 3 April 2015 (UTC)

Is there any news on TTTBot coming back? Is anybody working on it? --K1wi (talk) 11:20, 28 June 2015 (UTC)

I've added a warning on top of the page to alert about the inactivity of this bot. --- Pbb (talk) 10:01, 21 August 2015 (UTC)

Import tables

Can TTTBot import tables? If so, what conditions must be fulfilled? Background: I create automated tables in wiki format (example: https://wiki.openstreetmap.org/wiki/L%C3%BCneburg/POI/Apotheken#Stand:_03.02.2015), which I enter manually. I would like to automate this. Swen Wacker (talk) 16:25, 12 April 2015 (UTC)