Page MenuHomeWickedGov Phorge

NumericalParameterValidator.php
No OneTemporary

Size
386 B
Referenced Files
None
Subscribers
None

NumericalParameterValidator.php

<?php
declare( strict_types = 1 );
namespace MediaWiki\Extension\Translate\Validation\Validators;
/**
* An insertable numerical parameter validator that also acts as an InsertableSuggester
* @license GPL-2.0-or-later
* @since 2020.03
*/
class NumericalParameterValidator extends InsertableRegexValidator {
public function __construct() {
parent::__construct( '/\$\d+/' );
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 18 2026, 09:14 (6 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
19/3f/60cf0b593d2aae2ab62d634f4abc
Default Alt Text
NumericalParameterValidator.php (386 B)

Event Timeline