View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009192 | mantisbt | wiki | public | 2008-05-22 11:20 | 2008-07-15 03:59 |
Reporter | miyata180 | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 1.2.0a1 | ||||
Summary | 0009192: Mantis 1.2.0 + PukiWiki support | ||||
Description | I request to support PukiWiki on Mantis 1.2.0. | ||||
Additional Information | I've written some patches for Mantis 1.2.0a1 (+ PukiWiki 1.4.7), and it seems to work fine. | ||||
Tags | patch | ||||
Attached Files | |||||
The code that you patched in 1.2.x is now intended only for supporting existing/legacy installations. It is greatly preferred that you create a standalone plugin to integrate your wiki with Mantis, that can be distributed, installed, and maintained separately from the Mantis codebase. There will be more documentation on creating your own plugins as soon as time permits. |
|
Thank you for your comment. I will wait for more information without haste. What class do wikiclone plugins should inherit? MantisWikiPlugin class? |
|
miyata180, you may want to submit a patch that adds the missing event. jreese, can then review and check-in. |
|
You shouldn't need to hook (or create) any menu events at all if your plugin properly subclasses and implements the MantisWikiPlugin interface; it should automatically get picked up by the Mantis wiki integration and appropriate links should already be created. |
|
I want to add an event at that page, so that I can create my plugin which supports PukiWiki. menu image: menu_event.png |
|
I've tried to create PukiWiki plugin using MantisWikiPlugin class, but it was not easy (for me) to display the wiki menu. At first, I added the following line to config_inc.php and used my plugin, but the wiki menu was not displayed.
then I found the following lines near the last of function wiki_init() in wiki_api.php.
I think the evaluation order is : I've tried setting the variable 'wiki_enable' to ON in the function hooks() of my plugin as an experiment, then the menu was displayed. But is it right way? What should I do for displaying the wiki menu? |
|