Page MenuHomePhabricator

Copyright notice not displayed on objects and isn't clear?
Closed, ResolvedPublicBUG REPORT

Description

The copyright notice at the bottom of all pages (Which starts: "All function definitions, labels, and documentation in the main namespace are available under the Creative Commons...") is not displayed at the bottom function objects by default since objects are automatically opened in the "ViewObject" special namespace (/view/language) which isn't good since this explicitly lays out the licence that such code fragments are under, which is different to all other wiki pages and so should probably be available on such a page.

Along with this, it is somewhat confusing when it states "All code fragments and implementations in the main namespace are available under the Apache 2.0 License" and "Text in other namespaces is available under the Creative Commons Attribution-ShareAlike License" when the object is automatically loaded in the special namespace rather than the main namespace, it is a bit confusing (At least to me) and might need to be cleaned up a bit?

See https://www.wikifunctions.org/view/en/Z10012 compared with https://www.wikifunctions.org/wiki/Z10012

Event Timeline

Terasail renamed this task from Copyright notice not displayed on objects and is contradictory? to Copyright notice not displayed on objects and isn't clear?.Sep 1 2023, 4:42 PM
Terasail updated the task description. (Show Details)

If this is a pressing issue then MediaWiki:Wikifunctions-site-footer-copyright could be loaded through MediaWiki:Common.js code instead until a more permanent solution can be made (This shouldn't be too difficult).

Change 966924 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] SpecialViewObject: Remind MediaWiki that we want the standard copyright footer

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

Jdforrester-WMF changed the task status from Open to In Progress.Oct 20 2023, 1:34 PM
Jdforrester-WMF claimed this task.
Jdforrester-WMF moved this task from Backlog to In Progress on the Abstract Wikipedia team board.

Change 968289 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@master] SkinComponentFooter: Use getRelevantTitle for context where the Title is indirect

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

Change 968289 merged by jenkins-bot:

[mediawiki/core@master] SkinComponentFooter: Use getRelevantTitle for context where the Title is indirect

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

Change 966924 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] SpecialViewObject: Remind MediaWiki that we want the standard copyright footer

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

Etonkovidova subscribed.

The copyright notice is displayed on https://www.wikifunctions.org/view/en/Z10012 and https://www.wikifunctions.org/wiki/Z10012.
Special:CreateObject doesn't display the footer (consistent with creating articles in main space on other wikis), the standard notice is present in the Publishing dialog:

Screen Shot 2023-11-01 at 7.19.12 PM.png (1×2 px, 234 KB)