From 63176b99b7a8f8068dbab0789e6ccbc25329f071 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 4 May 2012 08:29:11 +0200 Subject: [PATCH] Added missing GPLv2 headers in some places. Also made file/class documentation more consistent. Change-Id: I1deb70318d01a257b51948ba806d80cd1a239f4f --- includes/interwiki/Interwiki.php | 18 +++++++++++++++++- includes/job/DoubleRedirectJob.php | 17 ++++++++++++++++- includes/job/EmaillingJob.php | 15 +++++++++++++++ includes/job/EnotifNotifyJob.php | 15 +++++++++++++++ includes/job/JobQueue.php | 17 ++++++++++++++++- includes/job/RefreshLinksJob.php | 15 +++++++++++++++ includes/job/UploadFromUrlJob.php | 15 +++++++++++++++ includes/json/FormatJson.php | 17 ++++++++++++++++- includes/libs/CSSJanus.php | 3 +++ includes/libs/CSSMin.php | 14 ++++++++------ includes/libs/HttpStatus.php | 21 +++++++++++++++++++++ includes/libs/IEContentAnalyzer.php | 6 ++++++ includes/libs/IEUrlExtension.php | 20 ++++++++++++++++++++ includes/libs/JavaScriptMinifier.php | 10 ++++++---- includes/libs/jsminplus.php | 2 +- 15 files changed, 190 insertions(+), 15 deletions(-) diff --git a/includes/interwiki/Interwiki.php b/includes/interwiki/Interwiki.php index 2dacd853f3..179ff4cbc9 100644 --- a/includes/interwiki/Interwiki.php +++ b/includes/interwiki/Interwiki.php @@ -1,7 +1,23 @@ + * @license Choose any of Apache, MIT, GPL, LGPL + */ + +/** * This class is meant to safely minify javascript code, while leaving syntactically correct * programs intact. Other libraries, such as JSMin require a certain coding style to work * correctly. OTOH, libraries like jsminplus, that do parse the code correctly are rather * slow, because they construct a complete parse tree before outputting the code minified. * So this class is meant to allow arbitrary (but syntactically correct) input, while being * fast enough to be used for on-the-fly minifying. - * - * Author: Paul Copperman - * License: choose any of Apache, MIT, GPL, LGPL */ - class JavaScriptMinifier { /* Class constants */ diff --git a/includes/libs/jsminplus.php b/includes/libs/jsminplus.php index 8ed08d749a..7c4e32bd20 100644 --- a/includes/libs/jsminplus.php +++ b/includes/libs/jsminplus.php @@ -1,5 +1,4 @@