Some updates on the PTV + An overwikification clean-up bot?

Posted by austinhuang on 8 January 2019 in English (English). Last updated on 10 January 2019.

I have all kinds of busy stuff so I didn’t map as much.

Public Transport Viewer updates

(If you don’t know what PTV is, read my previous diary entry.)

  • Lines and stations will now render if you scrolled past the antimeridian. Especially useful if you forgot which direction you should scroll to see lines in Kartumia. (Originally, it’ll give a “Bad Request” error, as Overpass cannot accept East/West values outside -180~+180.) However, the map CANNOT include the antimeridian itself. (You probably wouldn’t do that, it’s just water.)
  • New ogf:opacity tag. Put in a value between 0 and 1 and it’ll change the opacity of all lines as well as all nodes of the relation. Defaults to 1.
  • More details on a line. Before it was like…


Now… (Shown with all available details displayed. Of course, it’ll not show tags you didn’t add, but this should encourage people to fill in details!)


An overwikification clean-up bot?

(No, I’m not replying on the wiki topic. It’s not like I have anything to say to that. I am following though.)

Anyways. Will you guys look favourably upon a wiki bot that deletes pages that fits all the criteria below…

  • In Category:Pages for deletion
  • Has only 1 contributor

…which account for a significant part (at least 20% of deletions include the reason “and the only contributor was ") of past deletions?

If so, I could write a bot in Node.js and host it in, then have the admin provide me with a bot account. But first I need to know if you guys would actually like it.

That’s pretty much it. glhf

Comment from TheMayor on 9 January 2019 at 04:30

First and foremost, big fan of the PTV. I’ve been referring to it frequently as I map, and it makes checking out other people’s transit networks that much more fun. Great work.

As far as the wiki goes, for as much of a flashpoint as it’s been recently around the forums and as we continue to have quite busy admins, it surprises me greatly that no one has brought up using some clean-up bots over there. Relatively speaking I’m still pretty new around here so what I think in the matter doesn’t carry all that much weight, but I think it’s a great idea and hope the admins agree.

Comment from histor on 9 January 2019 at 12:05

Indeed we have a lot of wiki-articles, which are only short stubs and unchanged since years, written for lost countries or which have overwicificated content. Clean up with a bot? Why not proof manuelly from some advanced users? May be one from A - D, the next E - H and so on … There schould be a template like “Please delete for stub or overwikifikation”, which can set in this articles and if there is no reaction of the owner in one month, then delete the stuff.

Comment from zhenkang on 9 January 2019 at 12:38

All stub pages I agree should be deleted, at least if there is no development for more than three months. I rather not give a time frame too short that forces users to try overwikify the page. Even if it is still short, why create such stub pages for in the first place? Is it because users didn’t expect they will never get back to it?

I also wish this bot will really develop and get live soon. Just saying, there is a bot now on the wiki to detect and report floods I believe.

Comment from austinhuang on 9 January 2019 at 13:00

Histor - The bot doesn’t detect overwikification itself - It’ll only delete the ones marked so by the sole contributor since in many situations, the contributor became aware of their overwikification but still has to wait a long time to get them deleted.

Stub pages should be moderated manually. We’re not fully automating the job.

Comment from histor on 10 January 2019 at 00:55

@austinhuang: As I wrote - the bot can delete marked articles (of overwikification). The marking has to be manuell. For stubs can be a limit (lesser as 1000 chars or so) and the bot deleted.

Comment from wangi on 10 January 2019 at 02:21

Would it be possible to add a transparency slider, it would help where routes overlap? Thinking Gobras City particularly.

I think the bot to delete where only one editor is a no brainer. But I think it would exhaust targets real quick. Would then need to think of where a template has been added and it hasn’t been objected to within a specified period.


Comment from austinhuang on 10 January 2019 at 02:43

wangi - I can let the bot store dates when the article is added the template by another user. I guess a month would be ample time to respond?

Comment from austinhuang on 10 January 2019 at 02:50

Opacity is now a thing. Use ogf:opacity tag to adjust. 0~1.

Comment from wangi on 10 January 2019 at 09:19


Comment from wangi on 11 January 2019 at 03:38

Could you also control the opacity of the background map?

Comment from austinhuang on 11 January 2019 at 15:27

I don’t think that’ll serve any purpose. Also I doubt if it’s possible.

Comment from wangi on 11 January 2019 at 23:59

I believe the tile layer also has an opacity parameter. This would really help mute the map such that it’s a background to the relations, instead of being too visible.

Comment from Turnsole80 on 22 January 2019 at 04:47

I LOVE the PTV updates! Well done :)

Login to leave a comment