Skip to content

Commit

Permalink
Prefer https for links to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Jun 2, 2021
1 parent e15cc1e commit ad3143c
Show file tree
Hide file tree
Showing 121 changed files with 4,575 additions and 4,576 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -40,7 +40,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.

## Coding styles and standards

Expand Down Expand Up @@ -114,7 +114,7 @@ To install **webtrees**, you need:
1. Download the .ZIP file for latest stable version from [github.com](https://github.com/fisharebest/webtrees/releases/latest)
2. Unzip the files and then upload them to an empty folder on your web server.
3. Open your web browser and type the URL for your **webtrees** site (for example,
``http://www.yourserver.com/webtrees`` into the address bar.
``https://www.yourserver.com/webtrees`` into the address bar.
4. The **webtrees** setup wizard will start automatically.

Your first task will be to create a family tree.
Expand Down Expand Up @@ -164,7 +164,7 @@ the Macintosh Finder or other similar tool to perform step 3, it will **replace*
your configuration, media and other directories with the empty/default ones from
the installation. This would be very bad (but you did take a backup in step 1,
didn't you!). Further details and recommendations for suitable tools can be found
by searching [google.com](http://google.com).
by searching [google.com](https://google.com).


## Building and developing
Expand Down Expand Up @@ -300,7 +300,7 @@ To make a backup of **webtrees**, you need to make a copy of the following
1. The files in the *webtrees/data* folder.
2. The files in the *webtrees/media* folder.
3. The tables in the database. Freely available tools such as
[phpMyAdmin](http://www.phpmyadmin.net) allow you to do this in one click.
[phpMyAdmin](https://www.phpmyadmin.net) allow you to do this in one click.

Remember that most web hosting services do NOT backup your data, and this is
your responsibility.
2 changes: 1 addition & 1 deletion app/Date/AbstractCalendarDate.php
Expand Up @@ -460,7 +460,7 @@ public function daysInWeek(): int
/**
* Format a date, using similar codes to the PHP date() function.
*
* @param string $format See http://php.net/date
* @param string $format See https://php.net/date
* @param string $qualifier GEDCOM qualifier, so we can choose the right case for the month name.
*
* @return string
Expand Down
96 changes: 48 additions & 48 deletions app/Date/HijriDate.php
Expand Up @@ -79,29 +79,29 @@ protected function monthNameNominativeCase(int $month, bool $leap_year): string
if ($translated_month_names === null) {
$translated_month_names = [
0 => '',
/* I18N: http://en.wikipedia.org/wiki/Muharram */
/* I18N: https://en.wikipedia.org/wiki/Muharram */
1 => I18N::translateContext('NOMINATIVE', 'Muharram'),
/* I18N: http://en.wikipedia.org/wiki/Safar */
/* I18N: https://en.wikipedia.org/wiki/Safar */
2 => I18N::translateContext('NOMINATIVE', 'Safar'),
/* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-awwal */
/* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-awwal */
3 => I18N::translateContext('NOMINATIVE', 'Rabi’ al-awwal'),
/* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-thani */
/* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-thani */
4 => I18N::translateContext('NOMINATIVE', 'Rabi’ al-thani'),
/* I18N: http://en.wikipedia.org/wiki/Jumada_al-awwal */
/* I18N: https://en.wikipedia.org/wiki/Jumada_al-awwal */
5 => I18N::translateContext('NOMINATIVE', 'Jumada al-awwal'),
/* I18N: http://en.wikipedia.org/wiki/Jumada_al-thani */
/* I18N: https://en.wikipedia.org/wiki/Jumada_al-thani */
6 => I18N::translateContext('NOMINATIVE', 'Jumada al-thani'),
/* I18N: http://en.wikipedia.org/wiki/Rajab */
/* I18N: https://en.wikipedia.org/wiki/Rajab */
7 => I18N::translateContext('NOMINATIVE', 'Rajab'),
/* I18N: http://en.wikipedia.org/wiki/Sha%27aban */
/* I18N: https://en.wikipedia.org/wiki/Sha%27aban */
8 => I18N::translateContext('NOMINATIVE', 'Sha’aban'),
/* I18N: http://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */
/* I18N: https://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */
9 => I18N::translateContext('NOMINATIVE', 'Ramadan'),
/* I18N: http://en.wikipedia.org/wiki/Shawwal */
/* I18N: https://en.wikipedia.org/wiki/Shawwal */
10 => I18N::translateContext('NOMINATIVE', 'Shawwal'),
/* I18N: http://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */
/* I18N: https://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */
11 => I18N::translateContext('NOMINATIVE', 'Dhu al-Qi’dah'),
/* I18N: http://en.wikipedia.org/wiki/Dhu_al-Hijjah */
/* I18N: https://en.wikipedia.org/wiki/Dhu_al-Hijjah */
12 => I18N::translateContext('NOMINATIVE', 'Dhu al-Hijjah'),
];
}
Expand All @@ -124,29 +124,29 @@ protected function monthNameGenitiveCase(int $month, bool $leap_year): string
if ($translated_month_names === null) {
$translated_month_names = [
0 => '',
/* I18N: http://en.wikipedia.org/wiki/Muharram */
/* I18N: https://en.wikipedia.org/wiki/Muharram */
1 => I18N::translateContext('GENITIVE', 'Muharram'),
/* I18N: http://en.wikipedia.org/wiki/Safar */
/* I18N: https://en.wikipedia.org/wiki/Safar */
2 => I18N::translateContext('GENITIVE', 'Safar'),
/* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-awwal */
/* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-awwal */
3 => I18N::translateContext('GENITIVE', 'Rabi’ al-awwal'),
/* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-thani */
/* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-thani */
4 => I18N::translateContext('GENITIVE', 'Rabi’ al-thani'),
/* I18N: http://en.wikipedia.org/wiki/Jumada_al-awwal */
/* I18N: https://en.wikipedia.org/wiki/Jumada_al-awwal */
5 => I18N::translateContext('GENITIVE', 'Jumada al-awwal'),
/* I18N: http://en.wikipedia.org/wiki/Jumada_al-thani */
/* I18N: https://en.wikipedia.org/wiki/Jumada_al-thani */
6 => I18N::translateContext('GENITIVE', 'Jumada al-thani'),
/* I18N: http://en.wikipedia.org/wiki/Rajab */
/* I18N: https://en.wikipedia.org/wiki/Rajab */
7 => I18N::translateContext('GENITIVE', 'Rajab'),
/* I18N: http://en.wikipedia.org/wiki/Sha%27aban */
/* I18N: https://en.wikipedia.org/wiki/Sha%27aban */
8 => I18N::translateContext('GENITIVE', 'Sha’aban'),
/* I18N: http://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */
/* I18N: https://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */
9 => I18N::translateContext('GENITIVE', 'Ramadan'),
/* I18N: http://en.wikipedia.org/wiki/Shawwal */
/* I18N: https://en.wikipedia.org/wiki/Shawwal */
10 => I18N::translateContext('GENITIVE', 'Shawwal'),
/* I18N: http://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */
/* I18N: https://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */
11 => I18N::translateContext('GENITIVE', 'Dhu al-Qi’dah'),
/* I18N: http://en.wikipedia.org/wiki/Dhu_al-Hijjah */
/* I18N: https://en.wikipedia.org/wiki/Dhu_al-Hijjah */
12 => I18N::translateContext('GENITIVE', 'Dhu al-Hijjah'),
];
}
Expand All @@ -169,29 +169,29 @@ protected function monthNameLocativeCase(int $month, bool $leap_year): string
if ($translated_month_names === null) {
$translated_month_names = [
0 => '',
/* I18N: http://en.wikipedia.org/wiki/Muharram */
/* I18N: https://en.wikipedia.org/wiki/Muharram */
1 => I18N::translateContext('LOCATIVE', 'Muharram'),
/* I18N: http://en.wikipedia.org/wiki/Safar */
/* I18N: https://en.wikipedia.org/wiki/Safar */
2 => I18N::translateContext('LOCATIVE', 'Safar'),
/* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-awwal */
/* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-awwal */
3 => I18N::translateContext('LOCATIVE', 'Rabi’ al-awwal'),
/* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-thani */
/* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-thani */
4 => I18N::translateContext('LOCATIVE', 'Rabi’ al-thani'),
/* I18N: http://en.wikipedia.org/wiki/Jumada_al-awwal */
/* I18N: https://en.wikipedia.org/wiki/Jumada_al-awwal */
5 => I18N::translateContext('LOCATIVE', 'Jumada al-awwal'),
/* I18N: http://en.wikipedia.org/wiki/Jumada_al-thani */
/* I18N: https://en.wikipedia.org/wiki/Jumada_al-thani */
6 => I18N::translateContext('LOCATIVE', 'Jumada al-thani'),
/* I18N: http://en.wikipedia.org/wiki/Rajab */
/* I18N: https://en.wikipedia.org/wiki/Rajab */
7 => I18N::translateContext('LOCATIVE', 'Rajab'),
/* I18N: http://en.wikipedia.org/wiki/Sha%27aban */
/* I18N: https://en.wikipedia.org/wiki/Sha%27aban */
8 => I18N::translateContext('LOCATIVE', 'Sha’aban'),
/* I18N: http://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */
/* I18N: https://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */
9 => I18N::translateContext('LOCATIVE', 'Ramadan'),
/* I18N: http://en.wikipedia.org/wiki/Shawwal */
/* I18N: https://en.wikipedia.org/wiki/Shawwal */
10 => I18N::translateContext('LOCATIVE', 'Shawwal'),
/* I18N: http://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */
/* I18N: https://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */
11 => I18N::translateContext('LOCATIVE', 'Dhu al-Qi’dah'),
/* I18N: http://en.wikipedia.org/wiki/Dhu_al-Hijjah */
/* I18N: https://en.wikipedia.org/wiki/Dhu_al-Hijjah */
12 => I18N::translateContext('LOCATIVE', 'Dhu al-Hijjah'),
];
}
Expand All @@ -214,29 +214,29 @@ protected function monthNameInstrumentalCase(int $month, bool $leap_year): strin
if ($translated_month_names === null) {
$translated_month_names = [
0 => '',
/* I18N: http://en.wikipedia.org/wiki/Muharram */
/* I18N: https://en.wikipedia.org/wiki/Muharram */
1 => I18N::translateContext('INSTRUMENTAL', 'Muharram'),
/* I18N: http://en.wikipedia.org/wiki/Safar */
/* I18N: https://en.wikipedia.org/wiki/Safar */
2 => I18N::translateContext('INSTRUMENTAL', 'Safar'),
/* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-awwal */
/* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-awwal */
3 => I18N::translateContext('INSTRUMENTAL', 'Rabi’ al-awwal'),
/* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-thani */
/* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-thani */
4 => I18N::translateContext('INSTRUMENTAL', 'Rabi’ al-thani'),
/* I18N: http://en.wikipedia.org/wiki/Jumada_al-awwal */
/* I18N: https://en.wikipedia.org/wiki/Jumada_al-awwal */
5 => I18N::translateContext('INSTRUMENTAL', 'Jumada al-awwal'),
/* I18N: http://en.wikipedia.org/wiki/Jumada_al-thani */
/* I18N: https://en.wikipedia.org/wiki/Jumada_al-thani */
6 => I18N::translateContext('INSTRUMENTAL', 'Jumada al-thani'),
/* I18N: http://en.wikipedia.org/wiki/Rajab */
/* I18N: https://en.wikipedia.org/wiki/Rajab */
7 => I18N::translateContext('INSTRUMENTAL', 'Rajab'),
/* I18N: http://en.wikipedia.org/wiki/Sha%27aban */
/* I18N: https://en.wikipedia.org/wiki/Sha%27aban */
8 => I18N::translateContext('INSTRUMENTAL', 'Sha’aban'),
/* I18N: http://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */
/* I18N: https://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */
9 => I18N::translateContext('INSTRUMENTAL', 'Ramadan'),
/* I18N: http://en.wikipedia.org/wiki/Shawwal */
/* I18N: https://en.wikipedia.org/wiki/Shawwal */
10 => I18N::translateContext('INSTRUMENTAL', 'Shawwal'),
/* I18N: http://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */
/* I18N: https://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */
11 => I18N::translateContext('INSTRUMENTAL', 'Dhu al-Qi’dah'),
/* I18N: http://en.wikipedia.org/wiki/Dhu_al-Hijjah */
/* I18N: https://en.wikipedia.org/wiki/Dhu_al-Hijjah */
12 => I18N::translateContext('INSTRUMENTAL', 'Dhu al-Hijjah'),
];
}
Expand Down
4 changes: 2 additions & 2 deletions app/Date/JulianDate.php
Expand Up @@ -94,15 +94,15 @@ protected function extractYear(string $year): int
protected function formatLongYear(): string
{
if ($this->year < 0) {
return /* I18N: BCE=Before the Common Era, for Julian years < 0. See http://en.wikipedia.org/wiki/Common_Era */
return /* I18N: BCE=Before the Common Era, for Julian years < 0. See https://en.wikipedia.org/wiki/Common_Era */
I18N::translate('%s&nbsp;BCE', I18N::digits(-$this->year));
}

if ($this->new_old_style) {
return I18N::translate('%s&nbsp;CE', I18N::digits(sprintf('%d/%02d', $this->year - 1, $this->year % 100)));
}

/* I18N: CE=Common Era, for Julian years > 0. See http://en.wikipedia.org/wiki/Common_Era */
/* I18N: CE=Common Era, for Julian years > 0. See https://en.wikipedia.org/wiki/Common_Era */
return I18N::translate('%s&nbsp;CE', I18N::digits($this->year));
}

Expand Down
4 changes: 2 additions & 2 deletions app/Elements/TempleCode.php
Expand Up @@ -90,7 +90,7 @@ public function values(): array
'DETRO' => /* I18N: Location of an LDS church temple */ I18N::translate('Detroit, Michigan, United States'),
'DRAPE' => /* I18N: Location of an LDS church temple */ I18N::translate('Draper, Utah, United States'),
'EDMON' => /* I18N: Location of an LDS church temple */ I18N::translate('Edmonton, Alberta, Canada'),
'EHOUS' => /* I18N: Location of an historic LDS church temple - http://en.wikipedia.org/wiki/Endowment_house */ I18N::translate('Endowment House'),
'EHOUS' => /* I18N: Location of an historic LDS church temple - https://en.wikipedia.org/wiki/Endowment_house */ I18N::translate('Endowment House'),
'FORTL' => /* I18N: Location of an LDS church temple */ I18N::translate('Fort Lauderdale, Florida, United States'),
'FRANK' => /* I18N: Location of an LDS church temple */ I18N::translate('Frankfurt am Main, Germany'),
'FREIB' => /* I18N: Location of an LDS church temple */ I18N::translate('Freiburg, Germany'),
Expand Down Expand Up @@ -158,7 +158,7 @@ public function values(): array
'PAYSO' => /* I18N: Location of an LDS church temple */ I18N::translate('Payson, Utah, United States'),
'PERTH' => /* I18N: Location of an LDS church temple */ I18N::translate('Perth, Australia'),
'PHOEN' => /* I18N: Location of an LDS church temple */ I18N::translate('Phoenix, Arizona, United States'),
'POFFI' => /* I18N: Location of an historic LDS church temple - http://en.wikipedia.org/wiki/President_of_the_Church */ I18N::translate('President’s Office'),
'POFFI' => /* I18N: Location of an historic LDS church temple - https://en.wikipedia.org/wiki/President_of_the_Church */ I18N::translate('President’s Office'),
'PORTL' => /* I18N: Location of an LDS church temple */ I18N::translate('Portland, Oregon, United States'),
'PREST' => /* I18N: Location of an LDS church temple */ I18N::translate('Preston, England'),
'PROCC' => /* I18N: Location of an LDS church temple */ I18N::translate('Provo City Center, Utah, United States'),
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Middleware/BadBotBlocker.php
Expand Up @@ -105,7 +105,7 @@ class BadBotBlocker implements MiddlewareInterface
/**
* Some search engines operate from designated IP addresses.
*
* @see http://www.apple.com/go/applebot
* @see https://www.apple.com/go/applebot
* @see https://help.duckduckgo.com/duckduckgo-help-pages/results/duckduckbot
*/
private const ROBOT_IPS = [
Expand Down
2 changes: 1 addition & 1 deletion app/Http/RequestHandlers/ContactAction.php
Expand Up @@ -120,7 +120,7 @@ public function handle(ServerRequestInterface $request): ResponseInterface
$base_url = $request->getAttribute('base_url');

if (preg_match('/(?!' . preg_quote($base_url, '/') . ')(((?:ftp|http|https):\/\/)[a-zA-Z0-9.-]+)/', $subject . $body, $match)) {
FlashMessages::addMessage(I18N::translate('You are not allowed to send messages that contain external links.') . ' ' . /* I18N: e.g. ‘You should delete the “http://” from “http://www.example.com” and try again.’ */
FlashMessages::addMessage(I18N::translate('You are not allowed to send messages that contain external links.') . ' ' . /* I18N: e.g. ‘You should delete the “https://” from “https://www.example.com” and try again.’ */
I18N::translate('You should delete the “%1$s” from “%2$s” and try again.', $match[2], $match[1]), 'danger');
$errors = true;
}
Expand Down
4 changes: 2 additions & 2 deletions app/I18N.php
Expand Up @@ -259,7 +259,7 @@ public static function collation(): string
*/
public static function dateFormat(): string
{
/* I18N: This is the format string for full dates. See http://php.net/date for codes */
/* I18N: This is the format string for full dates. See https://php.net/date for codes */
return self::$translator->translate('%j %F %Y');
}

Expand Down Expand Up @@ -619,7 +619,7 @@ public static function strtoupper(string $string): string
*/
public static function timeFormat(): string
{
/* I18N: This is the format string for the time-of-day. See http://php.net/date for codes */
/* I18N: This is the format string for the time-of-day. See https://php.net/date for codes */
return self::$translator->translate('%H:%i:%s');
}

Expand Down
2 changes: 1 addition & 1 deletion app/Module/CkeditorModule.php
Expand Up @@ -39,7 +39,7 @@ class CkeditorModule extends AbstractModule implements ModuleExternalUrlInterfac
*/
public function title(): string
{
/* I18N: Name of a module. CKEditor is a trademark. Do not translate it? http://ckeditor.com */
/* I18N: Name of a module. CKEditor is a trademark. Do not translate it? https://ckeditor.com */
return I18N::translate('CKEditor™');
}

Expand Down
2 changes: 1 addition & 1 deletion app/Module/CustomTagsBrothersKeeper.php
Expand Up @@ -52,7 +52,7 @@ public function isEnabledByDefault(): bool
/**
* @return array<string,ElementInterface>
*
* @see http://wiki-de.genealogy.net/GEDCOM/_Nutzerdef-Tag
* @see https://wiki-de.genealogy.net/GEDCOM/_Nutzerdef-Tag
*/
public function customTags(): array
{
Expand Down
2 changes: 1 addition & 1 deletion app/Module/CustomTagsFamilyTreeMaker.php
Expand Up @@ -47,7 +47,7 @@ public function isEnabledByDefault(): bool
/**
* @return array<string,ElementInterface>
*
* @see http://wiki-de.genealogy.net/GEDCOM/_Nutzerdef-Tag
* @see https://wiki-de.genealogy.net/GEDCOM/_Nutzerdef-Tag
*/
public function customTags(): array
{
Expand Down

0 comments on commit ad3143c

Please sign in to comment.