Include license info in JS files

Note: We are moving the topics of this forum and it will be deleted at some point

Publish your own request for comments/change or patches for the next version of phpBB. Discuss the contributions and proposals of others. Upcoming releases are 3.2/Rhea and 3.3.
Post Reply
/a3
Registered User
Posts: 97
Joined: Mon Sep 20, 2010 6:44 am

Include license info in JS files

Post by /a3 »

Some scripts such as LibreJS can run JavaScript based on a license header included in each JS file. phpBB JS files are already GPL'd. Including this information in JS files used by phpBB would enable LibreJS users to run these files automatically.

This webpage explains the exact details:
https://www.gnu.org/software/librejs/fr ... cript.html
$ git commit -m "YOLO"

User avatar
callumacrae
Former Team Member
Posts: 1046
Joined: Tue Apr 27, 2010 9:37 am
Location: England
Contact:

Re: Include license info in JS files

Post by callumacrae »

-1. It isn't sent in the HTML or CSS, why send it in the JS?
Made by developers, for developers!
My blog

/a3
Registered User
Posts: 97
Joined: Mon Sep 20, 2010 6:44 am

Re: Include license info in JS files

Post by /a3 »

callumacrae wrote:-1. It isn't sent in the HTML or CSS, why send it in the JS?
HTML and CSS are non-functional and not really software. I guess the reason is the same as why license headers are included in phpBB core files (but not in phpBB style templates).
$ git commit -m "YOLO"

Post Reply