- Enter mediawiki directory
cd /path/to/mediawiki/root
- Enter
extensionsdirectory
cd extensions
- Clone repository
git clone https://github.com/Zabqer/TelegramAuthorization
- Create telegram bot and set domain
- Add to
LocalSettings.php
$wgTelegramAuthorization_BotHash = "afa4b..."; # Hmac sha256
$wgTelegramAuthorization_BotID = 0; # Bot id
- Enable plugin: add to
LocalSettings.php
wfLoadExtension( 'TelegramAuthorization' );
- Run mediawiki update command to create plugin tables
php maintenance/run.php update