Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1431918
ParserUtil.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
598 B
Referenced Files
None
Subscribers
None
ParserUtil.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\Extension\Math\WikiTexVC
;
class
ParserUtil
{
/**
* @param array|null $options
* @return array
*/
public
static
function
createOptions
(
$options
)
{
# get reference of the options for usage in functions and initialize with default values.
$optionsBase
=
[
'usemathrm'
=>
false
,
'usemhchem'
=>
false
,
'usemhchemtexified'
=>
false
,
'useintent'
=>
false
,
'oldtexvc'
=>
false
,
'oldmhchem'
=>
false
,
'debug'
=>
false
,
'report_required'
=>
false
];
return
array_merge
(
$optionsBase
,
$options
??
[]
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 21:13 (1 d, 12 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f6/32/03cf82730a2e925536f6a2af190a
Default Alt Text
ParserUtil.php (598 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment