generate_contributions.py: review links

- use https if possible
- update links
- remove one nonexistent link
- use link to KDE's oxygen icons because these are licensed under the LGPL
This commit is contained in:
Uwe Stöhr 2017-12-16 04:08:13 +01:00
parent b83252b12f
commit 3e5c607638
2 changed files with 10 additions and 11 deletions

View File

@ -259,7 +259,6 @@
@bCarmen Kauffmann @bCarmen Kauffmann
Original name that is now two characters shorter Original name that is now two characters shorter
@bKDE Artists @bKDE Artists
@ihttp://artist.kde.org/
Authors of several of the icons LyX uses Authors of several of the icons LyX uses
@bAndreas Klostermann @bAndreas Klostermann
@iE-mail: andreas_klostermann () web ! de @iE-mail: andreas_klostermann () web ! de
@ -319,7 +318,7 @@
@iE-mail: ling () caltech ! edu @iE-mail: ling () caltech ! edu
Added native support for \makebox to mathed. Several bug fixes, both to the source code and to the llncs layout file Added native support for \makebox to mathed. Several bug fixes, both to the source code and to the llncs layout file
@bLibreOffice Team @bLibreOffice Team
@ihttp://www.libreoffice.org/ @ihttps://www.libreoffice.org/
Libreoffice Icon Theme Libreoffice Icon Theme
@bTomasz Łuczak @bTomasz Łuczak
@iE-mail: tlu () technodat ! com ! pl @iE-mail: tlu () technodat ! com ! pl
@ -388,7 +387,7 @@
@iE-mail: lyx-devel () oak-tree ! us> @iE-mail: lyx-devel () oak-tree ! us>
Improvements to the outliner. Improvements to the outliner.
@bOxygen Team @bOxygen Team
@ihttp://www.oxygen-icons.org/ @ihttps://techbase.kde.org/Projects/Oxygen
Oxygen Icon Theme Oxygen Icon Theme
@bCarl Ollivier-Gooch @bCarl Ollivier-Gooch
@iE-mail: cfog () mech ! ubc ! ca @iE-mail: cfog () mech ! ubc ! ca

View File

@ -53,7 +53,7 @@ class contributor:
def as_txt_credits(self): def as_txt_credits(self):
result = [ '@b%s\n' % self.name ] result = [ '@b%s\n' % self.name ]
if len(self.contact) != 0: if len(self.contact) != 0:
if self.contact.find("http") != -1: if self.contact.find("https") != -1:
result.append('@i%s\n' % self.contact) result.append('@i%s\n' % self.contact)
else: else:
result.append('@iE-mail: %s\n' % self.contact) result.append('@iE-mail: %s\n' % self.contact)
@ -163,7 +163,7 @@ $email = str_replace(' () ', '@', $email);
$email = str_replace(' ! ', '.', $email); $email = str_replace(' ! ', '.', $email);
if (isset($email) && $email != "") { if (isset($email) && $email != "") {
if (strncasecmp($email,"http",4) == 0) if (strncasecmp($email,"https",4) == 0)
$output =$output. "<dt><b>[[${email} | ${name}]]</b>"; $output =$output. "<dt><b>[[${email} | ${name}]]</b>";
else else
$output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>"; $output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>";
@ -234,7 +234,7 @@ $output=$output. "
if (isset($msg_ref) && $msg_ref != "") { if (isset($msg_ref) && $msg_ref != "") {
$msg_ref = htmlspecialchars("$msg_ref"); $msg_ref = htmlspecialchars("$msg_ref");
$output=$output. "[[http://marc.info/?l=lyx-devel&amp;" . ${msg_ref} . "|" . ${msg_title} . "]]"; $output=$output. "[[https://marc.info/?l=lyx-devel&amp;" . ${msg_ref} . "|" . ${msg_title} . "]]";
} else { } else {
$output=$output. "${msg_title}"; $output=$output. "${msg_title}";
} }
@ -251,7 +251,7 @@ function blanket_output() {
$output=$output."<p> $output=$output."<p>
The following people hereby grant permission to license their The following people hereby grant permission to license their
contributions to LyX under the contributions to LyX under the
[[http://www.opensource.org/licenses/gpl-license.php | [[https://opensource.org/licenses/gpl-license |
Gnu General Public License]], version 2 or later. Gnu General Public License]], version 2 or later.
</p> </p>
@ -269,7 +269,7 @@ $output=$output."
<p> <p>
The following people hereby grant permission to license their The following people hereby grant permission to license their
contributions to LyX under the contributions to LyX under the
[[http://www.opensource.org/licenses/artistic-license-2.0.php | [[https://opensource.org/licenses/Artistic-2.0 |
Artistic License 2]]. Artistic License 2]].
</p> </p>
@ -1024,7 +1024,7 @@ contributors = [
u"Original name that is now two characters shorter"), u"Original name that is now two characters shorter"),
contributor(u"KDE Artists", contributor(u"KDE Artists",
"http://artist.kde.org/", "",
"", "",
"", "",
"", "",
@ -1184,7 +1184,7 @@ contributors = [
u"Added native support for \makebox to mathed. Several bug fixes, both to the source code and to the llncs layout file"), u"Added native support for \makebox to mathed. Several bug fixes, both to the source code and to the llncs layout file"),
contributor(u"LibreOffice Team", contributor(u"LibreOffice Team",
"http://www.libreoffice.org/", "https://www.libreoffice.org/",
"LGPL", "LGPL",
"", "",
"", "",
@ -1368,7 +1368,7 @@ contributors = [
u"Improvements to the outliner."), u"Improvements to the outliner."),
contributor(u"Oxygen Team", contributor(u"Oxygen Team",
"http://www.oxygen-icons.org/", "https://techbase.kde.org/Projects/Oxygen",
"LGPL", "LGPL",
"", "",
"", "",