From: Gabriel Wicke Date: Thu, 22 Apr 2004 22:40:21 +0000 (+0000) Subject: those are strings, not constants.. X-Git-Tag: 1.3.0beta1~323 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=8619d4af253b1e9b5a663384dcc56bb289472ffc;p=lhc%2Fweb%2Fwiklou.git those are strings, not constants.. --- 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 '';