Ori.livneh has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/249796

Change subject: move error pages to errorpages/
......................................................................

move error pages to errorpages/

Should be deployed along with I126e57a9613 in operations/puppet.

Change-Id: Ibd8f69a54ac24c7dd613d897a974c80990b6879c
---
M docroot/bits/404.html
M docroot/bits/503.html
M docroot/bits/w/404.php
M docroot/commons/503.html
A docroot/fix-links
M docroot/foundation/503.html
M docroot/mediawiki/503.html
M docroot/secure/404.html
M docroot/skel-1.5/503.html
M docroot/usability/503.html
M docroot/wikibooks.org/503.html
M docroot/wikidata/503.html
M docroot/wikimedia.org/503.html
M docroot/wikinews.org/503.html
M docroot/wikipedia.org/503.html
M docroot/wikiquote.org/503.html
M docroot/wikisource.org/503.html
M docroot/wikiversity.org/503.html
M docroot/wikivoyage.org/503.html
M docroot/wiktionary.org/503.html
M docroot/wwwportal/w/404.php
R errorpages/404.html
R errorpages/404.php
R errorpages/503.html
R errorpages/hhvm-fatal-error.php
R errorpages/php-fatal-error.html
A w/404.php
27 files changed, 28 insertions(+), 20 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/96/249796/1

diff --git a/docroot/bits/404.html b/docroot/bits/404.html
index c18423d..8c212d4 120000
--- a/docroot/bits/404.html
+++ b/docroot/bits/404.html
@@ -1 +1 @@
-../../404.html
\ No newline at end of file
+../../errorpages/404.html
\ No newline at end of file
diff --git a/docroot/bits/503.html b/docroot/bits/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/bits/503.html
+++ b/docroot/bits/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/bits/w/404.php b/docroot/bits/w/404.php
index 0cdd778..fa21452 120000
--- a/docroot/bits/w/404.php
+++ b/docroot/bits/w/404.php
@@ -1 +1 @@
-../../../live-1.5/404.php
\ No newline at end of file
+../../../errorpages/404.php
\ No newline at end of file
diff --git a/docroot/commons/503.html b/docroot/commons/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/commons/503.html
+++ b/docroot/commons/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/fix-links b/docroot/fix-links
new file mode 100755
index 0000000..64332f3
--- /dev/null
+++ b/docroot/fix-links
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+for file in ./**/503.html ; do
+    cd "$(dirname $file)"
+    unlink 503.html
+    ln -sf ../../errorpages/503.html 503.html
+    cd ..
+done
diff --git a/docroot/foundation/503.html b/docroot/foundation/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/foundation/503.html
+++ b/docroot/foundation/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/mediawiki/503.html b/docroot/mediawiki/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/mediawiki/503.html
+++ b/docroot/mediawiki/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/secure/404.html b/docroot/secure/404.html
index c18423d..8c212d4 120000
--- a/docroot/secure/404.html
+++ b/docroot/secure/404.html
@@ -1 +1 @@
-../../404.html
\ No newline at end of file
+../../errorpages/404.html
\ No newline at end of file
diff --git a/docroot/skel-1.5/503.html b/docroot/skel-1.5/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/skel-1.5/503.html
+++ b/docroot/skel-1.5/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/usability/503.html b/docroot/usability/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/usability/503.html
+++ b/docroot/usability/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/wikibooks.org/503.html b/docroot/wikibooks.org/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/wikibooks.org/503.html
+++ b/docroot/wikibooks.org/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/wikidata/503.html b/docroot/wikidata/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/wikidata/503.html
+++ b/docroot/wikidata/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/wikimedia.org/503.html b/docroot/wikimedia.org/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/wikimedia.org/503.html
+++ b/docroot/wikimedia.org/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/wikinews.org/503.html b/docroot/wikinews.org/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/wikinews.org/503.html
+++ b/docroot/wikinews.org/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/wikipedia.org/503.html b/docroot/wikipedia.org/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/wikipedia.org/503.html
+++ b/docroot/wikipedia.org/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/wikiquote.org/503.html b/docroot/wikiquote.org/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/wikiquote.org/503.html
+++ b/docroot/wikiquote.org/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/wikisource.org/503.html b/docroot/wikisource.org/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/wikisource.org/503.html
+++ b/docroot/wikisource.org/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/wikiversity.org/503.html b/docroot/wikiversity.org/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/wikiversity.org/503.html
+++ b/docroot/wikiversity.org/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/wikivoyage.org/503.html b/docroot/wikivoyage.org/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/wikivoyage.org/503.html
+++ b/docroot/wikivoyage.org/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/wiktionary.org/503.html b/docroot/wiktionary.org/503.html
index 0562d3e..8a0c3a2 120000
--- a/docroot/wiktionary.org/503.html
+++ b/docroot/wiktionary.org/503.html
@@ -1 +1 @@
-../../503.html
\ No newline at end of file
+../../errorpages/503.html
\ No newline at end of file
diff --git a/docroot/wwwportal/w/404.php b/docroot/wwwportal/w/404.php
index 4609e45..fa21452 120000
--- a/docroot/wwwportal/w/404.php
+++ b/docroot/wwwportal/w/404.php
@@ -1 +1 @@
-../../../w/404.php
\ No newline at end of file
+../../../errorpages/404.php
\ No newline at end of file
diff --git a/404.html b/errorpages/404.html
similarity index 100%
rename from 404.html
rename to errorpages/404.html
diff --git a/w/404.php b/errorpages/404.php
similarity index 100%
rename from w/404.php
rename to errorpages/404.php
diff --git a/503.html b/errorpages/503.html
similarity index 100%
rename from 503.html
rename to errorpages/503.html
diff --git a/hhvm-fatal-error.php b/errorpages/hhvm-fatal-error.php
similarity index 100%
rename from hhvm-fatal-error.php
rename to errorpages/hhvm-fatal-error.php
diff --git a/php-fatal-error.html b/errorpages/php-fatal-error.html
similarity index 100%
rename from php-fatal-error.html
rename to errorpages/php-fatal-error.html
diff --git a/w/404.php b/w/404.php
new file mode 120000
index 0000000..1b8af13
--- /dev/null
+++ b/w/404.php
@@ -0,0 +1 @@
+../errorpages/404.php
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/249796
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibd8f69a54ac24c7dd613d897a974c80990b6879c
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to