Item15052: Support a cover plus skin as the publishskin
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
--
BramVanOosterhout - 20 Nov 2021
Pushed to github. Package to be released 14 Dec 2021.
The
publishskin
parameter insists on a single value. covers that modify a skin (for instance
mycover,pattern
are rejected.
Publisher.pm line 77-81
publishskin => {
default => 'basic_publish',
validator => \&validateWord,
desc => 'Publish Skin'
},
Foswiki::Func::readTemplate
supports a comma separated list for the
skin
parameter, so the logic in Publisher.pm line 544-546 would support multiple values.
$this->{skin_template} =
Foswiki::Func::readTemplate( $this->{opt}->{template},
$this->{opt}->{publishskin} );
I am changing line 77-81 to:
publishskin => {
default => 'basic_publish',
validator => sub {
validateList( @_, \&validateWord );
},
desc => 'Publish Skin'
},
to support the use of a cover over an existing skin as the
publishskin
.