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