From 915263539bafb207c51d79693f5c24c08b95e4b0 Mon Sep 17 00:00:00 2001 From: UlrichB22 <97119703+UlrichB22@users.noreply.github.com> Date: Wed, 4 Sep 2024 22:19:15 +0200 Subject: [PATCH] Remove ACL from help-en/TemplateSample --- src/moin/help/help-en/TemplateSample.data | 12 +++++++++--- src/moin/help/help-en/TemplateSample.meta | 14 +++++++------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/moin/help/help-en/TemplateSample.data b/src/moin/help/help-en/TemplateSample.data index 0ed263c4c..4608a400c 100644 --- a/src/moin/help/help-en/TemplateSample.data +++ b/src/moin/help/help-en/TemplateSample.data @@ -1,10 +1,16 @@ = Template Sample = -Templates are a tool for adding boilerplate text and meta data to new items. They are useful when a wiki will have many pages with a similar format. +Templates are a tool for adding boilerplate text and meta data to new items. +They are useful when a wiki will have many pages with a similar format. -Under MoinMoin 2, any item having the tag `template` is a template. Under MoinMoin 1.9.x, any page ending in `Template` was a template. +Under MoinMoin 2, any item having the tag 'template' is a template. +Under MoinMoin 1.9.x, any page ending in 'Template' was a template. -Templates are specific to a content type. This template can only be used to create new `text/x.moin.wiki` items. To use this template, create a new moin wiki item and choose the link with the template's name rather than the `create this item from scratch` link. +Templates are specific to a content type and namespace. +This template can only be used to create new 'text/x.moin.wiki' items in namespace help-en. +To use a template, create a new moin wiki item and choose the link with a template's name rather than the 'create this item from scratch' link. + +Please be aware that the ACL, the summary and the tags are also copied from the template. ## Templates may have hidden instructions for editors: ## If you are in the process of creating a new item using this template, diff --git a/src/moin/help/help-en/TemplateSample.meta b/src/moin/help/help-en/TemplateSample.meta index 6c9d5d7b2..30e36be0d 100644 --- a/src/moin/help/help-en/TemplateSample.meta +++ b/src/moin/help/help-en/TemplateSample.meta @@ -1,26 +1,26 @@ { - "acl": "BadGuy: All:read,write", "action": "SAVE", "address": "127.0.0.1", "comment": "", "contenttype": "text/x.moin.wiki;charset=utf-8", - "dataid": "9af704f331ec4119bb02f8e122fa97d7", + "dataid": "7a823b24a8844a3385d926beac343bf5", "externallinks": [], "itemid": "096937b50a2749ea80fd802edac18cfe", "itemlinks": [], "itemtransclusions": [], "itemtype": "default", - "mtime": 1681742420, + "language": "en", + "mtime": 1725480945, "name": [ "TemplateSample" ], "name_old": [], "namespace": "help-en", "rev_number": 1, - "revid": "c6ec78f049904a759be28c010d0e018a", - "sha1": "a90c349ac607dfc23d96f940e586b5f17d458e0d", - "size": 891, - "summary": "this page created using SampleTemplate", + "revid": "de0ef2901135443d81fec1fbe89207c4", + "sha1": "0b4db0dab744e30deda45908e0727a0e49d8cafa", + "size": 1018, + "summary": "This page has been created using TemplateSample", "tags": [ "template", "coffee",