Fix bug in r94995: getCanonicalUrl() doesn't append the fragment. This is correct...
authorRoan Kattouw <catrope@users.mediawiki.org>
Sun, 28 Aug 2011 15:15:42 +0000 (15:15 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sun, 28 Aug 2011 15:15:42 +0000 (15:15 +0000)
commit7e15b7c97d2065024f822f00f5dcb7f265a6d4b7
treebcc0030bfe745a12efe5ffdf592c7272942163be
parentfb0d36868dac698b3dc38d858a10d0865fb47812
Fix bug in r94995: getCanonicalUrl() doesn't append the fragment. This is correct behavior for getInternalUrl() (which the code was based on) but not for getFullUrl() (which is what I'm swapping getCanonicalUrl() in for in certain places). Was exposed by a unit test in CodeReview breaking on me when I tried to use canonical URLs in e-mail notifications.
includes/Title.php