I used
https://codesearch.wmflabs.org/search/?q=-%3Epass%5C(
to make sure there really is no other call to this. This function really
is meant to be protected.
I also used
https://codesearch.wmflabs.org/search/?q=function%20pass%5C(&files=php
to make sure I got all subclasses.
Required for I7da632c43681438aa886bdb709379f10cd9cc658.
Change-Id: I9aaf95c66a6efa22131de627ce015587a109858b
* @param object $page
* @return bool
*/
- function pass( $page ) {
+ protected function pass( $page ) {
return true;
}
}
* @param object $page
* @return bool
*/
- function pass( $page ) {
+ protected function pass( $page ) {
$match = isset( $this->namespaces[$page->page_namespace] );
return $this->invert xor $match;
}
* @param object $page
* @return bool
*/
- function pass( $page ) {
+ protected function pass( $page ) {
return !MWNamespace::isTalk( $page->page_namespace );
}
}