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

--- Comment #1 from Alex Monk <[email protected]> ---
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.

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.

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