WikiPage displays a locked label when locked. fixes bug #10998
This commit is contained in:
parent
96dba300f7
commit
79b849262c
6 changed files with 23 additions and 1 deletions
|
|
@ -299,6 +299,7 @@ sub getTemplateVars {
|
|||
allowsAttachments => $wiki->get("allowAttachments"),
|
||||
comments => $self->getFormattedComments(),
|
||||
canEdit => $self->canEdit,
|
||||
isProtected => $self->isProtected,
|
||||
content => $wiki->autolinkHtml(
|
||||
$self->scrubContent,
|
||||
{skipTitles => [$self->get('title')]},
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ our $HELP = {
|
|||
{ name => 'canEdit',
|
||||
description => 'canEdit variable',
|
||||
},
|
||||
{ name => 'isProtected', },
|
||||
{ name => 'historyLabel',
|
||||
description => 'historyLabel variable',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -91,6 +91,11 @@ our $I18N =
|
|||
lastUpdated => 1165790228,
|
||||
},
|
||||
|
||||
'locked' => {
|
||||
message => q|Locked|,
|
||||
lastUpdated => 1253139992,
|
||||
},
|
||||
|
||||
'add/edit title' => {
|
||||
message => q|Wiki Page, Add/Edit Template|,
|
||||
lastUpdated => 1165790228,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue