From 8191088d1e2e4344e181ca7faaf87961ad83c9f2 Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Mon, 14 Mar 2005 03:34:32 +0000 Subject: [PATCH] ampersand 4eva --- includes/PageHistory.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, ' | '); -- 2.20.1