Last modified: 2011-07-20 17:53:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31918, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29918 - $wgRightsText shouldn't be required if $wgRightsUrl is specified
$wgRightsText shouldn't be required if $wgRightsUrl is specified
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-15 23:45 UTC by Nemo
Modified: 2011-07-20 17:53 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2011-07-15 23:45:51 UTC
Text for the link should be automatically set based on the URL (doesn't this happen already for icon?). Current system encourages people to add random text, and inconsistency is especially bad if you try to get something useful out of the API.
What does the installer set currently?
Comment 1 Brion Vibber 2011-07-20 17:53:24 UTC
The link URL, textual name, and icon URL are set at install time by the installer, either from its own predefined list or from the data returned from the Creative Commons license picker web thingy.

Per code comments, it looks pretty clear by definition that the two must be set together:

/**
 * If either $wgRightsUrl or $wgRightsPage is specified then this variable gives the text for the link.
 * 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;

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links