Page MenuHomePhabricator

There is no license in topic pages of flow discussions
Closed, ResolvedPublic

Description

Every Wikipedia page should have the link to the license of its content in an appropriate place. However, flow pages in the Topic namespace lack a license. For example [[:ca:Tema:U5rfnr0igmb9zhgc]].

Please notice that flow-enabled discussion pages do have a license link, and message edition flow pages also have a license. The issue just affects Topic namespace - that is, pages where you can see just one topic.

Event Timeline

Trizek-WMF added subscribers: Catrope, Trizek-WMF.

GPLv2 or later, isn't that?

That's the text on MediaWiki:Wikimedia-copyright:

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. See Terms of Use for details.

@Catrope, this is quite important. Can we solve that soon?

Change 405046 had a related patch set uploaded (by Catrope; owner: Catrope):
[mediawiki/extensions/Flow@master] Add copyright footer to all pages that need it

https://gerrit.wikimedia.org/r/405046

Change 405046 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Add copyright footer to all pages that need it

https://gerrit.wikimedia.org/r/405046

Checked the fix in betalabs - the copyright footer is added to SD board, topic, and post pages.

Change 407500 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/Flow@master] Revert "Add copyright footer to all pages that need it"

https://gerrit.wikimedia.org/r/407500

Change 407500 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Revert "Add copyright footer to all pages that need it"

https://gerrit.wikimedia.org/r/407500

if ( $out->isArticle() && $title->exists() ) {
    ...
    $tpl->set( 'copyright', $this->getCopyright() );
}

I think we should introduce a new method $out->showsCopyright(), that defaults to isArticle, but is overridden in Flow.

kostajh subscribed.

@Trizek-WMF says it's still important, so let's figure it out in Q2.

Change 464147 had a related patch set uploaded (by Sbisson; owner: Sbisson):
[mediawiki/core@master] Show copyright based on $output->hasCopyright()

https://gerrit.wikimedia.org/r/464147

Change 464148 had a related patch set uploaded (by Sbisson; owner: Sbisson):
[mediawiki/extensions/Flow@master] Show copyright on Flow pages with user-generated content

https://gerrit.wikimedia.org/r/464148

Change 464147 merged by jenkins-bot:
[mediawiki/core@master] Show copyright based on $output->hasCopyright()

https://gerrit.wikimedia.org/r/464147

Change 464148 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Show copyright on Flow pages with user-generated content

https://gerrit.wikimedia.org/r/464148

@Trizek-WMF please take a look if everything is in place - the screenshot below is from betalabs and the message displayed is from https://translatewiki.net/w/i.php?title=Special:Translations&message=MediaWiki%3AWikimedia-copyright (the specific reference was mentioned in your comment).

Screen Shot 2018-10-03 at 5.25.54 PM.png (670×1 px, 163 KB)

vs current production:

Screen Shot 2018-10-03 at 5.31.55 PM.png (671×1 px, 80 KB)