DerivateContext::canUseWikiPage checks the derivated title before calling the underlying request. Let getWikiPage also use the derivated title first, before calling the underlying request to be in sync This avoids "MWException: RequestContext::getWikiPage called without Title object set" when the derivated request has a title, but the underlying request does not. Bug: T297688 Change-Id: I72f5650986b5a6585dc4909b8fe49e39f60f6a14 |
||
|---|---|---|
| .. | ||
| DerivativeContextTest.php | ||