bunyk / mediawiki-telegram-bot

This is code that implements editing translations in translatewiki.net through the Telegram chat app. The service is disabled at the moment in production, but should be reenabled some day.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mediawiki-telegram-bot

##Descripton This is a Node.js service that can fetch untranslated messages from translatewiki.net and send translations to them using the Telegram chat network.

Coding conventions

Use the MediaWiki JavaScript coding conventions.

In addition, since Telegram and MediaWiki have a lot of overlapping terminology, always make it explicit in the variable names, comments, etc., that you add, to which side do you refer when you talk about any of these:

  • bot
  • token
  • message

Use "tg" and "mw" if you need short prefixes.

Credits

Put together from nearly random code samples on npmjs.org and StackOverflow by Amir E. Aharoni at the Wikimedia Hackathon 2016 in Jerusalem.

People without whom this wouldn't happen:

  • Bryan Davis
  • Marko Obrovac
  • Petr Bena
  • Brad Jorsch
  • Siebrand Mazeland
  • Niklas Laxström
  • Merlijn van Deen

License

Copyright (C) 2016 Amir E. Aharoni, amir.aharoni@mail.huji.ac.il

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

This is code that implements editing translations in translatewiki.net through the Telegram chat app. The service is disabled at the moment in production, but should be reenabled some day.

License:GNU General Public License v3.0


Languages

Language:JavaScript 98.0%Language:Shell 2.0%