Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4086866
NumericalParameterValidator.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
386 B
Referenced Files
None
Subscribers
None
NumericalParameterValidator.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment