Skip to content

Additional placeholders in commit message template#103

Merged
mhoffrog merged 2 commits intowoolfg:masterfrom
BCLibCoop:more-message-replacements
Feb 21, 2026
Merged

Additional placeholders in commit message template#103
mhoffrog merged 2 commits intowoolfg:masterfrom
BCLibCoop:more-message-replacements

Conversation

@dotsam
Copy link
Copy Markdown
Contributor

@dotsam dotsam commented Feb 18, 2026

🚀 New Feature

This adds probable placeholders used in a commit message template:

  • %mail%: substituted by the users eMail address
  • %ns%: substituted by the pages namespace (applied to page commits only)
  • \n: substituted by the newline (0x0a) character

In addition code implementation is improved to centralize %mail%, %user% and \n character substitution that are available anywhere.

@dotsam dotsam force-pushed the more-message-replacements branch from 45ece4b to 1bd38d0 Compare February 21, 2026 03:36
@mhoffrog mhoffrog self-assigned this Feb 21, 2026
@mhoffrog mhoffrog changed the title More message replacements Additional placeholders in commit message template Feb 21, 2026
@mhoffrog mhoffrog merged commit 35b4cc6 into woolfg:master Feb 21, 2026
16 checks passed
@mhoffrog
Copy link
Copy Markdown
Collaborator

@dotsam Many THANKS for your contribution! Your PR is merged and new release 2026-02-21 did have been published.

If you don't mind, you could update plugin documentation at https://www.dokuwiki.org/plugin:gitbacked accordingly.

Thanks again and take care - Markus

@dotsam
Copy link
Copy Markdown
Contributor Author

dotsam commented Feb 22, 2026

Thanks so much for the quick merge and release! Documentation has been updated to list the new substitutions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants