MediaWiki master
DumpNotalkFilter.php
Go to the documentation of this file.
1<?php
12namespace MediaWiki\Export;
13
15
24 protected function pass( $page ) {
25 return !MediaWikiServices::getInstance()->getNamespaceInfo()->
26 isTalk( $page->page_namespace );
27 }
28}
29
31class_alias( DumpNotalkFilter::class, 'DumpNotalkFilter' );
Service locator for MediaWiki core services.
static getInstance()
Returns the global default instance of the top level service locator.