Skip to content

Commit efef280

Browse files
committed
Fix some more drupal.org URL's
1 parent 3e0ed63 commit efef280

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ It does this by:
5050
#### Indentation
5151

5252
In php-mode code will be indented according to
53-
[Drupals coding standards](https://drupal.org/coding-standards). If not
53+
[Drupals coding standards](https://www.drupal.org/coding-standards). If not
5454
it is considered a bug!
5555

5656

@@ -165,7 +165,7 @@ For this to work you need:
165165

166166
* [PHP CodeSniffer](https://pear.php.net/package/PHP_CodeSniffer)
167167
* [flymake-phpcs.el](https://melpa.org/#/flymake-phpcs)
168-
* [Drupal Code Sniffer](https://drupal.org/project/drupalcs) rules
168+
* [Drupal Code Sniffer](https://www.drupal.org/project/drupalcs) rules
169169

170170

171171
## Other takes on a Drupal mode

drupal-mode.el

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ a single newline (\\n)."
7171
(const :tag "Always" t)
7272
(const :tag "Never" nil)
7373
(const :tag "Ask" ask))
74-
:link '(url-link :tag "drupal.org" "https://drupal.org/coding-standards#indenting")
74+
:link '(url-link :tag "drupal.org" "https://www.drupal.org/coding-standards")
7575
:group 'drupal)
7676

7777

@@ -92,7 +92,7 @@ whitespace at the end."
9292
(const :tag "Always" always)
9393
(const :tag "Default" default)
9494
(const :tag "Never" never))
95-
:link '(url-link :tag "drupal.org" "https://drupal.org/coding-standards#indenting")
95+
:link '(url-link :tag "drupal.org" "https://www.drupal.org/coding-standards")
9696
:group 'drupal)
9797

9898

@@ -338,8 +338,8 @@ function arguments.")
338338
(c-special-indent-hook . c-gnu-impose-minimum)
339339
)
340340
"Drupal coding style.
341-
According to https://drupal.org/coding-standards#indenting."
342-
:link '(url-link :tag "drupal.org" "https://drupal.org/coding-standards#indenting")
341+
According to https://www.drupal.org/coding-standards."
342+
:link '(url-link :tag "drupal.org" "https://www.drupal.org/coding-standards")
343343
:group 'drupal)
344344

345345
(c-add-style "drupal" drupal-style)
@@ -439,13 +439,13 @@ of the project)."
439439

440440
(define-key drupal-mode-map
441441
[menu-bar drupal drupal-project drupal-project-bugs]
442-
'(menu-item "Bug reports" (lambda () (interactive) (browse-url (concat "https://drupal.org/project/issues/" drupal-project "?categories=bug")))))
442+
'(menu-item "Bug reports" (lambda () (interactive) (browse-url (concat "https://www.drupal.org/project/issues/" drupal-project "?categories=bug")))))
443443
(define-key drupal-mode-map
444444
[menu-bar drupal drupal-project drupal-project-issues]
445-
'(menu-item "Issues" (lambda () (interactive) (browse-url (concat "https://drupal.org/project/issues/" drupal-project "?categories=All")))))
445+
'(menu-item "Issues" (lambda () (interactive) (browse-url (concat "https://www.drupal.org/project/issues/" drupal-project "?categories=All")))))
446446
(define-key drupal-mode-map
447447
[menu-bar drupal drupal-project drupal-project-home]
448-
'(menu-item "Project page" (lambda () (interactive) (browse-url (concat "https://drupal.org/project/" drupal-project)))))
448+
'(menu-item "Project page" (lambda () (interactive) (browse-url (concat "https://www.drupal.org/project/" drupal-project)))))
449449
(define-key drupal-mode-map
450450
[menu-bar drupal drupal-project drupal-project-separator]
451451
'("--"))
@@ -460,7 +460,7 @@ of the project)."
460460

461461
(defun drupal-convert-line-ending ()
462462
"Convert to unix style line ending.
463-
According to https://drupal.org/coding-standards#indenting you
463+
According to https://www.drupal.org/coding-standards you
464464
should save your files with unix style end of line."
465465
(when (and drupal-mode
466466
drupal-convert-line-ending

drupal/emacs-drush.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; drupal/emacs-drush.el --- Drupal-mode support for Drush utilities for Emacs users
22

3-
;; Copyright (C) 2012, 2013, 2015 Arne Jørgensen
3+
;; Copyright (C) 2012, 2013, 2015, 2020 Arne Jørgensen
44

55
;; Author: Arne Jørgensen <[email protected]>
66

@@ -22,7 +22,7 @@
2222
;;; Commentary:
2323

2424
;; You need to install `Drush utilities for Emacs users'
25-
;; <https://drupal.org/project/emacs_drush> for this to work.
25+
;; <https://www.drupal.org/project/emacs_drush> for this to work.
2626

2727
;; If `Drush utilities for Emacs users' is installed it will run
2828
;; `drush etags' on `after-save-hook' if a TAGS file is present in
@@ -43,7 +43,7 @@ Requires `Drush utilities for Emacs users' to be installed."
4343
:type `(choice
4444
(const :tag "Yes" t)
4545
(const :tag "No" nil))
46-
:link '(url-link :tag "Drush utilities for Emacs users" "https://drupal.org/project/emacs_drush")
46+
:link '(url-link :tag "Drush utilities for Emacs users" "https://www.drupal.org/project/emacs_drush")
4747
:group 'drupal)
4848

4949
(defun drupal/emacs-drush-run-after-save ()

drupal/flymake-phpcs.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; drupal/flymake-phpcs.el --- Drupal-mode support for flymake-phpcs
22

3-
;; Copyright (C) 2012, 2013, 2014 Arne Jørgensen
3+
;; Copyright (C) 2012, 2013, 2014, 2020 Arne Jørgensen
44

55
;; Author: Arne Jørgensen <[email protected]>
66

@@ -57,7 +57,7 @@ file (and thus on the remote machine), or in the same place as
5757
(const :tag "No" nil)
5858
(const :tag "Auto" auto)
5959
(const :tag "Default" default))
60-
:link '(url-link :tag "Drupal Coder Sniffer" "https://drupal.org/project/coder")
60+
:link '(url-link :tag "Drupal Coder Sniffer" "https://www.drupal.org/project/coder")
6161
:group 'drupal))
6262

6363
(defun drupal/flymake-phpcs-enable ()

drupal/ispell.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; drupal/ispell.el --- Drupal-mode support for ispell
22

3-
;; Copyright (C) 2012, 2013 Arne Jørgensen
3+
;; Copyright (C) 2012, 2013, 2020 Arne Jørgensen
44

55
;; Author: Arne Jørgensen <[email protected]>
66

@@ -30,7 +30,7 @@
3030
(defun drupal/ispell-enable ()
3131
"Set `ispell-local-dictionary' to `american'.
3232
Comments and names should use US English spelling (e.g., `color'
33-
not `colour') according to https://drupal.org/coding-standards."
33+
not `colour') according to https://www.drupal.org/coding-standards."
3434
(when (member "american" (ispell-valid-dictionary-list))
3535
(setq ispell-local-dictionary "american")))
3636

drupal/phpcs.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; drupal/phpcs.el --- Drupal-mode common support for flymake-phpcs and flycheck
22

3-
;; Copyright (C) 2012, 2013, 2016 Arne Jørgensen
3+
;; Copyright (C) 2012, 2013, 2016, 2020 Arne Jørgensen
44

55
;; Author: Arne Jørgensen <[email protected]>
66

@@ -43,7 +43,7 @@ This can either be the name of an installed standard (to see
4343
installed standards run `phpcs -i') or it can be the file name of
4444
a standard. Adding file name requires PHP CodeSniffer version
4545
1.3.4 or newer."
46-
:link '(url-link :tag "Drupal Coder Sniffer" "https://drupal.org/node/1419980")
46+
:link '(url-link :tag "Drupal Coder Sniffer" "https://www.drupal.org/node/1419980")
4747
:group 'drupal)
4848

4949

0 commit comments

Comments
 (0)