Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
UnsupportedTranslationAid.php
1<?php
2declare( strict_types = 1 );
3
4namespace MediaWiki\Extension\Translate\TranslatorInterface\Aid;
5
7
17 public function getData(): array {
18 throw new TranslationHelperException( 'This translation aid is disabled' );
19 }
20}
Translation helpers can throw this exception when they cannot do anything useful with the current mes...