Merge "Revert "RCFilters: Remove excluded params from URL""
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 15 Nov 2017 19:15:49 +0000 (19:15 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 15 Nov 2017 19:15:49 +0000 (19:15 +0000)
1  2 
resources/src/mediawiki.rcfilters/mw.rcfilters.UriProcessor.js

                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
         *
@@@ -85,9 -92,6 +85,6 @@@
                        )
                );
  
-               // 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' } );