Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4144598
CommonPasswords.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
465 B
Referenced Files
None
Subscribers
None
CommonPasswords.php
View Options
<?php
namespace
Wikimedia\CommonPasswords
;
class
CommonPasswords
{
/**
* @internal
* @return array
*/
public
static
function
getData
()
{
static
$data
=
null
;
if
(
$data
===
null
)
{
$data
=
require
__DIR__
.
'/common.php'
;
}
return
$data
;
}
/**
* @param string $password Password to check if it's considered common
* @return bool
*/
public
static
function
isCommon
(
$password
)
{
return
isset
(
self
::
getData
()[
$password
]
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 17:17 (4 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
54/80/e9cfb47faca6c57cc34e8cd00ef5
Default Alt Text
CommonPasswords.php (465 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment