Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F33840
DumpNotalkFilter.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
514 B
Referenced Files
None
Subscribers
None
DumpNotalkFilter.php
View Options
<?php
/**
* Simple dump output filter to exclude all talk pages.
*
* Copyright © 2003, 2005, 2006 Brooke Vibber <bvibber@wikimedia.org>
* https://www.mediawiki.org/
*
* @license GPL-2.0-or-later
* @file
*/
use
MediaWiki\MediaWikiServices
;
/**
* @ingroup Dump
*/
class
DumpNotalkFilter
extends
DumpFilter
{
/**
* @param stdClass $page
* @return bool
*/
protected
function
pass
(
$page
)
{
return
!
MediaWikiServices
::
getInstance
()->
getNamespaceInfo
()->
isTalk
(
$page
->
page_namespace
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Dec 18, 20:38 (21 h, 53 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
37/9b/153c15d5756297dcc5e800d96abe
Default Alt Text
DumpNotalkFilter.php (514 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment