Krinkle created this task.
Krinkle added projects: MediaWiki-extensions-WikibaseRepository, Technical-Debt.
Herald added a subscriber: Aklapper.
Herald added a project: Wikidata.

TASK DESCRIPTION

Currently Wikibase has its own dataRightsUrl setting that defaults to core's setting of wgRightsUrl.

This is a problem because the core variable is documented as being a fallback for $wgRightsPage. Which means sites may configure wgRightsUrl and have forgotten about it (e.g incorrect or invalid value) and reasonably expect it to not be used when they have already $wgRightsPage, which has precedence.

However, Wikibase's logic is bypassing this and using it directly.

For Wikimedia production, this isn't currently an issue as wmf-config assigns it directly:

$wgWBRepoSettings['dataRightsUrl'] = 'https://creativecommons.org/publicdomain/zero/1.0/';

I propose that once MediaWiki's core access for this variable is abstracted, Wikibase can use that instead. Which means that the fallback URL will automatically be determined by core based on either of these variables.

See https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/443528/ for the on-going work on that abstraction.


TASK DETAIL
https://phabricator.wikimedia.org/T198816

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Krinkle
Cc: Aklapper, Krinkle, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, LawExplorer, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to