Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5990820
PrintfValidator.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
449 B
Referenced Files
None
Subscribers
None
PrintfValidator.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\Extension\Translate\Validation\Validators
;
/**
* A validator that checks for missing and unknown printf formatting characters
* in translations. Can also be used as an Insertable suggester
* @license GPL-2.0-or-later
* @since 2019.12
*/
class
PrintfValidator
extends
InsertableRegexValidator
{
public
function
__construct
()
{
parent
::
__construct
(
'/%(
\d
+
\$
)?(
\.\d
+)?[sduf]/U'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Oct 4, 01:39 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
aa/ce/89c42e17b038d2290125c46f2634
Default Alt Text
PrintfValidator.php (449 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment