Page MenuHomePhabricator

Documentation of $wgRightsText does not match code
Closed, ResolvedPublic


If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the
link. Otherwise, it will be treated as raw HTML.
If using $wgRightsUrl then this value must be specified. If using $wgRightsPage then the name
of the page will also be used as the link if this variable is not set.

$wgRightsText = null;

The text for the rights link is suppose to fallback to $wgRightsPage when it's set, but $wgRightsText is not. But this is not the case, resulting in a broken sentence like below

Screen Shot 2020-11-02 at 6.39.52 AM.png (64×959 px, 52 KB)

Event Timeline

Change 638106 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Fallback to $wgRightsPage if it exists and there's no $wgRightsText

Change 638106 merged by jenkins-bot:
[mediawiki/core@master] Fallback to $wgRightsPage if it exists and there's no $wgRightsText

Ammarpad claimed this task.