Index: trunk/phase3/includes/Parser.php |
— | — | @@ -1852,6 +1852,9 @@ |
1853 | 1853 | wfProfileIn( $fname ); |
1854 | 1854 | $ret = $target; # default return value is no change |
1855 | 1855 | |
| 1856 | + # bug 7425 |
| 1857 | + $target = trim( $target ); |
| 1858 | + |
1856 | 1859 | # Some namespaces don't allow subpages, |
1857 | 1860 | # so only perform processing if subpages are allowed |
1858 | 1861 | if( $this->areSubpagesAllowed() ) { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -233,6 +233,7 @@ |
234 | 234 | prevented fromm login. |
235 | 235 | * (bug 6092) Introduce magic words {{REVISIONDAY}}, {{REVISIONDAY2}, {{REVISIONMONTH}}, |
236 | 236 | {{REVISIONYEAR}} and {{REVISIONTIMESTAMP}} |
| 237 | +* (bug 7425) Preceeding whitespace in [[...]] breaks subpages |
237 | 238 | |
238 | 239 | |
239 | 240 | == Languages updated == |