RCFilters: Only normalize title with 'target' when it is needed
authorMoriel Schottlender <moriel@gmail.com>
Tue, 19 Dec 2017 22:17:48 +0000 (14:17 -0800)
committerMoriel Schottlender <moriel@gmail.com>
Fri, 22 Dec 2017 03:12:14 +0000 (19:12 -0800)
We right now only need to normalize titles that are with subpages
into target= parameter in the RCLinked page. There's no need to do
that in RC or Watchlist, and it might interfere with other (or future)
features if we do.

This commit sets the normalization as conditional on a config
variable, that is given on initialization based on the proper
page we're in.

Change-Id: I288221edb143e0b3417e161062faf2eb4f9f9a51


No differences found