https://bugzilla.wikimedia.org/show_bug.cgi?id=59788

--- Comment #13 from Daniel Kinzler <daniel.kinz...@wikimedia.de> ---
(In reply to comment #12)
> Note that technically there isn't a requirement for a valid title so much as
> that $context->getWikiPage() returns a WikiPage. You may be able to continue
> to pass the special page as the title if you manually set an appropriate
> WikiPage on the context.

That would be nice and easy if WikiPage was a nicely scoped interface. I don't
see a way though to return a WikiPage object for a page that doesn't have a
title yet. As it is now, you need a title to construct a WikiPage. We could use
the fake Q0 title there, and the special page's title in the context itself...
that might work, but it's even more black magick hackery :/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to