Merge "Group messages in WANObjectCache by key"
[lhc/web/wiklou.git] / resources / src / mediawiki.rcfilters / mw.rcfilters.UriProcessor.js
index 53557f6..c25aa73 100644 (file)
                return Number( uriQuery.urlversion || 1 );
        };
 
-       /**
-        * Replace the current URI with an updated one from the model state
-        */
-       mw.rcfilters.UriProcessor.prototype.replaceUpdatedUri = function () {
-               this.constructor.static.replaceState( this.getUpdatedUri() );
-       };
-
        /**
         * Get an updated mw.Uri object based on the model state
         *
@@ -92,6 +85,9 @@
                        )
                );
 
+               // Remove excluded params from the url
+               uri.query = this.filtersModel.removeExcludedParams( uri.query );
+
                // Reapply unrecognized params and url version
                uri.query = $.extend( true, {}, uri.query, unrecognizedParams, { urlversion: '2' } );