mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 00:40:12 +00:00
Fix wikitext conversion of pasted '<ref>'s
Regex error meant only ref tags with attributes were detected. Bug: T128805 Change-Id: Ide1153f5f5cc3fe8b0a25309d5e2ddabd796cbe6
This commit is contained in:
parent
0dc157a6de
commit
14d8e12188
|
@ -68,7 +68,7 @@ ve.ui.commandHelpRegistry.register( 'insert', 'ref', {
|
|||
label: OO.ui.deferMsg( 'cite-ve-dialog-reference-title' )
|
||||
} );
|
||||
|
||||
ve.ui.mwWikitextTransferRegistry.register( 'reference', /<ref[^>]+>/ );
|
||||
ve.ui.mwWikitextTransferRegistry.register( 'reference', /<ref[^>]*>/ );
|
||||
|
||||
/**
|
||||
* MediaWiki UserInterface references list tool.
|
||||
|
|
Loading…
Reference in a new issue