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

--- Comment #17 from Aaron Schulz <[email protected]> 2011-11-09 23:20:35 
UTC ---
(In reply to comment #16)
> The if condition could be changed to $redirect instanceOf Title &&
> $redirect->isValidRedirectTarget() to make sure it's appropiate (just copied
> the codnition from Title.php:396).

Yep, that would also make using getPrefixedText() OK since getRedirectTarget()
can return a string and not a Title.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to