Index: includes/OutputPage.php
===================================================================
--- includes/OutputPage.php	(revision 92407)
+++ includes/OutputPage.php	(working copy)
@@ -2827,7 +2827,7 @@
 			$tags[] = Html::element( 'link', array(
 				'rel' => 'EditURI',
 				'type' => 'application/rsd+xml',
-				'href' => wfExpandUrl( wfAppendQuery( wfScript( 'api' ), array( 'action' => 'rsd' ) ) ),
+				'href' => wfAppendQuery( wfScript( 'api' ), array( 'action' => 'rsd' ) ),
 			) );
 		}
 
