Index: src/wp-includes/template.php
===================================================================
--- src/wp-includes/template.php	(revision 39093)
+++ src/wp-includes/template.php	(working copy)
@@ -418,10 +418,10 @@
 		if ( $pagename_decoded !== $pagename ) {
 			$templates[] = "page-{$pagename_decoded}.php";
 		}
-		$templates[] = "page-$pagename.php";
+		$templates[] = "page-{$pagename}.php";
 	}
 	if ( $id )
-		$templates[] = "page-$id.php";
+		$templates[] = "page-{$id}.php";
 	$templates[] = 'page.php';
 
 	return get_query_template( 'page', $templates );
