| #
89aa939b |
| 05-Sep-2025 |
Damien Regad <dregad@mantisbt.org> |
Coding guidelines
Apply DokuWiki's standard
|
| #
5187ea72 |
| 05-Sep-2025 |
Damien Regad <dregad@mantisbt.org> |
Allow disabling creation of subnamespaces
New 'createns' config option, enabled by default. If disabled, any `:` in the page name will be replaced by `_` when determining the page name.
Fixes #120
|
| #
09b1853c |
| 10-Nov-2024 |
Damien Regad <dregad@mantisbt.org> |
Keep custom label's case if lang string not found
|
| #
2c279077 |
| 10-Nov-2024 |
Damien Regad <dregad@mantisbt.org> |
Allow custom label for submit button
By specifying `{{NEWPAGE?label=xxxx}}`, it is now possible to set a custom label on the Add New Page form's submit button, instead of using the `Add page` defaul
Allow custom label for submit button
By specifying `{{NEWPAGE?label=xxxx}}`, it is now possible to set a custom label on the Add New Page form's submit button, instead of using the `Add page` default.
The specified value for the *label* parameter is a DokuWiki language string, allowing localization; if no matching translation is found, then `xxxx` will be displayed as-is.
Fixes #108
show more ...
|
| #
66668490 |
| 10-Nov-2024 |
Damien Regad <dregad@mantisbt.org> |
Fix PHP notice
|
| #
71d2f1b5 |
| 14-Sep-2024 |
Damien Regad <dregad@mantisbt.org> |
Merge branch 'master' into pr72
# Conflicts: # plugin.info.txt # syntax.php
|
| #
d2f65217 |
| 24-Sep-2023 |
Damien Regad <dregad@mantisbt.org> |
PHPDoc
|
| #
d49ba5bb |
| 24-Sep-2023 |
Damien Regad <dregad@mantisbt.org> |
Skip leading # in newpagevars parameter
The regex for newpagetemplate parameters parsing that was implemented in commit 0d90564c63508563e4f3c8776e96661181a11b99 included the leading `#` in the newpa
Skip leading # in newpagevars parameter
The regex for newpagetemplate parameters parsing that was implemented in commit 0d90564c63508563e4f3c8776e96661181a11b99 included the leading `#` in the newpagevars parameter, preventing the newpagetemplate plugin from processing the first parameter as `#@PARAM@` would not match the expected `@PARAM@`.
Adapting the regex accordingly.
show more ...
|
| #
31967e04 |
| 24-Sep-2023 |
Damien Regad <dregad@mantisbt.org> |
Fix Array to string conversion warning
Regression introduced by incorrect implementation of newpagevars in commit 0d90564c63508563e4f3c8776e96661181a11b99 when porting #66 - It should be a string, n
Fix Array to string conversion warning
Regression introduced by incorrect implementation of newpagevars in commit 0d90564c63508563e4f3c8776e96661181a11b99 when porting #66 - It should be a string, not an array.
show more ...
|
| #
df9a92a0 |
| 24-Sep-2023 |
Damien Regad <dregad@mantisbt.org> |
Add placeholder text to page name input
Fixes #88
|
| #
aeafad49 |
| 24-Sep-2023 |
Damien Regad <dregad@mantisbt.org> |
Whitespace
|
| #
18fb4458 |
| 22-Sep-2023 |
Damien Regad <dregad@mantisbt.org> |
Replace legacy class by new SyntaxPlugin
|
| #
91e0b6c8 |
| 22-Sep-2023 |
Damien Regad <dregad@mantisbt.org> |
Fix static analysis warnings
|
| #
0aa2c115 |
| 27-May-2023 |
Damien Regad <dregad@mantisbt.org> |
Fix static analysis warnings
|
| #
96b58211 |
| 27-May-2023 |
Damien Regad <dregad@mantisbt.org> |
Fix incorrect merge resolution
In commit 22d9c079c34f0ef65334aeb535c0d954067f9d2a
|
| #
4fb3ed5c |
| 10-May-2023 |
Damien Regad <dregad@mantisbt.org> |
Merge commit '99f48d0389c2600fdcc50239a61bffd1aecc2861' into pr72
# Conflicts: # syntax.php
|
| #
99f48d03 |
| 10-May-2023 |
Damien Regad <dregad@mantisbt.org> |
Revert "Fix caching (#79)"
This reverts commit 52cbbe71e7149120aecbff6afe08360dba9a0142.
As @Klap-in pointed out [1] this change was incorrect as $disablecache is passed by reference and updated by
Revert "Fix caching (#79)"
This reverts commit 52cbbe71e7149120aecbff6afe08360dba9a0142.
As @Klap-in pointed out [1] this change was incorrect as $disablecache is passed by reference and updated by _htmlNamespaceInput().
Conflicts: syntax.php
[1]: https://github.com/dregad/dokuwiki-plugin-addnewpage/pull/79#discussion_r1187975731
show more ...
|
| #
51a509d7 |
| 10-May-2023 |
Damien Regad <dregad@mantisbt.org> |
Replace deprecated resolve_pageid()
Use the PageResolver class instead, as documented [1].
Fixes #95
[1]: https://www.dokuwiki.org/devel:releases:refactor2021#refactoring_of_id_resolving
|
| #
f3658822 |
| 07-May-2023 |
Damien Regad <dregad@mantisbt.org> |
Merge commit '7c0b9c8b0af497b353360b88a9fc849d39a54648' into pr72
# Conflicts: # syntax.php
|
| #
7c0b9c8b |
| 07-May-2023 |
Damien Regad <dregad@mantisbt.org> |
Fix static analysis warnings
|
| #
0102fe8c |
| 07-May-2023 |
Damien Regad <dregad@mantisbt.org> |
Move class PHPDoc to top of file
|
| #
0462edaa |
| 07-May-2023 |
Damien Regad <dregad@mantisbt.org> |
Merge commit 'ccc8b5fd84846cd712c23144ff33056471b5091c' into pr72
# Conflicts: # syntax.php
|
| #
ccc8b5fd |
| 07-May-2023 |
mw75 <wolfshoehle@googlemail.com> |
addnewpage with @NS@ in sidebar (#77)
If you use addnewpage with @NS@ in the sidebar, you get the namespace
of the sidebar page (global ) and not the viewed one.
|
| #
52cbbe71 |
| 07-May-2023 |
Denis Anikin <31272453+sizzname@users.noreply.github.com> |
Fix caching (#79)
Users who can add pages have seen a cached page for users who are not
allowed to add pages.
|
| #
22d9c079 |
| 07-May-2023 |
Damien Regad <dregad@mantisbt.org> |
Merge commit 'ed55cb4cce2354808a9d00f643c92c5c9c972933' into pr72
# Conflicts: # syntax.php
|