summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/translationaids/UnsupportedTranslationAid.php
blob: af118e732b515c3cc12d76609cf1e3bbbfaeb470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
 * Translation aid provider.
 *
 * @file
 * @author Harry Burt
 * @copyright Copyright © 2013, Harry Burt
 * @license GPL-2.0-or-later
 */

/**
 * Dummy translation aid that always errors
 *
 * @ingroup TranslationAids
 * @since 2013-03-29
 */
class UnsupportedTranslationAid extends TranslationAid {
	public function getData() {
		throw new TranslationHelperException( 'This translation aid is disabled' );
	}
}