Skip to content

Conversation

@andreasferber
Copy link
Contributor

When exporting a single page, the ODT plugin uses the page ID as the title of the generated ODT document. This is contrary to general Dokuwiki practice, which uses the first page heading, or (in the absence of that) the page name without the namespace as the page title.
This patch recitifies that by generating the title in a way more consistent with for example many navigation plugins.

Generally, in Dokuwiki either the first page heading or (in the absence
of that) the page name without the namespace is used as the page title.
Copy link
Owner

@lpaulsen93 lpaulsen93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the default should be the page ID and the decision to use the first heading should be based on the config. E.g. see function tpl_pagetitle() in file inc/template.php.

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