Error on talk pages

From semantic-mediawiki.org

> Anyone have any helpful insights? As-is, our talk pages are completely unusable

Because we expect either a NULL or a page object and not a boolean (true, false) as value according to [0].

Please open an issue with [1] and in the meantime you could try removing the type check [2] (change from "Page &$article = null" to "&$article = null").

[0] https://github.com/wikimedia/mediawiki/blob/0a90e7ca653e1dae86887d8c454069015a725dd2/includes/page/Article.php#L121

[1] https://github.com/SemanticMediaWiki/SemanticMediaWiki

[2] https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/fd777541ce0f455f6ae5c7774a66850fd1dcbcd9/src/MediaWiki/Hooks/ArticleFromTitle.php#L39

Cheers

02:46, 17 November 2015