Tim Landscheidt has uploaded a new change for review. https://gerrit.wikimedia.org/r/103641
Change subject: Use absolute paths especially in error pages ...................................................................... Use absolute paths especially in error pages In error pages for example for https://tools.wmflabs.org/does/not/exist, the path to the logo and the links to "Tools", "Status", etc. would be relative to https://tools.wmflabs.org/does/not/ and thus not work. Change-Id: Ie66b19dcd82d0a6910a761d3458d2d4938263f87 --- M www/index.php 1 file changed, 7 insertions(+), 7 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/labs/toollabs refs/changes/41/103641/1 diff --git a/www/index.php b/www/index.php index 25f7505..0cdb89c 100644 --- a/www/index.php +++ b/www/index.php @@ -38,7 +38,7 @@ <meta name="publisher" content="Wikimedia Foundation" /> <meta name="language" content="Many" /> <meta name="robots" content="index, follow" /> - <link rel="StyleSheet" href="style.css" type="text/css" media="screen" /> + <link rel="StyleSheet" href="/style.css" type="text/css" media="screen" /> <!--[if lt IE 7]> <style media="screen" type="text/css"> .col1 { @@ -77,17 +77,17 @@ </div> </div> <div class="col2"> - <div id="logo"><a href="/"><img src="./Tool_Labs_logo_thumb.png" width="122" height="138" alt="Wikitech and Wikimedia Labs" /></a></div> + <div id="logo"><a href="/"><img src="/Tool_Labs_logo_thumb.png" width="122" height="138" alt="Wikitech and Wikimedia Labs" /></a></div> <ul> - <li><a href="?list">Tools</a></li> - <li><a href="?status">Status</a></li> - <li><a href="?Privacy">Privacy policy</a></li> + <li><a href="/?list">Tools</a></li> + <li><a href="/?status">Status</a></li> + <li><a href="/?Privacy">Privacy policy</a></li> </ul> <em>Maintainers:</em> <ul> - <li><a href="?Help">Help</a></li> - <li><a href="?Rules">Rules</a></li> + <li><a href="/?Help">Help</a></li> + <li><a href="/?Rules">Rules</a></li> </ul> </div> </div> -- To view, visit https://gerrit.wikimedia.org/r/103641 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie66b19dcd82d0a6910a761d3458d2d4938263f87 Gerrit-PatchSet: 1 Gerrit-Project: labs/toollabs Gerrit-Branch: master Gerrit-Owner: Tim Landscheidt <t...@tim-landscheidt.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits