From: River Tarnell Date: Mon, 14 Mar 2005 03:34:32 +0000 (+0000) Subject: ampersand 4eva X-Git-Tag: 1.5.0alpha1~614 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=8191088d1e2e4344e181ca7faaf87961ad83c9f2;p=lhc%2Fweb%2Fwiklou.git ampersand 4eva --- diff --git a/includes/PageHistory.php b/includes/PageHistory.php index 7318ffd4d4..d79172cf7b 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -116,11 +116,11 @@ class PageHistory { $lowts = $pages[count($pages) - 1]->rev_timestamp; - $prevurl = $wgTitle->getLocalURL("action=history&dir=prev&offset={$offset}&limit={$limit}"); - $nexturl = $wgTitle->getLocalURL("action=history&offset={$lowts}&limit={$limit}"); + $prevurl = $wgTitle->escapeLocalURL("action=history&dir=prev&offset={$offset}&limit={$limit}"); + $nexturl = $wgTitle->escapeLocalURL("action=history&offset={$lowts}&limit={$limit}"); $urls = array(); foreach (array(20, 50, 100, 250, 500) as $num) { - $urls[] = "getLocalURL( + $urls[] = "escapeLocalURL( "action=history&offset={$offset}&limit={$num}")."\">".$wgLang->formatNum($num).""; } $bits = implode($urls, ' | ');