HomePhabricator

Improve parameter aliases handling when ordering template parameters

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Improve parameter aliases handling when ordering template parameters

The original implementation treated aliases as parameters ordered after
their canonical form. This could distort the "distance" metric used to
group new parameters near parameters in the original wikitext, causing
new parameters to bind "less tight" to templatedata parameters with
many aliases.

Here is an implementation which avoids this distortion by being more
careful to distinguish canonical parameter keys from aliased keys.

Change-Id: Id4d9b50868066a15407e72797aec7372ac9ff4b5

Details

Provenance
cscottAuthored on Nov 30 2017, 5:37 PM
ArlolraCommitted on Dec 6 2017, 5:01 PM
ChangeId
Id4d9b50868066a15407e72797aec7372ac9ff4b5

Commit No Longer Exists

This commit no longer exists in the repository.