Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5976937
SpecialMobileLanguages.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
519 B
Referenced Files
None
Subscribers
None
SpecialMobileLanguages.php
View Options
<?php
use
MediaWiki\SpecialPage\UnlistedSpecialPage
;
/**
* Redirect from Special:MobileLanguages to the article
*
* @file
* @ingroup SpecialPage
* @codeCoverageIgnore
*/
class
SpecialMobileLanguages
extends
UnlistedSpecialPage
{
public
function
__construct
()
{
parent
::
__construct
(
'MobileLanguages'
);
}
/**
* @inheritDoc
*/
public
function
execute
(
$subpage
)
{
$url
=
wfAppendQuery
(
wfScript
(
'index'
),
[
'title'
=>
$subpage
]
);
$this
->
getOutput
()->
redirect
(
$url
.
'#p-lang'
,
'301'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 19:32 (2 d, 16 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
97/22/d2d87f99a574476f985fd54f7ab0
Default Alt Text
SpecialMobileLanguages.php (519 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment