Translate extension for MediaWiki
Loading...
Searching...
No Matches
MediaWikiParameterValidator.php
1
<?php
2
declare( strict_types = 1 );
3
4
namespace
MediaWiki\Extension\Translate\Validation\Validators;
5
11
class
MediaWikiParameterValidator
extends
InsertableRegexValidator
{
12
public
function
__construct() {
13
parent::__construct(
'/\$[1-9]/'
);
14
}
15
}
MediaWiki\Extension\Translate\Validation\Validators\InsertableRegexValidator
A generic regex validator and insertable that can be reused by other classes.
Definition
InsertableRegexValidator.php:19
MediaWiki\Extension\Translate\Validation\Validators\MediaWikiParameterValidator
An insertable wiki parameter validator that also acts as an InsertableSuggester @license GPL-2....
Definition
MediaWikiParameterValidator.php:11
src
Validation
Validators
MediaWikiParameterValidator.php
Generated by
1.10.0