| Index: trunk/phase3/includes/Title.php |
| — | — | @@ -843,7 +843,7 @@ |
| 844 | 844 | # Expand the url to make it a full url. Note that getLocalURL has the |
| 845 | 845 | # potential to output full urls for a variety of reasons, so we use |
| 846 | 846 | # wfExpandUrl instead of simply prepending $wgServer |
| 847 | | - $url = wfExpandUrl( $url ); |
| | 847 | + $url = wfExpandUrl( $url, PROTO_RELATIVE ); |
| 848 | 848 | |
| 849 | 849 | # Finally, add the fragment. |
| 850 | 850 | $url .= $this->getFragmentForURL(); |