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

--- Comment #3 from James Forrester <[email protected]> ---
(In reply to Alex Monk from comment #1)
> Currently the redirect section of the page settings dialog and the template
> placeholder page use MWTitleInputWidget.
> 
> The template placeholder page can be fixed with a simple change from value
> === '' to !mw.Title.newFromText( value ) in
> MWTemplatePlaceholderPage#onTemplateInputChange. It will no longer allow you
> to add a template with an invalid name. No need for isValid here.

What happens when you use a parser function or a magic word?

> As for the redirect settings, that seems more difficult. I don't think we
> should just silently ignore the value if it was set to an invalid title...
> And I don't think we should disable the apply button either.

We show "invalid title" for link searches; presumably that's evaluated
server-side?

-- 
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