Reedy has uploaded a new change for review.

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


Change subject: Add $prot back in
......................................................................

Add $prot back in

Change-Id: I5a5b580ebba78d506aad73b69892ef66fd871643
---
M w/404.php
1 file changed, 1 insertion(+), 3 deletions(-)


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

diff --git a/w/404.php b/w/404.php
index ee66c8c..c257995 100644
--- a/w/404.php
+++ b/w/404.php
@@ -20,9 +20,7 @@
        || preg_match( "|^/extensions/(.*)|i",$loc, $matches )
 ) {
        $title = htmlspecialchars( $matches[1] );
-       $details = "<p style=\"font-weight: bold;\">To check for \"$title\"  
see:
-                               <a href=\"//$serv/wiki/$title\" 
title=\"$title\">
-                               //$serv/wiki/$title</a></p>";
+       $details = "<p style=\"font-weight: bold;\">To check for \"$title\" 
see: <a href=\"//$serv/wiki/$title\" 
title=\"$title\">$prot$serv/wiki/$title</a></p>";
 } else {
        $target = $prot . $serv . "/wiki" . $loc;
        $encTarget = htmlspecialchars( $target );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a5b580ebba78d506aad73b69892ef66fd871643
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>

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

Reply via email to