MediaWiki  master
DumpNotalkFilter.php
Go to the documentation of this file.
1 <?php
27 
36  protected function pass( $page ) {
37  return !MediaWikiServices::getInstance()->getNamespaceInfo()->
38  isTalk( $page->page_namespace );
39  }
40 }
MediaWiki\MediaWikiServices
MediaWikiServices is the service locator for the application scope of MediaWiki.
Definition: MediaWikiServices.php:144
DumpNotalkFilter
Definition: DumpNotalkFilter.php:31
DumpFilter
Definition: DumpFilter.php:31
DumpNotalkFilter\pass
pass( $page)
Definition: DumpNotalkFilter.php:36