Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1426505
CommunityConfigurationHooks.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
544 B
Referenced Files
None
Subscribers
None
CommunityConfigurationHooks.php
View Options
<?php
namespace
Cite\Config
;
use
MediaWiki\Extension\CommunityConfiguration\Hooks\CommunityConfigurationProvider_initListHook
;
/**
* @license GPL-2.0-or-later
*/
class
CommunityConfigurationHooks
implements
CommunityConfigurationProvider_initListHook
{
/**
* @inheritDoc
*/
public
function
onCommunityConfigurationProvider_initList
(
array
&
$providers
)
{
if
(
!
CommunityConfigurationUtils
::
useCommunityConfiguration
()
)
{
// Do not show the Cite provider in the dashboard when disabled
unset
(
$providers
[
'Cite'
]
);
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 13:19 (1 d, 17 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c0/21/091369ceb673b127853c96e4daad
Default Alt Text
CommunityConfigurationHooks.php (544 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment