Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5991157
RegistrationHookHandler.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
RegistrationHookHandler.php
View Options
<?php
namespace
MWParsoid
;
class
RegistrationHookHandler
{
public
static
function
onRegistration
()
{
// Use globals instead of Config.
// Accessing Config so early blows up unrelated extensions (T267146)
global
$wgRestAPIAdditionalRouteFiles
,
$wgParsoidEnableREST
;
if
(
$wgParsoidEnableREST
)
{
$wgRestAPIAdditionalRouteFiles
[]
=
__DIR__
.
'/../restRoutes.json'
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Oct 4, 01:47 (4 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f9/18/2fffc9508d1893081cd5f6d00c83
Default Alt Text
RegistrationHookHandler.php (386 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment