Merge "Remove broken CSS for ve.ui.MWReferenceGroupInputWidget"

This commit is contained in:
jenkins-bot 2024-03-14 09:07:48 +00:00 committed by Gerrit Code Review
commit 2f1b3477f7
3 changed files with 1 additions and 13 deletions

View file

@ -116,7 +116,6 @@
"styles": [
"ve.ui.MWReferenceDialog.less",
"ve.ui.MWReferenceContextItem.less",
"ve.ui.MWReferenceGroupInputWidget.less",
"ve.ui.MWReferenceResultWidget.less",
"ve.ui.MWReferenceSearchWidget.less",
"ve.ui.MWCitationDialogTool.less"

View file

@ -43,8 +43,7 @@ OO.inheritClass( ve.ui.MWReferenceGroupInputWidget, OO.ui.ComboBoxInputWidget );
ve.ui.MWReferenceGroupInputWidget.prototype.populateMenu = function ( internalList ) {
const items = [ new OO.ui.MenuOptionWidget( {
data: '',
label: this.emptyGroupName,
flags: 'emptyGroupPlaceholder'
label: this.emptyGroupName
} ) ];
for ( const groupName in internalList.getNodeGroups() ) {
const match = groupName.match( /^mwReference\/(.+)/ );

View file

@ -1,10 +0,0 @@
/*!
* VisualEditor MediaWiki UserInterface MWReferenceGroupInputWidget styles.
*
* @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
* @license MIT
*/
.ve-ui-mwReferenceGroupInputWidget .oo-ui-flaggableElement-emptyGroupPlaceholder {
color: #72777d;
}