From: Paul Hänsch Date: Thu, 27 Jul 2023 07:17:41 +0000 (+0200) Subject: make theme_revisions() synonym to theme_page() X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=2c724512b2e744027ae0a43d571f2e0c9fd820f3;p=shellwiki make theme_revisions() synonym to theme_page() --- diff --git a/themes/default.sh b/themes/default.sh index d82764b..563ea3a 100755 --- a/themes/default.sh +++ b/themes/default.sh @@ -108,13 +108,7 @@ theme_editor(){ EOF } -theme_revisions(){ - local page="$1" title - title="${page%/}"; title="${title##*/}" - - "$_EXEC/macros/revisions" "$page" \ - | theme_page - "Revisions: $title" -} +theme_revisions(){ theme_page "$@"; } theme_attachments(){ local page="$1" title