Skip to content

account for startSectionEdit signature change (backwards compatible) #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2018
Merged

account for startSectionEdit signature change (backwards compatible) #162

merged 1 commit into from
Mar 25, 2018

Conversation

micgro42
Copy link
Contributor

In dokuwiki/dokuwiki#2220 the signature of \Doku_Renderer_xhtml::startSectionEdit was changed in a way that breaks backwards compatibility.

In a previous post-Frusterick Manners PR, dokuwiki/dokuwiki#2115, the constant SEC_EDIT_PATTERN was introduced. This allows using this constant to differentiate between Frusterick Manners and Greebo releases and to use the respective argument types.

This added complexity can be removed when Frusterick Manners is no longer supported by the wrap plugin or DokuWiki core is adjusted to be backwards compatible.

…ble)

In dokuwiki/dokuwiki#2220 the signature of \Doku_Renderer_xhtml::startSectionEdit
was changed in a way that breaks backwards compatibility.

In a previous post-Frusterick Manners PR, dokuwiki/dokuwiki#2115, the
constant SEC_EDIT_PATTERN was introduced. This allows us to use this
constant to differentiate between Frusterick Manners and Greebo releases
and use the respective argument types.

This added complexity can be removed when Frusterick Manners is no
longer supported by the wrap plugin or DokuWiki core is adjusted to be
backwards compatible.
@micgro42 micgro42 changed the title fix: account for startSectionEdit signature change (backwards compatible) account for startSectionEdit signature change (backwards compatible) Mar 22, 2018
@selfthinker
Copy link
Owner

Looks good. Thank you fixing it and making it backwards-compatible!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants