Page Menu
Home
Miraheze
Search
Configure Global Search
Log In
Paste
P245
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Paladox
on Jan 3 2020, 21:17.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F1109076: raw.txt
Jan 3 2020, 21:17
2020-01-03 21:17:55 (UTC+0)
Subscribers
None
if ( $wiki == 'default' ) {
// If wiki is default, we mean it but we can't use RM this way
$remoteWiki = RemoteWiki::newFromName( $wgCreateWikiGlobalWiki );
} else {
$remoteWiki = RemoteWiki::newFromName( $wiki );
}
if ( $remoteWiki == null ) {
$context->getOutput()->addHTML( '<div class="errorbox">' . wfMessage( 'managewiki-missing' )->escaped() . '</div>' );
return false;
}
Event Timeline
Paladox
created this paste.
Jan 3 2020, 21:17
2020-01-03 21:17:55 (UTC+0)
Log In to Comment