There was an error while loading. Please reload this page.
1 parent ec27b35 commit aa872f4Copy full SHA for aa872f4
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterWrapperWidget.js
@@ -58,7 +58,11 @@
58
$bottom = $( '<div>' )
59
.addClass( 'mw-rcfilters-ui-filterWrapperWidget-bottom' );
60
61
-if ( mw.config.get( 'wgStructuredChangeFiltersEnableLiveUpdate' ) ) {
+if (
62
+mw.config.get( 'wgStructuredChangeFiltersEnableLiveUpdate' ) ||
63
+// Allow users to enable live update with ?liveupdate=1
64
+new mw.Uri().query.liveupdate
65
+) {
66
$bottom.append( this.liveUpdateButton.$element );
67
}
68
0 commit comments