Fix typos

Change-Id: Iaa7bf09877f32f7c19217103773657a8d8a81d16
This commit is contained in:
WMDE-Fisch 2022-08-05 10:00:54 +02:00
parent e422826a33
commit 6cfa2e7dd0
4 changed files with 4 additions and 4 deletions

View file

@ -146,7 +146,7 @@ OO.inheritClass( ve.ui.MWParameterPage, OO.ui.PageLayout );
/* Events */
/**
* Triggered the parameter value changes between empty and not empty.
* Triggered when the parameter value changes between empty and not empty.
*
* @event hasValueChange
* @param string parameterId Keyed by unique id of the parameter, e.g. something

View file

@ -235,7 +235,7 @@ ve.ui.MWSettingsPage.prototype.checkValidRedirect = function () {
* my idea is to in the parse method instead of a boolean return a string with an error message (not an error code since the error string can have parameters),
* then in Title.newFromText instead of returning null, return the error string. Use that string there in setErrors.
* Problem: some methods might depend on it returning null.
* Solution: either make it a new metohd (Title.newFromTextThrow), or add a an optional parameter to return the error message.
* Solution: either make it a new method (Title.newFromTextThrow), or add a an optional parameter to return the error message.
*/
this.redirectTargetField.setErrors( [ mw.msg( 'visualeditor-title-error' ) ] );
return false;

View file

@ -65,7 +65,7 @@ ve.ui.MWEditSummaryWidget.static.splitSummary = function ( summary ) {
};
/**
* Filter a list of edit summaries to a specific query stirng
* Filter a list of edit summaries to a specific query string
*
* @param {string[]} summaries Edit summaries
* @param {string} query User query

View file

@ -169,7 +169,7 @@ ve.ui.MWTemplateTitleInputWidget.prototype.getLookupRequest = function () {
var page = pages[ i ];
if ( page.missing ) {
// Remmeber templates that don't exist in the link cache
// Remember templates that don't exist in the link cache
// { title: { missing: true|false }
var missingTitle = {};
missingTitle[ page.title ] = { missing: true };