@Jdlrobson, in 7d02b5ac84, you deprecated setMainPage() method that it will be removed in the future. I'm opening this because usage of this method in MF is quite a lot and in tests as well. What is the future of it, I'm happy to work on it if you guide me :)
Related task: T176414. @pmiazga, maybe you have ideas too, please chime in :)
Piece of code:
/** * Change mainPage (is this the main page) to $value (standard: true) * This enables special casing for the main page. * @deprecated * @param bool $value */ public function setIsMainPage( $value = true ) { $this->mainPage = $value; }