MediaWiki
REL1_35
DumpNotalkFilter.php
Go to the documentation of this file.
1
<?php
26
use
MediaWiki\MediaWikiServices
;
27
31
class
DumpNotalkFilter
extends
DumpFilter
{
36
protected
function
pass
( $page ) {
37
return
!MediaWikiServices::getInstance()->getNamespaceInfo()->
38
isTalk( $page->page_namespace );
39
}
40
}
DumpFilter
Definition
DumpFilter.php:31
DumpNotalkFilter
Definition
DumpNotalkFilter.php:31
DumpNotalkFilter\pass
pass( $page)
Definition
DumpNotalkFilter.php:36
MediaWiki\MediaWikiServices
MediaWikiServices is the service locator for the application scope of MediaWiki.
Definition
MediaWikiServices.php:152
includes
export
DumpNotalkFilter.php
Generated on Sat Apr 6 2024 00:07:08 for MediaWiki by
1.9.8