Commit 9e798e20 authored by jhodgdon's avatar jhodgdon

Issue #3053585 by jhodgdon, jungle: Update copyright upper year

parent 6034dc9a
......@@ -59,7 +59,7 @@ Here is a sample:
----
Adapted by https://www.drupal.org/u/marysmith[Mary Smith] from
https://www.drupal.org/node/14307["Documentation copyright and licensing"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation]
----
......
......@@ -5,7 +5,7 @@
Copyright information for the contributor guide for the project_name project.
This guidelines document was written by contributors to the Drupal open-source
project. It is copyright 2015-2017 by the individual contributors, and
project. It is copyright 2015-copyright_upper_year by the individual contributors, and
can be used in accordance with the
https://creativecommons.org/licenses/by-sa/2.0/[Creative Commons License,
Attribution-ShareAlike 2.0] (CC BY-SA 2.0). Each page in this document
......@@ -29,7 +29,7 @@ https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon],
and https://www.drupal.org/u/jojyja[Jojy Alphonso] at
http://redcrackle.com[Red Crackle], from
https://www.drupal.org/node/14307["Documentation copyright and licensing"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -37,6 +37,6 @@ https://www.drupal.org/documentation[Drupal Community Documentation].
// each page in the HTML display of this manual.
[role="copyright"]
Copyright notice: Copyright 2015-2017 by the individual contributors; see
Copyright notice: Copyright 2015-copyright_upper_year by the individual contributors; see
<<copyright>> for details. Licensed under
https://creativecommons.org/licenses/by-sa/2.0/[CC BY-SA 2.0].
......@@ -19,6 +19,8 @@
* after each 2nd-level and 3rd-level header found in the file.
* - i: Fixes extra whitespace from index entries, by moving them to the
* first regular paragraph in each topic (except glossary files).
* - Anything: Replaces the string 'copyright_upper_year' with the current
* year (no steps string required for this replacement).
*/
if (count($argv) < 4) {
......@@ -36,6 +38,8 @@ if ($source == $output) {
exit("Source and output directories are the same");
}
$current_year = date("Y");
// Find all *.txt files in the source directory and process them.
if ($dh = opendir($source)) {
while (($file = readdir($dh)) !== FALSE) {
......@@ -49,6 +53,7 @@ if ($dh = opendir($source)) {
if ($text && strpos($steps, 'f') !== FALSE) {
$text = add_filenames($text, $file);
}
$text = str_replace('copyright_upper_year', $current_year, $text);
if ($text) {
$count = file_put_contents($output . '/' . $file, $text);
}
......
......@@ -43,7 +43,7 @@ https://www.drupal.org/node/2120523["Overview of Configuration (vs. other
types of information)"], and
https://www.drupal.org/docs/8/theming-drupal-8/working-with-breakpoints-in-drupal-8["Working with
breakpoints in Drupal 8"],
each copyright 2000-2017 by the individual contributors to the
each copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
* The index was improved and curated by
......
......@@ -42,5 +42,5 @@ visibility rules.
Adapted by https://www.drupal.org/u/les-lim[Les Lim] from
https://www.drupal.org/docs/8/core/modules/block/overview["Working with blocks
(content in regions)"]
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -70,5 +70,5 @@ https://www.drupal.org/docs/8/core/modules/block/overview[_Drupal.org_ community
Adapted by https://www.drupal.org/u/jredding[Jacob Redding] and
https://www.drupal.org/u/batigolix[Boris Doesborg] from
https://www.drupal.org/docs/8/core/modules/block/overview[Working with blocks
(content in regions)], copyright 2000-2017 by the individual contributors to
(content in regions)], copyright 2000-copyright_upper_year by the individual contributors to
the https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -62,5 +62,5 @@ Adapted by https://www.drupal.org/u/dianalakatos[Diána Lakatos] at
https://pronovix.com/[Pronovix] from
https://www.drupal.org/node/120631["URL aliases"], and
https://www.drupal.org/node/31644["Understanding Drupal paths"]
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation]
......@@ -7,7 +7,7 @@ Copyright information for this guide.
(((Copyright for this document)))
This guide was written by contributors to the Drupal open-source
project. It is copyright 2015-2017 by the individual contributors, and
project. It is copyright 2015-copyright_upper_year by the individual contributors, and
can be used in accordance with the
https://creativecommons.org/licenses/by-sa/2.0/[Creative Commons License,
Attribution-ShareAlike 2.0] (CC BY-SA 2.0). Each page in this document
......@@ -32,7 +32,7 @@ https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon],
and https://www.drupal.org/u/jojyja[Jojy Alphonso] at
http://redcrackle.com[Red Crackle], from
https://www.drupal.org/terms["Documentation copyright and licensing"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -40,6 +40,6 @@ https://www.drupal.org/documentation[Drupal Community Documentation].
// each page in the HTML display of this guide.
[role="copyright"]
Copyright notice: Copyright 2015-2017 by the individual contributors; see
Copyright notice: Copyright 2015-copyright_upper_year by the individual contributors; see
<<copyright>> for details. Licensed under
https://creativecommons.org/licenses/by-sa/2.0/[CC BY-SA 2.0].
......@@ -212,5 +212,5 @@ configuration directory from your repository. Then follow the instructions on
Adapted and edited by https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon] from
https://www.drupal.org/node/803746["Building a Drupal site with Git"],
copyright 2000-2019 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -166,5 +166,5 @@ https://www.drupal.org/u/hansfn[Hans Fredrik Nordhaug], and
https://www.drupal.org/u/eojthebrave[Joe Shindelar] at
https://drupalize.me[Drupalize.Me] from
https://www.drupal.org/docs/develop/using-composer/using-composer-to-manage-drupal-site-dependencies["Using Composer to manage Drupal site dependencies"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -102,5 +102,5 @@ Adapted by https://www.drupal.org/u/KarlKedrovsky[Karl Kedrovsky],
https://www.drupal.org/u/bemery987[Brian Emery], and
https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon] from
https://www.drupal.org/docs/8/system-requirements["System requirements"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -151,5 +151,5 @@ Browser debugging tools::
Written and edited by https://www.drupal.org/u/batigolix[Boris Doesborg]
and https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon]. Some text adapted from
https://www.drupal.org/node/991716["Introduction to Git"],
copyright 2000-2019 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -87,6 +87,6 @@ https://www.drupal.org/docs/8/core/modules/menu-ui[_Drupal.org_ community docume
Adapted by https://www.drupal.org/u/batigolix[Boris Doesborg] from
https://www.drupal.org/docs/8/core/modules/menu-ui["Working with Menus"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation];
edited by https://www.drupal.org/u/jerseycheese[Jack Haas].
......@@ -111,5 +111,5 @@ Adapted and edited by https://www.drupal.org/u/eojthebrave[Joe Shindelar]
and https://www.drupal.org/u/jerseycheese[Jack Haas] from
https://www.drupal.org/docs/7/administering-drupal-7-site/clearing-or-rebuilding-drupals-cache["Clearing or
rebuilding Drupal's cache"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -36,5 +36,5 @@ image:images/prevent-log.png["Recent log messages of a basic site",width="100%"]
Adapted by https://www.drupal.org/u/dianalakatos[Diána Lakatos]
from https://www.drupal.org/docs/7/monitoring-a-site/reports["Reports"]
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation]
......@@ -44,5 +44,5 @@ https://www.drupal.org/docs/8/install/trusted-host-settings[_Drupal.org_ communi
Adapted by https://www.drupal.org/u/dianalakatos[Diána Lakatos]
from https://www.drupal.org/docs/7/monitoring-a-site/reports["Reports"]
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation]
......@@ -117,6 +117,6 @@ https://www.drupal.org/node/250790[_Drupal.org_ community documentation page "Up
Adapted by https://www.drupal.org/u/batigolix[Boris Doesborgh], and
https://www.drupal.org/u/hey_germano[Sarah German] at
https://www.advomatic.com[Advomatic], from
https://www.drupal.org/node/250790["Updating modules"], copyright 2000-2017 by
https://www.drupal.org/node/250790["Updating modules"], copyright 2000-copyright_upper_year by
the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -54,5 +54,5 @@ tag, depending on how the responsive image style is set up.
Adapted by https://www.drupal.org/u/batigolix[Boris Doesborg] from
https://www.drupal.org/docs/8/mobile-guide/responsive-images-in-drupal-8[Responsive
images in Drupal 8],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -121,5 +121,5 @@ https://www.drupal.org/u/jojyja[Jojy Alphonso] at
http://redcrackle.com[Red Crackle] from
https://www.drupal.org/docs/8/core/modules/image/working-with-images["Working with images in
Drupal 7 and 8"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -66,5 +66,5 @@ and https://www.drupal.org/u/jojyja[Jojy Alphonso] at
http://redcrackle.com[Red Crackle], from
https://www.drupal.org/docs/8/core/modules/image/working-with-images["Working with images in
Drupal 7 and 8"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation]
......@@ -72,5 +72,5 @@ and https://www.drupal.org/u/jojyja[Jojy Alphonso] at
http://redcrackle.com[Red Crackle] from
https://www.drupal.org/docs/7/organizing-content-with-taxonomies/organizing-content-with-taxonomy["Organizing content with taxonomies"]
and https://www.drupal.org/node/774892["About taxonomies"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -54,5 +54,5 @@ https://www.drupal.org/node/1577752[_Drupal.org_ community documentation page "V
Adapted by https://www.drupal.org/u/batigolix[Boris Doesborg] from
https://www.drupal.org/node/1577752["View modes"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -54,5 +54,5 @@ Session::
Adapted by https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon] from
https://www.drupal.org/node/2120523["Overview of Configuration (vs. other types of information)"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation]
......@@ -55,5 +55,5 @@ Adapted and edited by https://www.drupal.org/u/dianalakatos[Diána Lakatos]
and https://www.drupal.org/u/ifrik[Antje Lorch],
from https://www.drupal.org/docs/7/distributions["Distributions"]
and https://www.drupal.org/project/project_distribution["Download & Extend -- Distributions"]
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -66,5 +66,5 @@ license 2.0.
Adapted by https://www.drupal.org/u/dianalakatos[Diána Lakatos] at
https://pronovix.com/[Pronovix] from
https://www.drupal.org/about/licensing["Licensing"]
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -85,5 +85,5 @@ Adapted by https://www.drupal.org/u/mark-lacroix[Mark LaCroix],
https://www.drupal.org/u/batigolix[Boris Doesborg], and
https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon] from
https://www.drupal.org/node/1803614["User Roles"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
......@@ -75,6 +75,6 @@ https://www.drupal.org/node/1803614[_Drupal.org_ community documentation page "U
Adapted and edited by https://www.drupal.org/u/JackProbst[Jack Probst],
https://www.drupal.org/u/batigolix[Boris Doesborg], and
https://www.drupal.org/u/eojthebrave[Joe Shindelar] from
https://www.drupal.org/node/1803614["User Roles"], copyright 2000-2017 by the
https://www.drupal.org/node/1803614["User Roles"], copyright 2000-copyright_upper_year by the
individual contributors to the https://www.drupal.org/documentation[Drupal
Community Documentation]
......@@ -91,5 +91,5 @@ https://www.drupal.org/u/bemery987[Brian Emery],
and https://www.drupal.org/u/jojyja[Jojy Alphonso] at
http://redcrackle.com[Red Crackle], from
https://www.drupal.org/node/1803614["User Roles"],
copyright 2000-2017 by the individual contributors to the
copyright 2000-copyright_upper_year by the individual contributors to the
https://www.drupal.org/documentation[Drupal Community Documentation].
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment