diff --git a/.gitattributes b/.gitattributes index 6d61b43e6c3..711b3acea43 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,6 @@ # Drupal git normalization -# @see http://www.kernel.org/pub/software/scm/git/docs/gitattributes.html -# @see http://drupal.org/node/1542048 +# @see https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html +# @see https://www.drupal.org/node/1542048 # Normally these settings would be done with macro attributes for improved # readability and easier maintenance. However macros can only be defined at the diff --git a/README.txt b/README.txt index b306a5b71c2..737c29c80fe 100644 --- a/README.txt +++ b/README.txt @@ -14,24 +14,24 @@ ABOUT DRUPAL Drupal is an open source content management platform supporting a variety of websites ranging from personal weblogs to large community-driven websites. For -more information, see the Drupal website at https://drupal.org/, and join the -Drupal community at https://drupal.org/community. +more information, see the Drupal website at https://www.drupal.org, and join +the Drupal community at https://www.drupal.org/community. Legal information about Drupal: * Know your rights when using Drupal: See LICENSE.txt in the "core" directory. * Learn about the Drupal trademark and logo policy: - http://drupal.com/trademark + https://www.drupal.com/trademark CONFIGURATION AND FEATURES -------------------------- Drupal core (what you get when you download and extract a drupal-x.y.tar.gz or -drupal-x.y.zip file from https://drupal.org/project/drupal) has what you need to -get started with your website. It includes several modules (extensions that add -functionality) for common website features, such as managing content, user -accounts, image uploading, and search. Core comes with many options that allow -site-specific configuration. In addition to the core modules, there are +drupal-x.y.zip file from https://www.drupal.org/project/drupal) has what you +need to get started with your website. It includes several modules (extensions +that add functionality) for common website features, such as managing content, +user accounts, image uploading, and search. Core comes with many options that +allow site-specific configuration. In addition to the core modules, there are thousands of contributed modules (for functionality not included with Drupal core) available for download. @@ -39,11 +39,11 @@ More about configuration: * Install, upgrade, and maintain Drupal: See INSTALL.txt and UPGRADE.txt in the "core" directory. * Learn about how to use Drupal to create your site: - https://drupal.org/documentation + https://www.drupal.org/documentation * Follow best practices: - https://drupal.org/best-practices + https://www.drupal.org/best-practices * Download contributed modules to /modules to extend Drupal's functionality: - https://drupal.org/project/modules + https://www.drupal.org/project/modules * See also: "Developing for Drupal" for writing your own modules, below. @@ -68,11 +68,11 @@ the required extensions separately; place the downloaded profile in the More about installation profiles and distributions: * Read about the difference between installation profiles and distributions: - https://drupal.org/node/1089736 + https://www.drupal.org/node/1089736 * Download contributed installation profiles and distributions: - https://drupal.org/project/distributions + https://www.drupal.org/project/distributions * Develop your own installation profile or distribution: - https://drupal.org/developing/distributions + https://www.drupal.org/developing/distributions APPEARANCE @@ -85,9 +85,9 @@ custom theme. More about themes: * Download contributed themes to /themes to modify Drupal's appearance: - https://drupal.org/project/themes + https://www.drupal.org/project/themes * Develop your own theme: - https://drupal.org/documentation/theme + https://www.drupal.org/documentation/theme DEVELOPING FOR DRUPAL --------------------- @@ -108,13 +108,13 @@ when nothing existing comes close to what you need. More about developing: * Search for existing contributed modules: - https://drupal.org/project/modules + https://www.drupal.org/project/modules * Contribute a patch: - https://drupal.org/patch/submit + https://www.drupal.org/patch/submit * Develop your own module: - https://drupal.org/developing/modules + https://www.drupal.org/developing/modules * Follow programming best practices: - https://drupal.org/developing/best-practices + https://www.drupal.org/developing/best-practices * Refer to the API documentation: https://api.drupal.org/api/drupal/8 * Learn from documented Drupal API examples: diff --git a/core/CHANGELOG.txt b/core/CHANGELOG.txt index 34ba1f74ba6..3420ece0bf9 100644 --- a/core/CHANGELOG.txt +++ b/core/CHANGELOG.txt @@ -241,8 +241,9 @@ Drupal 7.0, 2011-01-05 allowing Drupal to lazy-load classes and interfaces as needed. - Theme system: * Removed the Bluemarine, Chameleon and Pushbutton themes. These themes live - on as contributed themes (http://drupal.org/project/bluemarine, - http://drupal.org/project/chameleon and http://drupal.org/project/pushbutton). + on as contributed themes (https://www.drupal.org/project/bluemarine, + https://www.drupal.org/project/chameleon and + https://www.drupal.org/project/pushbutton). * Added Stark theme to make analyzing Drupal's default HTML and CSS easier. * Added Seven as the default administration theme. * Variable preprocessing of theme hooks prior to template rendering now goes @@ -441,13 +442,13 @@ Drupal 6.0, 2008-02-13 - Added support for triggering configurable actions. - Added the Update status module to automatically check for available updates and warn sites if they are missing security updates or newer versions. - Sites deploying from CVS should use http://drupal.org/project/cvs_deploy. - Advanced settings provided by http://drupal.org/project/update_advanced. + Sites deploying from CVS should use https://www.drupal.org/project/cvs_deploy. + Advanced settings provided by https://www.drupal.org/project/update_advanced. - Upgraded the core JavaScript library to jQuery version 1.2.3. - Added a new Schema API, which provides built-in support for core and contributed modules to work with databases other than MySQL. - Removed drupal.module. The functionality lives on as the Site network - contributed module (http://drupal.org/project/site_network). + contributed module (https://www.drupal.org/project/site_network). - Removed old system updates. Updates from Drupal versions prior to 5.x will require upgrading to 5.x before upgrading to 6.x. diff --git a/core/MAINTAINERS.txt b/core/MAINTAINERS.txt index ea204539a48..9e5fe0d9b68 100644 --- a/core/MAINTAINERS.txt +++ b/core/MAINTAINERS.txt @@ -1,6 +1,7 @@ Drupal core is built and maintained by the Drupal project community. Everyone is encouraged to submit issues and changes (patches) to improve Drupal, and to -contribute in other ways -- see http://drupal.org/contribute to find out how. +contribute in other ways -- see https://www.drupal.org/contribute to find out +how. Core committers @@ -12,15 +13,15 @@ core committers for Drupal are (per major version, in alphabetical order): Drupal 8 - Alex Bronstein 'effulgentsia' https://www.drupal.org/user/78040 (Framework Manager) -- Dries Buytaert 'dries' http://drupal.org/user/1 +- Dries Buytaert 'dries' https://www.drupal.org/user/1 (BDFL, Product Manager) -- Angela Byron 'webchick' http://drupal.org/user/24967 +- Angela Byron 'webchick' https://www.drupal.org/user/24967 (Product Manager) -- Nathaniel Catchpole 'catch' http://drupal.org/user/35733 +- Nathaniel Catchpole 'catch' https://www.drupal.org/user/35733 (Framework Manager, Release Manager) -- Jess Myrbo 'xjm' http://drupal.org/user/65776 +- Jess Myrbo 'xjm' https://www.drupal.org/user/65776 (Release Manager) -- Alex Pott 'alexpott' http://drupal.org/user/157725 +- Alex Pott 'alexpott' https://www.drupal.org/user/157725 (Framework Manager) Provisional membership: None at this time. @@ -32,7 +33,7 @@ Drupal 7 Provisional membership: None at this time. Drupal 6 -- Gábor Hojtsy 'Gábor Hojtsy' http://drupal.org/user/4166 +- Gábor Hojtsy 'Gábor Hojtsy' https://www.drupal.org/user/4166 (Release Manager, Framework Manager, Product Manager) Provisional membership: None at this time. @@ -41,13 +42,13 @@ Subsystem maintainers --------------------- The Drupal Core subsystem maintainers oversee the development of Drupal -subsystems. See http://drupal.org/contribute/core-maintainers for more +subsystems. See https://www.drupal.org/contribute/core-maintainers for more information on their responsibilities, and to find out how to become a subsystem maintainer. Current subsystem maintainers for Drupal 8: Ajax system -- Alex Bronstein 'effulgentsia' http://drupal.org/user/78040 -- Earl Miles 'merlinofchaos' http://drupal.org/user/26979 +- Alex Bronstein 'effulgentsia' https://www.drupal.org/user/78040 +- Earl Miles 'merlinofchaos' https://www.drupal.org/user/26979 Asset library system - ? @@ -56,191 +57,192 @@ Authentication and authorization system - ? Base system -- Damien Tournoud 'DamZ' http://drupal.org/user/22211 -- Moshe Weitzman 'moshe weitzman' http://drupal.org/user/23 +- Damien Tournoud 'DamZ' https://www.drupal.org/user/22211 +- Moshe Weitzman 'moshe weitzman' https://www.drupal.org/user/23 Batch system -- Yves Chedemois 'yched' http://drupal.org/user/39567 +- Yves Chedemois 'yched' https://www.drupal.org/user/39567 Bootstrap system - ? Cache system -- Damien Tournoud 'DamZ' http://drupal.org/user/22211 -- Nathaniel Catchpole 'catch' http://drupal.org/user/35733 -- Mark Sonnabaum 'msonnabaum' http://drupal.org/user/75278 +- Damien Tournoud 'DamZ' https://www.drupal.org/user/22211 +- Nathaniel Catchpole 'catch' https://www.drupal.org/user/35733 +- Mark Sonnabaum 'msonnabaum' https://www.drupal.org/user/75278 Configuration system -- Daniel F. Kudwien 'sun' http://drupal.org/user/54136 -- Alex Pott 'alexpott' http://drupal.org/user/157725 -- Matthew Tift 'mtift' https://drupal.org/user/751908 +- Daniel F. Kudwien 'sun' https://www.drupal.org/user/54136 +- Alex Pott 'alexpott' https://www.drupal.org/user/157725 +- Matthew Tift 'mtift' https://www.drupal.org/user/751908 Configuration entity system -- Alex Pott 'alexpott' http://drupal.org/user/157725 -- Daniel F. Kudwien 'sun' http://drupal.org/user/54136 -- Tim Plunkett 'tim.plunkett' http://drupal.org/user/241634 +- Alex Pott 'alexpott' https://www.drupal.org/user/157725 +- Daniel F. Kudwien 'sun' https://www.drupal.org/user/54136 +- Tim Plunkett 'tim.plunkett' https://www.drupal.org/user/241634 Cron system -- Derek Wright 'dww' http://drupal.org/user/46549 +- Derek Wright 'dww' https://www.drupal.org/user/46549 CSS -- John Albin Wilkins 'JohnAlbin' http://drupal.org/user/32095 -- Lewis Nyman 'LewisNyman' https://drupal.org/user/751964 +- John Albin Wilkins 'JohnAlbin' https://www.drupal.org/user/32095 +- Lewis Nyman 'LewisNyman' https://www.drupal.org/user/751964 Database system -- Larry Garfield 'Crell' http://drupal.org/user/26398 +- Larry Garfield 'Crell' https://www.drupal.org/user/26398 MySQL DB driver - - Larry Garfield 'Crell' http://drupal.org/user/26398 - - David Strauss 'David Strauss' http://drupal.org/user/93254 + - Larry Garfield 'Crell' https://www.drupal.org/user/26398 + - David Strauss 'David Strauss' https://www.drupal.org/user/93254 PostgreSQL DB driver - - Damien Tournoud 'DamZ' http://drupal.org/user/22211 - - Josh Waihi 'fiasco' http://drupal.org/user/188162 + - Damien Tournoud 'DamZ' https://www.drupal.org/user/22211 + - Josh Waihi 'fiasco' https://www.drupal.org/user/188162 Sqlite DB driver - - Damien Tournoud 'DamZ' http://drupal.org/user/22211 + - Damien Tournoud 'DamZ' https://www.drupal.org/user/22211 Database update system - ? Entity system -- Wolfgang Ziegler 'fago' http://drupal.org/user/16747 -- Nathaniel Catchpole 'catch' http://drupal.org/user/35733 -- Franz Heinzmann 'Frando' http://drupal.org/user/21850 -- Sascha Grossenbacher 'Berdir' http://drupal.org/user/214652 +- Wolfgang Ziegler 'fago' https://www.drupal.org/user/16747 +- Nathaniel Catchpole 'catch' https://www.drupal.org/user/35733 +- Franz Heinzmann 'Frando' https://www.drupal.org/user/21850 +- Sascha Grossenbacher 'Berdir' https://www.drupal.org/user/214652 Extension system - ? Field system -- Yves Chedemois 'yched' http://drupal.org/user/39567 -- Kristof De Jaeger 'swentel' http://drupal.org/user/107403 -- Andrei Mateescu 'amateescu' http://drupal.org/user/729614 +- Yves Chedemois 'yched' https://www.drupal.org/user/39567 +- Kristof De Jaeger 'swentel' https://www.drupal.org/user/107403 +- Andrei Mateescu 'amateescu' https://www.drupal.org/user/729614 File system -- Andrew Morton 'drewish' http://drupal.org/user/34869 -- Aaron Winborn 'aaron' http://drupal.org/user/33420 +- Andrew Morton 'drewish' https://www.drupal.org/user/34869 +- Aaron Winborn 'aaron' https://www.drupal.org/user/33420 Form system -- Alex Bronstein 'effulgentsia' http://drupal.org/user/78040 -- Wolfgang Ziegler 'fago' http://drupal.org/user/16747 -- Daniel F. Kudwien 'sun' http://drupal.org/user/54136 -- Tim Plunkett 'tim.plunkett' http://drupal.org/user/241634 -- Franz Heinzmann 'Frando' http://drupal.org/user/21850 +- Alex Bronstein 'effulgentsia' https://www.drupal.org/user/78040 +- Wolfgang Ziegler 'fago' https://www.drupal.org/user/16747 +- Daniel F. Kudwien 'sun' https://www.drupal.org/user/54136 +- Tim Plunkett 'tim.plunkett' https://www.drupal.org/user/241634 +- Franz Heinzmann 'Frando' https://www.drupal.org/user/21850 Image system -- Claudiu Cristea 'claudiu.cristea' https://drupal.org/user/56348 +- Claudiu Cristea 'claudiu.cristea' https://www.drupal.org/user/56348 Install system - ? JavaScript -- Théodore Biadala 'nod_' http://drupal.org/user/598310 -- Kay Leung 'droplet' http://drupal.org/user/591932 +- Théodore Biadala 'nod_' https://www.drupal.org/user/598310 +- Kay Leung 'droplet' https://www.drupal.org/user/591932 Language system -- Francesco Placella 'plach' http://drupal.org/user/183211 -- Daniel F. Kudwien 'sun' http://drupal.org/user/54136 +- Francesco Placella 'plach' https://www.drupal.org/user/183211 +- Daniel F. Kudwien 'sun' https://www.drupal.org/user/54136 Lock system -- Damien Tournoud 'DamZ' http://drupal.org/user/22211 +- Damien Tournoud 'DamZ' https://www.drupal.org/user/22211 Mail system - ? Markup -- Daniel F. Kudwien 'sun' http://drupal.org/user/54136 +- Daniel F. Kudwien 'sun' https://www.drupal.org/user/54136 Migrate -- Ben Dougherty 'benjy' https://drupal.org/user/1852732 -- Michael Anello 'ultimike' https://drupal.org/user/51132 -- Mike Ryan 'mikeryan' http://drupal.org/user/4420 +- Ben Dougherty 'benjy' https://www.drupal.org/user/1852732 +- Michael Anello 'ultimike' https://www.drupal.org/user/51132 +- Mike Ryan 'mikeryan' https://www.drupal.org/user/4420 Menu system Node Access -- Moshe Weitzman 'moshe weitzman' http://drupal.org/user/23 -- Ken Rickard 'agentrickard' http://drupal.org/user/20975 -- Jess Myrbo 'xjm' http://drupal.org/user/65776 +- Moshe Weitzman 'moshe weitzman' https://www.drupal.org/user/23 +- Ken Rickard 'agentrickard' https://www.drupal.org/user/20975 +- Jess Myrbo 'xjm' https://www.drupal.org/user/65776 Path system -- Nathaniel Catchpole 'catch' http://drupal.org/user/35733 +- Nathaniel Catchpole 'catch' https://www.drupal.org/user/35733 Plugin system -- Kris Vanderwater 'EclipseGc' http://drupal.org/user/61203 -- Alex Bronstein 'effulgentsia' http://drupal.org/user/78040 -- Tim Plunkett 'tim.plunkett' http://drupal.org/user/241634 +- Kris Vanderwater 'EclipseGc' https://www.drupal.org/user/61203 +- Alex Bronstein 'effulgentsia' https://www.drupal.org/user/78040 +- Tim Plunkett 'tim.plunkett' https://www.drupal.org/user/241634 Queue system -- James Gilliland 'neclimdul' http://drupal.org/user/48673 -- Mark Sonnabaum 'msonnabaum' http://drupal.org/user/75278 +- James Gilliland 'neclimdul' https://www.drupal.org/user/48673 +- Mark Sonnabaum 'msonnabaum' https://www.drupal.org/user/75278 Render system -- Moshe Weitzman 'moshe weitzman' http://drupal.org/user/23 -- Alex Bronstein 'effulgentsia' http://drupal.org/user/78040 -- Franz Heinzmann 'Frando' http://drupal.org/user/21850 +- Moshe Weitzman 'moshe weitzman' https://www.drupal.org/user/23 +- Alex Bronstein 'effulgentsia' https://www.drupal.org/user/78040 +- Franz Heinzmann 'Frando' https://www.drupal.org/user/21850 Request processing system -- Larry Garfield 'Crell' http://drupal.org/user/26398 +- Larry Garfield 'Crell' https://www.drupal.org/user/26398 Routing system -- Larry Garfield 'Crell' http://drupal.org/user/26398 -- Tim Plunkett 'tim.plunkett' http://drupal.org/user/241634 +- Larry Garfield 'Crell' https://www.drupal.org/user/26398 +- Tim Plunkett 'tim.plunkett' https://www.drupal.org/user/241634 Theme system -- Alex Bronstein 'effulgentsia' http://drupal.org/user/78040 -- John Albin Wilkins 'JohnAlbin' http://drupal.org/user/32095 -- Jen Lampton 'jenlampton' http://drupal.org/user/85586 -- Scott Reeves 'Cottser' http://drupal.org/user/1167326 -- Fabian Franz 'Fabianx' http://drupal.org/user/693738 -- Joël Pittet 'joelpittet' https://drupal.org/user/160302 +- Alex Bronstein 'effulgentsia' https://www.drupal.org/user/78040 +- John Albin Wilkins 'JohnAlbin' https://www.drupal.org/user/32095 +- Jen Lampton 'jenlampton' https://www.drupal.org/user/85586 +- Scott Reeves 'Cottser' https://www.drupal.org/user/1167326 +- Fabian Franz 'Fabianx' https://www.drupal.org/user/693738 +- Joël Pittet 'joelpittet' https://www.drupal.org/user/160302 Token system -- Dave Reid 'davereid' http://drupal.org/user/53892 +- Dave Reid 'davereid' https://www.drupal.org/user/53892 Translations - ? Transliteration system -- Andrei Mateescu 'amateescu' http://drupal.org/user/729614 -- Damien Tournoud 'DamZ' http://drupal.org/user/22211 -- Daniel F. Kudwien 'sun' http://drupal.org/user/54136 -- Jennifer Hodgdon 'jhodgdon' http://drupal.org/user/155601 +- Andrei Mateescu 'amateescu' https://www.drupal.org/user/729614 +- Damien Tournoud 'DamZ' https://www.drupal.org/user/22211 +- Daniel F. Kudwien 'sun' https://www.drupal.org/user/54136 +- Jennifer Hodgdon 'jhodgdon' https://www.drupal.org/user/155601 Topic maintainers ----------------- Accessibility -- Mike Gifford 'mgifford' http://drupal.org/user/27930 -- Jesse Renée Beach 'jessebeach' http://drupal.org/user/748566 +- Mike Gifford 'mgifford' https://www.drupal.org/user/27930 +- Jesse Renée Beach 'jessebeach' https://www.drupal.org/user/748566 Documentation -- Jennifer Hodgdon 'jhodgdon' http://drupal.org/user/155601 +- Jennifer Hodgdon 'jhodgdon' https://www.drupal.org/user/155601 Performance -- Nathaniel Catchpole 'catch' http://drupal.org/user/35733 +- Nathaniel Catchpole 'catch' https://www.drupal.org/user/35733 Testing - ? Usability -- Roy Scholten 'yoroy' http://drupal.org/user/41502 -- Bojhan Somers 'Bojhan' http://drupal.org/user/87969 +- Roy Scholten 'yoroy' https://www.drupal.org/user/41502 +- Bojhan Somers 'Bojhan' https://www.drupal.org/user/87969 Provisional membership: None at this time. Security team ----------------- -To report a security issue, see: https://drupal.org/security-team/report-issue +To report a security issue, see: +https://www.drupal.org/security-team/report-issue The Drupal security team provides Security Advisories for vulnerabilities, assists developers in resolving security issues, and provides security -documentation. See http://drupal.org/security-team for more information. The -security team lead is: +documentation. See https://www.drupal.org/security-team for more information. +The security team lead is: -- Michael Hess 'mlhess' https://drupal.org/user/102818 +- Michael Hess 'mlhess' https://www.drupal.org/user/102818 Module maintainers @@ -250,90 +252,90 @@ Action module - ? Aggregator module -- Paris Liakos 'ParisLiakos' http://drupal.org/user/1011436 +- Paris Liakos 'ParisLiakos' https://www.drupal.org/user/1011436 Ban module - ? Basic Auth module -- Klaus Purer 'klausi' http://drupal.org/user/262198 -- Juampy Novillo Requena 'juampy' https://drupal.org/user/682736 +- Klaus Purer 'klausi' https://www.drupal.org/user/262198 +- Juampy Novillo Requena 'juampy' https://www.drupal.org/user/682736 Block module -- Tim Plunkett 'tim.plunkett' http://drupal.org/user/241634 -- Ben Dougherty 'benjy' http://drupal.org/user/1852732 +- Tim Plunkett 'tim.plunkett' https://www.drupal.org/user/241634 +- Ben Dougherty 'benjy' https://www.drupal.org/user/1852732 Block Content module -- Lee Rowlands 'larowlan' http://drupal.org/user/395439 +- Lee Rowlands 'larowlan' https://www.drupal.org/user/395439 Book module -- Peter Wolanin 'pwolanin' http://drupal.org/user/49851 +- Peter Wolanin 'pwolanin' https://www.drupal.org/user/49851 Breakpoint module -- Peter Droogmans 'attiks' http://drupal.org/user/105002 -- Marc Drummond 'mdrummond' http://www.drupal.org/user/360968/ +- Peter Droogmans 'attiks' https://www.drupal.org/user/105002 +- Marc Drummond 'mdrummond' https://www.drupal.org/user/360968/ CKEditor module -- Wim Leers 'Wim Leers' http://drupal.org/user/99777 +- Wim Leers 'Wim Leers' https://www.drupal.org/user/99777 Color module - ? Comment module -- Dick Olsson 'dixon_' http://drupal.org/user/239911 -- Lee Rowlands 'larowlan' http://drupal.org/user/395439 -- Andrey Postnikov 'andypost' https://drupal.org/user/118908 +- Dick Olsson 'dixon_' https://www.drupal.org/user/239911 +- Lee Rowlands 'larowlan' https://www.drupal.org/user/395439 +- Andrey Postnikov 'andypost' https://www.drupal.org/user/118908 Configuration module -- Tim Plunkett 'tim.plunkett' http://drupal.org/user/241634 +- Tim Plunkett 'tim.plunkett' https://www.drupal.org/user/241634 Configuration Translation module -- Gábor Hojtsy 'Gábor Hojtsy' http://drupal.org/user/4166 -- Tobias Stöckler 'tstoeckler' https://drupal.org/user/107158 -- Vijayachandran Mani 'vijaycs85' https://drupal.org/user/93488 +- Gábor Hojtsy 'Gábor Hojtsy' https://www.drupal.org/user/4166 +- Tobias Stöckler 'tstoeckler' https://www.drupal.org/user/107158 +- Vijayachandran Mani 'vijaycs85' https://www.drupal.org/user/93488 Contact module -- Lee Rowlands 'larowlan' http://drupal.org/user/395439 +- Lee Rowlands 'larowlan' https://www.drupal.org/user/395439 - Tim Eisenhuth 'tim-e' https://www.drupal.org/user/1439114 Content Translation module -- Francesco Placella 'plach' http://drupal.org/user/183211 +- Francesco Placella 'plach' https://www.drupal.org/user/183211 Contextual module -- Daniel F. Kudwien 'sun' http://drupal.org/user/54136 +- Daniel F. Kudwien 'sun' https://www.drupal.org/user/54136 Database Logging module -- Khalid Baheyeldin 'kbahey' http://drupal.org/user/4063 +- Khalid Baheyeldin 'kbahey' https://www.drupal.org/user/4063 DateTime module - ? Email module -- Nils Destoop 'zuuperman' https://drupal.org/user/361625 +- Nils Destoop 'zuuperman' https://www.drupal.org/user/361625 Editor module -- Wim Leers 'Wim Leers' http://drupal.org/user/99777 +- Wim Leers 'Wim Leers' https://www.drupal.org/user/99777 Entity Reference module -- Amitai Burstein 'Amitaibu' http://drupal.org/user/57511 -- Andrei Mateescu 'amateescu' http://drupal.org/user/729614 +- Amitai Burstein 'Amitaibu' https://www.drupal.org/user/57511 +- Andrei Mateescu 'amateescu' https://www.drupal.org/user/729614 Field UI module -- Yves Chedemois 'yched' http://drupal.org/user/39567 -- Kristof De Jaeger 'swentel' http://drupal.org/user/107403 -- Andrei Mateescu 'amateescu' http://drupal.org/user/729614 +- Yves Chedemois 'yched' https://www.drupal.org/user/39567 +- Kristof De Jaeger 'swentel' https://www.drupal.org/user/107403 +- Andrei Mateescu 'amateescu' https://www.drupal.org/user/729614 File module -- Aaron Winborn 'aaron' http://drupal.org/user/33420 +- Aaron Winborn 'aaron' https://www.drupal.org/user/33420 Filter module -- Daniel F. Kudwien 'sun' http://drupal.org/user/54136 +- Daniel F. Kudwien 'sun' https://www.drupal.org/user/54136 Forum module -- Lee Rowlands 'larowlan' http://drupal.org/user/395439 +- Lee Rowlands 'larowlan' https://www.drupal.org/user/395439 History module -- Andrey Postnikov 'andypost' http://drupal.org/user/118908 +- Andrey Postnikov 'andypost' https://www.drupal.org/user/118908 Hypertext Application Language (HAL) module - ? @@ -342,14 +344,14 @@ Help module - ? Image module -- Claudiu Cristea 'claudiu.cristea' https://drupal.org/user/56348 +- Claudiu Cristea 'claudiu.cristea' https://www.drupal.org/user/56348 Interface Translation (locale) module -- Gábor Hojtsy 'Gábor Hojtsy' http://drupal.org/user/4166 +- Gábor Hojtsy 'Gábor Hojtsy' https://www.drupal.org/user/4166 Language module -- Francesco Placella 'plach' http://drupal.org/user/183211 -- Gábor Hojtsy 'Gábor Hojtsy' http://drupal.org/user/4166 +- Francesco Placella 'plach' https://www.drupal.org/user/183211 +- Gábor Hojtsy 'Gábor Hojtsy' https://www.drupal.org/user/4166 Link module - Weber Macedo 'Mac_Weber' https://www.drupal.org/user/789986 @@ -358,123 +360,123 @@ Menu UI module - ? Menu Link module -- Peter Wolanin 'pwolanin' http://drupal.org/user/49851 +- Peter Wolanin 'pwolanin' https://www.drupal.org/user/49851 Migrate module -- Ben Dougherty 'benjy' https://drupal.org/user/1852732 -- Michael Anello 'ultimike' https://drupal.org/user/51132 -- Mike Ryan 'mikeryan' http://drupal.org/user/4420 +- Ben Dougherty 'benjy' https://www.drupal.org/user/1852732 +- Michael Anello 'ultimike' https://www.drupal.org/user/51132 +- Mike Ryan 'mikeryan' https://www.drupal.org/user/4420 Migrate (Drupal) module -- Ben Dougherty 'benjy' https://drupal.org/user/1852732 -- Michael Anello 'ultimike' https://drupal.org/user/51132 -- Mike Ryan 'mikeryan' http://drupal.org/user/4420 +- Ben Dougherty 'benjy' https://www.drupal.org/user/1852732 +- Michael Anello 'ultimike' https://www.drupal.org/user/51132 +- Mike Ryan 'mikeryan' https://www.drupal.org/user/4420 Node module -- Moshe Weitzman 'moshe weitzman' http://drupal.org/user/23 -- David Strauss 'David Strauss' http://drupal.org/user/93254 +- Moshe Weitzman 'moshe weitzman' https://www.drupal.org/user/23 +- David Strauss 'David Strauss' https://www.drupal.org/user/93254 Number module -- Kristof De Jaeger 'swentel' http://drupal.org/user/107403 +- Kristof De Jaeger 'swentel' https://www.drupal.org/user/107403 Options module -- Yves Chedemois 'yched' http://drupal.org/user/39567 +- Yves Chedemois 'yched' https://www.drupal.org/user/39567 Path module - ? Phone module -- Dave Reid 'davereid' http://drupal.org/user/53892 +- Dave Reid 'davereid' https://www.drupal.org/user/53892 Quick Edit module -- Wim Leers 'Wim Leers' http://drupal.org/user/99777 -- Théodore Biadala 'nod_' http://drupal.org/user/598310 +- Wim Leers 'Wim Leers' https://www.drupal.org/user/99777 +- Théodore Biadala 'nod_' https://www.drupal.org/user/598310 RDF module -- Stéphane Corlosquet 'scor' http://drupal.org/user/52142 +- Stéphane Corlosquet 'scor' https://www.drupal.org/user/52142 REST module -- Klaus Purer 'klausi' http://drupal.org/user/262198 -- Larry Garfield 'Crell' http://drupal.org/user/26398 +- Klaus Purer 'klausi' https://www.drupal.org/user/262198 +- Larry Garfield 'Crell' https://www.drupal.org/user/26398 Responsive Image module -- Peter Droogmans 'attiks' http://drupal.org/user/105002 -- Marc Drummond 'mdrummond' http://www.drupal.org/user/360968/ +- Peter Droogmans 'attiks' https://www.drupal.org/user/105002 +- Marc Drummond 'mdrummond' https://www.drupal.org/user/360968/ - Jelle Sebreghts 'Jelle_S' https://www.drupal.org/user/829198 Search module -- Jennifer Hodgdon 'jhodgdon' https://drupal.org/user/155601 -- Peter Wolanin 'pwolanin' https://drupal.org/user/49851 +- Jennifer Hodgdon 'jhodgdon' https://www.drupal.org/user/155601 +- Peter Wolanin 'pwolanin' https://www.drupal.org/user/49851 Serialization module -- Damian Lee 'damiankloip' http://drupal.org/user/1037976 +- Damian Lee 'damiankloip' https://www.drupal.org/user/1037976 Shortcut module - Tobias Stöckler 'tstoeckler' https://www.drupal.org/user/107158 - Jibran Ijaz 'jibran' https://www.drupal.org/user/1198144 Simpletest module -- Daniel F. Kudwien 'sun' http://drupal.org/user/54136 -- Sascha Grossenbacher 'Berdir' http://drupal.org/user/214652 -- Alex Pott 'alexpott' http://drupal.org/user/157725 +- Daniel F. Kudwien 'sun' https://www.drupal.org/user/54136 +- Sascha Grossenbacher 'Berdir' https://www.drupal.org/user/214652 +- Alex Pott 'alexpott' https://www.drupal.org/user/157725 Statistics module -- Tim Millwood 'timmillwood' http://drupal.org/user/227849 +- Tim Millwood 'timmillwood' https://www.drupal.org/user/227849 Syslog module -- Khalid Baheyeldin 'kbahey' http://drupal.org/user/4063 +- Khalid Baheyeldin 'kbahey' https://www.drupal.org/user/4063 System module - ? Taxonomy module -- Jess Myrbo 'xjm' http://drupal.org/user/65776 -- Nathaniel Catchpole 'catch' http://drupal.org/user/35733 -- Benjamin Doherty 'bangpound' http://drupal.org/user/100456 +- Jess Myrbo 'xjm' https://www.drupal.org/user/65776 +- Nathaniel Catchpole 'catch' https://www.drupal.org/user/35733 +- Benjamin Doherty 'bangpound' https://www.drupal.org/user/100456 Text module - ? Toolbar module -- Théodore Biadala 'nod_' http://drupal.org/user/598310 +- Théodore Biadala 'nod_' https://www.drupal.org/user/598310 Tour module -- Nick Schuch 'nick_schuch' http://drupal.org/user/1412036 +- Nick Schuch 'nick_schuch' https://www.drupal.org/user/1412036 Tracker module -- David Strauss 'David Strauss' http://drupal.org/user/93254 +- David Strauss 'David Strauss' https://www.drupal.org/user/93254 Update module -- Derek Wright 'dww' http://drupal.org/user/46549 +- Derek Wright 'dww' https://www.drupal.org/user/46549 User module -- Moshe Weitzman 'moshe weitzman' http://drupal.org/user/23 -- David Strauss 'David Strauss' http://drupal.org/user/93254 +- Moshe Weitzman 'moshe weitzman' https://www.drupal.org/user/23 +- David Strauss 'David Strauss' https://www.drupal.org/user/93254 Views module -- Daniel Wehner 'dawehner' http://drupal.org/user/99340 -- Tim Plunkett 'tim.plunkett' http://drupal.org/user/241634 -- Damian Lee 'damiankloip' http://drupal.org/user/1037976 -- Jess Myrbo 'xjm' http://drupal.org/user/65776 +- Daniel Wehner 'dawehner' https://www.drupal.org/user/99340 +- Tim Plunkett 'tim.plunkett' https://www.drupal.org/user/241634 +- Damian Lee 'damiankloip' https://www.drupal.org/user/1037976 +- Jess Myrbo 'xjm' https://www.drupal.org/user/65776 Views UI module -- Daniel Wehner 'dawehner' http://drupal.org/user/99340 -- Tim Plunkett 'tim.plunkett' http://drupal.org/user/241634 -- Damian Lee 'damiankloip' http://drupal.org/user/1037976 +- Daniel Wehner 'dawehner' https://www.drupal.org/user/99340 +- Tim Plunkett 'tim.plunkett' https://www.drupal.org/user/241634 +- Damian Lee 'damiankloip' https://www.drupal.org/user/1037976 Theme maintainers ----------------- Bartik theme -- Jen Simmons 'jensimmons' http://drupal.org/user/140882 -- Emma Maria Karayiannis 'emma.maria' https://drupal.org/user/2104556 +- Jen Simmons 'jensimmons' https://www.drupal.org/user/140882 +- Emma Maria Karayiannis 'emma.maria' https://www.drupal.org/user/2104556 Seven theme -- Lewis Nyman 'LewisNyman' https://drupal.org/user/751964 +- Lewis Nyman 'LewisNyman' https://www.drupal.org/user/751964 Stark theme -- John Albin Wilkins 'JohnAlbin' http://drupal.org/user/32095 +- John Albin Wilkins 'JohnAlbin' https://www.drupal.org/user/32095 Initiative coordinators @@ -482,23 +484,23 @@ Initiative coordinators The Drupal Core Initiative coordinators oversee approved projects that re-architect or otherwise improve large areas of Drupal core. See -http://drupal.org/community-initiatives/drupal-core for more information on +https://www.drupal.org/community-initiatives/drupal-core for more information on their responsibilities. The initiative coordinators for Drupal 8 are: Configuration management -- Greg Dunlap 'heyrocker' http://drupal.org/user/128537 +- Greg Dunlap 'heyrocker' https://www.drupal.org/user/128537 Design -- Jeff Burns 'Jeff Burnz' http://drupal.org/user/61393 +- Jeff Burns 'Jeff Burnz' https://www.drupal.org/user/61393 Mobile -- John Albin Wilkins 'JohnAlbin' http://drupal.org/user/32095 +- John Albin Wilkins 'JohnAlbin' https://www.drupal.org/user/32095 Multi-lingual -- Gábor Hojtsy 'Gábor Hojtsy' http://drupal.org/user/4166 +- Gábor Hojtsy 'Gábor Hojtsy' https://www.drupal.org/user/4166 Web services -- Larry Garfield 'Crell' http://drupal.org/user/26398 +- Larry Garfield 'Crell' https://www.drupal.org/user/26398 Provisional membership: None at this time. @@ -509,7 +511,7 @@ The Drupal Core mentoring leads inspire, enable, and encourage new core contributors. They also work on the core tools, process, and community to make it easier for new contributors to get involved. The mentoring leads are: -- Jess Myrbo 'xjm' http://drupal.org/user/65776 -- Cathy Theys 'YesCT' https://drupal.org/user/258568 -- Scott Reeves 'Cottser' http://drupal.org/user/1167326 -- Andrea Soper 'ZenDoodles' https://drupal.org/user/226976 +- Jess Myrbo 'xjm' https://www.drupal.org/user/65776 +- Cathy Theys 'YesCT' https://www.drupal.org/user/258568 +- Scott Reeves 'Cottser' https://www.drupal.org/user/1167326 +- Andrea Soper 'ZenDoodles' https://www.drupal.org/user/226976 diff --git a/core/UPGRADE.txt b/core/UPGRADE.txt index 9b834565c69..21611dda129 100644 --- a/core/UPGRADE.txt +++ b/core/UPGRADE.txt @@ -18,7 +18,8 @@ First steps and definitions: * Make a full backup of all files, directories, and your database(s) before starting, and save it outside your Drupal installation directory. - Instructions may be found at http://drupal.org/upgrade/backing-up-the-db + Instructions may be found at + https://www.drupal.org/upgrade/backing-up-the-db * It is wise to try an update or upgrade on a test copy of your site before applying it to your live site. Even minor updates can cause your site's @@ -28,7 +29,7 @@ First steps and definitions: since the previous version and any special instructions needed to update or upgrade to the new version. You can find a link to the release notes for the version you are upgrading or updating to on the Drupal project page - (http://drupal.org/project/drupal). + (https://www.drupal.org/project/drupal). UPGRADE PROBLEMS ---------------- @@ -40,9 +41,10 @@ If you encounter errors during this process, you created before you started the upgrade process. Do not attempt to do further upgrades on a site that had update problems. - * Consult one of the support options listed on http://drupal.org/support + * Consult one of the support options listed on https://www.drupal.org/support -More in-depth information on upgrading can be found at http://drupal.org/upgrade +More in-depth information on upgrading can be found at +https://www.drupal.org/upgrade MINOR VERSION UPDATES --------------------- @@ -75,14 +77,14 @@ following the instructions in the INTRODUCTION section at the top of this file: database information, and you will also want to copy in any other customizations you have added. -4. Download the latest Drupal 8.x release from http://drupal.org to a +4. Download the latest Drupal 8.x release from https://www.drupal.org to a directory outside of your web root. Extract the archive and copy the files into your Drupal directory. On a typical Unix/Linux command line, use the following commands to download and extract: - wget http://drupal.org/files/projects/drupal-x.y.tar.gz + wget https://www.drupal.org/files/projects/drupal-x.y.tar.gz tar -zxvf drupal-x.y.tar.gz This creates a new directory drupal-x.y/ containing all Drupal files and @@ -91,8 +93,8 @@ following the instructions in the INTRODUCTION section at the top of this file: cp -R drupal-x.y/* drupal-x.y/.htaccess /path/to/your/installation If you do not have command line access to your server, download the archive - from http://drupal.org using your web browser, extract it, and then use an - FTP client to upload the files to your web root. + from https://www.drupal.org using your web browser, extract it, and then use + an FTP client to upload the files to your web root. 5. Re-apply any modifications to files such as .htaccess, composer.json, or robots.txt. diff --git a/core/config/schema/core.data_types.schema.yml b/core/config/schema/core.data_types.schema.yml index 496808761d8..130d4cc1d78 100644 --- a/core/config/schema/core.data_types.schema.yml +++ b/core/config/schema/core.data_types.schema.yml @@ -1,6 +1,6 @@ # Base types provided by Drupal core. -# Read https://drupal.org/node/1905070 for more details about configuration +# Read https://www.drupal.org/node/1905070 for more details about configuration # schema, types and type resolution. # Undefined type used by the system to assign to elements at any level where diff --git a/core/core.services.yml b/core/core.services.yml index 9b1ab37b365..9baa0665d0e 100644 --- a/core/core.services.yml +++ b/core/core.services.yml @@ -1324,7 +1324,7 @@ services: calls: - [setGenerators, ['@url_generator']] # @todo Figure out what to do about debugging functions. - # @see http://drupal.org/node/1804998 + # @see https://www.drupal.org/node/1804998 twig.extension.debug: class: Twig_Extension_Debug tags: diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 3ab64bfc21b..9849d43b169 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -295,7 +295,7 @@ function drupal_get_path($type, $name) { * * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. * Use \Symfony\Component\HttpFoundation\Response->headers->set(). - * See https://drupal.org/node/2181523. + * See https://www.drupal.org/node/2181523. */ function _drupal_add_http_header($name, $value, $append = FALSE) { // The headers as name/value pairs. @@ -330,7 +330,7 @@ function _drupal_add_http_header($name, $value, $append = FALSE) { * * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. * Use \Symfony\Component\HttpFoundation\Response->headers->get(). - * See https://drupal.org/node/2181523. + * See https://www.drupal.org/node/2181523. */ function drupal_get_http_header($name = NULL) { $headers = &drupal_static('drupal_http_headers', array()); @@ -350,7 +350,7 @@ function drupal_get_http_header($name = NULL) { * follow "common form" (see RFC 2616, section 4.2). * * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. - * See https://drupal.org/node/2181523. + * See https://www.drupal.org/node/2181523. */ function _drupal_set_preferred_header_name($name = NULL) { static $header_names = array(); @@ -372,7 +372,7 @@ function _drupal_set_preferred_header_name($name = NULL) { * always be in English. To enable a fully-translatable site, it is important * that all human-readable text that will be displayed on the site or sent to * a user is passed through the t() function, or a related function. See the - * @link http://drupal.org/node/322729 Localization API @endlink pages for + * @link https://www.drupal.org/node/322729 Localization API @endlink pages for * more information, including recommendations on how to break up or not * break up strings for translation. * @@ -957,7 +957,7 @@ function drupal_classloader_register($name, $path) { * - http://php.net/manual/language.variables.scope.php#language.variables.scope.static * - http://php.net/manual/language.variables.scope.php#language.variables.scope.references * The example below shows the syntax needed to work around both limitations. - * For benchmarks and more information, see http://drupal.org/node/619666. + * For benchmarks and more information, see https://www.drupal.org/node/619666. * * Example: * @code diff --git a/core/includes/common.inc b/core/includes/common.inc index 4ae43978403..edcbe2c1ad3 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -259,7 +259,7 @@ function valid_email_address($mail) { * @{ * Functions to sanitize values. * - * See http://drupal.org/writing-secure-code for information + * See https://www.drupal.org/writing-secure-code for information * on writing secure code. */ diff --git a/core/includes/database.inc b/core/includes/database.inc index 36ca44ca339..98041cde617 100644 --- a/core/includes/database.inc +++ b/core/includes/database.inc @@ -743,7 +743,7 @@ function db_change_field($table, $field, $field_new, $spec, $keys_new = array()) * Sets a session variable specifying the lag time for ignoring a replica * server (A replica server is traditionally referred to as * a "slave" in database server documentation). - * @see http://drupal.org/node/2275877 + * @see https://www.drupal.org/node/2275877 */ function db_ignore_replica() { $connection_info = Database::getConnectionInfo(); diff --git a/core/includes/file.inc b/core/includes/file.inc index 60cec1c347e..4440d41838a 100644 --- a/core/includes/file.inc +++ b/core/includes/file.inc @@ -285,7 +285,7 @@ function file_stream_wrapper_get_instance_by_scheme($scheme) { * '/', nothing is done and the same string is returned. If a stream wrapper * could not be found to generate an external URL, then FALSE is returned. * - * @see http://drupal.org/node/515192 + * @see https://www.drupal.org/node/515192 * @see file_url_transform_relative() */ function file_create_url($uri) { diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 554ad06c3e9..6f1add05f39 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -1979,7 +1979,7 @@ function install_check_translations($langcode, $server_pattern) { 'title' => t('Translations directory'), 'value' => t('The translations directory is not readable.'), 'severity' => REQUIREMENT_ERROR, - 'description' => t('The installer requires read permissions to %translations_directory at all times. If you are unsure how to grant file permissions, consult the online handbook.', array('%translations_directory' => $translations_directory, '@handbook_url' => 'http://drupal.org/server-permissions')), + 'description' => t('The installer requires read permissions to %translations_directory at all times. If you are unsure how to grant file permissions, consult the online handbook.', array('%translations_directory' => $translations_directory, '@handbook_url' => 'https://www.drupal.org/server-permissions')), ); } // If translations directory is not writable, throw an error. @@ -1988,7 +1988,7 @@ function install_check_translations($langcode, $server_pattern) { 'title' => t('Translations directory'), 'value' => t('The translations directory is not writable.'), 'severity' => REQUIREMENT_ERROR, - 'description' => t('The installer requires write permissions to %translations_directory during the installation process. If you are unsure how to grant file permissions, consult the online handbook.', array('%translations_directory' => $translations_directory, '@handbook_url' => 'http://drupal.org/server-permissions')), + 'description' => t('The installer requires write permissions to %translations_directory during the installation process. If you are unsure how to grant file permissions, consult the online handbook.', array('%translations_directory' => $translations_directory, '@handbook_url' => 'https://www.drupal.org/server-permissions')), ); } else { @@ -2183,7 +2183,7 @@ function install_check_requirements($install_state) { 'description' => t('@drupal requires read permissions to %file at all times. If you are unsure how to grant file permissions, consult the online handbook.', array( '@drupal' => drupal_install_profile_distribution_name(), '%file' => $file, - '@handbook_url' => 'http://drupal.org/server-permissions' + '@handbook_url' => 'https://www.drupal.org/server-permissions' )), ); } @@ -2196,7 +2196,7 @@ function install_check_requirements($install_state) { 'description' => t('The @drupal installer requires write permissions to %file during the installation process. If you are unsure how to grant file permissions, consult the online handbook.', array( '@drupal' => drupal_install_profile_distribution_name(), '%file' => $file, - '@handbook_url' => 'http://drupal.org/server-permissions' + '@handbook_url' => 'https://www.drupal.org/server-permissions' )), ); } @@ -2216,7 +2216,7 @@ function install_check_requirements($install_state) { '%file' => $file, '%default_file' => $default_file, '@install_txt' => base_path() . 'core/INSTALL.txt', - '@handbook_url' => 'http://drupal.org/server-permissions' + '@handbook_url' => 'https://www.drupal.org/server-permissions' )), ); } diff --git a/core/includes/install.inc b/core/includes/install.inc index 533a9b52cd0..6f7c8c742fd 100644 --- a/core/includes/install.inc +++ b/core/includes/install.inc @@ -497,7 +497,7 @@ function drupal_install_config_directories() { if (!install_ensure_config_directory($config_type)) { throw new Exception(t('The directory %directory could not be created or could not be made writable. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see the online handbook.', array( '%directory' => config_get_config_directory($config_type), - '@handbook_url' => 'http://drupal.org/server-permissions', + '@handbook_url' => 'https://www.drupal.org/server-permissions', ))); } @@ -513,7 +513,7 @@ function drupal_install_config_directories() { $text = 'This directory contains configuration to be imported into your Drupal site. To make this configuration active, visit admin/config/development/configuration/sync.'; break; } - $text .= ' For information about deploying configuration between servers, see http://drupal.org/documentation/administer/config'; + $text .= ' For information about deploying configuration between servers, see https://www.drupal.org/documentation/administer/config'; file_put_contents(config_get_config_directory($config_type) . '/README.txt', $text); } } diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 13a5154d902..d8f31367f56 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -1023,7 +1023,7 @@ function template_preprocess_tablesort_indicator(&$variables) { * - title: A title to be prepended to the list. * - list_type: The type of list to return (e.g. "ul", "ol"). * - * @see http://drupal.org/node/1842756 + * @see https://www.drupal.org/node/1842756 */ function template_preprocess_item_list(&$variables) { foreach ($variables['items'] as &$item) { @@ -1293,7 +1293,7 @@ function template_preprocess_html(&$variables) { ); } // @todo Remove once views is not bypassing the view subscriber anymore. - // @see http://drupal.org/node/2068471 + // @see https://www.drupal.org/node/2068471 elseif ($is_front_page) { $head_title = array( 'title' => t('Home'), diff --git a/core/includes/update.inc b/core/includes/update.inc index f13a124904a..9d4557f0246 100644 --- a/core/includes/update.inc +++ b/core/includes/update.inc @@ -85,7 +85,7 @@ function update_system_schema_requirements() { $requirements['minimum schema'] += array( 'value' => 'The installed schema version does not meet the minimum.', 'severity' => REQUIREMENT_ERROR, - 'description' => 'Your system schema version is ' . $system_schema . '. Updating directly from a schema version prior to 8000 is not supported. You must migrate your site to Drupal 8 first.', + 'description' => 'Your system schema version is ' . $system_schema . '. Updating directly from a schema version prior to 8000 is not supported. You must migrate your site to Drupal 8 first.', ); } @@ -279,7 +279,7 @@ function update_get_update_list() { // Display a requirements error if the user somehow has a schema version // from the previous Drupal major version. if ($schema_version < \Drupal::CORE_MINIMUM_SCHEMA_VERSION) { - $ret[$module]['warning'] = '' . $module . ' module cannot be updated. Its schema version is ' . $schema_version . ', which is from an earlier major release of Drupal. You will need to migrate the data for this module instead.'; + $ret[$module]['warning'] = '' . $module . ' module cannot be updated. Its schema version is ' . $schema_version . ', which is from an earlier major release of Drupal. You will need to migrate the data for this module instead.'; continue; } // Otherwise, get the list of updates defined by this module. @@ -289,7 +289,7 @@ function update_get_update_list() { // so if no updates are removed, it will == 0. $last_removed = \Drupal::moduleHandler()->invoke($module, 'update_last_removed'); if ($schema_version < $last_removed) { - $ret[$module]['warning'] = '' . $module . ' module cannot be updated. Its schema version is ' . $schema_version . '. Updates up to and including ' . $last_removed . ' have been removed in this release. In order to update ' . $module . ' module, you will first need to upgrade to the last version in which these updates were available.'; + $ret[$module]['warning'] = '' . $module . ' module cannot be updated. Its schema version is ' . $schema_version . '. Updates up to and including ' . $last_removed . ' have been removed in this release. In order to update ' . $module . ' module, you will first need to upgrade to the last version in which these updates were available.'; continue; } diff --git a/core/install.php b/core/install.php index 08c06e79acf..d88444656eb 100644 --- a/core/install.php +++ b/core/install.php @@ -22,7 +22,7 @@ define('MAINTENANCE_MODE', 'install'); // yet available. It is defined in bootstrap.inc, but it is not possible to // load that file yet as it would cause a fatal error on older versions of PHP. if (version_compare(PHP_VERSION, '5.4.5') < 0) { - print 'Your PHP installation is too old. Drupal requires at least PHP 5.4.5. See the system requirements page for more information.'; + print 'Your PHP installation is too old. Drupal requires at least PHP 5.4.5. See the system requirements page for more information.'; exit; } diff --git a/core/lib/Drupal/Component/Diff/Diff.php b/core/lib/Drupal/Component/Diff/Diff.php index 83b803447e3..637eca9ea07 100644 --- a/core/lib/Drupal/Component/Diff/Diff.php +++ b/core/lib/Drupal/Component/Diff/Diff.php @@ -9,9 +9,9 @@ use Drupal\Component\Diff\Engine\DiffEngine; * @todo document * @subpackage DifferenceEngine * - * Copied from https://drupal.org/project/diff which was based PHP diff engine - * for phpwiki. (Taken from phpwiki-1.3.3) The original code in phpwiki was - * copyright (C) 2000, 2001 Geoffrey T. Dairiki and + * Copied from https://www.drupal.org/project/diff which was based PHP diff + * engine for phpwiki. (Taken from phpwiki-1.3.3) The original code in phpwiki + * was copyright (C) 2000, 2001 Geoffrey T. Dairiki and * licensed under GPL. */ class Diff { diff --git a/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php b/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php index f4adf698bb0..a5ef64dbbf9 100644 --- a/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php +++ b/core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php @@ -47,7 +47,7 @@ class HWLDFWordAccumulator { $this->_flushGroup($new_tag); if ($this->line != '') { // @todo This is probably not the right place to do this. To be - // addressed in https://drupal.org/node/2280963 + // addressed in https://www.drupal.org/node/2280963. array_push($this->lines, SafeMarkup::set($this->line)); } else { diff --git a/core/lib/Drupal/Component/Gettext/PoItem.php b/core/lib/Drupal/Component/Gettext/PoItem.php index 147625d7261..754f440ea0d 100644 --- a/core/lib/Drupal/Component/Gettext/PoItem.php +++ b/core/lib/Drupal/Component/Gettext/PoItem.php @@ -11,7 +11,7 @@ namespace Drupal\Component\Gettext; * PoItem handles one translation. * * @todo: This class contains some really old legacy code. - * @see https://drupal.org/node/1637662 + * @see https://www.drupal.org/node/1637662 */ class PoItem { diff --git a/core/lib/Drupal/Component/Plugin/composer.json b/core/lib/Drupal/Component/Plugin/composer.json index 85caa417934..91e8610935c 100644 --- a/core/lib/Drupal/Component/Plugin/composer.json +++ b/core/lib/Drupal/Component/Plugin/composer.json @@ -2,7 +2,7 @@ "name": "drupal/plugin", "description": "Base building block for a scalable and extensible plug-in system for PHP components and application framework extensions.", "keywords": ["drupal", "plugin", "plugins"], - "homepage": "https://drupal.org/project/drupal", + "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0+", "require": { "php": ">=5.4.2" diff --git a/core/lib/Drupal/Component/ProxyBuilder/composer.json b/core/lib/Drupal/Component/ProxyBuilder/composer.json index 0d3e5eb6d27..0404c685cfe 100644 --- a/core/lib/Drupal/Component/ProxyBuilder/composer.json +++ b/core/lib/Drupal/Component/ProxyBuilder/composer.json @@ -2,7 +2,7 @@ "name": "drupal/proxy-builder", "description": "Provides a lightweight mechanism to provide lazy loaded proxies.", "keywords": ["drupal", "proxy"], - "homepage": "https://drupal.org/project/drupal", + "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0+", "require": { "php": ">=5.4.2", diff --git a/core/lib/Drupal/Component/Utility/composer.json b/core/lib/Drupal/Component/Utility/composer.json index 5851c70396c..cb3f0f0408f 100644 --- a/core/lib/Drupal/Component/Utility/composer.json +++ b/core/lib/Drupal/Component/Utility/composer.json @@ -2,7 +2,7 @@ "name": "drupal/utility", "description": "Mostly static utility classes for string, xss, array, image, and other commonly needed manipulations.", "keywords": ["drupal"], - "homepage": "https://drupal.org/project/drupal", + "homepage": "https://www.drupal.org/project/drupal", "license": "GPL-2.0+", "require": { "php": ">=5.3.10" diff --git a/core/lib/Drupal/Core/Action/ActionInterface.php b/core/lib/Drupal/Core/Action/ActionInterface.php index 7f9e4487b97..ab9514cc2fd 100644 --- a/core/lib/Drupal/Core/Action/ActionInterface.php +++ b/core/lib/Drupal/Core/Action/ActionInterface.php @@ -19,7 +19,7 @@ use Drupal\Core\Session\AccountInterface; * - The way configuration is handled and configuration forms are built is * likely to change in order for the plugin to be of use for Rules. * - Actions are going to become context-aware in - * https://drupal.org/node/2011038, what will deprecated the 'type' + * https://www.drupal.org/node/2011038, what will deprecated the 'type' * annotation. * - Instead of action implementations saving entities, support for marking * required context as to be saved by the execution manager will be added as diff --git a/core/lib/Drupal/Core/Ajax/AjaxResponse.php b/core/lib/Drupal/Core/Ajax/AjaxResponse.php index df44f2482af..befb3be3020 100644 --- a/core/lib/Drupal/Core/Ajax/AjaxResponse.php +++ b/core/lib/Drupal/Core/Ajax/AjaxResponse.php @@ -136,8 +136,8 @@ class AjaxResponse extends JsonResponse { // this browser workaround is implemented via a GET or POST parameter. // // @see http://malsup.com/jquery/form/#file-upload - // @see https://drupal.org/node/1009382 - // @see https://drupal.org/node/2339491 + // @see https://www.drupal.org/node/1009382 + // @see https://www.drupal.org/node/2339491 // @see Drupal.ajax.prototype.beforeSend() $accept = $request->headers->get('accept'); @@ -149,7 +149,7 @@ class AjaxResponse extends JsonResponse { // links. This corrupts the JSON response. Protect the integrity of the // JSON data by making it the value of a textarea. // @see http://malsup.com/jquery/form/#file-upload - // @see http://drupal.org/node/1009382 + // @see https://www.drupal.org/node/1009382 $this->setContent(''); } } diff --git a/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php b/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php index eeed904c3e2..1dc817899b4 100644 --- a/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php +++ b/core/lib/Drupal/Core/Asset/CssCollectionRenderer.php @@ -17,7 +17,7 @@ use Drupal\Core\State\StateInterface; * - They are the standard tag intended for linking to a resource. * - On Firefox 2 and perhaps other browsers, CSS files included with @import * statements don't get saved when saving the complete web page for offline - * use: http://drupal.org/node/145218. + * use: https://www.drupal.org/node/145218. * - On IE, if only LINK tags and no @import statements are used, all the CSS * files are downloaded in parallel, resulting in faster page load, but if * @import statements are used and span across multiple STYLE tags, all the @@ -29,8 +29,8 @@ use Drupal\Core\State\StateInterface; * http://www.stevesouders.com/blog/2009/04/09/dont-use-import/. * * However, IE has an annoying limit of 31 total CSS inclusion tags - * (http://drupal.org/node/228818) and LINK tags are limited to one file per - * tag, whereas STYLE tags can contain multiple @import statements allowing + * (https://www.drupal.org/node/228818) and LINK tags are limited to one file + * per tag, whereas STYLE tags can contain multiple @import statements allowing * multiple files to be loaded per tag. When CSS aggregation is disabled, a * Drupal site can easily have more than 31 CSS files that need to be loaded, so * using LINK tags exclusively would result in a site that would display diff --git a/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php b/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php index 042359f283d..1c08bc96f56 100644 --- a/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php +++ b/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php @@ -119,7 +119,7 @@ class LibraryDiscoveryParser { if (!isset($library['license'])) { $library['license'] = array( 'name' => 'GNU-GPL-2.0-or-later', - 'url' => 'https://drupal.org/licensing/faq', + 'url' => 'https://www.drupal.org/licensing/faq', 'gpl-compatible' => TRUE, ); } diff --git a/core/lib/Drupal/Core/Block/BlockPluginInterface.php b/core/lib/Drupal/Core/Block/BlockPluginInterface.php index 0a58b3356a1..88b11a60618 100644 --- a/core/lib/Drupal/Core/Block/BlockPluginInterface.php +++ b/core/lib/Drupal/Core/Block/BlockPluginInterface.php @@ -31,7 +31,7 @@ interface BlockPluginInterface extends ConfigurablePluginInterface, PluginFormIn * Returns the user-facing block label. * * @todo Provide other specific label-related methods in - * https://drupal.org/node/2025649. + * https://www.drupal.org/node/2025649. * * @return string * The block label. @@ -79,7 +79,7 @@ interface BlockPluginInterface extends ConfigurablePluginInterface, PluginFormIn * The value to set for the provided key. * * @todo This doesn't belong here. Move this into a new base class in - * http://drupal.org/node/1764380. + * https://www.drupal.org/node/1764380. * @todo This does not set a value in \Drupal::config(), so the name is confusing. * * @see \Drupal\Component\Plugin\PluginBase::$configuration diff --git a/core/lib/Drupal/Core/Condition/ConditionInterface.php b/core/lib/Drupal/Core/Condition/ConditionInterface.php index da29ce2e801..e0b61159579 100644 --- a/core/lib/Drupal/Core/Condition/ConditionInterface.php +++ b/core/lib/Drupal/Core/Condition/ConditionInterface.php @@ -26,7 +26,7 @@ use Drupal\Core\Plugin\PluginFormInterface; * the configuration option. Check the typed data definition docs for details. * * @todo Replace the dependency on \Drupal\Core\Form\FormInterface with a new - * interface from https://drupal.org/node/2006248. + * interface from https://www.drupal.org/node/2006248. * @todo WARNING: The condition API is going to receive some additions before release. * The following additions are likely to happen: * - The way configuration is handled and configuration forms are built is diff --git a/core/lib/Drupal/Core/Config/Schema/Mapping.php b/core/lib/Drupal/Core/Config/Schema/Mapping.php index 7a055bf680e..cf02dd48bde 100644 --- a/core/lib/Drupal/Core/Config/Schema/Mapping.php +++ b/core/lib/Drupal/Core/Config/Schema/Mapping.php @@ -17,7 +17,7 @@ namespace Drupal\Core\Config\Schema; * Properties in the configuration value that are not defined in the mapping * will get the 'undefined' data type. * - * Read https://drupal.org/node/1905070 for more details about configuration + * Read https://www.drupal.org/node/1905070 for more details about configuration * schema, types and type resolution. */ class Mapping extends ArrayElement { diff --git a/core/lib/Drupal/Core/Config/Schema/Sequence.php b/core/lib/Drupal/Core/Config/Schema/Sequence.php index c47fd55a20e..0c0900a85a3 100644 --- a/core/lib/Drupal/Core/Config/Schema/Sequence.php +++ b/core/lib/Drupal/Core/Config/Schema/Sequence.php @@ -13,7 +13,7 @@ namespace Drupal\Core\Config\Schema; * This object may contain any number and type of nested elements that share * a common definition in the 'sequence' property of the configuration schema. * - * Read https://drupal.org/node/1905070 for more details about configuration + * Read https://www.drupal.org/node/1905070 for more details about configuration * schema, types and type resolution. */ class Sequence extends ArrayElement { diff --git a/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php b/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php index 56e4f2da969..e092a982a28 100644 --- a/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php +++ b/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php @@ -106,9 +106,9 @@ class Connection extends DatabaseConnection { // to run almost seamlessly on many different kinds of database systems. // These settings force MySQL to behave the same as postgresql, or sqlite // in regards to syntax interpretation and invalid data handling. See - // http://drupal.org/node/344575 for further discussion. Also, as MySQL 5.5 - // changed the meaning of TRADITIONAL we need to spell out the modes one by - // one. + // https://www.drupal.org/node/344575 for further discussion. Also, as MySQL + // 5.5 changed the meaning of TRADITIONAL we need to spell out the modes one + // by one. $connection_options += array( 'init_commands' => array(), ); diff --git a/core/lib/Drupal/Core/Database/Install/Tasks.php b/core/lib/Drupal/Core/Database/Install/Tasks.php index a944c58032b..80363220b9a 100644 --- a/core/lib/Drupal/Core/Database/Install/Tasks.php +++ b/core/lib/Drupal/Core/Database/Install/Tasks.php @@ -155,7 +155,7 @@ abstract class Tasks { } } if (!empty($message)) { - $message = SafeMarkup::set('Resolve all issues below to continue the installation. For help configuring your database server, see the installation handbook, or contact your hosting provider.' . $message); + $message = SafeMarkup::set('Resolve all issues below to continue the installation. For help configuring your database server, see the installation handbook, or contact your hosting provider.' . $message); throw new TaskException($message); } } diff --git a/core/lib/Drupal/Core/Database/StatementPrefetch.php b/core/lib/Drupal/Core/Database/StatementPrefetch.php index 5804843c24f..af87d0d29b1 100644 --- a/core/lib/Drupal/Core/Database/StatementPrefetch.php +++ b/core/lib/Drupal/Core/Database/StatementPrefetch.php @@ -153,7 +153,7 @@ class StatementPrefetch implements \Iterator, StatementInterface { if (is_string($options['fetch'])) { // Default to an object. Note: db fields will be added to the object // before the constructor is run. If you need to assign fields after - // the constructor is run, see http://drupal.org/node/315092. + // the constructor is run. See https://www.drupal.org/node/315092. $this->setFetchMode(\PDO::FETCH_CLASS, $options['fetch']); } else { diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php index 7d365e4ab99..c8ba628ac6c 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -307,7 +307,7 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface { * loaded prior to scanning for directories. That file can define aliases in * an associative array named $sites. The array is written in the format * '..' => 'directory'. As an example, to create a - * directory alias for http://www.drupal.org:8080/mysite/test whose + * directory alias for https://www.drupal.org:8080/mysite/test whose * configuration file is in sites/example.com, the array should be defined as: * @code * $sites = array( diff --git a/core/lib/Drupal/Core/Entity/Entity.php b/core/lib/Drupal/Core/Entity/Entity.php index 102b3184782..9341b211d65 100644 --- a/core/lib/Drupal/Core/Entity/Entity.php +++ b/core/lib/Drupal/Core/Entity/Entity.php @@ -457,7 +457,8 @@ abstract class Entity implements EntityInterface { * {@inheritdoc} */ public function getCacheTags() { - // @todo Add bundle-specific listing cache tag? https://drupal.org/node/2145751 + // @todo Add bundle-specific listing cache tag? + // https://www.drupal.org/node/2145751 return [$this->entityTypeId . ':' . $this->id()]; } diff --git a/core/lib/Drupal/Core/Entity/EntityManager.php b/core/lib/Drupal/Core/Entity/EntityManager.php index 663046e553b..48611380769 100644 --- a/core/lib/Drupal/Core/Entity/EntityManager.php +++ b/core/lib/Drupal/Core/Entity/EntityManager.php @@ -437,7 +437,7 @@ class EntityManager extends DefaultPluginManager implements EntityManagerInterfa $provider = $entity_type->getProvider(); foreach ($base_field_definitions as $definition) { // @todo Remove this check once FieldDefinitionInterface exposes a proper - // provider setter. See https://drupal.org/node/2225961. + // provider setter. See https://www.drupal.org/node/2225961. if ($definition instanceof BaseFieldDefinition) { $definition->setProvider($provider); } @@ -451,7 +451,7 @@ class EntityManager extends DefaultPluginManager implements EntityManagerInterfa // defining the field. foreach ($module_definitions as $field_name => $definition) { // @todo Remove this check once FieldDefinitionInterface exposes a - // proper provider setter. See https://drupal.org/node/2225961. + // proper provider setter. See https://www.drupal.org/node/2225961. if ($definition instanceof BaseFieldDefinition && $definition->getProvider() == NULL) { $definition->setProvider($module); } @@ -567,7 +567,7 @@ class EntityManager extends DefaultPluginManager implements EntityManagerInterfa $provider = $entity_type->getProvider(); foreach ($bundle_field_definitions as $definition) { // @todo Remove this check once FieldDefinitionInterface exposes a proper - // provider setter. See https://drupal.org/node/2225961. + // provider setter. See https://www.drupal.org/node/2225961. if ($definition instanceof BaseFieldDefinition) { $definition->setProvider($provider); } @@ -581,7 +581,7 @@ class EntityManager extends DefaultPluginManager implements EntityManagerInterfa // defining the field. foreach ($module_definitions as $field_name => $definition) { // @todo Remove this check once FieldDefinitionInterface exposes a - // proper provider setter. See https://drupal.org/node/2225961. + // proper provider setter. See https://www.drupal.org/node/2225961. if ($definition instanceof BaseFieldDefinition) { $definition->setProvider($module); } @@ -810,7 +810,7 @@ class EntityManager extends DefaultPluginManager implements EntityManagerInterfa // defining the field. foreach ($module_definitions as $field_name => $definition) { // @todo Remove this check once FieldDefinitionInterface exposes a - // proper provider setter. See https://drupal.org/node/2225961. + // proper provider setter. See https://www.drupal.org/node/2225961. if ($definition instanceof BaseFieldDefinition) { $definition->setProvider($module); } diff --git a/core/lib/Drupal/Core/Entity/EntityViewBuilder.php b/core/lib/Drupal/Core/Entity/EntityViewBuilder.php index e9fdb13b047..09736d22373 100644 --- a/core/lib/Drupal/Core/Entity/EntityViewBuilder.php +++ b/core/lib/Drupal/Core/Entity/EntityViewBuilder.php @@ -274,9 +274,9 @@ class EntityViewBuilder extends EntityHandlerBase implements EntityHandlerInterf $this->alterBuild($build_list[$key], $entity, $display, $view_mode, $langcode); // Assign the weights configured in the display. - // @todo: Once https://drupal.org/node/1875974 provides the missing API, - // only do it for 'extra fields', since other components have been - // taken care of in EntityViewDisplay::buildMultiple(). + // @todo: Once https://www.drupal.org/node/1875974 provides the missing + // API, only do it for 'extra fields', since other components have + // been taken care of in EntityViewDisplay::buildMultiple(). foreach ($display->getComponents() as $name => $options) { if (isset($build_list[$key][$name])) { $build_list[$key][$name]['#weight'] = $options['weight']; diff --git a/core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php b/core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php index e045f83c20b..5d8ac59cb86 100644 --- a/core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php +++ b/core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php @@ -99,7 +99,7 @@ class KeyValueEntityStorage extends EntityStorageBase { // @todo This is handled by ContentEntityStorageBase, which assumes // FieldableEntityInterface. The current approach in - // https://drupal.org/node/1867228 improves this but does not solve it + // https://www.drupal.org/node/1867228 improves this but does not solve it // completely. if ($entity instanceof FieldableEntityInterface) { foreach ($entity as $name => $field) { diff --git a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php index f0a03f0a51c..c7802675e61 100644 --- a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php +++ b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php @@ -197,7 +197,7 @@ class SqlContentEntityStorage extends ContentEntityStorageBase implements SqlEnt $this->revisionDataTable = NULL; // @todo Remove table names from the entity type definition in - // https://drupal.org/node/2232465 + // https://www.drupal.org/node/2232465. $this->baseTable = $this->entityType->getBaseTable() ?: $this->entityTypeId; $revisionable = $this->entityType->isRevisionable(); if ($revisionable) { @@ -319,7 +319,7 @@ class SqlContentEntityStorage extends ContentEntityStorageBase implements SqlEnt // Nodes have all three of these fields, while custom blocks only have // log. // @todo Provide automatic definitions for revision metadata fields in - // https://drupal.org/node/2248983. + // https://www.drupal.org/node/2248983. $revision_metadata_fields = array_intersect(array( 'revision_timestamp', 'revision_uid', @@ -768,7 +768,8 @@ class SqlContentEntityStorage extends ContentEntityStorageBase implements SqlEnt protected function buildPropertyQuery(QueryInterface $entity_query, array $values) { if ($this->dataTable) { // @todo We should not be using a condition to specify whether conditions - // apply to the default language. See http://drupal.org/node/1866330. + // apply to the default language. See + // https://www.drupal.org/node/1866330. // Default to the original entity language if not explicitly specified // otherwise. if (!array_key_exists($this->defaultLangcodeKey, $values)) { @@ -1077,7 +1078,7 @@ class SqlContentEntityStorage extends ContentEntityStorageBase implements SqlEnt // properties from the first field item and assume that they will be // stored serialized. // @todo Give field types more control over this behavior in - // https://drupal.org/node/2232427. + // https://www.drupal.org/node/2232427. if (!$definition->getMainPropertyName() && count($columns) == 1) { $value = ($item = $entity->$field_name->first()) ? $item->getValue() : array(); } @@ -1668,7 +1669,7 @@ class SqlContentEntityStorage extends ContentEntityStorageBase implements SqlEnt // Create entity with the right revision id and entity id combination. $item_row['entity_type'] = $this->entityTypeId; // @todo: Replace this by an entity object created via an entity - // factory, see https://drupal.org/node/1867228. + // factory, see https://www.drupal.org/node/1867228. $entities[$item_row['revision_id']] = _field_create_entity_from_ids((object) $item_row); } $item = array(); diff --git a/core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php b/core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php index 95f44a9617e..9caa6272f40 100644 --- a/core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php +++ b/core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php @@ -64,7 +64,7 @@ class EntityDataDefinition extends ComplexDataDefinitionBase implements EntityDa } else { // @todo: Add support for handling multiple bundles. - // See https://drupal.org/node/2169813. + // See https://www.drupal.org/node/2169813. $bundles = $this->getBundles(); if (is_array($bundles) && count($bundles) == 1) { $this->propertyDefinitions = \Drupal::entityManager()->getFieldDefinitions($entity_type_id, reset($bundles)); diff --git a/core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php b/core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php index 3c9fa5e417d..c5f2b95c4f3 100644 --- a/core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php +++ b/core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php @@ -126,8 +126,9 @@ class ActiveLinkResponseFilter implements EventSubscriberInterface { * The updated HTML markup. * * @todo Once a future version of PHP supports parsing HTML5 properly - * (i.e. doesn't fail on https://drupal.org/comment/7938201#comment-7938201) - * then we can get rid of this manual parsing and use DOMDocument instead. + * (i.e. doesn't fail on + * https://www.drupal.org/comment/7938201#comment-7938201) then we can get + * rid of this manual parsing and use DOMDocument instead. */ public static function setLinkActiveClass($html_markup, $current_path, $is_front, $url_language, array $query) { $search_key_current_path = 'data-drupal-link-system-path="' . $current_path . '"'; diff --git a/core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php index 120520b5501..20c2faf37e4 100644 --- a/core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php @@ -21,7 +21,7 @@ use Drupal\Core\Routing\RouteBuildEvent; * types might exist across all modules in order to pick names that don't * conflict. Instead, the 'type' should be determined from introspecting what * kind of PHP variable (e.g., a type hinted interface) the controller - * requires: https://drupal.org/node/2041907. + * requires: https://www.drupal.org/node/2041907. */ class EntityRouteAlterSubscriber implements EventSubscriberInterface { diff --git a/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php b/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php index e2d7bd3d577..38767e10dbd 100644 --- a/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php +++ b/core/lib/Drupal/Core/Executable/ExecutablePluginBase.php @@ -87,7 +87,7 @@ abstract class ExecutablePluginBase extends ContextAwarePluginBase implements Ex * The value to set. * * @todo This doesn't belong here. Move this into a new base class in - * http://drupal.org/node/1764380. + * https://www.drupal.org/node/1764380. * @todo This does not set a value in \Drupal::config(), so the name is confusing. * * @return \Drupal\Core\Executable\ExecutablePluginBase. diff --git a/core/lib/Drupal/Core/Extension/ModuleInstaller.php b/core/lib/Drupal/Core/Extension/ModuleInstaller.php index 1f11365fecc..9c930001917 100644 --- a/core/lib/Drupal/Core/Extension/ModuleInstaller.php +++ b/core/lib/Drupal/Core/Extension/ModuleInstaller.php @@ -270,7 +270,7 @@ class ModuleInstaller implements ModuleInstallerInterface { // Modules can alter theme info, so refresh theme data. // @todo ThemeHandler cannot be injected into ModuleHandler, since that // causes a circular service dependency. - // @see https://drupal.org/node/2208429 + // @see https://www.drupal.org/node/2208429 \Drupal::service('theme_handler')->refreshInfo(); // Allow the module to perform install tasks. @@ -418,7 +418,7 @@ class ModuleInstaller implements ModuleInstallerInterface { // Modules can alter theme info, so refresh theme data. // @todo ThemeHandler cannot be injected into ModuleHandler, since that // causes a circular service dependency. - // @see https://drupal.org/node/2208429 + // @see https://www.drupal.org/node/2208429 \Drupal::service('theme_handler')->refreshInfo(); \Drupal::logger('system')->info('%module module uninstalled.', array('%module' => $module)); diff --git a/core/lib/Drupal/Core/Extension/ThemeHandler.php b/core/lib/Drupal/Core/Extension/ThemeHandler.php index 3a419676d7c..f53bb0c997d 100644 --- a/core/lib/Drupal/Core/Extension/ThemeHandler.php +++ b/core/lib/Drupal/Core/Extension/ThemeHandler.php @@ -320,7 +320,7 @@ class ThemeHandler implements ThemeHandlerInterface { } // Build dependencies. // @todo Move into a generic ExtensionHandler base class. - // @see https://drupal.org/node/2208429 + // @see https://www.drupal.org/node/2208429 $themes = $this->moduleHandler->buildModuleDependencies($themes); // Store filenames to allow system_list() and drupal_get_filename() to diff --git a/core/lib/Drupal/Core/Field/BaseFieldDefinition.php b/core/lib/Drupal/Core/Field/BaseFieldDefinition.php index 3d72b6ffa74..ee8a4486f23 100644 --- a/core/lib/Drupal/Core/Field/BaseFieldDefinition.php +++ b/core/lib/Drupal/Core/Field/BaseFieldDefinition.php @@ -64,7 +64,7 @@ class BaseFieldDefinition extends ListDataDefinition implements FieldDefinitionI $field_definition->itemDefinition = FieldItemDataDefinition::create($field_definition); // Create a definition for the items, and initialize it with the default // settings for the field type. - // @todo Cleanup in https://drupal.org/node/2116341. + // @todo Cleanup in https://www.drupal.org/node/2116341. $field_type_manager = \Drupal::service('plugin.manager.field.field_type'); $default_settings = $field_type_manager->getDefaultStorageSettings($type) + $field_type_manager->getDefaultFieldSettings($type); $field_definition->itemDefinition->setSettings($default_settings); @@ -566,7 +566,7 @@ class BaseFieldDefinition extends ListDataDefinition implements FieldDefinitionI * Helper to retrieve the field item class. * * @todo: Remove once getClass() adds in defaults. See - * https://drupal.org/node/2116341. + * https://www.drupal.org/node/2116341. */ protected function getFieldItemClass() { if ($class = $this->getItemDefinition()->getClass()) { diff --git a/core/lib/Drupal/Core/Field/FieldConfigBase.php b/core/lib/Drupal/Core/Field/FieldConfigBase.php index fa34ca3b2ff..a7790a3bef0 100644 --- a/core/lib/Drupal/Core/Field/FieldConfigBase.php +++ b/core/lib/Drupal/Core/Field/FieldConfigBase.php @@ -423,7 +423,7 @@ abstract class FieldConfigBase extends ConfigEntityBase implements FieldConfigIn * * Using the Serialize interface and serialize() / unserialize() methods * breaks entity forms in PHP 5.4. - * @todo Investigate in https://drupal.org/node/2074253. + * @todo Investigate in https://www.drupal.org/node/2074253. */ public function __sleep() { // Only serialize necessary properties, excluding those that can be diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php index 21d70906b21..47874bece5f 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php @@ -74,7 +74,7 @@ class EntityReferenceItem extends FieldItemBase { if ($target_type_info->isSubclassOf('\Drupal\Core\Entity\FieldableEntityInterface')) { // @todo: Lookup the entity type's ID data type and use it here. - // https://drupal.org/node/2107249 + // https://www.drupal.org/node/2107249 $target_id_definition = DataDefinition::create('integer') ->setLabel(t('@label ID', array($target_type_info->getLabel()))) ->setSetting('unsigned', TRUE); diff --git a/core/lib/Drupal/Core/Field/WidgetBase.php b/core/lib/Drupal/Core/Field/WidgetBase.php index e333df3f8c4..15ecaefb404 100644 --- a/core/lib/Drupal/Core/Field/WidgetBase.php +++ b/core/lib/Drupal/Core/Field/WidgetBase.php @@ -394,7 +394,7 @@ abstract class WidgetBase extends PluginSettingsBase implements WidgetInterface // Do not report entity-level validation errors if Form API errors have // already been reported for the field. // @todo Field validation should not be run on fields with FAPI errors to - // begin with. See https://drupal.org/node/2070429. + // begin with. See https://www.drupal.org/node/2070429. $element_path = implode('][', $element['#parents']); if ($reported_errors = $form_state->getErrors()) { foreach (array_keys($reported_errors) as $error_path) { diff --git a/core/lib/Drupal/Core/File/FileSystemInterface.php b/core/lib/Drupal/Core/File/FileSystemInterface.php index 57009039c1d..8b283a3c626 100644 --- a/core/lib/Drupal/Core/File/FileSystemInterface.php +++ b/core/lib/Drupal/Core/File/FileSystemInterface.php @@ -29,7 +29,7 @@ interface FileSystemInterface { * TRUE on success, or FALSE on failure. * * @see move_uploaded_file() - * @see http://drupal.org/node/515192 + * @see https://www.drupal.org/node/515192 * @ingroup php_wrappers */ public function moveUploadedFile($filename, $uri); @@ -120,7 +120,7 @@ interface FileSystemInterface { * A string containing the directory name. * * @see dirname() - * @see http://drupal.org/node/515192 + * @see https://www.drupal.org/node/515192 * @ingroup php_wrappers */ public function dirname($uri); @@ -161,7 +161,7 @@ interface FileSystemInterface { * Boolean TRUE on success, or FALSE on failure. * * @see mkdir() - * @see http://drupal.org/node/515192 + * @see https://www.drupal.org/node/515192 * @ingroup php_wrappers * * @todo Update with open_basedir compatible recursion logic from @@ -207,7 +207,7 @@ interface FileSystemInterface { * The new temporary filename, or FALSE on failure. * * @see tempnam() - * @see http://drupal.org/node/515192 + * @see https://www.drupal.org/node/515192 * @ingroup php_wrappers */ public function tempnam($directory, $prefix); diff --git a/core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php b/core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php index dc994832503..226e93e20ca 100644 --- a/core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php +++ b/core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php @@ -62,7 +62,7 @@ class FileTransferAuthorizeForm extends FormBase { if (!$this->getRequest()->isSecure()) { $form['information']['https_warning'] = array( '#prefix' => '
', - '#markup' => $this->t('WARNING: You are not using an encrypted connection, so your password will be sent in plain text. Learn more.', array('@https-link' => 'http://drupal.org/https-information')), + '#markup' => $this->t('WARNING: You are not using an encrypted connection, so your password will be sent in plain text. Learn more.', array('@https-link' => 'https://www.drupal.org/https-information')), '#suffix' => '
', ); } @@ -180,7 +180,7 @@ class FileTransferAuthorizeForm extends FormBase { // database connection form in the installer. $form_state->setErrorByName('connection_settings', $this->t('Failed to connect to the server. The server reports the following message: !message For more help installing or updating code on your server, see the handbook.', array( '!message' => '

' . $e->getMessage() . '

', - '@handbook_url' => 'http://drupal.org/documentation/install/modules-themes', + '@handbook_url' => 'https://www.drupal.org/documentation/install/modules-themes', ))); } } diff --git a/core/lib/Drupal/Core/Http/Client.php b/core/lib/Drupal/Core/Http/Client.php index e59a9f5377c..fd27b671abe 100644 --- a/core/lib/Drupal/Core/Http/Client.php +++ b/core/lib/Drupal/Core/Http/Client.php @@ -31,7 +31,7 @@ class Client extends GuzzleClient { 'verify' => TRUE, 'timeout' => 30, 'headers' => array( - 'User-Agent' => 'Drupal/' . \Drupal::VERSION . ' (+https://drupal.org/) ' . static::getDefaultUserAgent(), + 'User-Agent' => 'Drupal/' . \Drupal::VERSION . ' (+https://www.drupal.org/) ' . static::getDefaultUserAgent(), ), ); diff --git a/core/lib/Drupal/Core/Image/Image.php b/core/lib/Drupal/Core/Image/Image.php index 757c2c4731b..47448db70b4 100644 --- a/core/lib/Drupal/Core/Image/Image.php +++ b/core/lib/Drupal/Core/Image/Image.php @@ -133,7 +133,7 @@ class Image implements ImageInterface { $this->fileSize = filesize($destination); $this->source = $destination; - // @todo Use File utility when https://drupal.org/node/2050759 is in. + // @todo Use File utility when https://www.drupal.org/node/2050759 is in. if ($this->chmod($destination)) { return $return; } @@ -215,7 +215,7 @@ class Image implements ImageInterface { * * @see drupal_chmod() * - * @todo Remove when https://drupal.org/node/2050759 is in. + * @todo Remove when https://www.drupal.org/node/2050759 is in. * * @return bool * TRUE for success, FALSE in the event of an error. diff --git a/core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php b/core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php index 724b37db621..1bc09996e00 100644 --- a/core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php +++ b/core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php @@ -82,7 +82,7 @@ class ImageToolkitOperationManager extends DefaultPluginManager implements Image } else { // Pickup the first plugin found. - // @todo In https://drupal.org/node/2110591 we'll return here the UI + // @todo In https://www.drupal.org/node/2110591 we'll return here the UI // selected plugin or the first found if missed. $definition = reset($definitions); return $definition['id']; diff --git a/core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php b/core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php index 303586aa06b..0f2f3a7af18 100644 --- a/core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php +++ b/core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php @@ -126,7 +126,7 @@ class SiteConfigureForm extends ConfigFormBase { // successfully.) $post_params = $this->getRequest()->request->all(); if (empty($post_params) && (!drupal_verify_install_file($this->root . '/' . $settings_file, FILE_EXIST|FILE_READABLE|FILE_NOT_WRITABLE) || !drupal_verify_install_file($this->root . '/' . $settings_dir, FILE_NOT_WRITABLE, 'dir'))) { - drupal_set_message(t('All necessary changes to %dir and %file have been made, so you should remove write permissions to them now in order to avoid security risks. If you are unsure how to do so, consult the online handbook.', array('%dir' => $settings_dir, '%file' => $settings_file, '@handbook_url' => 'http://drupal.org/server-permissions')), 'warning'); + drupal_set_message(t('All necessary changes to %dir and %file have been made, so you should remove write permissions to them now in order to avoid security risks. If you are unsure how to do so, consult the online handbook.', array('%dir' => $settings_dir, '%file' => $settings_file, '@handbook_url' => 'https://www.drupal.org/server-permissions')), 'warning'); } $form['#attached']['library'][] = 'system/drupal.system'; @@ -225,7 +225,7 @@ class SiteConfigureForm extends ConfigFormBase { 2 => $this->t('Receive email notifications'), ), '#default_value' => array(1, 2), - '#description' => $this->t('The system will notify you when updates and important security releases are available for installed components. Anonymous information about your site is sent to Drupal.org.', array('@drupal' => 'http://drupal.org')), + '#description' => $this->t('The system will notify you when updates and important security releases are available for installed components. Anonymous information about your site is sent to Drupal.org.', array('@drupal' => 'https://www.drupal.org')), '#weight' => 15, ); $form['update_notifications']['update_status_module'][2] = array( diff --git a/core/lib/Drupal/Core/Language/LanguageManager.php b/core/lib/Drupal/Core/Language/LanguageManager.php index c180847e298..b13b438cbdb 100644 --- a/core/lib/Drupal/Core/Language/LanguageManager.php +++ b/core/lib/Drupal/Core/Language/LanguageManager.php @@ -242,7 +242,7 @@ class LanguageManager implements LanguageManagerInterface { // // The "Left-to-right marker" comments and the enclosed UTF-8 markers are to // make otherwise strange looking PHP syntax natural (to not be displayed in - // right to left). See http://drupal.org/node/128866#comment-528929. + // right to left). See https://www.drupal.org/node/128866#comment-528929. return array( 'af' => array('Afrikaans', 'Afrikaans'), 'am' => array('Amharic', 'አማርኛ'), diff --git a/core/lib/Drupal/Core/Mail/MailFormatHelper.php b/core/lib/Drupal/Core/Mail/MailFormatHelper.php index cc5c2653c08..86e85531a28 100644 --- a/core/lib/Drupal/Core/Mail/MailFormatHelper.php +++ b/core/lib/Drupal/Core/Mail/MailFormatHelper.php @@ -126,7 +126,7 @@ class MailFormatHelper { $string = preg_replace('! +)[^>]*)?>!i', '*', $string); // Replace inline tags with the text of link and a footnote. - // 'See the Drupal site' becomes + // 'See the Drupal site' becomes // 'See the Drupal site [1]' with the URL included as a footnote. static::htmlToMailUrls(NULL, TRUE); $pattern = '@(]+?href="([^"]*)"[^>]*?>(.+?))@i'; diff --git a/core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php b/core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php index 9b7883cfa5a..c57272bdcf6 100644 --- a/core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php +++ b/core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php @@ -131,9 +131,9 @@ interface MenuTreeStorageInterface { * * The tree order is maintained using an optimized algorithm, for example by * storing each parent in an individual field, see - * http://drupal.org/node/141866 for more details. However, any details of the - * storage should not be relied upon since it may be swapped with a different - * implementation. + * https://www.drupal.org/node/141866 for more details. However, any details + * of the storage should not be relied upon since it may be swapped with a + * different implementation. * * @param string $menu_name * The name of the menu. diff --git a/core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerInterface.php b/core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerInterface.php index 7bf137dc81a..d674333a226 100644 --- a/core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerInterface.php +++ b/core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerInterface.php @@ -17,7 +17,8 @@ interface ContextAwarePluginManagerInterface extends PluginManagerInterface { /** * Determines plugins whose constraints are satisfied by a set of contexts. * - * @todo Use context definition objects after https://drupal.org/node/2281635. + * @todo Use context definition objects after + * https://www.drupal.org/node/2281635. * * @param \Drupal\Component\Plugin\Context\ContextInterface[] $contexts * An array of contexts. diff --git a/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php b/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php index 3b8b2db4463..2f1b785596c 100644 --- a/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php +++ b/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php @@ -17,7 +17,8 @@ interface ContextHandlerInterface { /** * Determines plugins whose constraints are satisfied by a set of contexts. * - * @todo Use context definition objects after https://drupal.org/node/2281635. + * @todo Use context definition objects after + * https://www.drupal.org/node/2281635. * * @param \Drupal\Component\Plugin\Context\ContextInterface[] $contexts * An array of contexts. @@ -32,7 +33,8 @@ interface ContextHandlerInterface { /** * Checks a set of requirements against a set of contexts. * - * @todo Use context definition objects after https://drupal.org/node/2281635. + * @todo Use context definition objects after + * https://www.drupal.org/node/2281635. * * @param \Drupal\Component\Plugin\Context\ContextInterface[] $contexts * An array of available contexts. @@ -48,7 +50,8 @@ interface ContextHandlerInterface { /** * Determines which contexts satisfy the constraints of a given definition. * - * @todo Use context definition objects after https://drupal.org/node/2281635. + * @todo Use context definition objects after + * https://www.drupal.org/node/2281635. * * @param \Drupal\Component\Plugin\Context\ContextInterface[] $contexts * An array of contexts. diff --git a/core/lib/Drupal/Core/Render/Element.php b/core/lib/Drupal/Core/Render/Element.php index 094a7d597b2..e4b22db7ab3 100644 --- a/core/lib/Drupal/Core/Render/Element.php +++ b/core/lib/Drupal/Core/Render/Element.php @@ -96,7 +96,7 @@ class Element { $child_weights[$key] = floor($weight * 1000) + $i / $count; } // Only trigger an error if the value is not null. - // @see http://drupal.org/node/1283892 + // @see https://www.drupal.org/node/1283892 elseif (isset($value)) { trigger_error(SafeMarkup::format('"@key" is an invalid render array key', array('@key' => $key)), E_USER_ERROR); } diff --git a/core/lib/Drupal/Core/Render/Element/RenderElement.php b/core/lib/Drupal/Core/Render/Element/RenderElement.php index 87b9f022236..c886fecc958 100644 --- a/core/lib/Drupal/Core/Render/Element/RenderElement.php +++ b/core/lib/Drupal/Core/Render/Element/RenderElement.php @@ -179,7 +179,7 @@ abstract class RenderElement extends PluginBase implements ElementInterface { // the form's first submit button. Triggering Ajax in this situation // leads to problems, like breaking autocomplete textfields, so we bind // to mousedown instead of click. - // @see http://drupal.org/node/216059 + // @see https://www.drupal.org/node/216059 $element['#ajax']['event'] = 'mousedown'; // Retain keyboard accessibility by setting 'keypress'. This causes // ajax.js to trigger 'event' when SPACE or ENTER are pressed while the diff --git a/core/lib/Drupal/Core/Render/Element/Table.php b/core/lib/Drupal/Core/Render/Element/Table.php index d61c1105a5a..d636ee8bac9 100644 --- a/core/lib/Drupal/Core/Render/Element/Table.php +++ b/core/lib/Drupal/Core/Render/Element/Table.php @@ -309,7 +309,7 @@ class Table extends FormElement { } // Turn second-level elements into table row columns. // @todo Do not render a cell for children of #type 'value'. - // @see http://drupal.org/node/1248940 + // @see https://www.drupal.org/node/1248940 foreach (Element::children($element[$first]) as $second) { // Assign the element by reference, so any potential changes to the // original element are taken over. diff --git a/core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php b/core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php index 7a460c1419d..5fc53f93fc4 100644 --- a/core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php +++ b/core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php @@ -20,7 +20,7 @@ interface ElementInfoManagerInterface { * normal. * * For more information about custom element types see the explanation at - * http://drupal.org/node/169815. + * https://www.drupal.org/node/169815. * * @param string $type * The machine name of an element type plugin. diff --git a/core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php b/core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php index 6900b6e857f..31192f35f99 100644 --- a/core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php +++ b/core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php @@ -82,7 +82,7 @@ class AjaxRenderer implements MainContentRendererInterface { /** * Wraps drupal_render_root(). * - * @todo: Remove as part of https://drupal.org/node/2182149 + * @todo Remove as part of https://www.drupal.org/node/2182149. */ protected function drupalRenderRoot(&$elements) { return drupal_render_root($elements); diff --git a/core/lib/Drupal/Core/Render/Renderer.php b/core/lib/Drupal/Core/Render/Renderer.php index 827330f9967..9ba76130b72 100644 --- a/core/lib/Drupal/Core/Render/Renderer.php +++ b/core/lib/Drupal/Core/Render/Renderer.php @@ -253,7 +253,7 @@ class Renderer implements RendererInterface { $elements['#children'] = ''; } - // @todo Simplify after https://drupal.org/node/2273925 + // @todo Simplify after https://www.drupal.org/node/2273925. if (isset($elements['#markup'])) { $elements['#markup'] = SafeMarkup::set($elements['#markup']); } diff --git a/core/lib/Drupal/Core/Routing/Access/AccessInterface.php b/core/lib/Drupal/Core/Routing/Access/AccessInterface.php index 2a2f4a9665a..d9497747769 100644 --- a/core/lib/Drupal/Core/Routing/Access/AccessInterface.php +++ b/core/lib/Drupal/Core/Routing/Access/AccessInterface.php @@ -13,6 +13,6 @@ namespace Drupal\Core\Routing\Access; interface AccessInterface { // @todo Remove this interface since it no longer defines any methods? - // @see https://drupal.org/node/2266817. + // @see https://www.drupal.org/node/2266817. } diff --git a/core/lib/Drupal/Core/Session/SessionManager.php b/core/lib/Drupal/Core/Session/SessionManager.php index 1d470e2f6bf..2c35259a33b 100644 --- a/core/lib/Drupal/Core/Session/SessionManager.php +++ b/core/lib/Drupal/Core/Session/SessionManager.php @@ -98,7 +98,7 @@ class SessionManager extends NativeSessionStorage implements SessionManagerInter // @todo When not using the Symfony Session object, the list of bags in the // NativeSessionStorage will remain uninitialized. This will lead to // errors in NativeSessionHandler::loadSession. Remove this after - // https://drupal.org/node/2229145, when we will be using the Symfony + // https://www.drupal.org/node/2229145, when we will be using the Symfony // session object (which registers an attribute bag with the // manager upon instantiation). $this->bags = array(); diff --git a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php index 4612937145e..77206555497 100644 --- a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php @@ -52,7 +52,7 @@ abstract class LocalStream implements StreamWrapperInterface { /** * Gets the path that the wrapper is responsible for. * - * @todo Review this method name in D8 per http://drupal.org/node/701358. + * @todo Review this method name in D8 per https://www.drupal.org/node/701358. * * @return string * String specifying the path. diff --git a/core/lib/Drupal/Core/TypedData/DataDefinition.php b/core/lib/Drupal/Core/TypedData/DataDefinition.php index 2fc46ea3db1..1ef7c4935b2 100644 --- a/core/lib/Drupal/Core/TypedData/DataDefinition.php +++ b/core/lib/Drupal/Core/TypedData/DataDefinition.php @@ -295,7 +295,7 @@ class DataDefinition implements DataDefinitionInterface, \ArrayAccess { * {@inheritdoc} * * This is for BC support only. - * @todo: Remove in https://drupal.org/node/1928868. + * @todo: Remove in https://www.drupal.org/node/1928868. */ public function offsetExists($offset) { // PHP's array access does not work correctly with isset(), so we have to @@ -307,7 +307,7 @@ class DataDefinition implements DataDefinitionInterface, \ArrayAccess { * {@inheritdoc} * * This is for BC support only. - * @todo: Remove in https://drupal.org/node/1928868. + * @todo: Remove in https://www.drupal.org/node/1928868. */ public function &offsetGet($offset) { if (!isset($this->definition[$offset])) { @@ -320,7 +320,7 @@ class DataDefinition implements DataDefinitionInterface, \ArrayAccess { * {@inheritdoc} * * This is for BC support only. - * @todo: Remove in https://drupal.org/node/1928868. + * @todo: Remove in https://www.drupal.org/node/1928868. */ public function offsetSet($offset, $value) { $this->definition[$offset] = $value; @@ -330,7 +330,7 @@ class DataDefinition implements DataDefinitionInterface, \ArrayAccess { * {@inheritdoc} * * This is for BC support only. - * @todo: Remove in https://drupal.org/node/1928868. + * @todo: Remove in https://www.drupal.org/node/1928868. */ public function offsetUnset($offset) { unset($this->definition[$offset]); diff --git a/core/lib/Drupal/Core/TypedData/TypedData.php b/core/lib/Drupal/Core/TypedData/TypedData.php index 3216d216688..92c8a89e959 100644 --- a/core/lib/Drupal/Core/TypedData/TypedData.php +++ b/core/lib/Drupal/Core/TypedData/TypedData.php @@ -66,7 +66,7 @@ abstract class TypedData implements TypedDataInterface, PluginInspectionInterfac * * @todo When \Drupal\Core\Config\TypedConfigManager has been fixed to use * class-based definitions, type-hint $definition to - * DataDefinitionInterface. https://drupal.org/node/1928868 + * DataDefinitionInterface. https://www.drupal.org/node/1928868 */ public function __construct($definition, $name = NULL, TypedDataInterface $parent = NULL) { $this->definition = $definition; diff --git a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php index 7b038e51c19..34636bac12c 100644 --- a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php +++ b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php @@ -32,7 +32,7 @@ interface TypedDataInterface { * * @todo When \Drupal\Core\Config\TypedConfigManager has been fixed to use * class-based definitions, type-hint $definition to - * DataDefinitionInterface. https://drupal.org/node/1928868 + * DataDefinitionInterface. https://www.drupal.org/node/1928868 * * @see \Drupal\Core\TypedData\TypedDataManager::create() */ diff --git a/core/misc/ajax.js b/core/misc/ajax.js index 5ec87f53567..b36f4b09f19 100644 --- a/core/misc/ajax.js +++ b/core/misc/ajax.js @@ -722,7 +722,7 @@ // allowed (e.g., within TABLE, TR, and SPAN parents), we check if the new // content satisfies the requirement of a single top-level element, and // only use the container DIV created above when it doesn't. For more - // information, please see http://drupal.org/node/736066. + // information, please see https://www.drupal.org/node/736066. if (new_content.length !== 1 || new_content.get(0).nodeType !== 1) { new_content = new_content_wrapped; } diff --git a/core/modules/action/action.module b/core/modules/action/action.module index d1a76016243..0a44ec80256 100644 --- a/core/modules/action/action.module +++ b/core/modules/action/action.module @@ -15,7 +15,7 @@ function action_help($route_name, RouteMatchInterface $route_match) { case 'help.page.action': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Actions module provides tasks that can be executed by the site such as unpublishing content, sending email messages, or blocking a user. Other modules can trigger these actions when specific system events happen; for example, when new content is posted or when a user logs in. Modules can also provide additional actions. For more information, see the online documentation for the Action module.', array('!documentation' => 'https://drupal.org/documentation/modules/action')) . '

'; + $output .= '

' . t('The Actions module provides tasks that can be executed by the site such as unpublishing content, sending email messages, or blocking a user. Other modules can trigger these actions when specific system events happen; for example, when new content is posted or when a user logs in. Modules can also provide additional actions. For more information, see the online documentation for the Action module.', array('!documentation' => 'https://www.drupal.org/documentation/modules/action')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Using simple actions') . '
'; diff --git a/core/modules/aggregator/aggregator.module b/core/modules/aggregator/aggregator.module index 03a782b0909..29ba9fc65d8 100644 --- a/core/modules/aggregator/aggregator.module +++ b/core/modules/aggregator/aggregator.module @@ -23,7 +23,7 @@ function aggregator_help($route_name, RouteMatchInterface $route_match) { $path_validator = \Drupal::pathValidator(); $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Aggregator module is an on-site syndicator and news reader that gathers and displays fresh content from RSS-, RDF-, and Atom-based feeds made available across the web. Thousands of sites (particularly news sites and blogs) publish their latest headlines in feeds, using a number of standardized XML-based formats. For more information, see the online documentation for the Aggregator module.', array('!aggregator-module' => 'https://drupal.org/documentation/modules/aggregator')) . '

'; + $output .= '

' . t('The Aggregator module is an on-site syndicator and news reader that gathers and displays fresh content from RSS-, RDF-, and Atom-based feeds made available across the web. Thousands of sites (particularly news sites and blogs) publish their latest headlines in feeds, using a number of standardized XML-based formats. For more information, see the online documentation for the Aggregator module.', array('!aggregator-module' => 'https://www.drupal.org/documentation/modules/aggregator')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; // Check if the aggregator sources View is enabled. @@ -92,7 +92,7 @@ function aggregator_entity_extra_field_info() { 'description' => t('The feed image'), 'weight' => 2, ), - // @todo Move to a formatter at https://drupal.org/node/2149845. + // @todo Move to a formatter at https://www.drupal.org/node/2149845. 'description' => array( 'label' => t('Description'), 'description' => t('The description of this feed'), @@ -113,7 +113,7 @@ function aggregator_entity_extra_field_info() { $extra['aggregator_item']['aggregator_item'] = array( 'display' => array( - // @todo Move to a formatter at https://drupal.org/node/2149845. + // @todo Move to a formatter at https://www.drupal.org/node/2149845. 'description' => array( 'label' => t('Description'), 'description' => t('The description of this feed item'), diff --git a/core/modules/aggregator/src/Entity/Item.php b/core/modules/aggregator/src/Entity/Item.php index 11e9e3bdabe..6986aaaa804 100644 --- a/core/modules/aggregator/src/Entity/Item.php +++ b/core/modules/aggregator/src/Entity/Item.php @@ -108,7 +108,8 @@ class Item extends ContentEntityBase implements ItemInterface { )) ->setDisplayConfigurable('view', TRUE); - // @todo Convert to a real UUID field in https://drupal.org/node/2149851. + // @todo Convert to a real UUID field in + // https://www.drupal.org/node/2149851. $fields['guid'] = BaseFieldDefinition::create('string_long') ->setLabel(t('GUID')) ->setDescription(t('Unique identifier for the feed item.')); diff --git a/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php b/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php index e165206572a..1c4eb17ac42 100644 --- a/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php +++ b/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php @@ -113,7 +113,7 @@ class AggregatorPluginSettingsBaseTest extends UnitTestCase { } namespace { - // @todo Delete after https://drupal.org/node/1858196 is in. + // @todo Delete after https://www.drupal.org/node/1858196 is in. if (!function_exists('drupal_set_message')) { function drupal_set_message() {} } diff --git a/core/modules/ban/ban.module b/core/modules/ban/ban.module index b6270afc0b1..533ddac0ca9 100644 --- a/core/modules/ban/ban.module +++ b/core/modules/ban/ban.module @@ -15,7 +15,7 @@ function ban_help($route_name, RouteMatchInterface $route_match) { case 'help.page.ban': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Ban module allows administrators to ban visits to their site from individual IP addresses. For more information, see the online documentation for the Ban module.', array('!url' => 'https://drupal.org/documentation/modules/ban')) . '

'; + $output .= '

' . t('The Ban module allows administrators to ban visits to their site from individual IP addresses. For more information, see the online documentation for the Ban module.', array('!url' => 'https://www.drupal.org/documentation/modules/ban')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Banning IP addresses') . '
'; diff --git a/core/modules/basic_auth/basic_auth.module b/core/modules/basic_auth/basic_auth.module index d49069af6d9..4183bd61ab1 100644 --- a/core/modules/basic_auth/basic_auth.module +++ b/core/modules/basic_auth/basic_auth.module @@ -15,7 +15,7 @@ function basic_auth_help($route_name, RouteMatchInterface $route_match) { case 'help.page.basic_auth': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The HTTP Basic Authentication module supplies an HTTP Basic authentication provider for web service requests. This authentication provider authenticates requests using the HTTP Basic Authentication username and password, as an alternative to using Drupal\'s standard cookie-based authentication system. It is only useful if your site provides web services configured to use this type of authentication (for instance, the RESTful Web Services module). For more information, see the online documentation for the HTTP Basic Authentication module.', array('!hba_do' => 'https://drupal.org/documentation/modules/basic_auth', '!rest_help' => (\Drupal::moduleHandler()->moduleExists('rest')) ? \Drupal::url('help.page', array('name' => 'rest')) : '#')) . '

'; + $output .= '

' . t('The HTTP Basic Authentication module supplies an HTTP Basic authentication provider for web service requests. This authentication provider authenticates requests using the HTTP Basic Authentication username and password, as an alternative to using Drupal\'s standard cookie-based authentication system. It is only useful if your site provides web services configured to use this type of authentication (for instance, the RESTful Web Services module). For more information, see the online documentation for the HTTP Basic Authentication module.', array('!hba_do' => 'https://www.drupal.org/documentation/modules/basic_auth', '!rest_help' => (\Drupal::moduleHandler()->moduleExists('rest')) ? \Drupal::url('help.page', array('name' => 'rest')) : '#')) . '

'; return $output; } } diff --git a/core/modules/block/block.api.php b/core/modules/block/block.api.php index afd2beff907..34e68f48378 100644 --- a/core/modules/block/block.api.php +++ b/core/modules/block/block.api.php @@ -50,10 +50,10 @@ use Drupal\Core\Access\AccessResult; * block placement condition plugin. * - \Drupal\book\Plugin\Block\BookNavigationBlock is an example of a block with * a custom configuration form. - * - For a more in-depth discussion of the Block API see - * https://drupal.org/developing/api/8/block_api + * - For a more in-depth discussion of the Block API, see + * https://www.drupal.org/developing/api/8/block_api. * - The Examples for Developers project also provides a Block example in - * https://drupal.org/project/examples. + * https://www.drupal.org/project/examples. * @} */ diff --git a/core/modules/block/block.module b/core/modules/block/block.module index f9dd78713b8..7bd79585264 100644 --- a/core/modules/block/block.module +++ b/core/modules/block/block.module @@ -100,7 +100,7 @@ function _block_rehash($theme = NULL) { $blocks = entity_load_multiple_by_properties('block', array('theme' => $theme)); foreach ($blocks as $block_id => $block) { // Remove any invalid block from the list. - // @todo Remove this check as part of https://drupal.org/node/1776830. + // @todo Remove this check as part of https://www.drupal.org/node/1776830. if (!$block->getPlugin()) { unset($blocks[$block_id]); continue; diff --git a/core/modules/block/src/BlockForm.php b/core/modules/block/src/BlockForm.php index 08d7508086c..1aefa680645 100644 --- a/core/modules/block/src/BlockForm.php +++ b/core/modules/block/src/BlockForm.php @@ -210,7 +210,7 @@ class BlockForm extends EntityForm { ], ]; // @todo Allow list of conditions to be configured in - // https://drupal.org/node/2284687. + // https://www.drupal.org/node/2284687. $visibility = $this->entity->getVisibility(); foreach ($this->manager->getDefinitions() as $condition_id => $definition) { // Don't display the current theme condition. diff --git a/core/modules/block_content/block_content.module b/core/modules/block_content/block_content.module index a05079560c1..04a1e6c114b 100644 --- a/core/modules/block_content/block_content.module +++ b/core/modules/block_content/block_content.module @@ -18,7 +18,7 @@ function block_content_help($route_name, RouteMatchInterface $route_match) { $field_ui = \Drupal::moduleHandler()->moduleExists('field_ui') ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#'; $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Custom Block module allows you to create custom block types and content-containing blocks, and provides a Custom block library listing all of them. Custom block types have fields; see the Field module help for more information. Once created, custom blocks can be placed in regions just like blocks provided by other modules; see the Block module help page for details. For more information, see the online documentation for the Custom Block module.', array('!block-library' => \Drupal::url('entity.block_content.collection'), '!block-content' => \Drupal::url('entity.block_content.collection'), '!field-help' => \Drupal::url('help.page', array('name' => 'field')), '!blocks' => \Drupal::url('help.page', array('name' => 'block')), '!online-help' => 'https://drupal.org/documentation/modules/block_content')) . '

'; + $output .= '

' . t('The Custom Block module allows you to create custom block types and content-containing blocks, and provides a Custom block library listing all of them. Custom block types have fields; see the Field module help for more information. Once created, custom blocks can be placed in regions just like blocks provided by other modules; see the Block module help page for details. For more information, see the online documentation for the Custom Block module.', array('!block-library' => \Drupal::url('entity.block_content.collection'), '!block-content' => \Drupal::url('entity.block_content.collection'), '!field-help' => \Drupal::url('help.page', array('name' => 'field')), '!blocks' => \Drupal::url('help.page', array('name' => 'block')), '!online-help' => 'https://www.drupal.org/documentation/modules/block_content')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Creating and managing custom block types') . '
'; diff --git a/core/modules/book/book.module b/core/modules/book/book.module index c034ed66d48..40af371a535 100644 --- a/core/modules/book/book.module +++ b/core/modules/book/book.module @@ -28,7 +28,7 @@ function book_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.book': $output = '

' . t('About') . '

'; - $output .= '

' . t('The Book module is used for creating structured, multi-page content, such as site resource guides, manuals, and wikis. It allows you to create content that has chapters, sections, subsections, or any similarly-tiered structure. Enabling the module creates a new content type Book page. For more information, see the online documentation for the Book module.', array('!book' => 'https://drupal.org/documentation/modules/book')) . '

'; + $output .= '

' . t('The Book module is used for creating structured, multi-page content, such as site resource guides, manuals, and wikis. It allows you to create content that has chapters, sections, subsections, or any similarly-tiered structure. Enabling the module creates a new content type Book page. For more information, see the online documentation for the Book module.', array('!book' => 'https://www.drupal.org/documentation/modules/book')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Adding and managing book content') . '
'; diff --git a/core/modules/book/src/Plugin/Block/BookNavigationBlock.php b/core/modules/book/src/Plugin/Block/BookNavigationBlock.php index 30153be3ed0..6a0a15d39a7 100644 --- a/core/modules/book/src/Plugin/Block/BookNavigationBlock.php +++ b/core/modules/book/src/Plugin/Block/BookNavigationBlock.php @@ -193,7 +193,7 @@ class BookNavigationBlock extends BlockBase implements ContainerFactoryPluginInt /** * {@inheritdoc} * - * @todo Make cacheable as part of https://drupal.org/node/1805054 + * @todo Make cacheable as part of https://www.drupal.org/node/1805054. */ public function getCacheMaxAge() { return 0; diff --git a/core/modules/breakpoint/breakpoint.module b/core/modules/breakpoint/breakpoint.module index 2b30dd72f01..1fec3ed924d 100644 --- a/core/modules/breakpoint/breakpoint.module +++ b/core/modules/breakpoint/breakpoint.module @@ -15,7 +15,7 @@ function breakpoint_help($route_name, RouteMatchInterface $route_match) { case 'help.page.breakpoint': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Breakpoint module keeps track of the height, width, and resolution breakpoints where a responsive design needs to change in order to respond to different devices being used to view the site. This module does not have a user interface. For more information, see the online documentation for the Breakpoint module.', array('!docs' => 'https://drupal.org/documentation/modules/breakpoint')) . '

'; + $output .= '

' . t('The Breakpoint module keeps track of the height, width, and resolution breakpoints where a responsive design needs to change in order to respond to different devices being used to view the site. This module does not have a user interface. For more information, see the online documentation for the Breakpoint module.', array('!docs' => 'https://www.drupal.org/documentation/modules/breakpoint')) . '

'; $output .= '

' . t('Terminology') . '

'; $output .= '
'; $output .= '
' . t('Breakpoint') . '
'; diff --git a/core/modules/ckeditor/ckeditor.module b/core/modules/ckeditor/ckeditor.module index 1520c5e8a99..674fa0f5136 100644 --- a/core/modules/ckeditor/ckeditor.module +++ b/core/modules/ckeditor/ckeditor.module @@ -16,7 +16,7 @@ function ckeditor_help($route_name, RouteMatchInterface $route_match) { case 'help.page.ckeditor': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The CKEditor module provides a visual text editor and adds a toolbar to text fields. Users can use buttons to format content and to create semantically correct and valid HTML. The CKEditor module uses the framework provided by the Text Editor module. It requires JavaScript to be enabled in the browser. For more information, see the online documentation for the CKEditor module and the CKEditor website.', array( '!doc_url' => 'https://drupal.org/documentation/modules/ckeditor', '!cke_url' => 'http://ckeditor.com', '!text_editor' => \Drupal::url('help.page', array('name' => 'editor')))) . '

'; + $output .= '

' . t('The CKEditor module provides a visual text editor and adds a toolbar to text fields. Users can use buttons to format content and to create semantically correct and valid HTML. The CKEditor module uses the framework provided by the Text Editor module. It requires JavaScript to be enabled in the browser. For more information, see the online documentation for the CKEditor module and the CKEditor website.', array( '!doc_url' => 'https://www.drupal.org/documentation/modules/ckeditor', '!cke_url' => 'http://ckeditor.com', '!text_editor' => \Drupal::url('help.page', array('name' => 'editor')))) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Enabling CKEditor for individual text formats') . '
'; diff --git a/core/modules/color/color.module b/core/modules/color/color.module index 65c60d76657..f5622c83328 100644 --- a/core/modules/color/color.module +++ b/core/modules/color/color.module @@ -22,7 +22,7 @@ function color_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.color': $output = '

' . t('About') . '

'; - $output .= '

' . t('The Color module allows users with the Administer site configuration permission to change the color scheme (color of links, backgrounds, text, and other theme elements) of compatible themes. For more information, see the online documentation for the Color module.', array('!color_do' => 'https://drupal.org/documentation/modules/color')) . '

'; + $output .= '

' . t('The Color module allows users with the Administer site configuration permission to change the color scheme (color of links, backgrounds, text, and other theme elements) of compatible themes. For more information, see the online documentation for the Color module.', array('!color_do' => 'https://www.drupal.org/documentation/modules/color')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Changing colors') . '
'; diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index ea918bd38cb..ad82046a0e1 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -66,7 +66,7 @@ function comment_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.comment': $output = '

' . t('About') . '

'; - $output .= '

' . t('The Comment module allows users to comment on site content, set commenting defaults and permissions, and moderate comments. For more information, see the online documentation for the Comment module.', array('!comment' => 'https://drupal.org/documentation/modules/comment')) . '

'; + $output .= '

' . t('The Comment module allows users to comment on site content, set commenting defaults and permissions, and moderate comments. For more information, see the online documentation for the Comment module.', array('!comment' => 'https://www.drupal.org/documentation/modules/comment')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Enabling commenting and configuring defaults') . '
'; diff --git a/core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php b/core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php index 2b955cd8e68..c9e23e9ec34 100644 --- a/core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php +++ b/core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php @@ -173,7 +173,7 @@ class CommentItem extends FieldItemBase implements CommentItemInterface { $element = array(); // @todo Inject entity storage once typed-data supports container injection. - // See https://drupal.org/node/2053415 for more details. + // See https://www.drupal.org/node/2053415 for more details. $comment_types = CommentType::loadMultiple(); $options = array(); $entity_type = $this->getEntity()->getEntityTypeId(); diff --git a/core/modules/comment/src/Tests/CommentDefaultFormatterCacheTagsTest.php b/core/modules/comment/src/Tests/CommentDefaultFormatterCacheTagsTest.php index 3df28797014..342765f8095 100644 --- a/core/modules/comment/src/Tests/CommentDefaultFormatterCacheTagsTest.php +++ b/core/modules/comment/src/Tests/CommentDefaultFormatterCacheTagsTest.php @@ -94,8 +94,8 @@ class CommentDefaultFormatterCacheTagsTest extends EntityUnitTestBase { $comment->save(); // Load commented entity so comment_count gets computed. - // @todo remove the $reset = TRUE parameter after - // https://drupal.org/node/597236 lands, it's a temporary work-around. + // @todo Remove the $reset = TRUE parameter after + // https://www.drupal.org/node/597236 lands. It's a temporary work-around. $commented_entity = entity_load('entity_test', $commented_entity->id(), TRUE); // Verify cache tags on the rendered entity when it has comments. diff --git a/core/modules/comment/src/Tests/CommentValidationTest.php b/core/modules/comment/src/Tests/CommentValidationTest.php index 79b949764e0..62acec0b152 100644 --- a/core/modules/comment/src/Tests/CommentValidationTest.php +++ b/core/modules/comment/src/Tests/CommentValidationTest.php @@ -125,7 +125,8 @@ class CommentValidationTest extends EntityUnitTestBase { $this->assertEqual(count($violations), 1, 'Violation found when homepage is invalid'); $this->assertEqual($violations[0]->getPropertyPath(), 'homepage.0.value'); - // @todo This message should be improved in https://drupal.org/node/2012690 + // @todo This message should be improved in + // https://www.drupal.org/node/2012690. $this->assertEqual($violations[0]->getMessage(), t('This value should be of the correct primitive type.')); $comment->set('homepage', NULL); diff --git a/core/modules/config/src/Tests/SchemaCheckTestTrait.php b/core/modules/config/src/Tests/SchemaCheckTestTrait.php index 7315ca7565e..df1a5f09e42 100644 --- a/core/modules/config/src/Tests/SchemaCheckTestTrait.php +++ b/core/modules/config/src/Tests/SchemaCheckTestTrait.php @@ -32,19 +32,19 @@ trait SchemaCheckTestTrait { $errors = $this->checkConfigSchema($typed_config, $config_name, $config_data); if ($errors === FALSE) { // @todo Since the use of this trait is under TestBase, it works. - // Can be fixed as part of https://drupal.org/node/2260053. + // Can be fixed as part of https://www.drupal.org/node/2260053. $this->fail(SafeMarkup::format('No schema for !config_name', array('!config_name' => $config_name))); return; } elseif ($errors === TRUE) { // @todo Since the use of this trait is under TestBase, it works. - // Can be fixed as part of https://drupal.org/node/2260053. + // Can be fixed as part of https://www.drupal.org/node/2260053. $this->pass(SafeMarkup::format('Schema found for !config_name and values comply with schema.', array('!config_name' => $config_name))); } else { foreach ($errors as $key => $error) { // @todo Since the use of this trait is under TestBase, it works. - // Can be fixed as part of https://drupal.org/node/2260053. + // Can be fixed as part of https://www.drupal.org/node/2260053. $this->fail(SafeMarkup::format('Schema key @key failed with: @error', array('@key' => $key, '@error' => $error))); } } diff --git a/core/modules/config_translation/config_translation.module b/core/modules/config_translation/config_translation.module index ea4e532d093..b4f882b7519 100644 --- a/core/modules/config_translation/config_translation.module +++ b/core/modules/config_translation/config_translation.module @@ -19,7 +19,7 @@ function config_translation_help($route_name, RouteMatchInterface $route_match) case 'help.page.config_translation': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Configuration Translation module allows you to translate configuration text; for example, the site name, vocabularies, menus, or date formats. Together with the modules Language, Content Translation, and Interface Translation, it allows you to build multilingual websites. For more information, see the online documentation for the Configuration Translation module.', array('!doc_url' => 'https://drupal.org/documentation/modules/config_translation', '!config' => \Drupal::url('help.page', array('name' => 'config')), '!language' => \Drupal::url('help.page', array('name' => 'language')), '!locale' => \Drupal::url('help.page', array('name' => 'locale')), '!content-translation' => (\Drupal::moduleHandler()->moduleExists('content_translation')) ? \Drupal::url('help.page', array('name' => 'content_translation')) : '#')) . '

'; + $output .= '

' . t('The Configuration Translation module allows you to translate configuration text; for example, the site name, vocabularies, menus, or date formats. Together with the modules Language, Content Translation, and Interface Translation, it allows you to build multilingual websites. For more information, see the online documentation for the Configuration Translation module.', array('!doc_url' => 'https://www.drupal.org/documentation/modules/config_translation', '!config' => \Drupal::url('help.page', array('name' => 'config')), '!language' => \Drupal::url('help.page', array('name' => 'language')), '!locale' => \Drupal::url('help.page', array('name' => 'locale')), '!content-translation' => (\Drupal::moduleHandler()->moduleExists('content_translation')) ? \Drupal::url('help.page', array('name' => 'content_translation')) : '#')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Enabling translation') . '
'; @@ -56,7 +56,7 @@ function config_translation_themes_installed() { // Themes can provide *.config_translation.yml declarations. // @todo Make ThemeHandler trigger an event instead and make // ConfigMapperManager plugin manager subscribe to it. - // @see https://drupal.org/node/2206347 + // @see https://www.drupal.org/node/2206347 \Drupal::service('plugin.manager.config_translation.mapper')->clearCachedDefinitions(); } @@ -67,7 +67,7 @@ function config_translation_themes_uninstalled() { // Themes can provide *.config_translation.yml declarations. // @todo Make ThemeHandler trigger an event instead and make // ConfigMapperManager plugin manager subscribe to it. - // @see https://drupal.org/node/2206347 + // @see https://www.drupal.org/node/2206347 \Drupal::service('plugin.manager.config_translation.mapper')->clearCachedDefinitions(); } diff --git a/core/modules/config_translation/src/ConfigEntityMapper.php b/core/modules/config_translation/src/ConfigEntityMapper.php index fe3da3c7895..269bfac8639 100644 --- a/core/modules/config_translation/src/ConfigEntityMapper.php +++ b/core/modules/config_translation/src/ConfigEntityMapper.php @@ -234,7 +234,7 @@ class ConfigEntityMapper extends ConfigNamesMapper { */ public function getContextualLinkGroup() { // @todo Contextual groups do not map to entity types in a predictable - // way. See https://drupal.org/node/2134841 to make them predictable. + // way. See https://www.drupal.org/node/2134841 to make them predictable. switch ($this->entityType) { case 'menu': case 'block': diff --git a/core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php b/core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php index 5050b0d507c..8ecde5e0613 100644 --- a/core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php +++ b/core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php @@ -52,7 +52,8 @@ class ConfigTranslationContextualLinks extends DeriverBase implements ContainerD $mappers = $this->mapperManager->getMappers(); foreach ($mappers as $plugin_id => $mapper) { // @todo Contextual groups do not map to entity types in a predictable - // way. See https://drupal.org/node/2134841 to make them predictable. + // way. See https://www.drupal.org/node/2134841 to make them + // predictable. $group_name = $mapper->getContextualLinkGroup(); if (empty($group_name)) { continue; diff --git a/core/modules/contact/src/Tests/ContactSitewideTest.php b/core/modules/contact/src/Tests/ContactSitewideTest.php index df2816ea331..ff8d1158aa2 100644 --- a/core/modules/contact/src/Tests/ContactSitewideTest.php +++ b/core/modules/contact/src/Tests/ContactSitewideTest.php @@ -77,7 +77,7 @@ class ContactSitewideTest extends WebTestBase { // User form could not be changed or deleted. // Cannot use ::assertNoLinkByHref as it does partial url matching and with // field_ui enabled admin/structure/contact/manage/personal/fields exists. - // @todo: See https://drupal.org/node/2031223 for the above + // @todo: See https://www.drupal.org/node/2031223 for the above. $edit_link = $this->xpath('//a[@href=:href]', array( ':href' => \Drupal::url('entity.contact_form.edit_form', array('contact_form' => 'personal')) )); diff --git a/core/modules/content_translation/content_translation.module b/core/modules/content_translation/content_translation.module index 24f8f18ffd1..3b29ecc9908 100644 --- a/core/modules/content_translation/content_translation.module +++ b/core/modules/content_translation/content_translation.module @@ -22,7 +22,7 @@ function content_translation_help($route_name, RouteMatchInterface $route_match) case 'help.page.content_translation': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Content Translation module allows you to translate content, comments, custom blocks, taxonomy terms, users and other content entities. Together with the modules Language, Configuration Translation, and Interface Translation, it allows you to build multilingual websites. For more information, see the online documentation for the Content Translation module.', array('!locale' => (\Drupal::moduleHandler()->moduleExists('locale')) ? \Drupal::url('help.page', array('name' => 'locale')) : '#', '!config-trans' => (\Drupal::moduleHandler()->moduleExists('config_translation')) ? \Drupal::url('help.page', array('name' => 'config_translation')) : '#', '!language' => \Drupal::url('help.page', array('name' => 'language')), '!translation-entity' => 'https://drupal.org/documentation/modules/translation', '!field_help' => \Drupal::url('help.page', array('name' => 'field')))) . '

'; + $output .= '

' . t('The Content Translation module allows you to translate content, comments, custom blocks, taxonomy terms, users and other content entities. Together with the modules Language, Configuration Translation, and Interface Translation, it allows you to build multilingual websites. For more information, see the online documentation for the Content Translation module.', array('!locale' => (\Drupal::moduleHandler()->moduleExists('locale')) ? \Drupal::url('help.page', array('name' => 'locale')) : '#', '!config-trans' => (\Drupal::moduleHandler()->moduleExists('config_translation')) ? \Drupal::url('help.page', array('name' => 'config_translation')) : '#', '!language' => \Drupal::url('help.page', array('name' => 'language')), '!translation-entity' => 'https://www.drupal.org/documentation/modules/translation', '!field_help' => \Drupal::url('help.page', array('name' => 'field')))) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Enabling translation') . '
'; @@ -142,7 +142,7 @@ function content_translation_entity_type_alter(array &$entity_types) { $entity_type->setLinkTemplate('drupal:content-translation-overview', $entity_type->getLinkTemplate('canonical') . '/translations'); } // @todo Remove this as soon as menu access checks rely on the - // controller. See https://drupal.org/node/2155787. + // controller. See https://www.drupal.org/node/2155787. $translation['content_translation'] += array( 'access_callback' => 'content_translation_translate_access', ); diff --git a/core/modules/contextual/contextual.module b/core/modules/contextual/contextual.module index 83a5bee9c99..88495be3404 100644 --- a/core/modules/contextual/contextual.module +++ b/core/modules/contextual/contextual.module @@ -68,7 +68,7 @@ function contextual_help($route_name, RouteMatchInterface $route_match) { case 'help.page.contextual': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Contextual links module gives users with the Use contextual links permission quick access to tasks associated with certain areas of pages on your site. For example, a menu displayed as a block has links to edit the menu and configure the block. For more information, see the online documentation for the Contextual Links module.', array('!contextual' => 'https://drupal.org/documentation/modules/contextual')) . '

'; + $output .= '

' . t('The Contextual links module gives users with the Use contextual links permission quick access to tasks associated with certain areas of pages on your site. For example, a menu displayed as a block has links to edit the menu and configure the block. For more information, see the online documentation for the Contextual Links module.', array('!contextual' => 'https://www.drupal.org/documentation/modules/contextual')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Displaying contextual links') . '
'; diff --git a/core/modules/datetime/datetime.module b/core/modules/datetime/datetime.module index 1d46927f277..a8a8184bd77 100644 --- a/core/modules/datetime/datetime.module +++ b/core/modules/datetime/datetime.module @@ -33,7 +33,7 @@ function datetime_help($route_name, RouteMatchInterface $route_match) { case 'help.page.datetime': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Datetime module provides a Date field that stores dates and times. It also provides the Form API elements datetime and datelist for use in programming modules. See the Field module help and the Field UI module help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Datetime module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#', '!datetime_do' => 'https://drupal.org/documentation/modules/datetime')) . '

'; + $output .= '

' . t('The Datetime module provides a Date field that stores dates and times. It also provides the Form API elements datetime and datelist for use in programming modules. See the Field module help and the Field UI module help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Datetime module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#', '!datetime_do' => 'https://www.drupal.org/documentation/modules/datetime')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Managing and displaying date fields') . '
'; diff --git a/core/modules/editor/editor.module b/core/modules/editor/editor.module index 5755c3bc33a..7fa3c05e842 100644 --- a/core/modules/editor/editor.module +++ b/core/modules/editor/editor.module @@ -24,7 +24,7 @@ function editor_help($route_name, RouteMatchInterface $route_match) { case 'help.page.editor': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Text Editor module provides a framework that other modules (such as CKEditor module) can use to provide toolbars and other functionality that allow users to format text more easily than typing HTML tags directly. For more information, see the online documentation for the Text Editor module.', array('!documentation' => 'https://drupal.org/documentation/modules/editor', '!ckeditor' => (\Drupal::moduleHandler()->moduleExists('ckeditor')) ? \Drupal::url('help.page', array('name' => 'ckeditor')) : '#')) . '

'; + $output .= '

' . t('The Text Editor module provides a framework that other modules (such as CKEditor module) can use to provide toolbars and other functionality that allow users to format text more easily than typing HTML tags directly. For more information, see the online documentation for the Text Editor module.', array('!documentation' => 'https://www.drupal.org/documentation/modules/editor', '!ckeditor' => (\Drupal::moduleHandler()->moduleExists('ckeditor')) ? \Drupal::url('help.page', array('name' => 'ckeditor')) : '#')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Installing text editors') . '
'; @@ -268,7 +268,7 @@ function editor_load($format_id) { * safe from XSS attacks, or because the text format does not use any XSS * protection filters), otherwise the XSS filtered string. * - * @see https://drupal.org/node/2099741 + * @see https://www.drupal.org/node/2099741 */ function editor_filter_xss($html, FilterFormatInterface $format, FilterFormatInterface $original_format = NULL) { $editor = editor_load($format->id()); diff --git a/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php b/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php index 13c831129d8..99daa3bcfe7 100644 --- a/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php +++ b/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php @@ -146,7 +146,7 @@ class StandardTest extends UnitTestCase { // Spaces and meta chars before the JavaScript in images for XSS. // @see https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet#Spaces_and_meta_chars_before_the_JavaScript_in_images_for_XSS // @fixme This dataset currently fails under 5.4 because of - // https://drupal.org/node/1210798. Restore after it's fixed. + // https://www.drupal.org/node/1210798. Restore after it's fixed. if (version_compare(PHP_VERSION, '5.4.0', '<')) { $data[] = array('', ''); } @@ -486,7 +486,7 @@ xss:ex/*XSS*//*/*/pression(alert("XSS"))\'>', 'exp/*'); // IMG Embedded commands. // @see https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet#IMG_Embedded_commands // This one is irrelevant for Drupal; this is actually a CSRF, for which - // Drupal has CSRF protection, see https://drupal.org/node/178896. + // Drupal has CSRF protection. See https://www.drupal.org/node/178896. // Cookie manipulation. // @see https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet#Cookie_manipulation diff --git a/core/modules/entity_reference/entity_reference.module b/core/modules/entity_reference/entity_reference.module index d3d2d1bfd0c..e206dee52b7 100644 --- a/core/modules/entity_reference/entity_reference.module +++ b/core/modules/entity_reference/entity_reference.module @@ -23,7 +23,7 @@ function entity_reference_help($route_name, RouteMatchInterface $route_match) { case 'help.page.entity_reference': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Entity Reference module allows you to create fields that contain links to other entities (such as content items, taxonomy terms, etc.) within the site. This allows you, for example, to include a link to a user within a content item. For more information, see the online documentation for the Entity Reference module and the Field module help page.', array('!field_help' => \Drupal::url('help.page', array('name' => 'field')), '!er_do' => 'https://drupal.org/documentation/modules/entityreference')) . '

'; + $output .= '

' . t('The Entity Reference module allows you to create fields that contain links to other entities (such as content items, taxonomy terms, etc.) within the site. This allows you, for example, to include a link to a user within a content item. For more information, see the online documentation for the Entity Reference module and the Field module help page.', array('!field_help' => \Drupal::url('help.page', array('name' => 'field')), '!er_do' => 'https://www.drupal.org/documentation/modules/entityreference')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Managing and displaying entity reference fields') . '
'; diff --git a/core/modules/field/field.module b/core/modules/field/field.module index ece9e2f44e1..1ebea04617b 100644 --- a/core/modules/field/field.module +++ b/core/modules/field/field.module @@ -67,7 +67,7 @@ function field_help($route_name, RouteMatchInterface $route_match) { $field_ui_url = \Drupal::moduleHandler()->moduleExists('field_ui') ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#'; $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Field module allows custom data fields to be defined for entity types (see below). The Field module takes care of storing, loading, editing, and rendering field data. Most users will not interact with the Field module directly, but will instead use the Field UI module user interface. Module developers can use the Field API to make new entity types "fieldable" and thus allow fields to be attached to them. For more information, see the online documentation for the Field module.', array('!field-ui-help' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) :'#', '!field' => 'https://drupal.org/documentation/modules/field')). '

'; + $output .= '

' . t('The Field module allows custom data fields to be defined for entity types (see below). The Field module takes care of storing, loading, editing, and rendering field data. Most users will not interact with the Field module directly, but will instead use the Field UI module user interface. Module developers can use the Field API to make new entity types "fieldable" and thus allow fields to be attached to them. For more information, see the online documentation for the Field module.', array('!field-ui-help' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) :'#', '!field' => 'https://www.drupal.org/documentation/modules/field')). '

'; $output .= '

' . t('Terminology') . '

'; $output .= '
'; $output .= '
' . t('Entities and entity types') . '
'; @@ -84,7 +84,7 @@ function field_help($route_name, RouteMatchInterface $route_match) { $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Enabling field types, widgets, and formatters') . '
'; - $output .= '
' . t('The Field module provides the infrastructure for fields; the field types, formatters, and widgets are provided by Drupal core or additional modules. Some of the modules are required; the optional modules can be enabled from the Extend administration page. Additional fields, formatters, and widgets may be provided by contributed modules, which you can find in the contributed module section of Drupal.org.', array('!modules' => \Drupal::url('system.modules_list'), '!contrib' => 'https://drupal.org/project/modules')) . '
'; + $output .= '
' . t('The Field module provides the infrastructure for fields; the field types, formatters, and widgets are provided by Drupal core or additional modules. Some of the modules are required; the optional modules can be enabled from the Extend administration page. Additional fields, formatters, and widgets may be provided by contributed modules, which you can find in the contributed module section of Drupal.org.', array('!modules' => \Drupal::url('system.modules_list'), '!contrib' => 'https://www.drupal.org/project/modules')) . '
'; $output .= '

' . t('Field, widget, and formatter information') . '

'; diff --git a/core/modules/field/field.purge.inc b/core/modules/field/field.purge.inc index 4af0f4e4ec4..bd9203cecb2 100644 --- a/core/modules/field/field.purge.inc +++ b/core/modules/field/field.purge.inc @@ -88,7 +88,7 @@ function field_purge_batch($batch_size, $field_storage_uuid = NULL) { // We cannot purge anything if the entity type is unknown (e.g. the // providing module was uninstalled). - // @todo Revisit after https://drupal.org/node/2080823. + // @todo Revisit after https://www.drupal.org/node/2080823. if (!isset($info[$entity_type])) { continue; } @@ -116,7 +116,7 @@ function field_purge_batch($batch_size, $field_storage_uuid = NULL) { // We cannot purge anything if the entity type is unknown (e.g. the // providing module was uninstalled). - // @todo Revisit after https://drupal.org/node/2080823. + // @todo Revisit after https://www.drupal.org/node/2080823. if (!isset($info[$field_storage->getTargetEntityTypeId()])) { continue; } diff --git a/core/modules/field/src/Entity/FieldStorageConfig.php b/core/modules/field/src/Entity/FieldStorageConfig.php index 97db63f60d0..66b6fff4dda 100644 --- a/core/modules/field/src/Entity/FieldStorageConfig.php +++ b/core/modules/field/src/Entity/FieldStorageConfig.php @@ -701,7 +701,7 @@ class FieldStorageConfig extends ConfigEntityBase implements FieldStorageConfigI * * Using the Serialize interface and serialize() / unserialize() methods * breaks entity forms in PHP 5.4. - * @todo Investigate in https://drupal.org/node/2074253. + * @todo Investigate in https://www.drupal.org/node/2074253. */ public function __sleep() { // Only serialize necessary properties, excluding those that can be diff --git a/core/modules/field_ui/field_ui.module b/core/modules/field_ui/field_ui.module index b153c4dd292..b572c82b92c 100644 --- a/core/modules/field_ui/field_ui.module +++ b/core/modules/field_ui/field_ui.module @@ -24,7 +24,7 @@ function field_ui_help($route_name, RouteMatchInterface $route_match) { case 'help.page.field_ui': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Field UI module provides an administrative user interface (UI) for managing and displaying fields. Fields can be attached to most content entity sub-types. Different field types, widgets, and formatters are provided by the modules enabled on your site, and managed by the Field module. For background information and terminology related to fields and entities, see the Field module help page. For more information about the Field UI, see the online documentation for the Field UI module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui_docs' => 'https://drupal.org/documentation/modules/field-ui')) . '

'; + $output .= '

' . t('The Field UI module provides an administrative user interface (UI) for managing and displaying fields. Fields can be attached to most content entity sub-types. Different field types, widgets, and formatters are provided by the modules enabled on your site, and managed by the Field module. For background information and terminology related to fields and entities, see the Field module help page. For more information about the Field UI, see the online documentation for the Field UI module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui_docs' => 'https://www.drupal.org/documentation/modules/field-ui')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Creating a field') . '
'; diff --git a/core/modules/file/file.module b/core/modules/file/file.module index e351459e4d7..94ddc497de6 100644 --- a/core/modules/file/file.module +++ b/core/modules/file/file.module @@ -30,7 +30,7 @@ function file_help($route_name, RouteMatchInterface $route_match) { case 'help.page.file': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The File module allows you to create fields that contain files. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the File module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) :'#', '!file_documentation' => 'https://drupal.org/documentation/modules/file')) . '

'; + $output .= '

' . t('The File module allows you to create fields that contain files. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the File module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) :'#', '!file_documentation' => 'https://www.drupal.org/documentation/modules/file')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Managing and displaying file fields') . '
'; @@ -151,8 +151,8 @@ function file_copy(FileInterface $source, $destination = NULL, $replace = FILE_E $file->setFileUri($uri); $file->setFilename(drupal_basename($uri)); // If we are replacing an existing file re-use its database record. - // @todo Do not create a new entity in order to update it, see - // https://drupal.org/node/2241865 + // @todo Do not create a new entity in order to update it. See + // https://www.drupal.org/node/2241865. if ($replace == FILE_EXISTS_REPLACE) { $existing_files = entity_load_multiple_by_properties('file', array('uri' => $uri)); if (count($existing_files)) { @@ -498,8 +498,8 @@ function file_save_data($data, $destination = NULL, $replace = FILE_EXISTS_RENAM 'status' => FILE_STATUS_PERMANENT, )); // If we are replacing an existing file re-use its database record. - // @todo Do not create a new entity in order to update it, see - // https://drupal.org/node/2241865 + // @todo Do not create a new entity in order to update it. See + // https://www.drupal.org/node/2241865. if ($replace == FILE_EXISTS_REPLACE) { $existing_files = entity_load_multiple_by_properties('file', array('uri' => $uri)); if (count($existing_files)) { @@ -881,8 +881,8 @@ function file_save_upload($form_field_name, $validators = array(), $destination drupal_chmod($file->getFileUri()); // If we are replacing an existing file re-use its database record. - // @todo Do not create a new entity in order to update it, see - // https://drupal.org/node/2241865 + // @todo Do not create a new entity in order to update it. See + // https://www.drupal.org/node/2241865. if ($replace == FILE_EXISTS_REPLACE) { $existing_files = entity_load_multiple_by_properties('file', array('uri' => $file->getFileUri())); if (count($existing_files)) { diff --git a/core/modules/filter/filter.module b/core/modules/filter/filter.module index 30400c052f0..51b89e71ee6 100644 --- a/core/modules/filter/filter.module +++ b/core/modules/filter/filter.module @@ -26,7 +26,7 @@ function filter_help($route_name, RouteMatchInterface $route_match) { case 'help.page.filter': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Filter module allows administrators to configure text formats. Text formats define the HTML tags, codes, and other input allowed in text entered in the site and they defend your web site against potentially damaging input from malicious users. A visual text editor can be associated with the text formats by using the Text Editor module. For more information, see the online documentation for the Filter module.', array('!filter_do' => 'https://drupal.org/documentation/modules/filter/','!editor_help' => (\Drupal::moduleHandler()->moduleExists('editor')) ? \Drupal::url('help.page', array('name' => 'editor')) : '#')) . '

'; + $output .= '

' . t('The Filter module allows administrators to configure text formats. Text formats define the HTML tags, codes, and other input allowed in text entered in the site and they defend your web site against potentially damaging input from malicious users. A visual text editor can be associated with the text formats by using the Text Editor module. For more information, see the online documentation for the Filter module.', array('!filter_do' => 'https://www.drupal.org/documentation/modules/filter/','!editor_help' => (\Drupal::moduleHandler()->moduleExists('editor')) ? \Drupal::url('help.page', array('name' => 'editor')) : '#')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Managing text formats') . '
'; diff --git a/core/modules/filter/src/Tests/FilterAdminTest.php b/core/modules/filter/src/Tests/FilterAdminTest.php index 1dccd5d48fc..112c4862b42 100644 --- a/core/modules/filter/src/Tests/FilterAdminTest.php +++ b/core/modules/filter/src/Tests/FilterAdminTest.php @@ -138,7 +138,7 @@ class FilterAdminTest extends WebTestBase { // Cannot use the assertNoLinkByHref method as it does partial url matching // and 'admin/config/content/formats/manage/' . $format_id . '/disable' // exists. - // @todo: See https://drupal.org/node/2031223 for the above + // @todo: See https://www.drupal.org/node/2031223 for the above. $edit_link = $this->xpath('//a[@href=:href]', array( ':href' => \Drupal::url('entity.filter_format.edit_form', ['filter_format' => $format_id]) )); diff --git a/core/modules/filter/src/Tests/FilterUnitTest.php b/core/modules/filter/src/Tests/FilterUnitTest.php index 57a90f90f6f..0e6c3c48fc4 100644 --- a/core/modules/filter/src/Tests/FilterUnitTest.php +++ b/core/modules/filter/src/Tests/FilterUnitTest.php @@ -203,7 +203,7 @@ class FilterUnitTest extends KernelTestBase { return Standard::filterXss($input, $dummy_filter_format); }; - // All the tricky cases encountered at https://drupal.org/node/2105841. + // All the tricky cases encountered at https://www.drupal.org/node/2105841. // A plain URL preceded by text. $input = ''; $expected = '
See https://www.drupal.org
'; @@ -621,8 +621,8 @@ Partial URL with 3 trailing www.partial.periods... Email with 3 trailing exclamations@example.com!!! Absolute URL and query string with 2 different punctuation characters (http://www.example.com/q=abc). Partial URL with brackets in the URL as well as surrounded brackets (www.foo.com/more_(than)_one_(parens)). -Absolute URL with square brackets in the URL as well as surrounded brackets [http://www.drupal.org/?class[]=1] -Absolute URL with quotes "http://www.drupal.org/sample" +Absolute URL with square brackets in the URL as well as surrounded brackets [https://www.drupal.org/?class[]=1] +Absolute URL with quotes "https://www.drupal.org/sample" ' => array( 'period www.partial.com.' => TRUE, @@ -633,8 +633,8 @@ Absolute URL with quotes "http://www.drupal.org/sample" 'trailing exclamations@example.com!!!' => TRUE, 'characters (http://www.example.com/q=abc).' => TRUE, 'brackets (www.foo.com/more_(than)_one_(parens)).' => TRUE, - 'brackets [http://www.drupal.org/?class[]=1]' => TRUE, - 'quotes "http://www.drupal.org/sample"' => TRUE, + 'brackets [https://www.drupal.org/?class[]=1]' => TRUE, + 'quotes "https://www.drupal.org/sample"' => TRUE, ), ' (www.parenthesis.com/dir?a=1&b=2#a) diff --git a/core/modules/forum/forum.module b/core/modules/forum/forum.module index e9ccb3eb515..01a66e5fcf7 100644 --- a/core/modules/forum/forum.module +++ b/core/modules/forum/forum.module @@ -36,7 +36,7 @@ function forum_help($route_name, RouteMatchInterface $route_match) { $output .= '
  • ' . t('Optional containers, used to group similar forums. Forums can be placed inside containers, and vice versa.').'
  • '; $output .= ''; $output .= '

    '; - $output .= '

    ' . t('For more information, see the online documentation for the Forum module.', array('!forum' => 'https://drupal.org/documentation/modules/forum')) . '

    '; + $output .= '

    ' . t('For more information, see the online documentation for the Forum module.', array('!forum' => 'https://www.drupal.org/documentation/modules/forum')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Setting up the forum structure') . '
    '; diff --git a/core/modules/hal/hal.module b/core/modules/hal/hal.module index a6c915ede04..cc56e72e482 100644 --- a/core/modules/hal/hal.module +++ b/core/modules/hal/hal.module @@ -17,7 +17,7 @@ function hal_help($route_name, RouteMatchInterface $route_match) { $output .= '

    ' . t('About') . '

    '; $output .= '

    ' . t('Hypertext Application Language (HAL) is a format that supports the linking required for hypermedia APIs.', array('!hal_spec' => 'http://stateless.co/hal_specification.html')) . '

    '; $output .= '

    ' . t('Hypermedia APIs are a style of Web API that uses URIs to identify resources and the link relations between them, enabling API consumers to follow links to discover API functionality.', array('!link_rel' => 'http://en.wikipedia.org/wiki/Link_relation')) . '

    '; - $output .= '

    ' . t('This module adds support for serializing entities (such as content items, taxonomy terms, etc.) to the JSON version of HAL. For more information, see the online documentation for the HAL module.', array('!hal_do' => 'https://drupal.org/documentation/modules/hal')) . '

    '; + $output .= '

    ' . t('This module adds support for serializing entities (such as content items, taxonomy terms, etc.) to the JSON version of HAL. For more information, see the online documentation for the HAL module.', array('!hal_do' => 'https://www.drupal.org/documentation/modules/hal')) . '

    '; return $output; } } diff --git a/core/modules/help/help.api.php b/core/modules/help/help.api.php index e636482b057..09a3d3dbd71 100644 --- a/core/modules/help/help.api.php +++ b/core/modules/help/help.api.php @@ -27,7 +27,7 @@ * For detailed usage examples of: * - Module overview help, see content_translation_help(). Module overview * help should follow - * @link https://drupal.org/node/632280 the standard help template. @endlink + * @link https://www.drupal.org/node/632280 the standard help template. @endlink * - Page-specific help using only routes, see book_help(). * - Page-specific help using routes and $request, see block_help(). * diff --git a/core/modules/help/help.module b/core/modules/help/help.module index 163ad9ff14d..3ec6fd81e9d 100644 --- a/core/modules/help/help.module +++ b/core/modules/help/help.module @@ -18,20 +18,20 @@ function help_help($route_name, RouteMatchInterface $route_match) { $output .= '

    ' . t('Follow these steps to set up and start using your website:') . '

    '; $output .= '
      '; $output .= '
    1. ' . t('Configure your website Once logged in, visit the Administration page, where you may customize and configure all aspects of your website.', array('!admin' => \Drupal::url('system.admin'), '!config' => \Drupal::url('system.admin_config'))) . '
    2. '; - $output .= '
    3. ' . t('Enable additional functionality Next, visit the Extend page and enable modules that suit your specific needs. You can find additional modules at the Drupal.org modules page.', array('!modules' => \Drupal::url('system.modules_list'), '!download_modules' => 'https://drupal.org/project/modules')) . '
    4. '; - $output .= '
    5. ' . t('Customize your website design To change the "look and feel" of your website, visit the Appearance page. You may choose from one of the included themes or download additional themes from the Drupal.org themes page.', array('!themes' => \Drupal::url('system.themes_page'), '!download_themes' => 'https://drupal.org/project/themes')) . '
    6. '; + $output .= '
    7. ' . t('Enable additional functionality Next, visit the Extend page and enable modules that suit your specific needs. You can find additional modules at the Drupal.org modules page.', array('!modules' => \Drupal::url('system.modules_list'), '!download_modules' => 'https://www.drupal.org/project/modules')) . '
    8. '; + $output .= '
    9. ' . t('Customize your website design To change the "look and feel" of your website, visit the Appearance page. You may choose from one of the included themes or download additional themes from the Drupal.org themes page.', array('!themes' => \Drupal::url('system.themes_page'), '!download_themes' => 'https://www.drupal.org/project/themes')) . '
    10. '; // Display a link to the create content page if Node module is enabled. if (\Drupal::moduleHandler()->moduleExists('node')) { $output .= '
    11. ' . t('Start posting content Finally, you may add new content to your website.', array('!content' => \Drupal::url('node.add_page'))) . '
    12. '; } $output .= '
    '; - $output .= '

    ' . t('For more information, refer to the subjects listed in the Help Topics section or to the online documentation and support pages at drupal.org.', array('!docs' => 'https://drupal.org/documentation', '!support' => 'https://drupal.org/support', '!drupal' => 'https://drupal.org')) . '

    '; + $output .= '

    ' . t('For more information, refer to the subjects listed in the Help Topics section or to the online documentation and support pages at drupal.org.', array('!docs' => 'https://www.drupal.org/documentation', '!support' => 'https://www.drupal.org/support', '!drupal' => 'https://www.drupal.org')) . '

    '; return $output; case 'help.page.help': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Help module generates Help reference pages to guide you through the use and configuration of modules, and provides a Help block with page-level help. The reference pages are a starting point for Drupal.org online documentation pages that contain more extensive and up-to-date information, are annotated with user-contributed comments, and serve as the definitive reference point for all Drupal documentation. For more information, see the online documentation for the Help module.', array('!help' => 'https://drupal.org/documentation/modules/help/', '!handbook' => 'https://drupal.org/documentation', '!help-page' => \Drupal::url('help.main'))) . '

    '; + $output .= '

    ' . t('The Help module generates Help reference pages to guide you through the use and configuration of modules, and provides a Help block with page-level help. The reference pages are a starting point for Drupal.org online documentation pages that contain more extensive and up-to-date information, are annotated with user-contributed comments, and serve as the definitive reference point for all Drupal documentation. For more information, see the online documentation for the Help module.', array('!help' => 'https://www.drupal.org/documentation/modules/help/', '!handbook' => 'https://www.drupal.org/documentation', '!help-page' => \Drupal::url('help.main'))) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Providing a help reference') . '
    '; diff --git a/core/modules/help/src/Tests/HelpTest.php b/core/modules/help/src/Tests/HelpTest.php index f76e576eae3..0ea0d426a35 100644 --- a/core/modules/help/src/Tests/HelpTest.php +++ b/core/modules/help/src/Tests/HelpTest.php @@ -61,7 +61,7 @@ class HelpTest extends WebTestBase { // Verify that introductory help text exists, goes for 100% module coverage. $this->drupalLogin($this->adminUser); $this->drupalGet('admin/help'); - $this->assertRaw(t('For more information, refer to the subjects listed in the Help Topics section or to the online documentation and support pages at drupal.org.', array('!docs' => 'https://drupal.org/documentation', '!support' => 'https://drupal.org/support', '!drupal' => 'https://drupal.org')), 'Help intro text correctly appears.'); + $this->assertRaw(t('For more information, refer to the subjects listed in the Help Topics section or to the online documentation and support pages at drupal.org.', array('!docs' => 'https://www.drupal.org/documentation', '!support' => 'https://www.drupal.org/support', '!drupal' => 'https://www.drupal.org')), 'Help intro text correctly appears.'); // Verify that help topics text appears. $this->assertRaw('

    ' . t('Help topics') . '

    ' . t('Help is available on the following items:') . '

    ', 'Help topics text correctly appears.'); diff --git a/core/modules/history/history.module b/core/modules/history/history.module index ddb4b422d88..02d05cfe86f 100644 --- a/core/modules/history/history.module +++ b/core/modules/history/history.module @@ -28,7 +28,7 @@ function history_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.history': $output = '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The History module keeps track of which content a user has read. It marks content as new or updated depending on the last time the user viewed it. History records that are older than one month are removed during cron, which means that content older than one month is always considered read. The History module does not have a user interface but it provides a filter to Views to show new or updated content. For more information, see the online documentation for the History module.', array('!views-help' => (\Drupal::moduleHandler()->moduleExists('views')) ? \Drupal::url('help.page', array ('name' => 'views')): '#', '!url' => 'https://drupal.org/documentation/modules/history')) . '

    '; + $output .= '

    ' . t('The History module keeps track of which content a user has read. It marks content as new or updated depending on the last time the user viewed it. History records that are older than one month are removed during cron, which means that content older than one month is always considered read. The History module does not have a user interface but it provides a filter to Views to show new or updated content. For more information, see the online documentation for the History module.', array('!views-help' => (\Drupal::moduleHandler()->moduleExists('views')) ? \Drupal::url('help.page', array ('name' => 'views')): '#', '!url' => 'https://www.drupal.org/documentation/modules/history')) . '

    '; return $output; } } diff --git a/core/modules/image/image.module b/core/modules/image/image.module index 6074a4ba7b7..0e926feb849 100644 --- a/core/modules/image/image.module +++ b/core/modules/image/image.module @@ -55,7 +55,7 @@ function image_help($route_name, RouteMatchInterface $route_match) { $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Image module allows you to create fields that contain image files and to configure Image styles that can be used to manipulate the display of images. See the Field module help and the Field UI help pages for terminology and general information on entities, fields, and how to create and manage fields. For more information, see the online documentation for the Image module.', array('!image_styles' => \Drupal::url('entity.image_style.collection'), '!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => $field_ui_url, '!image_documentation' => 'https://drupal.org/documentation/modules/image')) . '

    '; + $output .= '

    ' . t('The Image module allows you to create fields that contain image files and to configure Image styles that can be used to manipulate the display of images. See the Field module help and the Field UI help pages for terminology and general information on entities, fields, and how to create and manage fields. For more information, see the online documentation for the Image module.', array('!image_styles' => \Drupal::url('entity.image_style.collection'), '!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => $field_ui_url, '!image_documentation' => 'https://www.drupal.org/documentation/modules/image')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    ' . t('Defining image styles') . '
    '; $output .= '
    ' . t('The concept of image styles is that you can upload a single image but display it in several ways; each display variation, or image style, is the result of applying one or more effects to the original image. As an example, you might upload a high-resolution image with a 4:3 aspect ratio, and display it scaled down, square cropped, or black-and-white (or any combination of these effects). The Image module provides a way to do this efficiently: you configure an image style with the desired effects on the Image styles page, and the first time a particular image is requested in that style, the effects are applied. The resulting image is saved, and the next time that same style is requested, the saved image is retrieved without the need to recalculate the effects. Drupal core provides several effects that you can use to define styles; others may be provided by contributed modules.', array('!image' => \Drupal::url('entity.image_style.collection'))); diff --git a/core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php b/core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php index e2b68164f59..6d945aae2ea 100644 --- a/core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php +++ b/core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php @@ -229,7 +229,7 @@ class ImageWidget extends FileWidget { '#type' => 'textfield', '#default_value' => isset($item['alt']) ? $item['alt'] : '', '#description' => t('This text will be used by screen readers, search engines, or when the image cannot be loaded.'), - // @see https://drupal.org/node/465106#alt-text + // @see https://www.drupal.org/node/465106#alt-text '#maxlength' => 512, '#weight' => -12, '#access' => (bool) $item['fids'] && $element['#alt_field'], diff --git a/core/modules/language/language.api.php b/core/modules/language/language.api.php index 9636f4c70a7..1e244d0e9b9 100644 --- a/core/modules/language/language.api.php +++ b/core/modules/language/language.api.php @@ -29,7 +29,7 @@ * used. * * @todo Rename the 'fixed' key to something more meaningful, for instance - * 'negotiation settings'. See https://drupal.org/node/2166879. + * 'negotiation settings'. See https://www.drupal.org/node/2166879. * * @see hook_language_types_info_alter() * @ingroup language_negotiation diff --git a/core/modules/language/language.module b/core/modules/language/language.module index 4e7f017f9d5..0c6c891bbcf 100644 --- a/core/modules/language/language.module +++ b/core/modules/language/language.module @@ -29,7 +29,7 @@ function language_help($route_name, RouteMatchInterface $route_match) { case 'help.page.language': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Language module allows you to configure the languages used on your site, and provides information for the for Content Translation, Interface Translation, and Configuration Translation modules, if they are enabled. For more information, see the online documentation for the Language module.', array('!doc_url' => 'https://drupal.org/documentation/modules/language', '!content' => (\Drupal::moduleHandler()->moduleExists('content_translation')) ? \Drupal::url('help.page', array('name' => 'content_translation')) : '#', '!interface' => (\Drupal::moduleHandler()->moduleExists('locale')) ? \Drupal::url('help.page', array('name' => 'locale')) : '#', '!configuration' => (\Drupal::moduleHandler()->moduleExists('config_translation')) ? \Drupal::url('help.page', array('name' => 'config_translation')) : '#')) . '

    '; + $output .= '

    ' . t('The Language module allows you to configure the languages used on your site, and provides information for the for Content Translation, Interface Translation, and Configuration Translation modules, if they are enabled. For more information, see the online documentation for the Language module.', array('!doc_url' => 'https://www.drupal.org/documentation/modules/language', '!content' => (\Drupal::moduleHandler()->moduleExists('content_translation')) ? \Drupal::url('help.page', array('name' => 'content_translation')) : '#', '!interface' => (\Drupal::moduleHandler()->moduleExists('locale')) ? \Drupal::url('help.page', array('name' => 'locale')) : '#', '!configuration' => (\Drupal::moduleHandler()->moduleExists('config_translation')) ? \Drupal::url('help.page', array('name' => 'config_translation')) : '#')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Adding languages') . '
    '; diff --git a/core/modules/language/src/Config/LanguageConfigOverride.php b/core/modules/language/src/Config/LanguageConfigOverride.php index b673f347567..364825314cf 100644 --- a/core/modules/language/src/Config/LanguageConfigOverride.php +++ b/core/modules/language/src/Config/LanguageConfigOverride.php @@ -53,7 +53,7 @@ class LanguageConfigOverride extends StorableConfigBase { public function save($has_trusted_data = FALSE) { if (!$has_trusted_data) { // @todo Use configuration schema to validate. - // https://drupal.org/node/2270399 + // https://www.drupal.org/node/2270399 // Perform basic data validation. foreach ($this->data as $key => $value) { $this->validateValue($key, $value); diff --git a/core/modules/language/src/Plugin/Block/LanguageBlock.php b/core/modules/language/src/Plugin/Block/LanguageBlock.php index 3d31770b48f..3995ecebe0b 100644 --- a/core/modules/language/src/Plugin/Block/LanguageBlock.php +++ b/core/modules/language/src/Plugin/Block/LanguageBlock.php @@ -112,7 +112,7 @@ class LanguageBlock extends BlockBase implements ContainerFactoryPluginInterface /** * {@inheritdoc} * - * @todo Make cacheable in https://drupal.org/node/2232375. + * @todo Make cacheable in https://www.drupal.org/node/2232375. */ public function getCacheMaxAge() { return 0; diff --git a/core/modules/link/link.module b/core/modules/link/link.module index 84c681143c5..8ce087f5881 100644 --- a/core/modules/link/link.module +++ b/core/modules/link/link.module @@ -16,7 +16,7 @@ function link_help($route_name, RouteMatchInterface $route_match) { case 'help.page.link': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Link module allows you to create fields that contain internal or external URLs and optional link text. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Link module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#', '!link_documentation' => 'https://drupal.org/documentation/modules/link')) . '

    '; + $output .= '

    ' . t('The Link module allows you to create fields that contain internal or external URLs and optional link text. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Link module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#', '!link_documentation' => 'https://www.drupal.org/documentation/modules/link')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Managing and displaying link fields') . '
    '; diff --git a/core/modules/link/src/Tests/LinkItemTest.php b/core/modules/link/src/Tests/LinkItemTest.php index 0b2988add76..8431757e4f8 100644 --- a/core/modules/link/src/Tests/LinkItemTest.php +++ b/core/modules/link/src/Tests/LinkItemTest.php @@ -48,7 +48,7 @@ class LinkItemTest extends FieldUnitTestBase { public function testLinkItem() { // Create entity. $entity = entity_create('entity_test'); - $url = 'http://www.drupal.org?test_param=test_value'; + $url = 'https://www.drupal.org?test_param=test_value'; $parsed_url = UrlHelper::parse($url); $title = $this->randomMachineName(); $class = $this->randomMachineName(); diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module index 56f967e8b82..99b7e343054 100644 --- a/core/modules/locale/locale.module +++ b/core/modules/locale/locale.module @@ -149,7 +149,7 @@ function locale_help($route_name, RouteMatchInterface $route_match) { case 'help.page.locale': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Interface Translation module allows you to translate interface text (strings) into different languages, and to switch between them for the display of interface text. It uses the functionality provided by the Language module. For more information, see the online documentation for the Interface Translation module.', array('!doc-url' => 'https://drupal.org/documentation/modules/locale/', '!language' => \Drupal::url('help.page', array('name' => 'language')))) . '

    '; + $output .= '

    ' . t('The Interface Translation module allows you to translate interface text (strings) into different languages, and to switch between them for the display of interface text. It uses the functionality provided by the Language module. For more information, see the online documentation for the Interface Translation module.', array('!doc-url' => 'https://www.drupal.org/documentation/modules/locale/', '!language' => \Drupal::url('help.page', array('name' => 'language')))) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Importing translation files') . '
    '; diff --git a/core/modules/locale/tests/modules/early_translation_test/src/Auth.php b/core/modules/locale/tests/modules/early_translation_test/src/Auth.php index 12da491c612..bfd995c239c 100644 --- a/core/modules/locale/tests/modules/early_translation_test/src/Auth.php +++ b/core/modules/locale/tests/modules/early_translation_test/src/Auth.php @@ -34,7 +34,7 @@ class Auth implements AuthenticationProviderInterface { // Getting the user storage used to result in a circular reference since // translation involves a call to \Drupal\locale\LocaleLookup that tries to // get the user roles. - // @see https://drupal.org/node/2241461 + // @see https://www.drupal.org/node/2241461 $this->userStorage = $entity_manager->getStorage('user'); } diff --git a/core/modules/menu_ui/menu_ui.install b/core/modules/menu_ui/menu_ui.install index a75a02ca6da..a79e50378db 100644 --- a/core/modules/menu_ui/menu_ui.install +++ b/core/modules/menu_ui/menu_ui.install @@ -13,7 +13,7 @@ function menu_ui_install() { // @todo - remove this when we understand why removing it breaks the // standard install profile, possibly need to be handled in // \Drupal\Core\Extension\ModuleHandler::install(). - // @see https://drupal.org/node/2181151 + // @see https://www.drupal.org/node/2181151 \Drupal::service('router.builder')->rebuild(); } diff --git a/core/modules/menu_ui/menu_ui.module b/core/modules/menu_ui/menu_ui.module index c910510bbd4..471f0a960e3 100644 --- a/core/modules/menu_ui/menu_ui.module +++ b/core/modules/menu_ui/menu_ui.module @@ -35,7 +35,7 @@ function menu_ui_help($route_name, RouteMatchInterface $route_match) { case 'help.page.menu_ui': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Menu UI module provides an interface for managing menus. A menu is a hierarchical collection of links, which can be within or external to the site, generally used for navigation. For more information, see the online documentation for the Menu UI module.', array('!menu' => 'https://drupal.org/documentation/modules/menu/')) . '

    '; + $output .= '

    ' . t('The Menu UI module provides an interface for managing menus. A menu is a hierarchical collection of links, which can be within or external to the site, generally used for navigation. For more information, see the online documentation for the Menu UI module.', array('!menu' => 'https://www.drupal.org/documentation/modules/menu/')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Managing menus') . '
    '; diff --git a/core/modules/migrate/migrate.api.php b/core/modules/migrate/migrate.api.php index 7cfb9b73f6f..005ccc86328 100644 --- a/core/modules/migrate/migrate.api.php +++ b/core/modules/migrate/migrate.api.php @@ -41,7 +41,7 @@ use Drupal\migrate\Row; * @ref sec_entity below for details. To migrate an entire site, you'll need to * create a migration manifest; see @ref sec_manifest for details. * - * https://drupal.org/node/2127611 has more complete information on the + * https://www.drupal.org/node/2127611 has more complete information on the * Migration API, including information on load plugins, which are only used * in Drupal 6 migration. * diff --git a/core/modules/migrate/src/MigrateExecutable.php b/core/modules/migrate/src/MigrateExecutable.php index f33781e9fca..139a07d30b3 100644 --- a/core/modules/migrate/src/MigrateExecutable.php +++ b/core/modules/migrate/src/MigrateExecutable.php @@ -227,7 +227,7 @@ class MigrateExecutable implements MigrateExecutableInterface { $this->source = $this->migration->getSourcePlugin(); // @TODO, find out how to remove this. - // @see https://drupal.org/node/2443617 + // @see https://www.drupal.org/node/2443617 $this->source->migrateExecutable = $this; } return $this->source; diff --git a/core/modules/migrate/src/Plugin/migrate/process/Extract.php b/core/modules/migrate/src/Plugin/migrate/process/Extract.php index 72a27150162..4c3128592b5 100644 --- a/core/modules/migrate/src/Plugin/migrate/process/Extract.php +++ b/core/modules/migrate/src/Plugin/migrate/process/Extract.php @@ -16,7 +16,7 @@ use Drupal\migrate\Row; /** * This plugin extracts a value from an array. * - * @see https://drupal.org/node/2152731 + * @see https://www.drupal.org/node/2152731 * * @MigrateProcessPlugin( * id = "extract" diff --git a/core/modules/migrate/src/Plugin/migrate/process/Flatten.php b/core/modules/migrate/src/Plugin/migrate/process/Flatten.php index f841ee7e37f..52781a06fed 100644 --- a/core/modules/migrate/src/Plugin/migrate/process/Flatten.php +++ b/core/modules/migrate/src/Plugin/migrate/process/Flatten.php @@ -17,7 +17,7 @@ use Drupal\migrate\Row; * once a single value gets transformed into multiple values. This plugin will * flatten them back down to single values again. * - * @see https://drupal.org/node/2154215 + * @see https://www.drupal.org/node/2154215 * * @MigrateProcessPlugin( * id = "flatten", diff --git a/core/modules/migrate/src/Plugin/migrate/process/Iterator.php b/core/modules/migrate/src/Plugin/migrate/process/Iterator.php index 01bbd735e55..7706a5e92fb 100644 --- a/core/modules/migrate/src/Plugin/migrate/process/Iterator.php +++ b/core/modules/migrate/src/Plugin/migrate/process/Iterator.php @@ -14,7 +14,7 @@ use Drupal\migrate\Row; /** * This plugin iterates and processes an array. * - * @see https://drupal.org/node/2135345 + * @see https://www.drupal.org/node/2135345 * * @MigrateProcessPlugin( * id = "iterator", diff --git a/core/modules/migrate/src/Plugin/migrate/process/StaticMap.php b/core/modules/migrate/src/Plugin/migrate/process/StaticMap.php index bac23817d8f..02c804a035d 100644 --- a/core/modules/migrate/src/Plugin/migrate/process/StaticMap.php +++ b/core/modules/migrate/src/Plugin/migrate/process/StaticMap.php @@ -17,7 +17,7 @@ use Drupal\migrate\MigrateSkipRowException; /** * This plugin changes the current value based on a static lookup map. * - * @see https://drupal.org/node/2143521 + * @see https://www.drupal.org/node/2143521 * * @MigrateProcessPlugin( * id = "static_map" diff --git a/core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php b/core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php index 9a178061446..2ebcbbad760 100644 --- a/core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php +++ b/core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php @@ -145,7 +145,7 @@ abstract class SourcePluginBase extends PluginBase implements MigrateSourceInter protected $iterator; // @TODO, find out how to remove this. - // @see https://drupal.org/node/2443617 + // @see https://www.drupal.org/node/2443617 public $migrateExecutable; /** diff --git a/core/modules/migrate/src/ProcessPluginBase.php b/core/modules/migrate/src/ProcessPluginBase.php index f5652a167f4..8cceead829f 100644 --- a/core/modules/migrate/src/ProcessPluginBase.php +++ b/core/modules/migrate/src/ProcessPluginBase.php @@ -17,7 +17,7 @@ use Drupal\migrate\Plugin\MigrateProcessInterface; * transform a human provided name into a machine name, look up an identifier * in a previous migration and so on. * - * @see https://drupal.org/node/2129651 + * @see https://www.drupal.org/node/2129651 * @see \Drupal\migrate\Plugin\MigratePluginManager * @see \Drupal\migrate\Plugin\MigrateProcessInterface * @see \Drupal\migrate\Annotation\MigrateProcessPlugin diff --git a/core/modules/migrate_drupal/src/Plugin/migrate/source/d6/Comment.php b/core/modules/migrate_drupal/src/Plugin/migrate/source/d6/Comment.php index 621dc56ab8c..56575a9846a 100644 --- a/core/modules/migrate_drupal/src/Plugin/migrate/source/d6/Comment.php +++ b/core/modules/migrate_drupal/src/Plugin/migrate/source/d6/Comment.php @@ -48,7 +48,7 @@ class Comment extends DrupalSqlBase { $row->setSourceProperty('comment_type', 'comment_no_subject'); } // In D6, status=0 means published, while in D8 means the opposite. - // See https://drupal.org/node/237636 + // See https://www.drupal.org/node/237636. $row->setSourceProperty('status', !$row->getSourceProperty('status')); return parent::prepareRow($row); } diff --git a/core/modules/node/node.module b/core/modules/node/node.module index 4f8f610f490..aa26ce4bcc3 100644 --- a/core/modules/node/node.module +++ b/core/modules/node/node.module @@ -82,7 +82,7 @@ function node_help($route_name, RouteMatchInterface $route_match) { case 'help.page.node': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Node module manages the creation, editing, deletion, settings, and display of the main site content. Content items managed by the Node module are typically displayed as pages on your site, and include a title, some meta-data (author, creation time, content type, etc.), and optional fields containing text or other data (fields are managed by the Field module). For more information, see the online documentation for the Node module.', array('!node' => 'https://drupal.org/documentation/modules/node', '!field' => \Drupal::url('help.page', array('name' => 'field')))) . '

    '; + $output .= '

    ' . t('The Node module manages the creation, editing, deletion, settings, and display of the main site content. Content items managed by the Node module are typically displayed as pages on your site, and include a title, some meta-data (author, creation time, content type, etc.), and optional fields containing text or other data (fields are managed by the Field module). For more information, see the online documentation for the Node module.', array('!node' => 'https://www.drupal.org/documentation/modules/node', '!field' => \Drupal::url('help.page', array('name' => 'field')))) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Creating content') . '
    '; @@ -749,8 +749,9 @@ function node_page_title(NodeInterface $node) { * @return string * A unix timestamp indicating the last time the node was changed. * - * @todo Remove once https://drupal.org/node/2002180 is resolved. It's only used - * for validation, which will be done by EntityChangedConstraintValidator. + * @todo Remove once https://www.drupal.org/node/2002180 is resolved. It's only + * used for validation, which will be done by + * EntityChangedConstraintValidator. */ function node_last_changed($nid, $langcode = NULL) { $node = \Drupal::entityManager()->getStorage('node')->loadUnchanged($nid); diff --git a/core/modules/node/src/NodeStorageSchema.php b/core/modules/node/src/NodeStorageSchema.php index 4d02d3b0d82..320f797305b 100644 --- a/core/modules/node/src/NodeStorageSchema.php +++ b/core/modules/node/src/NodeStorageSchema.php @@ -74,7 +74,8 @@ class NodeStorageSchema extends SqlContentEntityStorageSchema { case 'changed': case 'created': case 'langcode': - // @todo Revisit index definitions: https://drupal.org/node/2015277. + // @todo Revisit index definitions: + // https://www.drupal.org/node/2015277. $this->addSharedTableFieldIndex($storage_definition, $schema, TRUE); break; } diff --git a/core/modules/node/src/NodeViewsData.php b/core/modules/node/src/NodeViewsData.php index ceb55876b80..ab1e0308a31 100644 --- a/core/modules/node/src/NodeViewsData.php +++ b/core/modules/node/src/NodeViewsData.php @@ -80,7 +80,7 @@ class NodeViewsData extends EntityViewsData { // Bogus fields for aliasing purposes. // @todo Add similar support to any date field - // @see https://drupal.org/node/2337507 + // @see https://www.drupal.org/node/2337507 $data['node_field_data']['created_fulldate'] = array( 'title' => t('Created date'), 'help' => t('Date in the form of CCYYMMDD.'), diff --git a/core/modules/options/options.module b/core/modules/options/options.module index 7abae5c6cb0..aa2074dab5e 100644 --- a/core/modules/options/options.module +++ b/core/modules/options/options.module @@ -19,7 +19,7 @@ function options_help($route_name, RouteMatchInterface $route_match) { case 'help.page.options': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Options module allows you to create fields where data values are selected from a fixed list of options. Usually these items are entered through a select list, checkboxes, or radio buttons. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Options module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#', '!options_do' => 'https://drupal.org/documentation/modules/options')) . '

    '; + $output .= '

    ' . t('The Options module allows you to create fields where data values are selected from a fixed list of options. Usually these items are entered through a select list, checkboxes, or radio buttons. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Options module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#', '!options_do' => 'https://www.drupal.org/documentation/modules/options')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Managing and displaying list fields') . '
    '; diff --git a/core/modules/page_cache/src/StackMiddleware/PageCache.php b/core/modules/page_cache/src/StackMiddleware/PageCache.php index 4c4bdf99ce8..1629c14c331 100644 --- a/core/modules/page_cache/src/StackMiddleware/PageCache.php +++ b/core/modules/page_cache/src/StackMiddleware/PageCache.php @@ -156,7 +156,8 @@ class PageCache implements HttpKernelInterface { } // Perform HTTP revalidation. - // @todo Use Response::isNotModified() as per https://drupal.org/node/2259489 + // @todo Use Response::isNotModified() as + // per https://www.drupal.org/node/2259489. $last_modified = $response->getLastModified(); if ($last_modified) { // See if the client has provided the required HTTP headers. diff --git a/core/modules/path/path.module b/core/modules/path/path.module index 494c338f38d..31483430f18 100644 --- a/core/modules/path/path.module +++ b/core/modules/path/path.module @@ -20,7 +20,7 @@ function path_help($route_name, RouteMatchInterface $route_match) { case 'help.page.path': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Path module allows you to specify an alias, or custom URL, for any existing internal system path. Aliases should not be confused with URL redirects, which allow you to forward a changed or inactive URL to a new URL. In addition to making URLs more readable, aliases also help search engines index content more effectively. Multiple aliases may be used for a single internal system path. To automate the aliasing of paths, you can install the contributed module Pathauto. For more information, see the online documentation for the Path module.', array('!path' => 'https://drupal.org/documentation/modules/path', '!pathauto' => 'https://drupal.org/project/pathauto')) . '

    '; + $output .= '

    ' . t('The Path module allows you to specify an alias, or custom URL, for any existing internal system path. Aliases should not be confused with URL redirects, which allow you to forward a changed or inactive URL to a new URL. In addition to making URLs more readable, aliases also help search engines index content more effectively. Multiple aliases may be used for a single internal system path. To automate the aliasing of paths, you can install the contributed module Pathauto. For more information, see the online documentation for the Path module.', array('!path' => 'https://www.drupal.org/documentation/modules/path', '!pathauto' => 'https://www.drupal.org/project/pathauto')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Creating aliases') . '
    '; diff --git a/core/modules/quickedit/js/quickedit.js b/core/modules/quickedit/js/quickedit.js index 7dcb6cb196d..274913bca22 100644 --- a/core/modules/quickedit/js/quickedit.js +++ b/core/modules/quickedit/js/quickedit.js @@ -408,7 +408,7 @@ return; } - // @see https://drupal.org/node/2029999. + // @see https://www.drupal.org/node/2029999. // Create a Drupal.Ajax instance to load the form. var loadEditorsAjax = Drupal.ajax({ url: Drupal.url('quickedit/attachments'), diff --git a/core/modules/quickedit/quickedit.module b/core/modules/quickedit/quickedit.module index 38805a2b977..eb37956e44d 100644 --- a/core/modules/quickedit/quickedit.module +++ b/core/modules/quickedit/quickedit.module @@ -22,7 +22,7 @@ function quickedit_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.quickedit': $output = '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Quick Edit module allows users with the Access in-place editing and Use contextual links permissions to edit field content without visiting a separate page. For more information, see the online documentation for the Quick Edit module.', array('!handbook_url' => 'https://drupal.org/documentation/modules/edit', '!quickedit_permission' => \Drupal::url('user.admin_permissions', array(), array('fragment' => 'module-quickedit')), '!contextual_permission' => \Drupal::url('user.admin_permissions', array(), array('fragment' => 'module-contextual')))) . '

    '; + $output .= '

    ' . t('The Quick Edit module allows users with the Access in-place editing and Use contextual links permissions to edit field content without visiting a separate page. For more information, see the online documentation for the Quick Edit module.', array('!handbook_url' => 'https://www.drupal.org/documentation/modules/edit', '!quickedit_permission' => \Drupal::url('user.admin_permissions', array(), array('fragment' => 'module-quickedit')), '!contextual_permission' => \Drupal::url('user.admin_permissions', array(), array('fragment' => 'module-contextual')))) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Editing content in-place') . '
    '; @@ -125,7 +125,7 @@ function quickedit_preprocess_field(&$variables) { // "display options" (which \Drupal\Core\Field\FieldItemListInterface::view() // always names the "_custom" view mode). // @see \Drupal\Core\Field\FieldItemListInterface::view() - // @see https://drupal.org/node/2120335 + // @see https://www.drupal.org/node/2120335 if ($element['#view_mode'] === '_custom') { return; } diff --git a/core/modules/quickedit/src/Access/EditEntityFieldAccessCheck.php b/core/modules/quickedit/src/Access/EditEntityFieldAccessCheck.php index 813ba45d0b3..0cac639ecb1 100644 --- a/core/modules/quickedit/src/Access/EditEntityFieldAccessCheck.php +++ b/core/modules/quickedit/src/Access/EditEntityFieldAccessCheck.php @@ -32,7 +32,7 @@ class EditEntityFieldAccessCheck implements AccessInterface, EditEntityFieldAcce * @return \Drupal\Core\Access\AccessResultInterface * The access result. * - * @todo Use the $account argument: https://drupal.org/node/2266809. + * @todo Use the $account argument: https://www.drupal.org/node/2266809. */ public function access(EntityInterface $entity, $field_name, $langcode, AccountInterface $account) { if (!$this->validateRequestAttributes($entity, $field_name, $langcode)) { diff --git a/core/modules/rdf/rdf.module b/core/modules/rdf/rdf.module index f179ec8b1ed..d6728202f7f 100644 --- a/core/modules/rdf/rdf.module +++ b/core/modules/rdf/rdf.module @@ -17,7 +17,7 @@ function rdf_help($route_name, RouteMatchInterface $route_match) { case 'help.page.rdf': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The RDF module enriches your content with metadata to let other applications (e.g., search engines, aggregators, and so on) better understand its relationships and attributes. This semantically enriched, machine-readable output for your website uses the RDFa specification, which allows RDF data to be embedded in HTML markup. Other modules can define mappings of their data to RDF terms, and the RDF module makes this RDF data available to the theme. The core modules define RDF mappings for their data model, and the core themes output this RDF metadata information along with the human-readable visual information. For more information, see the online documentation for the RDF module.', array('!rdfa' => 'http://www.w3.org/TR/xhtml-rdfa-primer/', '!rdf' => 'https://drupal.org/documentation/modules/rdf')) . '

    '; + $output .= '

    ' . t('The RDF module enriches your content with metadata to let other applications (e.g., search engines, aggregators, and so on) better understand its relationships and attributes. This semantically enriched, machine-readable output for your website uses the RDFa specification, which allows RDF data to be embedded in HTML markup. Other modules can define mappings of their data to RDF terms, and the RDF module makes this RDF data available to the theme. The core modules define RDF mappings for their data model, and the core themes output this RDF metadata information along with the human-readable visual information. For more information, see the online documentation for the RDF module.', array('!rdfa' => 'http://www.w3.org/TR/xhtml-rdfa-primer/', '!rdf' => 'https://www.drupal.org/documentation/modules/rdf')) . '

    '; return $output; } } diff --git a/core/modules/rdf/src/Tests/EntityReferenceFieldAttributesTest.php b/core/modules/rdf/src/Tests/EntityReferenceFieldAttributesTest.php index a92ed7c1b35..44f8d2f9c9f 100644 --- a/core/modules/rdf/src/Tests/EntityReferenceFieldAttributesTest.php +++ b/core/modules/rdf/src/Tests/EntityReferenceFieldAttributesTest.php @@ -129,7 +129,7 @@ class EntityReferenceFieldAttributesTest extends TaxonomyTestBase { 'type' => 'uri', 'value' => 'http://www.w3.org/2004/02/skos/core#Concept', ); - // @todo enable with https://drupal.org/node/2072791 + // @todo Enable with https://www.drupal.org/node/2072791. //$this->assertTrue($graph->hasProperty($taxonomy_term_1_uri, 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', $expected_value), 'Taxonomy term type found in RDF output (skos:Concept).'); $expected_value = array( 'type' => 'literal', diff --git a/core/modules/rdf/src/Tests/StandardProfileTest.php b/core/modules/rdf/src/Tests/StandardProfileTest.php index d9a31f0c0a9..784bd80d070 100644 --- a/core/modules/rdf/src/Tests/StandardProfileTest.php +++ b/core/modules/rdf/src/Tests/StandardProfileTest.php @@ -329,7 +329,7 @@ class StandardProfileTest extends WebTestBase { $this->assertTrue($graph->hasProperty($this->termUri, 'http://schema.org/name', $expected_value), "Term name was found (schema:name) on term page."); // @todo Add test for term description once it is a field: - // https://drupal.org/node/569434 + // https://www.drupal.org/node/569434. } /** @@ -404,7 +404,7 @@ class StandardProfileTest extends WebTestBase { $this->assertTrue($graph->hasProperty($this->articleUri, 'http://schema.org/about', $expected_value), "$message_prefix tag was found (schema:about)."); // Tag type. - // @todo enable with https://drupal.org/node/2072791 + // @todo Enable with https://www.drupal.org/node/2072791. //$this->assertEqual($graph->type($this->termUri), 'schema:Thing', 'Tag type was found (schema:Thing).'); // Tag name. @@ -413,7 +413,7 @@ class StandardProfileTest extends WebTestBase { 'value' => $this->term->getName(), 'lang' => 'en', ); - // @todo enable with https://drupal.org/node/2072791 + // @todo Enable with https://www.drupal.org/node/2072791. //$this->assertTrue($graph->hasProperty($this->termUri, 'http://schema.org/name', $expected_value), "$message_prefix name was found (schema:name)."); } diff --git a/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php b/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php index c0ed4c8d210..b7040435806 100644 --- a/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php +++ b/core/modules/rdf/src/Tests/TaxonomyAttributesTest.php @@ -80,6 +80,6 @@ class TaxonomyAttributesTest extends TaxonomyTestBase { $this->assertTrue($graph->hasProperty($term_uri, 'http://www.w3.org/2004/02/skos/core#prefLabel', $expected_value), 'Term label found in RDF output (skos:prefLabel).'); // @todo Add test for term description once it is a field: - // https://drupal.org/node/569434 + // https://www.drupal.org/node/569434. } } diff --git a/core/modules/responsive_image/responsive_image.module b/core/modules/responsive_image/responsive_image.module index dbd94cfdb2a..925fe3c7e4f 100644 --- a/core/modules/responsive_image/responsive_image.module +++ b/core/modules/responsive_image/responsive_image.module @@ -28,7 +28,7 @@ function responsive_image_help($route_name, RouteMatchInterface $route_match) { case 'help.page.responsive_image': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Responsive Image module provides an image formatter and breakpoint mappings to output responsive images using the HTML5 picture tag. For more information, see the online documentation for the Responsive Image module.', array( '!responsive_image' => 'https://drupal.org/documentation/modules/responsive_image')) . '

    '; + $output .= '

    ' . t('The Responsive Image module provides an image formatter and breakpoint mappings to output responsive images using the HTML5 picture tag. For more information, see the online documentation for the Responsive Image module.', array( '!responsive_image' => 'https://www.drupal.org/documentation/modules/responsive_image')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Defining responsive image styles') . '
    '; diff --git a/core/modules/rest/config/install/rest.settings.yml b/core/modules/rest/config/install/rest.settings.yml index 0c388cad2f6..d3aa82bc62b 100644 --- a/core/modules/rest/config/install/rest.settings.yml +++ b/core/modules/rest/config/install/rest.settings.yml @@ -43,8 +43,8 @@ resources: # hal_json is the only format supported for POST and PATCH methods. # # The full documentation is located at -# https://drupal.org/documentation/modules/rest +# https://www.drupal.org/documentation/modules/rest. # Set the domain for REST type and relation links. -# If left blank, the site's domain will be used +# If left blank, the site's domain will be used. link_domain: ~ diff --git a/core/modules/rest/rest.module b/core/modules/rest/rest.module index 3759d6357b0..76823efee88 100644 --- a/core/modules/rest/rest.module +++ b/core/modules/rest/rest.module @@ -15,13 +15,13 @@ function rest_help($route_name, RouteMatchInterface $route_match) { case 'help.page.rest': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The RESTful Web Services module provides a framework for exposing REST resources on your site. It provides support for content entities (see the Field module help page for more information about entities) such as content, users, taxonomy terms, etc.; REST support for content items of the Node module is enabled by default, and support for other types of content entities can be enabled. Other modules may add support for other types of REST resources. For more information, see the online documentation for the RESTful Web Services module.', array('!rest' => 'https://drupal.org/documentation/modules/rest', '!field' => (\Drupal::moduleHandler()->moduleExists('field')) ? \Drupal::url('help.page', array('name' => 'field')) : '#')) . '

    '; + $output .= '

    ' . t('The RESTful Web Services module provides a framework for exposing REST resources on your site. It provides support for content entities (see the Field module help page for more information about entities) such as content, users, taxonomy terms, etc.; REST support for content items of the Node module is enabled by default, and support for other types of content entities can be enabled. Other modules may add support for other types of REST resources. For more information, see the online documentation for the RESTful Web Services module.', array('!rest' => 'https://www.drupal.org/documentation/modules/rest', '!field' => (\Drupal::moduleHandler()->moduleExists('field')) ? \Drupal::url('help.page', array('name' => 'field')) : '#')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Installing supporting modules') . '
    '; $output .= '
    ' . t('In order to use REST on a web site, you need to install modules that provide serialization and authentication services. You can use the Core module HAL for serialization and HTTP Basic Authentication for authentication, or install a contributed or custom module.', array('!hal' => (\Drupal::moduleHandler()->moduleExists('hal')) ? \Drupal::url('help.page', array('name' => 'hal')) : '#', '!basic_auth' => (\Drupal::moduleHandler()->moduleExists('basic_auth')) ? \Drupal::url('help.page', array('name' => 'basic_auth')) : '#')) . '
    '; $output .= '
    ' . t('Enabling REST support for an entity type') . '
    '; - $output .= '
    ' . t('REST support for content items of the Node module is enabled by default, and support for other types of content entities can be enabled. To enable support, you can use a process based on configuration editing or the contributed Rest UI module.', array('!config' => 'https://drupal.org/documentation/modules/rest', '!restui' => 'https://drupal.org/project/restui')) . '
    '; + $output .= '
    ' . t('REST support for content items of the Node module is enabled by default, and support for other types of content entities can be enabled. To enable support, you can use a process based on configuration editing or the contributed Rest UI module.', array('!config' => 'https://www.drupal.org/documentation/modules/rest', '!restui' => 'https://www.drupal.org/project/restui')) . '
    '; $output .= '
    ' . t('You will also need to grant anonymous users permission to perform each of the REST operations you want to be available, and set up authentication properly to authorize web requests.') . '
    '; $output .= '
    '; return $output; diff --git a/core/modules/search/search.module b/core/modules/search/search.module index 62db41130fb..462e4db15bd 100644 --- a/core/modules/search/search.module +++ b/core/modules/search/search.module @@ -75,7 +75,7 @@ function search_help($route_name, RouteMatchInterface $route_match) { case 'help.page.search': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Search module provides the ability to set up search pages based on plugins provided by other modules. In Drupal core, there are two page-type plugins: the Content page type provides keyword searching for content managed by the Node module, and the Users page type provides keyword searching for registered users. Contributed modules may provide other page-type plugins. For more information, see the online documentation for the Search module.', array('!search-module' => 'https://drupal.org/documentation/modules/search')) . '

    '; + $output .= '

    ' . t('The Search module provides the ability to set up search pages based on plugins provided by other modules. In Drupal core, there are two page-type plugins: the Content page type provides keyword searching for content managed by the Node module, and the Users page type provides keyword searching for registered users. Contributed modules may provide other page-type plugins. For more information, see the online documentation for the Search module.', array('!search-module' => 'https://www.drupal.org/documentation/modules/search')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Configuring search pages') . '
    '; @@ -88,7 +88,7 @@ function search_help($route_name, RouteMatchInterface $route_match) { $output .= '
    ' . t('Searching your site') . '
    '; $output .= '
    ' . t('Users with Use search permission can use the Search block and Search page. Users with the View published content permission can use configured search pages of type Content to search for content containing exact keywords; in addition, users with Use advanced search permission can use more complex search filtering. Users with the View user information permission can use configured search pages of type Users to search for active users containing the keyword anywhere in the username, and users with the Administer users permission can search for active and blocked users, by email address or username keyword.', array('!search' => \Drupal::url('search.view'), '!search_permission' => \Drupal::url('user.admin_permissions', array(), array('fragment' => 'module-search')), '!node_permission' => \Drupal::url('user.admin_permissions', array(), array('fragment' => 'module-node')), '!user_permission' => \Drupal::url('user.admin_permissions', array(), array('fragment' => 'module-user')))) . '
    '; $output .= '
    ' . t('Extending the Search module') . '
    '; - $output .= '
    ' . t('By default, the Search module only supports exact keyword matching in content searches. You can modify this behavior by installing a language-specific stemming module for your language (such as Porter Stemmer for American English), which allows words such as walk, walking, and walked to be matched in the Search module. Another approach is to use a third-party search technology with stemming or partial word matching features built in, such as Apache Solr or Sphinx. There are also contributed modules that provide additional search pages. These and other search-related contributed modules can be downloaded by visiting Drupal.org.', array('!contrib-search' => 'https://drupal.org/project/project_module?f[2]=im_vid_3%3A105', '!porterstemmer_url' => 'https://drupal.org/project/porterstemmer', '!solr_url' => 'https://drupal.org/project/apachesolr', '!sphinx_url' => 'https://drupal.org/project/sphinx')) . '
    '; + $output .= '
    ' . t('By default, the Search module only supports exact keyword matching in content searches. You can modify this behavior by installing a language-specific stemming module for your language (such as Porter Stemmer for American English), which allows words such as walk, walking, and walked to be matched in the Search module. Another approach is to use a third-party search technology with stemming or partial word matching features built in, such as Apache Solr or Sphinx. There are also contributed modules that provide additional search pages. These and other search-related contributed modules can be downloaded by visiting Drupal.org.', array('!contrib-search' => 'https://www.drupal.org/project/project_module?f[2]=im_vid_3%3A105', '!porterstemmer_url' => 'https://www.drupal.org/project/porterstemmer', '!solr_url' => 'https://www.drupal.org/project/apachesolr', '!sphinx_url' => 'https://www.drupal.org/project/sphinx')) . '
    '; $output .= '
    '; return $output; diff --git a/core/modules/search/src/Entity/SearchPage.php b/core/modules/search/src/Entity/SearchPage.php index fcce23d96e7..8991cde91cc 100644 --- a/core/modules/search/src/Entity/SearchPage.php +++ b/core/modules/search/src/Entity/SearchPage.php @@ -180,8 +180,8 @@ class SearchPage extends ConfigEntityBase implements SearchPageInterface, Entity public function postCreate(EntityStorageInterface $storage) { parent::postCreate($storage); - // @todo Use self::applyDefaultValue() once https://drupal.org/node/2004756 - // is in. + // @todo Use self::applyDefaultValue() once + // https://www.drupal.org/node/2004756 is in. if (!isset($this->weight)) { $this->weight = $this->isDefaultSearch() ? -10 : 0; } diff --git a/core/modules/search/src/Tests/SearchPageTextTest.php b/core/modules/search/src/Tests/SearchPageTextTest.php index 010abb59f2e..4614bafbd0b 100644 --- a/core/modules/search/src/Tests/SearchPageTextTest.php +++ b/core/modules/search/src/Tests/SearchPageTextTest.php @@ -125,13 +125,13 @@ class SearchPageTextTest extends SearchTestBase { $this->assertNoText('You must include at least one positive keyword', 'Keyword message is not displayed when searching for long word after short word search'); // Test that if you search for a URL with .. in it, you still end up at - // the search page. See issue https://drupal.org/node/890058. + // the search page. See issue https://www.drupal.org/node/890058. $this->drupalPostForm('search/node', array('keys' => '../../admin'), t('Search')); $this->assertResponse(200, 'Searching for ../../admin with non-admin user does not lead to a 403 error'); $this->assertText('no results', 'Searching for ../../admin with non-admin user gives you a no search results page'); // Test that if you search for a URL starting with "./", you still end up - // at the search page. See issue https://drupal.org/node/1421560. + // at the search page. See issue https://www.drupal.org/node/1421560. $this->drupalPostForm('search/node', array('keys' => '.something'), t('Search')); $this->assertResponse(200, 'Searching for .something does not lead to a 403 error'); $this->assertText('no results', 'Searching for .something gives you a no search results page'); diff --git a/core/modules/search/src/Tests/SearchRankingTest.php b/core/modules/search/src/Tests/SearchRankingTest.php index 8f855f55f51..552c8bb4cbe 100644 --- a/core/modules/search/src/Tests/SearchRankingTest.php +++ b/core/modules/search/src/Tests/SearchRankingTest.php @@ -149,7 +149,7 @@ class SearchRankingTest extends SearchTestBase { } // Try with sticky, then promoted. This is a test for issue - // https://drupal.org/node/771596. + // https://www.drupal.org/node/771596. $node_ranks = array( 'sticky' => 10, 'promote' => 1, @@ -173,7 +173,8 @@ class SearchRankingTest extends SearchTestBase { $this->assertEqual($set[1]['node']->id(), $nodes['promote'][1]->id(), 'Search ranking for promoted second worked.'); // Try with recent, then comments. This is a test for issues - // https://drupal.org/node/771596 and https://drupal.org/node/303574. + // https://www.drupal.org/node/771596 and + // https://www.drupal.org/node/303574. $node_ranks = array( 'sticky' => 0, 'promote' => 0, diff --git a/core/modules/serialization/serialization.module b/core/modules/serialization/serialization.module index c1b8ed96892..81be3ac21fc 100644 --- a/core/modules/serialization/serialization.module +++ b/core/modules/serialization/serialization.module @@ -19,7 +19,7 @@ function serialization_help($route_name, RouteMatchInterface $route_match) { $output .= '

    ' . t('Serialization is the process of converting data structures like arrays and objects into a string. This allows the data to be represented in a way that is easy to exchange and store (for example, for transmission over the Internet or for storage in a local file system). These representations can then be deserialized to get back to the original data structures.') . '

    '; $output .= '

    ' . t('The serializer splits this process into two parts. Normalization converts an object to a normalized array structure. Encoding takes that array and converts it to a string.') . '

    '; $output .= '

    ' . t('This module does not have a user interface. It is used by other modules which need to serialize data, such as REST.', array('!rest' => (\Drupal::moduleHandler()->moduleExists('rest')) ? \Drupal::url('help.page', array('name' => 'rest')) : '#')) . '

    '; - $output .= '

    ' . t('For more information, see the online documentation for the Serialization module.', array('!doc_url' => 'https://drupal.org/documentation/modules/serialization')) . '

    '; + $output .= '

    ' . t('For more information, see the online documentation for the Serialization module.', array('!doc_url' => 'https://www.drupal.org/documentation/modules/serialization')) . '

    '; return $output; } } diff --git a/core/modules/simpletest/simpletest.module b/core/modules/simpletest/simpletest.module index 3b4602855ef..82ee88d9869 100644 --- a/core/modules/simpletest/simpletest.module +++ b/core/modules/simpletest/simpletest.module @@ -22,7 +22,7 @@ function simpletest_help($route_name, RouteMatchInterface $route_match) { case 'help.page.simpletest': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Testing module provides a framework for running automated tests. It can be used to verify a working state of Drupal before and after any code changes, or as a means for developers to write and execute tests for their modules. For more information, see the online documentation for the Testing module.', array('!simpletest' => 'https://drupal.org/documentation/modules/simpletest')) . '

    '; + $output .= '

    ' . t('The Testing module provides a framework for running automated tests. It can be used to verify a working state of Drupal before and after any code changes, or as a means for developers to write and execute tests for their modules. For more information, see the online documentation for the Testing module.', array('!simpletest' => 'https://www.drupal.org/documentation/modules/simpletest')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Running tests') . '
    '; diff --git a/core/modules/simpletest/src/BrowserTestBase.php b/core/modules/simpletest/src/BrowserTestBase.php index 2fc4a954a65..75a548442db 100644 --- a/core/modules/simpletest/src/BrowserTestBase.php +++ b/core/modules/simpletest/src/BrowserTestBase.php @@ -922,7 +922,7 @@ abstract class BrowserTestBase extends \PHPUnit_Framework_TestCase { // By default, verbosely display all errors and disable all production // environment optimizations for all tests to avoid needless overhead and // ensure a sane default experience for test authors. - // @see https://drupal.org/node/2259167 + // @see https://www.drupal.org/node/2259167 $config->getEditable('system.logging') ->set('error_level', 'verbose') ->save(); diff --git a/core/modules/simpletest/src/KernelTestBase.php b/core/modules/simpletest/src/KernelTestBase.php index 5abf972f3c6..e8d1ba214ca 100644 --- a/core/modules/simpletest/src/KernelTestBase.php +++ b/core/modules/simpletest/src/KernelTestBase.php @@ -246,7 +246,7 @@ EOD; // Tests based on this class are entitled to use Drupal's File and // StreamWrapper APIs. // @todo Move StreamWrapper management into DrupalKernel. - // @see https://drupal.org/node/2028109 + // @see https://www.drupal.org/node/2028109 file_prepare_directory($this->publicFilesDirectory, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS); $this->settingsSet('file_public_path', $this->publicFilesDirectory); $this->streamWrappers = array(); @@ -268,7 +268,7 @@ EOD; // state variables in Drupal, stream wrappers are a global state construct // of PHP core, which has to be maintained manually. // @todo Move StreamWrapper management into DrupalKernel. - // @see https://drupal.org/node/2028109 + // @see https://www.drupal.org/node/2028109 foreach ($this->streamWrappers as $scheme => $type) { $this->unregisterStreamWrapper($scheme, $type); } diff --git a/core/modules/simpletest/src/TestBase.php b/core/modules/simpletest/src/TestBase.php index a9a369c4501..530d0c8582d 100644 --- a/core/modules/simpletest/src/TestBase.php +++ b/core/modules/simpletest/src/TestBase.php @@ -126,7 +126,7 @@ abstract class TestBase { * * @var string * @todo Remove all remnants of $GLOBALS['conf']. - * @see https://drupal.org/node/2183323 + * @see https://www.drupal.org/node/2183323 */ protected $originalConf; @@ -1140,7 +1140,7 @@ abstract class TestBase { $this->originalSettings = Settings::getAll(); $this->originalConfig = $GLOBALS['config']; // @todo Remove all remnants of $GLOBALS['conf']. - // @see https://drupal.org/node/2183323 + // @see https://www.drupal.org/node/2183323 $this->originalConf = isset($GLOBALS['conf']) ? $GLOBALS['conf'] : NULL; // Backup statics and globals. @@ -1277,7 +1277,7 @@ abstract class TestBase { } // Sleep for 50ms to allow shutdown functions and terminate events to - // complete. Further information: https://drupal.org/node/2194357. + // complete. Further information: https://www.drupal.org/node/2194357. usleep(50000); // Remove all prefixed tables. @@ -1470,7 +1470,7 @@ abstract class TestBase { // Starting with a space means that length might not be what is expected. // Starting with an @ sign causes CURL to fail if used in conjunction with a - // file upload, see https://drupal.org/node/2174997. + // file upload. See https://www.drupal.org/node/2174997. if (preg_match('/^(\s|@)/', $string)) { return FALSE; } diff --git a/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php index 6ace8a8f6ca..7abfbf3d23d 100644 --- a/core/modules/simpletest/src/WebTestBase.php +++ b/core/modules/simpletest/src/WebTestBase.php @@ -770,7 +770,7 @@ abstract class WebTestBase extends TestBase { // By default, verbosely display all errors and disable all production // environment optimizations for all tests to avoid needless overhead and // ensure a sane default experience for test authors. - // @see https://drupal.org/node/2259167 + // @see https://www.drupal.org/node/2259167 $config->getEditable('system.logging') ->set('error_level', 'verbose') ->save(); diff --git a/core/modules/statistics/statistics.module b/core/modules/statistics/statistics.module index ab8fae824e4..9b3be36284e 100644 --- a/core/modules/statistics/statistics.module +++ b/core/modules/statistics/statistics.module @@ -19,7 +19,7 @@ function statistics_help($route_name, RouteMatchInterface $route_match) { case 'help.page.statistics': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Statistics module shows you how often content is viewed. This is useful in determining which pages of your site are most popular. For more information, see the online documentation for the Statistics module.', array('!statistics_do' => 'https://drupal.org/documentation/modules/statistics/')) . '

    '; + $output .= '

    ' . t('The Statistics module shows you how often content is viewed. This is useful in determining which pages of your site are most popular. For more information, see the online documentation for the Statistics module.', array('!statistics_do' => 'https://www.drupal.org/documentation/modules/statistics/')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Displaying popular content') . '
    '; diff --git a/core/modules/syslog/syslog.module b/core/modules/syslog/syslog.module index 61873f98117..339636b7c7c 100644 --- a/core/modules/syslog/syslog.module +++ b/core/modules/syslog/syslog.module @@ -17,7 +17,7 @@ function syslog_help($route_name, RouteMatchInterface $route_match) { case 'help.page.syslog': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t("The Syslog module logs events by sending messages to the logging facility of your web server's operating system. Syslog is an operating system administrative logging tool that provides valuable information for use in system management and security auditing. Most suited to medium and large sites, Syslog provides filtering tools that allow messages to be routed by type and severity. For more information, see the online documentation for the Syslog module, as well as PHP's documentation pages for the openlog and syslog functions.", array('!syslog' => 'https://drupal.org/documentation/modules/syslog', '!php_openlog' => 'http://www.php.net/manual/function.openlog.php', '!php_syslog' => 'http://www.php.net/manual/function.syslog.php')) . '

    '; + $output .= '

    ' . t("The Syslog module logs events by sending messages to the logging facility of your web server's operating system. Syslog is an operating system administrative logging tool that provides valuable information for use in system management and security auditing. Most suited to medium and large sites, Syslog provides filtering tools that allow messages to be routed by type and severity. For more information, see the online documentation for the Syslog module, as well as PHP's documentation pages for the openlog and syslog functions.", array('!syslog' => 'https://www.drupal.org/documentation/modules/syslog', '!php_openlog' => 'http://www.php.net/manual/function.openlog.php', '!php_syslog' => 'http://www.php.net/manual/function.syslog.php')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Logging for UNIX, Linux, and Mac OS X') . '
    '; diff --git a/core/modules/system/core.api.php b/core/modules/system/core.api.php index dacffed6d01..3ea4ffd35c3 100644 --- a/core/modules/system/core.api.php +++ b/core/modules/system/core.api.php @@ -11,7 +11,7 @@ * * This site is an API reference for Drupal, generated from comments embedded * in the source code. More in-depth documentation can be found at - * https://drupal.org/developing/api. + * https://www.drupal.org/developing/api. * * Here are some topics to help you get started developing with Drupal. * @@ -62,9 +62,9 @@ * @section more_info Further information * * - @link https://api.drupal.org/api/drupal/groups/8 All topics @endlink - * - @link https://drupal.org/project/examples Examples project (sample modules) @endlink - * - @link https://drupal.org/list-changes API change notices @endlink - * - @link https://drupal.org/developing/api/8 Drupal 8 API longer references @endlink + * - @link https://www.drupal.org/project/examples Examples project (sample modules) @endlink + * - @link https://www.drupal.org/list-changes API change notices @endlink + * - @link https://www.drupal.org/developing/api/8 Drupal 8 API longer references @endlink */ /** @@ -190,7 +190,7 @@ * $state->set('system.cron_last', REQUEST_TIME); * @endcode * - * For more on the State API, see https://drupal.org/developing/api/8/state + * For more on the State API, see https://www.drupal.org/developing/api/8/state * @} */ @@ -203,7 +203,7 @@ * information. See the @link info_types Information types topic @endlink for * an overview of the different types of information. The sections below have * more information about the configuration API; see - * https://drupal.org/developing/api/8/configuration for more details. + * https://www.drupal.org/developing/api/8/configuration for more details. * * @section sec_storage Configuration storage * In Drupal, there is a concept of the "active" configuration, which is the @@ -545,7 +545,7 @@ * $settings['cache']['default'] = 'cache.custom'; * @endcode * - * @see https://drupal.org/node/1884796 + * @see https://www.drupal.org/node/1884796 * @} */ @@ -660,7 +660,7 @@ * provider class directly, so that they get the correct class (default or * overridden). * - * See https://drupal.org/node/2133171 for more detailed information on + * See https://www.drupal.org/node/2133171 for more detailed information on * services and the dependency injection container. * * @section sec_discover Discovering existing services @@ -700,13 +700,13 @@ * names of the dependencies (preceded by '@'); objects for each of these * services are instantiated from the container and passed to the class * constructor when the service class is instantiated. Other arguments can also - * be passed in; see the section at https://drupal.org/node/2133171 for more + * be passed in; see the section at https://www.drupal.org/node/2133171 for more * detailed information. * * Services using factories can be defined as shown in the above example, if the * factory is itself a service. The factory can also be a class; details of how * to use service factories can be found in the section at - * https://drupal.org/node/2133171. + * https://www.drupal.org/node/2133171. * * @section sec_container Accessing a service through the container * As noted above, if you need to use a service in your code, you should always @@ -794,7 +794,7 @@ * Note that $container here is an instance of * \Drupal\Core\DependencyInjection\ContainerBuilder. * - * @see https://drupal.org/node/2133171 + * @see https://www.drupal.org/node/2133171 * @see core.services.yml * @see \Drupal * @see \Symfony\Component\DependencyInjection\ContainerInterface @@ -814,7 +814,7 @@ * translatable, and who can access it). The Typed Data API is used in several * Drupal sub-systems, such as the Entity Field API and Configuration API. * - * See https://drupal.org/node/1794140 for more information about the Typed + * See https://www.drupal.org/node/1794140 for more information about the Typed * Data API. * * @section interfaces Interfaces and classes in the Typed Data API @@ -904,8 +904,8 @@ * - Methods in your test class whose names start with 'test' are the actual * test cases. Each one should test a logical subset of the functionality. * For more details, see: - * - https://drupal.org/phpunit for full documentation on how to write PHPUnit - * tests for Drupal. + * - https://www.drupal.org/phpunit for full documentation on how to write + * PHPUnit tests for Drupal. * - http://phpunit.de for general information on the PHPUnit framework. * - @link oo_conventions Object-oriented programming topic @endlink for more * on PSR-4, namespaces, and where to place classes. @@ -944,7 +944,7 @@ * environment, so it can only rely on the setUp() method, not what has * been set up by other test methods. * For more details, see: - * - https://drupal.org/simpletest for full documentation on how to write + * - https://www.drupal.org/simpletest for full documentation on how to write * functional tests for Drupal. * - @link oo_conventions Object-oriented programming topic @endlink for more * on PSR-4, namespaces, and where to place classes. @@ -953,11 +953,11 @@ * You can run both Simpletest and PHPUnit tests by enabling the core Testing * module (core/modules/simpletest). Once that module is enabled, tests can be * run using the core/scripts/run-tests.sh script, using - * @link https://drupal.org/project/drush Drush @endlink, or from the Testing - * module user interface. + * @link https://www.drupal.org/project/drush Drush @endlink, or from the + * Testing module user interface. * * PHPUnit tests can also be run from the command line, using the PHPUnit - * framework. See https://drupal.org/node/2116263 for more information. + * framework. See https://www.drupal.org/node/2116263 for more information. * @} */ @@ -1006,10 +1006,10 @@ * site; CSS files, which alter the styling applied to the HTML; and * JavaScript, Flash, images, and other files. For more information, see the * @link theme_render Theme system and render API topic @endlink and - * https://drupal.org/theme-guide/8 + * https://www.drupal.org/theme-guide/8 * - Modules: Modules add to or alter the behavior and functionality of Drupal, * by using one or more of the methods listed below. For more information - * about creating modules, see https://drupal.org/developing/modules/8 + * about creating modules, see https://www.drupal.org/developing/modules/8 * - Installation profiles: Installation profiles can be used to * create distributions, which are complete specific-purpose packages of * Drupal including additional modules, themes, and data. For more @@ -1087,7 +1087,7 @@ * - Create a plugin of an existing plugin type: see @ref sec_create below. * - Perform tasks that involve plugins: see @ref sec_use below. * - * See https://drupal.org/developing/api/8/plugins for more detailed + * See https://www.drupal.org/developing/api/8/plugins for more detailed * documentation on the plugin system. There are also topics for a few * of the many existing types of plugins: * - @link block_api Block API @endlink @@ -1142,7 +1142,7 @@ * It is also possible to define your own custom discovery mechanism or mix * methods together. And there are many more details, such as annotation * decorators, that apply to some of the discovery methods. See - * https://drupal.org/developing/api/8/plugins for more details. + * https://www.drupal.org/developing/api/8/plugins for more details. * * The remainder of this documentation will assume Annotation-based discovery, * since this is the most common method. @@ -1266,7 +1266,7 @@ * for most plugin classes. See the * @link plugin_api Plugin API topic @endlink for more information. * - There are project-wide coding standards for OO code, including naming: - * https://drupal.org/node/608152 + * https://www.drupal.org/node/608152 * - Documentation standards for classes are covered on: * https://www.drupal.org/coding-standards/docs#classes * @} @@ -1282,16 +1282,16 @@ * and efficient. In order to facilitate this, the Drupal community has * developed a set of guidelines and standards for developers to follow. Most of * these standards can be found under - * @link https://drupal.org/developing/best-practices Best practices on Drupal.org @endlink + * @link https://www.drupal.org/developing/best-practices Best practices on Drupal.org @endlink * * Standards and best practices that developers should be aware of include: - * - Security: https://drupal.org/writing-secure-code and the + * - Security: https://www.drupal.org/writing-secure-code and the * @link sanitization Sanitization functions topic @endlink - * - Coding standards: https://drupal.org/coding-standards - * and https://drupal.org/coding-standards/docs - * - Accessibility: https://drupal.org/node/1637990 (modules) and - * https://drupal.org/node/464472 (themes) - * - Usability: https://drupal.org/ui-standards + * - Coding standards: https://www.drupal.org/coding-standards + * and https://www.drupal.org/coding-standards/docs + * - Accessibility: https://www.drupal.org/node/1637990 (modules) and + * https://www.drupal.org/node/464472 (themes) + * - Usability: https://www.drupal.org/ui-standards * - Internationalization: @link i18n Internationalization topic @endlink * - Automated testing: @link testing Automated tests topic @endlink * @} @@ -1504,7 +1504,7 @@ * workflow, see the * @link forms_api_reference.html Form API reference @endlink * and the - * @link https://drupal.org/node/2117411 Form API documentation section. @endlink + * @link https://www.drupal.org/node/2117411 Form API documentation section. @endlink * In addition, there is a set of Form API tutorials in * @link form_example_tutorial.inc the Form Example Tutorial @endlink which * provide basics all the way up through multistep forms. diff --git a/core/modules/system/database.api.php b/core/modules/system/database.api.php index 1a861db95d5..cd6459bfb3f 100644 --- a/core/modules/system/database.api.php +++ b/core/modules/system/database.api.php @@ -20,7 +20,7 @@ * practices. * * For more detailed information on the database abstraction layer, see - * https://drupal.org/developing/api/database + * https://www.drupal.org/developing/api/database. * * @section sec_entity Querying entities * Any query on Drupal entities or fields should use the Entity Query API. See @@ -108,7 +108,7 @@ * * There are also methods to join to other tables, add fields with aliases, * isNull() to have a @code WHERE e.foo IS NULL @endcode condition, etc. See - * https://drupal.org/developing/api/database for many more details. + * https://www.drupal.org/developing/api/database for many more details. * * One note on chaining: It is common in the dynamic database API to chain * method calls (as illustrated here), because most of the query methods modify diff --git a/core/modules/system/entity.api.php b/core/modules/system/entity.api.php index 95e582236c9..78f0e7a7783 100644 --- a/core/modules/system/entity.api.php +++ b/core/modules/system/entity.api.php @@ -255,7 +255,8 @@ use Drupal\node\Entity\NodeType; * user accounts, has only one bundle. * * The sections below have more information about entities and the Entity API; - * for more detailed information, see https://drupal.org/developing/api/entity + * for more detailed information, see + * https://www.drupal.org/developing/api/entity. * * @section define Defining an entity type * Entity types are defined by modules, using Drupal's Plugin API (see the diff --git a/core/modules/system/module.api.php b/core/modules/system/module.api.php index b8e87632a2b..24fb7411088 100644 --- a/core/modules/system/module.api.php +++ b/core/modules/system/module.api.php @@ -447,7 +447,7 @@ function hook_install_tasks_alter(&$tasks, $install_state) { * 8.x. Therefore, only update hooks numbered 8001 or later will run for * Drupal 8. 8000 is reserved for the minimum core schema version and defining * mymodule_update_8000() will result in an exception. Use the - * @link https://drupal.org/node/2127611 Migration API @endlink instead to + * @link https://www.drupal.org/node/2127611 Migration API @endlink instead to * migrate data from an earlier major version of Drupal. * * For further information about releases and release numbers see: diff --git a/core/modules/system/src/Controller/SystemInfoController.php b/core/modules/system/src/Controller/SystemInfoController.php index c937289b300..a09618c524f 100644 --- a/core/modules/system/src/Controller/SystemInfoController.php +++ b/core/modules/system/src/Controller/SystemInfoController.php @@ -67,7 +67,7 @@ class SystemInfoController implements ContainerInjectionInterface { $output = ob_get_clean(); } else { - $output = t('The phpinfo() function has been disabled for security reasons. For more information, visit Enabling and disabling phpinfo() handbook page.', array('@phpinfo' => 'https://drupal.org/node/243993')); + $output = t('The phpinfo() function has been disabled for security reasons. For more information, visit Enabling and disabling phpinfo() handbook page.', array('@phpinfo' => 'https://www.drupal.org/node/243993')); } return new Response($output); } diff --git a/core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php b/core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php index eef05e1028f..316a1a60d08 100644 --- a/core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php +++ b/core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php @@ -36,7 +36,7 @@ class AdminRouteSubscriber extends RouteSubscriberBase { // Use a higher priority than \Drupal\field_ui\Routing\RouteSubscriber or // \Drupal\views\EventSubscriber\RouteSubscriber to ensure we add the // option to their routes. - // @todo https://drupal.org/node/2158571 + // @todo https://www.drupal.org/node/2158571 $events[RoutingEvents::ALTER] = array('onAlterRoutes', -200); return $events; diff --git a/core/modules/system/src/PathBasedBreadcrumbBuilder.php b/core/modules/system/src/PathBasedBreadcrumbBuilder.php index 9af26384a3a..45418a7b13f 100644 --- a/core/modules/system/src/PathBasedBreadcrumbBuilder.php +++ b/core/modules/system/src/PathBasedBreadcrumbBuilder.php @@ -183,7 +183,7 @@ class PathBasedBreadcrumbBuilder implements BreadcrumbBuilderInterface { if (!empty($exclude[$path])) { return NULL; } - // @todo Use the RequestHelper once https://drupal.org/node/2090293 is + // @todo Use the RequestHelper once https://www.drupal.org/node/2090293 is // fixed. $request = Request::create($this->context->getCompleteBaseUrl() . '/' . $path); // Performance optimization: set a short accept header to reduce overhead in diff --git a/core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php b/core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php index b0cfe9a2392..1916d4079ec 100644 --- a/core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php +++ b/core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php @@ -87,7 +87,7 @@ class SystemBreadcrumbBlock extends BlockBase implements ContainerFactoryPluginI /** * {@inheritdoc} * - * @todo Make cacheable as part of https://drupal.org/node/1805054 + * @todo Make cacheable as part of https://www.drupal.org/node/1805054. */ public function getCacheMaxAge() { return 0; diff --git a/core/modules/system/src/Tests/Block/SystemMenuBlockTest.php b/core/modules/system/src/Tests/Block/SystemMenuBlockTest.php index c053295d3f6..ef4fc8b3a7c 100644 --- a/core/modules/system/src/Tests/Block/SystemMenuBlockTest.php +++ b/core/modules/system/src/Tests/Block/SystemMenuBlockTest.php @@ -140,7 +140,7 @@ class SystemMenuBlockTest extends KernelTestBase { 3 => MenuLinkMock::create(array('id' => 'test.example3', 'route_name' => 'example3', 'title' => 'baz', 'parent' => 'test.example2', 'weight' => 2)), 4 => MenuLinkMock::create(array('id' => 'test.example4', 'route_name' => 'example4', 'title' => 'qux', 'parent' => 'test.example3', 'weight' => 3)), 5 => MenuLinkMock::create(array('id' => 'test.example5', 'route_name' => 'example5', 'title' => 'foofoo', 'parent' => '', 'expanded' => TRUE, 'weight' => 4)), - 6 => MenuLinkMock::create(array('id' => 'test.example6', 'route_name' => '', 'url' => 'https://drupal.org/', 'title' => 'barbar', 'parent' => '', 'weight' => 5)), + 6 => MenuLinkMock::create(array('id' => 'test.example6', 'route_name' => '', 'url' => 'https://www.drupal.org/', 'title' => 'barbar', 'parent' => '', 'weight' => 5)), 7 => MenuLinkMock::create(array('id' => 'test.example7', 'route_name' => 'example7', 'title' => 'bazbaz', 'parent' => 'test.example5', 'weight' => 6)), 8 => MenuLinkMock::create(array('id' => 'test.example8', 'route_name' => 'example8', 'title' => 'quxqux', 'parent' => '', 'weight' => 7)), ); diff --git a/core/modules/system/src/Tests/Entity/EntityReferenceFieldTest.php b/core/modules/system/src/Tests/Entity/EntityReferenceFieldTest.php index a0b8ea03569..14a67ef4ef9 100644 --- a/core/modules/system/src/Tests/Entity/EntityReferenceFieldTest.php +++ b/core/modules/system/src/Tests/Entity/EntityReferenceFieldTest.php @@ -106,7 +106,7 @@ class EntityReferenceFieldTest extends EntityUnitTestBase { $this->assertEqual($violations[0]->getMessage(), t('The referenced entity (%type: %id) does not exist.', array('%type' => $this->referencedEntityType, '%id' => 9999))); // @todo Implement a test case for invalid bundle references after - // https://drupal.org/node/2064191 is fixed + // https://www.drupal.org/node/2064191 is fixed. } /** diff --git a/core/modules/system/src/Tests/Extension/ModuleHandlerTest.php b/core/modules/system/src/Tests/Extension/ModuleHandlerTest.php index a923fbeabd2..a9fa3b28d98 100644 --- a/core/modules/system/src/Tests/Extension/ModuleHandlerTest.php +++ b/core/modules/system/src/Tests/Extension/ModuleHandlerTest.php @@ -112,7 +112,7 @@ class ModuleHandlerTest extends KernelTestBase { * purely UI-facing or live at the "bottom" of all dependency chains. * * @see module_test_system_info_alter() - * @see https://drupal.org/files/issues/dep.gv__0.png + * @see https://www.drupal.org/files/issues/dep.gv__0.png */ function testDependencyResolution() { $this->enableModules(array('module_test')); diff --git a/core/modules/system/src/Tests/Extension/ThemeInstallerTest.php b/core/modules/system/src/Tests/Extension/ThemeInstallerTest.php index 07a306c6972..6fe81f7eba8 100644 --- a/core/modules/system/src/Tests/Extension/ThemeInstallerTest.php +++ b/core/modules/system/src/Tests/Extension/ThemeInstallerTest.php @@ -327,7 +327,7 @@ class ThemeInstallerTest extends KernelTestBase { // Legacy assertions. // @todo Remove once theme initialization/info has been modernized. - // @see https://drupal.org/node/2228093 + // @see https://www.drupal.org/node/2228093 $info = system_get_info('theme', $name); $this->assertTrue(isset($info['regions']['test_region'])); $regions = system_region_list($name); @@ -343,7 +343,7 @@ class ThemeInstallerTest extends KernelTestBase { // Legacy assertions. // @todo Remove once theme initialization/info has been modernized. - // @see https://drupal.org/node/2228093 + // @see https://www.drupal.org/node/2228093 $info = system_get_info('theme', $name); $this->assertFalse(isset($info['regions']['test_region'])); $regions = system_region_list($name); diff --git a/core/modules/system/src/Tests/Menu/BreadcrumbTest.php b/core/modules/system/src/Tests/Menu/BreadcrumbTest.php index 4b3d5311bdc..456ff5eadfb 100644 --- a/core/modules/system/src/Tests/Menu/BreadcrumbTest.php +++ b/core/modules/system/src/Tests/Menu/BreadcrumbTest.php @@ -140,7 +140,7 @@ class BreadcrumbTest extends MenuTestBase { $this->assertBreadcrumb('admin/config/content/formats/add', $trail); $this->assertBreadcrumb("admin/config/content/formats/manage/$format_id", $trail); // @todo Remove this part once we have a _title_callback, see - // https://drupal.org/node/2076085. + // https://www.drupal.org/node/2076085. $trail += array( "admin/config/content/formats/manage/$format_id" => $format->label(), ); diff --git a/core/modules/system/src/Tests/Menu/MenuLinkTreeTest.php b/core/modules/system/src/Tests/Menu/MenuLinkTreeTest.php index 1dbca602d06..011b58fabe9 100644 --- a/core/modules/system/src/Tests/Menu/MenuLinkTreeTest.php +++ b/core/modules/system/src/Tests/Menu/MenuLinkTreeTest.php @@ -106,7 +106,7 @@ class MenuLinkTreeTest extends KernelTestBase { 3 => MenuLinkMock::create(array('id' => 'test.example3', 'route_name' => 'example3', 'title' => 'baz', 'parent' => 'test.example2', 'route_parameters' => array('baz' => 'qux'))), 4 => MenuLinkMock::create(array('id' => 'test.example4', 'route_name' => 'example4', 'title' => 'qux', 'parent' => 'test.example3')), 5 => MenuLinkMock::create(array('id' => 'test.example5', 'route_name' => 'example5', 'title' => 'foofoo', 'parent' => '')), - 6 => MenuLinkMock::create(array('id' => 'test.example6', 'route_name' => '', 'url' => 'https://drupal.org/', 'title' => 'barbar', 'parent' => '')), + 6 => MenuLinkMock::create(array('id' => 'test.example6', 'route_name' => '', 'url' => 'https://www.drupal.org/', 'title' => 'barbar', 'parent' => '')), 7 => MenuLinkMock::create(array('id' => 'test.example7', 'route_name' => 'example7', 'title' => 'bazbaz', 'parent' => '')), 8 => MenuLinkMock::create(array('id' => 'test.example8', 'route_name' => 'example8', 'title' => 'quxqux', 'parent' => '')), ); diff --git a/core/modules/system/tests/modules/entity_test/src/FieldStorageDefinition.php b/core/modules/system/tests/modules/entity_test/src/FieldStorageDefinition.php index 6a2757c4737..7f8cae41956 100644 --- a/core/modules/system/tests/modules/entity_test/src/FieldStorageDefinition.php +++ b/core/modules/system/tests/modules/entity_test/src/FieldStorageDefinition.php @@ -16,7 +16,7 @@ use Drupal\Core\Field\BaseFieldDefinition; * implement FieldDefinitionInterface. * * @todo Provide and make use of a proper FieldStorageDefinition class instead: - * https://drupal.org/node/2280639. + * https://www.drupal.org/node/2280639. */ class FieldStorageDefinition extends BaseFieldDefinition { diff --git a/core/modules/system/theme.api.php b/core/modules/system/theme.api.php index 8eae7f5eed7..e51f03cad72 100644 --- a/core/modules/system/theme.api.php +++ b/core/modules/system/theme.api.php @@ -214,11 +214,11 @@ * same, which gives users fewer user interface patterns to learn. * * For further information on the Theme and Render APIs, see: - * - https://drupal.org/documentation/theme + * - https://www.drupal.org/documentation/theme * - https://www.drupal.org/developing/api/8/render - * - https://drupal.org/node/722174 - * - https://drupal.org/node/933976 - * - https://drupal.org/node/930760 + * - https://www.drupal.org/node/722174 + * - https://www.drupal.org/node/933976 + * - https://www.drupal.org/node/930760 * * @todo Check these links. Some are for Drupal 7, and might need updates for * Drupal 8. diff --git a/core/modules/taxonomy/taxonomy.module b/core/modules/taxonomy/taxonomy.module index 42c543a1eb5..7ed0d38c742 100644 --- a/core/modules/taxonomy/taxonomy.module +++ b/core/modules/taxonomy/taxonomy.module @@ -42,7 +42,7 @@ function taxonomy_help($route_name, RouteMatchInterface $route_match) { $output = ''; $output .= '

    ' . t('About') . '

    '; $output .= '

    ' . t('The Taxonomy module allows users who have permission to create and edit content to categorize (tag) content of that type. Users who have the Administer vocabularies and terms permission can add vocabularies that contain a set of related terms. The terms in a vocabulary can either be pre-set by an administrator or built gradually as content is added and edited. Terms may be organized hierarchically if desired.', array('!permissions' => \Drupal::url('user.admin_permissions', array(), array('fragment' => 'module-taxonomy')))) . '

    '; - $output .= '

    ' . t('For more information, see the online documentation for the Taxonomy module.', array('!taxonomy' => 'https://drupal.org/documentation/modules/taxonomy/')) . '

    '; + $output .= '

    ' . t('For more information, see the online documentation for the Taxonomy module.', array('!taxonomy' => 'https://www.drupal.org/documentation/modules/taxonomy/')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Managing vocabularies') . '
    '; diff --git a/core/modules/telephone/telephone.module b/core/modules/telephone/telephone.module index 98bba2f517e..fbf43c38dc7 100644 --- a/core/modules/telephone/telephone.module +++ b/core/modules/telephone/telephone.module @@ -15,7 +15,7 @@ function telephone_help($route_name, RouteMatchInterface $route_match) { case 'help.page.telephone': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Telephone module allows you to create fields that contain telephone numbers. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Telephone module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#', '!telephone_documentation' => 'https://drupal.org/documentation/modules/telephone')) . '

    '; + $output .= '

    ' . t('The Telephone module allows you to create fields that contain telephone numbers. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Telephone module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#', '!telephone_documentation' => 'https://www.drupal.org/documentation/modules/telephone')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Managing and displaying telephone fields') . '
    '; diff --git a/core/modules/text/text.module b/core/modules/text/text.module index 11703edd60f..8c72d909457 100644 --- a/core/modules/text/text.module +++ b/core/modules/text/text.module @@ -18,7 +18,7 @@ function text_help($route_name, RouteMatchInterface $route_match) { case 'help.page.text': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Text module allows you to create short and long text fields with optional summaries. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Text module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) :'#', '!text_documentation' => 'https://drupal.org/documentation/modules/text')) . '

    '; + $output .= '

    ' . t('The Text module allows you to create short and long text fields with optional summaries. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Text module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) :'#', '!text_documentation' => 'https://www.drupal.org/documentation/modules/text')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Managing and displaying text fields') . '
    '; diff --git a/core/modules/toolbar/toolbar.module b/core/modules/toolbar/toolbar.module index e9808d5f699..4cce4a3872c 100644 --- a/core/modules/toolbar/toolbar.module +++ b/core/modules/toolbar/toolbar.module @@ -23,7 +23,7 @@ function toolbar_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.toolbar': $output = '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Toolbar module provides a toolbar for site administrators, which displays tabs and trays provided by the Toolbar module itself and other modules. For more information, see the online documentation for the Toolbar module.', array('!toolbar_docs' => 'https://drupal.org/documentation/modules/toolbar')) . '

    '; + $output .= '

    ' . t('The Toolbar module provides a toolbar for site administrators, which displays tabs and trays provided by the Toolbar module itself and other modules. For more information, see the online documentation for the Toolbar module.', array('!toolbar_docs' => 'https://www.drupal.org/documentation/modules/toolbar')) . '

    '; $output .= '

    ' . t('Terminology') . '

    '; $output .= '
    '; $output .= '
    ' . t('Tabs') . '
    '; diff --git a/core/modules/tour/tour.module b/core/modules/tour/tour.module index 16acf19835d..f4846afed7d 100644 --- a/core/modules/tour/tour.module +++ b/core/modules/tour/tour.module @@ -16,13 +16,13 @@ function tour_help($route_name, RouteMatchInterface $route_match) { case 'help.page.tour': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t("The Tour module provides users with guided tours of the site interface. Each tour consists of several tips that highlight elements of the user interface, guide the user through a workflow, or explain key concepts of the website. For more information, see the online documentation for the Tour module.", array('!tour' => 'https://drupal.org/documentation/modules/tour')) . '

    '; + $output .= '

    ' . t("The Tour module provides users with guided tours of the site interface. Each tour consists of several tips that highlight elements of the user interface, guide the user through a workflow, or explain key concepts of the website. For more information, see the online documentation for the Tour module.", array('!tour' => 'https://www.drupal.org/documentation/modules/tour')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Viewing tours') . '
    '; $output .= '
    ' . t("If a tour is available on a page, a Tour button will be visible in the toolbar. If you click this button the first tip of the tour will appear. The tour continues after clicking the Next button in the tip. To see a tour users must have the permission Access tour and JavaScript must be enabled in the browser") . '
    '; $output .= '
    ' . t('Creating tours') . '
    '; - $output .= '
    ' . t("Tours can be written as YAML-documents with a text editor, or using the contributed Tour UI module. For more information, see the online documentation for writing tours.", array('!doc_url' => 'https://drupal.org/developing/api/tour', '!tour_ui' => 'https://drupal.org/project/tour_ui')) . '
    '; + $output .= '
    ' . t("Tours can be written as YAML-documents with a text editor, or using the contributed Tour UI module. For more information, see the online documentation for writing tours.", array('!doc_url' => 'https://www.drupal.org/developing/api/tour', '!tour_ui' => 'https://www.drupal.org/project/tour_ui')) . '
    '; $output .= '
    '; return $output; } diff --git a/core/modules/tracker/src/Plugin/Menu/UserTrackerTab.php b/core/modules/tracker/src/Plugin/Menu/UserTrackerTab.php index 6430f676ecc..dc428cc8107 100644 --- a/core/modules/tracker/src/Plugin/Menu/UserTrackerTab.php +++ b/core/modules/tracker/src/Plugin/Menu/UserTrackerTab.php @@ -25,7 +25,7 @@ class UserTrackerTab extends LocalTaskDefault { /** * Gets the current active user. * - * @todo: https://drupal.org/node/2105123 put this method in + * @todo: https://www.drupal.org/node/2105123 put this method in * \Drupal\Core\Plugin\PluginBase instead. * * @return \Drupal\Core\Session\AccountInterface diff --git a/core/modules/tracker/src/Tests/TrackerTest.php b/core/modules/tracker/src/Tests/TrackerTest.php index a09eb5cb7dd..c5c8500b4de 100644 --- a/core/modules/tracker/src/Tests/TrackerTest.php +++ b/core/modules/tracker/src/Tests/TrackerTest.php @@ -162,7 +162,8 @@ class TrackerTest extends WebTestBase { $this->drupalGet('node/' . $node->id()); // Simulate the JavaScript on the node page to mark the node as read. - // @todo Get rid of curlExec() once https://drupal.org/node/2074037 lands. + // @todo Get rid of curlExec() once https://www.drupal.org/node/2074037 + // lands. $this->curlExec(array( CURLOPT_URL => \Drupal::url('history.read_node', ['node' => $node->id()], array('absolute' => TRUE)), CURLOPT_HTTPHEADER => array( @@ -178,7 +179,8 @@ class TrackerTest extends WebTestBase { $this->drupalGet('node/' . $node->id()); // Simulate the JavaScript on the node page to mark the node as read. - // @todo Get rid of curlExec() once https://drupal.org/node/2074037 lands. + // @todo Get rid of curlExec() once https://www.drupal.org/node/2074037 + // lands. $this->curlExec(array( CURLOPT_URL => \Drupal::url('history.read_node', ['node' => $node->id()], array('absolute' => TRUE)), CURLOPT_HTTPHEADER => array( @@ -207,7 +209,8 @@ class TrackerTest extends WebTestBase { $this->drupalPostForm('comment/reply/node/' . $node->id() . '/comment', $comment, t('Save')); // The new comment is automatically viewed by the current user. Simulate the // JavaScript that does this. - // @todo Get rid of curlExec() once https://drupal.org/node/2074037 lands. + // @todo Get rid of curlExec() once https://www.drupal.org/node/2074037 + // lands. $this->curlExec(array( CURLOPT_URL => \Drupal::url('history.read_node', ['node' => $node->id()], array('absolute' => TRUE)), CURLOPT_HTTPHEADER => array( diff --git a/core/modules/tracker/tracker.module b/core/modules/tracker/tracker.module index 8c4ec2a830a..fdd61f492a4 100644 --- a/core/modules/tracker/tracker.module +++ b/core/modules/tracker/tracker.module @@ -19,7 +19,7 @@ function tracker_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.tracker': $output = '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Activity Tracker module displays the most recently added and updated content on your site, and allows you to follow new content created by each user. This module has no configuration options. For more information, see the online documentation for the Tracker module.', array('!tracker' => 'https://drupal.org/documentation/modules/tracker')) . '

    '; + $output .= '

    ' . t('The Activity Tracker module displays the most recently added and updated content on your site, and allows you to follow new content created by each user. This module has no configuration options. For more information, see the online documentation for the Tracker module.', array('!tracker' => 'https://www.drupal.org/documentation/modules/tracker')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Tracking new and updated site content') . '
    '; diff --git a/core/modules/user/src/Tests/UserValidationTest.php b/core/modules/user/src/Tests/UserValidationTest.php index ec44a79430b..c099dc36aa6 100644 --- a/core/modules/user/src/Tests/UserValidationTest.php +++ b/core/modules/user/src/Tests/UserValidationTest.php @@ -119,7 +119,7 @@ class UserValidationTest extends KernelTestBase { // @todo There are two violations because EmailItem::getConstraints() // overlaps with the implicit constraint of the 'email' property type used // in EmailItem::propertyDefinitions(). Resolve this in - // https://drupal.org/node/2023465. + // https://www.drupal.org/node/2023465. $this->assertEqual(count($violations), 2, 'Violations found when email is too long'); $this->assertEqual($violations[0]->getPropertyPath(), 'mail.0.value'); $this->assertEqual($violations[0]->getMessage(), t('%name: the email address can not be longer than @max characters.', array('%name' => $user->get('mail')->getFieldDefinition()->getLabel(), '@max' => Email::EMAIL_MAX_LENGTH))); diff --git a/core/modules/user/user.module b/core/modules/user/user.module index adab7768fa0..b4c6e1611a4 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -52,7 +52,7 @@ function user_help($route_name, RouteMatchInterface $route_match) { case 'help.page.user': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The User module allows users to register, log in, and log out. It also allows users with proper permissions to manage user roles and permissions. For more information, see the online documentation for the User module.', array('!user_docs' => 'https://drupal.org/documentation/modules/user')) . '

    '; + $output .= '

    ' . t('The User module allows users to register, log in, and log out. It also allows users with proper permissions to manage user roles and permissions. For more information, see the online documentation for the User module.', array('!user_docs' => 'https://www.drupal.org/documentation/modules/user')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Creating and managing users') . '
    '; diff --git a/core/modules/views/src/EntityViewsData.php b/core/modules/views/src/EntityViewsData.php index 5cd321531c3..8216a784ae7 100644 --- a/core/modules/views/src/EntityViewsData.php +++ b/core/modules/views/src/EntityViewsData.php @@ -214,7 +214,7 @@ class EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterfac // entity manager. // @todo We should better just rely on information coming from the entity // storage. - // @todo https://drupal.org/node/2337511 + // @todo https://www.drupal.org/node/2337511 foreach ($table_mapping->getTableNames() as $table) { foreach ($table_mapping->getFieldNames($table) as $field_name) { $this->mapFieldDefinition($table, $field_name, $field_definitions[$field_name], $table_mapping, $data[$table]); diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php index 47f90250fb4..bc85ef71bd8 100644 --- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php +++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php @@ -2607,7 +2607,8 @@ abstract class DisplayPluginBase extends PluginBase implements DisplayPluginInte * An array of available entity row renderers keyed by renderer identifiers. */ protected function buildRenderingLanguageOptions() { - // @todo Consider making these plugins. See https://drupal.org/node/2173811. + // @todo Consider making these plugins. See + // https://www.drupal.org/node/2173811. return $this->listLanguages(LanguageInterface::STATE_CONFIGURABLE | LanguageInterface::STATE_SITE_DEFAULT | PluginBase::INCLUDE_NEGOTIATED | PluginBase::INCLUDE_ENTITY); } diff --git a/core/modules/views/src/Plugin/views/field/LinkBase.php b/core/modules/views/src/Plugin/views/field/LinkBase.php index abc505b2a2d..f57710a499f 100644 --- a/core/modules/views/src/Plugin/views/field/LinkBase.php +++ b/core/modules/views/src/Plugin/views/field/LinkBase.php @@ -71,7 +71,7 @@ abstract class LinkBase extends FieldPluginBase { /** * Gets the current active user. * - * @todo: https://drupal.org/node/2105123 put this method in + * @todo: https://www.drupal.org/node/2105123 put this method in * \Drupal\Core\Plugin\PluginBase instead. * * @return \Drupal\Core\Session\AccountInterface diff --git a/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php b/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php index b787285591c..997e8c3f7ca 100644 --- a/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php +++ b/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php @@ -828,8 +828,8 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface { } } } - // @todo refactor the code to use ViewExecutable::addHandler, see - // https://drupal.org/node/2383157 + // @todo Refactor the code to use ViewExecutable::addHandler. See + // https://www.drupal.org/node/2383157. $display_options['fields'][$default_field] = array( 'table' => $default_table, 'field' => $default_field, diff --git a/core/modules/views/src/ViewExecutable.php b/core/modules/views/src/ViewExecutable.php index 7fd389b653a..d5cd460af5a 100644 --- a/core/modules/views/src/ViewExecutable.php +++ b/core/modules/views/src/ViewExecutable.php @@ -1368,8 +1368,8 @@ class ViewExecutable implements \Serializable { $module_handler = \Drupal::moduleHandler(); - // @TODO on the longrun it would be great to execute a view without - // the theme system at all, see https://drupal.org/node/2322623. + // @TODO In the longrun, it would be great to execute a view without + // the theme system at all. See https://www.drupal.org/node/2322623. $active_theme = \Drupal::theme()->getActiveTheme(); $themes = array_keys($active_theme->getBaseThemes()); $themes[] = $active_theme->getName(); diff --git a/core/modules/views/views.module b/core/modules/views/views.module index 6fc41fa73d3..39589c23494 100644 --- a/core/modules/views/views.module +++ b/core/modules/views/views.module @@ -34,14 +34,14 @@ function views_help($route_name, RouteMatchInterface $route_match) { $output = ''; $output .= '

    ' . t('About') . '

    '; $output .= '

    ' . t('The Views module provides a back end to fetch information from content, user accounts, taxonomy terms, and other entities from the database and present it to the user as a grid, HTML list, table, unformatted list, etc. The resulting displays are known generally as views.') . '

    '; - $output .= '

    ' . t('For more information, see the online documentation for the Views module.', array('!views' => 'https://drupal.org/documentation/modules/views')) . '

    '; + $output .= '

    ' . t('For more information, see the online documentation for the Views module.', array('!views' => 'https://www.drupal.org/documentation/modules/views')) . '

    '; $output .= '

    ' . t('In order to create and modify your own views using the administration and configuration user interface, you will need to enable either the Views UI module in core or a contributed module that provides a user interface for Views. See the Views UI module help page for more information.', array('!views-ui' => (\Drupal::moduleHandler()->moduleExists('views_ui')) ? \Drupal::url('help.page', array('name' => 'views_ui')) : '#')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Adding functionality to administrative pages') . '
    '; $output .= '
    ' . t('The Views module adds functionality to some core administration pages. For example, admin/content uses Views to filter and sort content. With Views uninstalled, admin/content is more limited.') . '
    '; $output .= '
    ' . t('Expanding Views functionality') . '
    '; - $output .= '
    ' . t('Contributed projects that support the Views module can be found in the online documentation for Views-related contributed modules.', array('!node' => 'https://drupal.org/documentation/modules/views/add-ons')) . '
    '; + $output .= '
    ' . t('Contributed projects that support the Views module can be found in the online documentation for Views-related contributed modules.', array('!node' => 'https://www.drupal.org/documentation/modules/views/add-ons')) . '
    '; $output .= '
    ' . t('Improving table accessibility') . '
    '; $output .= '
    ' . t('Views tables include semantic markup to improve accessibility. Data cells are automatically associated with header cells through id and header attributes. To improve the accessibility of your tables you can add descriptive elements within the Views table settings. The caption element can introduce context for a table, making it easier to understand. The summary element can provide an overview of how the data has been organized and how to navigate the table. Both the caption and summary are visible by default and also implemented according to HTML5 guidelines.') . '
    '; $output .= '
    ' . t('Working with multilingual views') . '
    '; diff --git a/core/modules/views/views.views.inc b/core/modules/views/views.views.inc index be4b6e9d615..4f281222d17 100644 --- a/core/modules/views/views.views.inc +++ b/core/modules/views/views.views.inc @@ -323,7 +323,7 @@ function views_field_default_views_data(FieldStorageConfigInterface $field_stora // Description of the field tables. // @todo Generalize this code to make it work with any table layout. See - // https://drupal.org/node/2079019. + // https://www.drupal.org/node/2079019. $table_mapping = $storage->getTableMapping(); $field_tables = array( EntityStorageInterface::FIELD_LOAD_CURRENT => array( diff --git a/core/modules/views_ui/views_ui.module b/core/modules/views_ui/views_ui.module index 11d36ae18cd..6712c5d8bc5 100644 --- a/core/modules/views_ui/views_ui.module +++ b/core/modules/views_ui/views_ui.module @@ -24,7 +24,7 @@ function views_ui_help($route_name, RouteMatchInterface $route_match) { case 'help.page.views_ui': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Views UI module provides an interface for managing views for the Views module. For more information, see the online documentation for the Views UI module.', array('@views' => \Drupal::url('help.page', array('name' => 'views')), '@handbook' => 'https://drupal.org/documentation/modules/views_ui')) . '

    '; + $output .= '

    ' . t('The Views UI module provides an interface for managing views for the Views module. For more information, see the online documentation for the Views UI module.', array('@views' => \Drupal::url('help.page', array('name' => 'views')), '@handbook' => 'https://www.drupal.org/documentation/modules/views_ui')) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Creating and managing views.') . '
    '; diff --git a/core/scripts/update-countries.sh b/core/scripts/update-countries.sh index eee5fa2ff5d..6a8921d5fc9 100755 --- a/core/scripts/update-countries.sh +++ b/core/scripts/update-countries.sh @@ -42,7 +42,7 @@ if (!function_exists('t')) { // Read in existing codes. // @todo Allow to remove previously existing country codes. -// @see http://drupal.org/node/1436754 +// @see https://www.drupal.org/node/1436754 require_once DRUPAL_ROOT . '/core/lib/Drupal/Core/Locale/CountryManagerInterface.php'; require_once DRUPAL_ROOT . '/core/lib/Drupal/Core/Locale/CountryManager.php'; $existing_countries = \Drupal\Core\Locale\CountryManager::getStandardList(); diff --git a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php index 08c8af79288..25923334766 100644 --- a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php +++ b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php @@ -375,7 +375,7 @@ class DateTimePlusTest extends UnitTestCase { array(array('year' => 2010, 'month' => 2, 'day' => 28, 'hour' => 80, 'minute' => 0, 'second' => 0), 'America/Chicago'), // Test for invalid minute from date array. array(array('year' => 2010, 'month' => 7, 'day' => 8, 'hour' => 8, 'minute' => 88, 'second' => 0), 'America/Chicago'), - // Regression test for https://drupal.org/node/2084455 + // Regression test for https://www.drupal.org/node/2084455. array(array('hour' => 59, 'minute' => 1,'second' => 1), 'America/Chicago'), ); } @@ -388,7 +388,7 @@ class DateTimePlusTest extends UnitTestCase { * - 'date' - Date string or object for DateTimePlus. * - 'timezone' - Timezone string for DateTimePlus. * - 'expected' - Expected return from DateTimePlus::getTimezone()::getName(). - ' - 'message' - Message to display on test failure. + * - 'message' - Message to display on test failure. * * @see testDateTimezone */ diff --git a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php index b289d57db9c..2c258d6331d 100644 --- a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php @@ -359,9 +359,9 @@ class UrlHelperTest extends UnitTestCase { array('https://example.com/external/path', TRUE), array('javascript://fake-external-path', FALSE), // External URL without an explicit protocol. - array('//drupal.org/foo/bar?foo=bar&bar=baz&baz#foo', TRUE), + array('//www.drupal.org/foo/bar?foo=bar&bar=baz&baz#foo', TRUE), // Internal URL starting with a slash. - array('/drupal.org', FALSE), + array('/www.drupal.org', FALSE), ); } diff --git a/core/tests/Drupal/Tests/Component/Utility/XssTest.php b/core/tests/Drupal/Tests/Component/Utility/XssTest.php index e704538bf0b..7ca4be8d85d 100644 --- a/core/tests/Drupal/Tests/Component/Utility/XssTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/XssTest.php @@ -433,7 +433,7 @@ class XssTest extends UnitTestCase { ), ); // @fixme This dataset currently fails under 5.4 because of - // https://drupal.org/node/1210798 . Restore after its fixed. + // https://www.drupal.org/node/1210798. Restore after its fixed. if (version_compare(PHP_VERSION, '5.4.0', '<')) { $cases[] = array( '', diff --git a/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php index a805e857700..9a158cc6616 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php @@ -69,8 +69,8 @@ class CssOptimizerUnitTest extends UnitTestCase { return array( // File. Tests: // - Stripped comments and white-space. - // - Retain white-space in selectors. (http://drupal.org/node/472820) - // - Retain pseudo-selectors. (http://drupal.org/node/460448) + // - Retain white-space in selectors. (https://www.drupal.org/node/472820) + // - Retain pseudo-selectors. (https://www.drupal.org/node/460448) 0 => array( array( 'group' => -100, @@ -86,12 +86,12 @@ class CssOptimizerUnitTest extends UnitTestCase { file_get_contents($path . 'css_input_without_import.css.optimized.css'), ), // File. Tests: - // - Proper URLs in imported files. (http://drupal.org/node/265719) + // - Proper URLs in imported files. (https://www.drupal.org/node/265719) // - A background image with relative paths, which must be rewritten. // - The rewritten background image path must also be passed through - // file_create_url(). (https://drupal.org/node/1961340) + // file_create_url(). (https://www.drupal.org/node/1961340) // - Imported files that are external (protocol-relative URL or not) - // should not be expanded. (https://drupal.org/node/2014851) + // should not be expanded. (https://www.drupal.org/node/2014851) 1 => array( array( 'group' => -100, @@ -123,8 +123,9 @@ class CssOptimizerUnitTest extends UnitTestCase { file_get_contents($path . 'comment_hacks.css.optimized.css'), ), // File in subfolder. Tests: - // - CSS import path is properly interpreted. (https://drupal.org/node/1198904) - // - Don't adjust data URIs (https://drupal.org/node/2142441) + // - CSS import path is properly interpreted. + // (https://www.drupal.org/node/1198904) + // - Don't adjust data URIs (https://www.drupal.org/node/2142441) 5 => array( array( 'group' => -100, diff --git a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php index 4fa0db4c776..9865cb24af6 100644 --- a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php @@ -478,7 +478,7 @@ class LibraryDiscoveryParserTest extends UnitTestCase { $this->assertTrue(isset($library['license'])); $default_license = array( 'name' => 'GNU-GPL-2.0-or-later', - 'url' => 'https://drupal.org/licensing/faq', + 'url' => 'https://www.drupal.org/licensing/faq', 'gpl-compatible' => TRUE, ); $this->assertEquals($library['license'], $default_license); diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php index d4effdd850a..25b6a94ffb8 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @@ -835,7 +835,7 @@ class EntityManagerTest extends UnitTestCase { $module = 'entity_manager_test_module'; // @todo Mock FieldDefinitionInterface once it exposes a proper provider - // setter. See https://drupal.org/node/2225961. + // setter. See https://www.drupal.org/node/2225961. $field_definition = $this->getMockBuilder('Drupal\Core\Field\BaseFieldDefinition') ->disableOriginalConstructor() ->getMock(); diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php index f9e3eadc4c6..08152d9fd27 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php @@ -37,7 +37,7 @@ class ActiveLinkResponseFilterTest extends UnitTestCase { // Simple HTML. 0 => array('prefix' => '

    ', 'suffix' => '

    '), // Tricky HTML5 example that's unsupported by PHP <=5.4's DOMDocument: - // https://drupal.org/comment/7938201#comment-7938201. + // https://www.drupal.org/comment/7938201#comment-7938201. 1 => array('prefix' => '

    ', 'suffix' => '

    ' . $edge_case_html5 . '
    '), // Multi-byte content *before* the HTML that needs the "is-active" class. 2 => array('prefix' => '

    αβγδεζηθικλμνξοσὠ

    ', 'suffix' => '

    '), diff --git a/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php b/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php index cd1a392ddd4..bef3b11ab85 100644 --- a/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php @@ -99,7 +99,7 @@ class DefaultMenuLinkTreeManipulatorsTest extends UnitTestCase { 3 => MenuLinkMock::create(array('id' => 'test.example3', 'route_name' => 'example3', 'title' => 'baz', 'parent' => 'test.example2', 'route_parameters' => array('baz' => 'qux'))), 4 => MenuLinkMock::create(array('id' => 'test.example4', 'route_name' => 'example4', 'title' => 'qux', 'parent' => 'test.example3')), 5 => MenuLinkMock::create(array('id' => 'test.example5', 'route_name' => 'example5', 'title' => 'foofoo', 'parent' => '')), - 6 => MenuLinkMock::create(array('id' => 'test.example6', 'route_name' => '', 'url' => 'https://drupal.org/', 'title' => 'barbar', 'parent' => '')), + 6 => MenuLinkMock::create(array('id' => 'test.example6', 'route_name' => '', 'url' => 'https://www.drupal.org/', 'title' => 'barbar', 'parent' => '')), 7 => MenuLinkMock::create(array('id' => 'test.example7', 'route_name' => 'example7', 'title' => 'bazbaz', 'parent' => '')), 8 => MenuLinkMock::create(array('id' => 'test.example8', 'route_name' => 'example8', 'title' => 'quxqux', 'parent' => '')), ); diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php index b58f2a74c77..85b1984a9c9 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php @@ -18,7 +18,7 @@ use Symfony\Component\HttpFoundation\RequestStack; * Defines a base unit test for testing existence of local tasks. * * @todo Add tests for access checking and url building, - * https://drupal.org/node/2112245. + * https://www.drupal.org/node/2112245. */ abstract class LocalTaskIntegrationTestBase extends UnitTestCase { diff --git a/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php b/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php index 3069b74ab67..548f80fec6c 100644 --- a/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php @@ -101,7 +101,7 @@ class PathValidatorTest extends UnitTestCase { $this->accessAwareRouter->expects($this->never()) ->method('match'); - $this->assertTrue($this->pathValidator->isValid('https://drupal.org')); + $this->assertTrue($this->pathValidator->isValid('https://www.drupal.org')); } /** diff --git a/core/tests/Drupal/Tests/Core/Render/RendererTest.php b/core/tests/Drupal/Tests/Core/Render/RendererTest.php index 298a743d698..78fca243be4 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererTest.php @@ -127,7 +127,7 @@ class RendererTest extends RendererTestBase { ], ], '#attributes' => ['id' => 'foo'], - '#url' => 'http://drupal.org', + '#url' => 'https://www.drupal.org', '#title' => 'bar', ]; $setup_code_type_link = function() { @@ -144,13 +144,13 @@ class RendererTest extends RendererTestBase { ->with('link') ->willReturn(['#theme' => 'link']); }; - $data[] = [$build, '' . "\n", $setup_code_type_link]; + $data[] = [$build, '' . "\n", $setup_code_type_link]; // Tests that #theme_wrappers can disambiguate element attributes when the // "base" attribute is not set for #theme. $build = [ '#type' => 'link', - '#url' => 'http://drupal.org', + '#url' => 'https://www.drupal.org', '#title' => 'foo', '#theme_wrappers' => [ 'container' => [ @@ -158,7 +158,7 @@ class RendererTest extends RendererTestBase { ], ], ]; - $data[] = [$build, '' . "\n", $setup_code_type_link]; + $data[] = [$build, '' . "\n", $setup_code_type_link]; // Tests two 'container' #theme_wrappers, one using the "base" attributes // and one using an override. diff --git a/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php b/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php index 903adcea1b1..0a8a28ab46d 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php @@ -149,7 +149,7 @@ class RendererTestBase extends UnitTestCase { * * @see PostRenderCache::callback() * @see PostRenderCache::placeholder() - * @see https://drupal.org/node/2151609 + * @see https://www.drupal.org/node/2151609 */ protected function randomContextValue() { $tokens = ['llama', 'alpaca', 'camel', 'moose', 'elk']; diff --git a/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php b/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php index 6013810eb22..a040685f753 100644 --- a/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php +++ b/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php @@ -38,7 +38,7 @@ class UnroutedUrlTest extends UnitTestCase { * * @var string */ - protected $unroutedExternal = 'http://drupal.org'; + protected $unroutedExternal = 'https://www.drupal.org'; /** * An unrouted, internal URL to test. @@ -86,7 +86,7 @@ class UnroutedUrlTest extends UnitTestCase { return [ // [$uri, $is_external] // An external URI. - ['http://drupal.org', TRUE], + ['https://www.drupal.org', TRUE], // An internal, unrouted, base-relative URI. ['base:robots.txt', FALSE], // Base-relative URIs with special characters. diff --git a/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php b/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php index c0f2cf7e592..5bf2b948e49 100644 --- a/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php @@ -154,7 +154,7 @@ class LinkGeneratorTest extends UnitTestCase { public function testGenerateExternal() { $this->urlAssembler->expects($this->once()) ->method('assemble') - ->with('http://drupal.org', array('set_active_class' => TRUE, 'external' => TRUE) + $this->defaultOptions) + ->with('https://www.drupal.org', array('set_active_class' => TRUE, 'external' => TRUE) + $this->defaultOptions) ->will($this->returnArgument(0)); $this->moduleHandler->expects($this->once()) @@ -163,10 +163,10 @@ class LinkGeneratorTest extends UnitTestCase { $this->urlAssembler->expects($this->once()) ->method('assemble') - ->with('http://drupal.org', array('set_active_class' => TRUE, 'external' => TRUE) + $this->defaultOptions) + ->with('https://www.drupal.org', array('set_active_class' => TRUE, 'external' => TRUE) + $this->defaultOptions) ->willReturnArgument(0); - $url = Url::fromUri('http://drupal.org'); + $url = Url::fromUri('https://www.drupal.org'); $url->setUrlGenerator($this->urlGenerator); $url->setUnroutedUrlAssembler($this->urlAssembler); $url->setOption('set_active_class', TRUE); @@ -174,7 +174,7 @@ class LinkGeneratorTest extends UnitTestCase { $result = $this->linkGenerator->generate('Drupal', $url); $this->assertLink(array( 'attributes' => array( - 'href' => 'http://drupal.org', + 'href' => 'https://www.drupal.org', ), 'content' => 'Drupal', ), $result); diff --git a/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php b/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php index d86fc9d7f58..0433561b5d7 100644 --- a/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @@ -102,7 +102,7 @@ class UnroutedUrlAssemblerTest extends UnitTestCase { ['http://example.com/test', ['https' => TRUE], 'https://example.com/test'], ['https://example.com/test', ['https' => FALSE], 'http://example.com/test'], ['https://example.com/test?foo=1#bar', [], 'https://example.com/test?foo=1#bar'], - ['//drupal.org', [], '//drupal.org'], + ['//www.drupal.org', [], '//www.drupal.org'], ]; } diff --git a/core/themes/classy/templates/dataset/table.html.twig b/core/themes/classy/templates/dataset/table.html.twig index f8e6a6c852d..70801d61b18 100644 --- a/core/themes/classy/templates/dataset/table.html.twig +++ b/core/themes/classy/templates/dataset/table.html.twig @@ -9,7 +9,7 @@ * - colgroups: Column groups. Each group contains the following properties: * - attributes: HTML attributes to apply to the tag. * Note: Drupal currently supports only one table header row, see - * http://drupal.org/node/893530 and + * https://www.drupal.org/node/893530 and * http://api.drupal.org/api/drupal/includes!theme.inc/function/theme_table/7#comment-5109. * - header: Table header cells. Each cell contains the following properties: * - tag: The HTML tag name to use; either TH or TD. diff --git a/core/themes/classy/templates/form/checkboxes.html.twig b/core/themes/classy/templates/form/checkboxes.html.twig index 0b497928d97..9199f7e4c45 100644 --- a/core/themes/classy/templates/form/checkboxes.html.twig +++ b/core/themes/classy/templates/form/checkboxes.html.twig @@ -9,7 +9,7 @@ * * @see template_preprocess_checkboxes() */ - @todo: remove this file once http://drupal.org/node/1819284 is resolved. + @todo: remove this file once https://www.drupal.org/node/1819284 is resolved. This is identical to core/modules/system/templates/container.html.twig #} {{ children }} diff --git a/core/themes/seven/css/components/buttons.css b/core/themes/seven/css/components/buttons.css index d0c24fb6b9c..a4855af0456 100644 --- a/core/themes/seven/css/components/buttons.css +++ b/core/themes/seven/css/components/buttons.css @@ -18,7 +18,7 @@ * 6. Prevent fat text in WebKit. * * @todo Consider moving box-sizing into base.css under a universal selector. - * See https://drupal.org/node/2124251 + * See https://www.drupal.org/node/2124251 * */ .button { @@ -173,7 +173,7 @@ * We've temporarily added the danger button here, bit of a harsh reset but we * need it. * @todo replace with link--danger. - * See https://drupal.org/node/2123731 + * See https://www.drupal.org/node/2123731 */ .button--danger { display: inline; diff --git a/core/themes/stark/README.txt b/core/themes/stark/README.txt index dd6f38645f7..141a3d0fc37 100644 --- a/core/themes/stark/README.txt +++ b/core/themes/stark/README.txt @@ -19,7 +19,7 @@ ABOUT DRUPAL THEMING -------------------- To learn how to build your own custom theme and override Drupal's default code, -see the Theming Guide: http://drupal.org/theme-guide +see the Theming Guide: https://www.drupal.org/theme-guide See the themes/README.txt for more information on where to place your custom themes to ensure easy maintenance and upgrades. diff --git a/core/themes/stark/stark.info.yml b/core/themes/stark/stark.info.yml index bd520f5c04a..69337d52d69 100644 --- a/core/themes/stark/stark.info.yml +++ b/core/themes/stark/stark.info.yml @@ -1,6 +1,6 @@ name: Stark type: theme -description: 'An intentionally plain theme with almost no styling to demonstrate default Drupal’s HTML and CSS. Learn how to build a custom theme from Stark in the Theming Guide.' +description: 'An intentionally plain theme with almost no styling to demonstrate default Drupal’s HTML and CSS. Learn how to build a custom theme from Stark in the Theming Guide.' package: Core version: VERSION core: 8.x diff --git a/index.php b/index.php index 53392f9acd9..654163fd549 100644 --- a/index.php +++ b/index.php @@ -30,7 +30,7 @@ catch (HttpExceptionInterface $e) { $response->prepare($request)->send(); } catch (Exception $e) { - $message = 'If you have just changed code (for example deployed a new module or moved an existing one) read http://drupal.org/documentation/rebuild'; + $message = 'If you have just changed code (for example deployed a new module or moved an existing one) read https://www.drupal.org/documentation/rebuild'; if (Settings::get('rebuild_access', FALSE)) { $rebuild_path = $GLOBALS['base_url'] . '/rebuild.php'; $message .= " or run the rebuild script"; diff --git a/modules/README.txt b/modules/README.txt index 339aa00a6c1..477c31580c0 100644 --- a/modules/README.txt +++ b/modules/README.txt @@ -1,7 +1,7 @@ Place downloaded and custom modules that extend your site functionality beyond Drupal core in this directory to ensure clean separation from core modules and to facilitate safe, self-contained code updates. Contributed modules from the -Drupal community may be downloaded at http://drupal.org/project/modules. +Drupal community may be downloaded at https://www.drupal.org/project/modules. It is safe to organize modules into subdirectories, such as "contrib" for contributed modules, and "custom" for custom modules. Note that if you move a diff --git a/sites/default/default.services.yml b/sites/default/default.services.yml index c44c73b9c9f..a9072cad523 100644 --- a/sites/default/default.services.yml +++ b/sites/default/default.services.yml @@ -51,7 +51,7 @@ parameters: # changes (see auto_reload below). # # For more information about debugging Twig templates, see - # http://drupal.org/node/1906392. + # https://www.drupal.org/node/1906392. # # Not recommended in production environments # @default false diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php index 3783d0ab7fc..ef839391355 100644 --- a/sites/default/default.settings.php +++ b/sites/default/default.settings.php @@ -22,7 +22,7 @@ * 'sites/default' will be used. * * For example, for a fictitious site installed at - * http://www.drupal.org:8080/mysite/test/, the 'settings.php' file is searched + * https://www.drupal.org:8080/mysite/test/, the 'settings.php' file is searched * for in the following directories: * * - sites/8080.www.drupal.org.mysite.test @@ -44,7 +44,7 @@ * * Note that if you are installing on a non-standard port number, prefix the * hostname with that number. For example, - * http://www.drupal.org:8080/mysite/test/ could be loaded from + * https://www.drupal.org:8080/mysite/test/ could be loaded from * sites/8080.www.drupal.org.mysite.test/. * * @see example.sites.php @@ -430,7 +430,7 @@ if ($settings['hash_salt']) { * the code directly via SSH or FTP themselves. This setting completely * disables all functionality related to these authorized file operations. * - * @see http://drupal.org/node/244924 + * @see https://www.drupal.org/node/244924 * * Remove the leading hash signs to disable. */ @@ -463,8 +463,8 @@ if ($settings['hash_salt']) { * Note: Caches need to be cleared when this value is changed to make the * private:// stream wrapper available to the system. * - * See http://drupal.org/documentation/modules/file for more information about - * securing private files. + * See https://www.drupal.org/documentation/modules/file for more information + * about securing private files. */ # $settings['file_private_path'] = ''; diff --git a/sites/example.sites.php b/sites/example.sites.php index 2a813dd4fb1..23a9c71861a 100644 --- a/sites/example.sites.php +++ b/sites/example.sites.php @@ -21,17 +21,17 @@ * * Aliases are defined in an associative array named $sites. The array is * written in the format: '..' => 'directory'. As an - * example, to map http://www.drupal.org:8080/mysite/test to the configuration + * example, to map https://www.drupal.org:8080/mysite/test to the configuration * directory sites/example.com, the array should be defined as: * @code * $sites = array( * '8080.www.drupal.org.mysite.test' => 'example.com', * ); * @endcode - * The URL, http://www.drupal.org:8080/mysite/test/, could be a symbolic link or - * an Apache Alias directive that points to the Drupal root containing + * The URL, https://www.drupal.org:8080/mysite/test/, could be a symbolic link + * or an Apache Alias directive that points to the Drupal root containing * index.php. An alias could also be created for a subdomain. See the - * @link http://drupal.org/documentation/install online Drupal installation guide @endlink + * @link https://www.drupal.org/documentation/install online Drupal installation guide @endlink * for more information on setting up domains, subdomains, and subdirectories. * * The following examples look for a site configuration in sites/example.com: @@ -45,11 +45,11 @@ * URL: http://localhost:8080/example * $sites['8080.localhost.example'] = 'example.com'; * - * URL: http://www.drupal.org:8080/mysite/test/ + * URL: https://www.drupal.org:8080/mysite/test/ * $sites['8080.www.drupal.org.mysite.test'] = 'example.com'; * @endcode * * @see default.settings.php * @see conf_path() - * @see http://drupal.org/documentation/install/multi-site + * @see https://www.drupal.org/documentation/install/multi-site */ diff --git a/themes/README.txt b/themes/README.txt index 320b9671274..b0723f786d3 100644 --- a/themes/README.txt +++ b/themes/README.txt @@ -1,7 +1,7 @@ Place downloaded and custom themes that modify your site's appearance in this directory to ensure clean separation from Drupal core and to facilitate safe, self-contained code updates. Contributed themes from the Drupal community may -be downloaded at http://drupal.org/project/themes. +be downloaded at https://www.drupal.org/project/themes. It is safe to organize themes into subdirectories and is recommended to use Drupal's sub-theme functionality to ensure easy maintenance and upgrades.