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
*
)
);
- // 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' } );