mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Remove 'blacklist' in documentation
Bug: T254646 Change-Id: I9bad51ee248084f92de4c35d9e10d3d983f53831
This commit is contained in:
parent
799196d662
commit
590dc0988d
|
@ -265,7 +265,7 @@ ve.ui.MWParameterPage.prototype.createValueInput = function () {
|
|||
) {
|
||||
valueInputConfig.validate = function ( value ) {
|
||||
// TODO: Check against wgMaxNameChars
|
||||
// TODO: Check against unicode blacklist regex from MW core's User::isValidUserName
|
||||
// TODO: Check against unicode validation regex from MW core's User::isValidUserName
|
||||
return !!mw.Title.newFromText( value );
|
||||
};
|
||||
return new mw.widgets.UserInputWidget( valueInputConfig, { api: ve.init.target.getContentApi() } );
|
||||
|
|
Loading…
Reference in a new issue