From 8619d4af253b1e9b5a663384dcc56bb289472ffc Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Thu, 22 Apr 2004 22:40:21 +0000 Subject: [PATCH] those are strings, not constants.. --- includes/SkinPHPTal.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index c642ea57b0..415357663b 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -473,19 +473,19 @@ function getPageTitleActionText () { global $action; switch($action) { - case edit: + case 'edit': return wfMsg('edit'); - case history: + case 'history': return wfMsg('history_short'); - case protect: + case 'protect': return wfMsg('unprotect'); - case unprotect: + case 'unprotect': return wfMsg('unprotect'); - case delete: + case 'delete': return wfMsg('delete'); - case watch: + case 'watch': return wfMsg('watch'); - case unwatch: + case 'unwatch': return wfMsg('unwatch'); default: return ''; -- 2.20.1