TheDJ has uploaded a new change for review.
https://gerrit.wikimedia.org/r/199870
Change subject: LivePreview: Update the correct mw-editfooter-list
......................................................................
LivePreview: Update the correct mw-editfooter-list
mw-editfooter-list is used by both templatesUsed and hiddencats, so
make sure we replace correct one.
Bug: T78834
Change-Id: I00be75ac6d68f96fb366b9561ec1ee0e1998f656
---
M resources/src/mediawiki.action/mediawiki.action.edit.preview.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/70/199870/1
diff --git a/resources/src/mediawiki.action/mediawiki.action.edit.preview.js
b/resources/src/mediawiki.action/mediawiki.action.edit.preview.js
index 3a6110d..65ae0f0 100644
--- a/resources/src/mediawiki.action/mediawiki.action.edit.preview.js
+++ b/resources/src/mediawiki.action/mediawiki.action.edit.preview.js
@@ -159,7 +159,7 @@
newList.push( li );
} );
- $editform.find( '.mw-editfooter-list'
).detach().empty().append( newList ).appendTo( '.templatesUsed' );
+ $editform.find( '.templatesUsed
.mw-editfooter-list' ).detach().empty().append( newList ).appendTo(
'.templatesUsed' );
}
if ( response.parse.limitreporthtml ) {
$( '.limitreport' ).html(
response.parse.limitreporthtml['*'] );
--
To view, visit https://gerrit.wikimedia.org/r/199870
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I00be75ac6d68f96fb366b9561ec1ee0e1998f656
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: TheDJ <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits