Index: trunk/phase3/includes/Parser.php |
— | — | @@ -426,7 +426,7 @@ |
427 | 427 | $text = $wgDateFormatter->reformat( $this->mOptions->getDateFormat(), $text ); |
428 | 428 | } |
429 | 429 | |
430 | | - $text = ' '.$this->replaceExternalLinks( $text ); |
| 430 | + $text = $this->replaceExternalLinks( $text ); |
431 | 431 | $text = $this->doTokenizedParser ( $text ); |
432 | 432 | $text = $this->doTableStuff ( $text ) ; |
433 | 433 | |
— | — | @@ -974,7 +974,6 @@ |
975 | 975 | # and making lists from lines starting with * # : etc. |
976 | 976 | # |
977 | 977 | $a = explode( "\n", $text ); |
978 | | - $a[0] = "\n".$a[0]; |
979 | 978 | $lastPref = $text = ''; |
980 | 979 | $this->mDTopen = $inBlockElem = false; |
981 | 980 | |
— | — | @@ -1591,8 +1590,8 @@ |
1592 | 1591 | } |
1593 | 1592 | $full .= $block; |
1594 | 1593 | if( $doShowToc && !$i) { |
1595 | | - # Let's add a top anchor just in case we want to link to the top of the page |
1596 | | - $full = "<a name=\"top\"></a>".$full.$toc; |
| 1594 | + # Top anchor now in skin |
| 1595 | + $full = $full.$toc; |
1597 | 1596 | } |
1598 | 1597 | |
1599 | 1598 | if( !empty( $head[$i] ) ) { |