Mantis and Dokuwiki Integration - admin login for dokuwiki

Get help from other users here.

Moderators: Developer, Contributor

dlst
Posts: 13
Joined: 26 Mar 2007, 03:38

Post by dlst »

deboutv wrote:I have reported the bug in the dedicated bugtracker.

Thanks for your report.
Thank you! And thanks for the help/support with this!
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

dlst wrote:
deboutv wrote:
dlst wrote: I definitely will try this. Forgive me if it's obvious, but is this the same as what is in the dokuwiki in Mantis?: http://www.mantisbt.org/wiki/doku.php/m ... h_dokuwiki

Thanks!
Not exactly the same, the namespace management is changed. In the Mantis proposal, the project are identified by their name. In my version, the project are identified by their id (it prevents project name change and prevents conflict when the project name contains special characters). I have updated the default template to mask this difference (in the modified template, the project id is automatically converted to the name).
I understand your reasoning for having the Wiki display ProjectID and TicketID instead of the project name and ticket name, but what if I would prefer to do it the other way? I understand that changing the project name or ticket name would cause problems, but I (personally) think it's worth the price to make the Wiki easier to read.

I would like the link to be:

/mantis/dokuwiki/doku.php?id=SITENAME:PROJECTNAME(ID):issue:TICKETNAME(ID)

How would I set it to use Project names and Ticket names instead of id's?
You need to patch the dokuwiki like I did. By doing this you'll probably have the issue about the administrator login.
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
dlst
Posts: 13
Joined: 26 Mar 2007, 03:38

Post by dlst »

deboutv wrote:
dlst wrote:
deboutv wrote: Not exactly the same, the namespace management is changed. In the Mantis proposal, the project are identified by their name. In my version, the project are identified by their id (it prevents project name change and prevents conflict when the project name contains special characters). I have updated the default template to mask this difference (in the modified template, the project id is automatically converted to the name).
I understand your reasoning for having the Wiki display ProjectID and TicketID instead of the project name and ticket name, but what if I would prefer to do it the other way? I understand that changing the project name or ticket name would cause problems, but I (personally) think it's worth the price to make the Wiki easier to read.

I would like the link to be:

/mantis/dokuwiki/doku.php?id=SITENAME:PROJECTNAME(ID):issue:TICKETNAME(ID)

How would I set it to use Project names and Ticket names instead of id's?
You need to patch the dokuwiki like I did. By doing this you'll probably have the issue about the administrator login.
That's exactly what I was trying to avoid in the first place!

But it's pretty important to me to have this functionality. Ideally this would be an option in your plugin control panel for configuring your Wiki plugin.

If you're willing, I would like to sponsor this added feature. Are you interested? Please PM me and we can discuss my making a monetary contribution to your efforts. Thanks.
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

dlst wrote:
deboutv wrote: You need to patch the dokuwiki like I did. By doing this you'll probably have the issue about the administrator login.
That's exactly what I was trying to avoid in the first place!

But it's pretty important to me to have this functionality. Ideally this would be an option in your plugin control panel for configuring your Wiki plugin.

If you're willing, I would like to sponsor this added feature. Are you interested? Please PM me and we can discuss my making a monetary contribution to your efforts. Thanks.
Please report your feature request in http://bugtracker.morinie.fr/mantis/ (in the Wiki project) (It will be your sponsor action ;)). I'll try to add it this week-end (I didn't have time in the week).
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
dlst
Posts: 13
Joined: 26 Mar 2007, 03:38

Post by dlst »

deboutv wrote:
dlst wrote:
deboutv wrote: You need to patch the dokuwiki like I did. By doing this you'll probably have the issue about the administrator login.
That's exactly what I was trying to avoid in the first place!

But it's pretty important to me to have this functionality. Ideally this would be an option in your plugin control panel for configuring your Wiki plugin.

If you're willing, I would like to sponsor this added feature. Are you interested? Please PM me and we can discuss my making a monetary contribution to your efforts. Thanks.
Please report your feature request in http://bugtracker.morinie.fr/mantis/ (in the Wiki project) (It will be your sponsor action ;)). I'll try to add it this week-end (I didn't have time in the week).
I'm happy to do it, here you go: http://bugtracker.morinie.fr/mantis/view.php?id=89

Thanks!
Post Reply