HelpOn

PURPOSE

This action macro is used to get help on other extensions.

VERSION HISTORY

Action

Author

Email

Designed for MoinMoin Release...

HelpOn-1.7.1-10.py

ReimarBauer

ReimarBauer

1.7

HelpOn-1.6.0-9.py

ReimarBauer

ReimarBauer

1.6

HelpOn-1.5.4-6.py

ReimarBauer

ReimarBauer

1.5.1

HelpOn-1.3.5-4.py

ReimarBauer

ReimarBauer

1.3.5

CALLING SEQUENCE

http://wikiserver/WikiName?action=HelpOn

PROCEDURE

You get a pull down list of available extensions and after selection the help from inside of the routine is shown

The extensions below the MoinMoin path are indicated by the prefix MM- while the others are indicated by a W- in the list

Please remove the version number from the filename.

MODIFICATION HISTORY

@copyright: 2005 by Reimar Bauer (R.Bauer@fz-juelich.de)
@license: GNU GPL, see COPYING for details.
Version: 1.3.5-1

1.3.5-2 bug fix if no routine desription is defined
        minor change from table output to preformatted text
1.3.5-3 code refactored
1.3.5-4 PRE does not need an additional line break
1.5.1-5 removed request.cfg.excluded_actions
1.5.4-6 2006-07-04 RB: some PEP8 changes
1.6.0-7 RB code change for 1.6 release, string replaced
1.6.0-8 RB code changed to get multiple language support for plugins (local plugins not implemented now)

Discussion

Is there a demo of this somewhere? -- TheAnarcat 2005-10-16 01:00:05

Hi Reimar! This macro is a great idea! I will include it in my wiki! I really do like the idea to use the documentation in the .py files for help. However I've found some minor issues:

-- OliverSiemoneit 2006-11-20 15:36:56

Hi Oliver, there will be an update soon. It is planned to add it to 1.6. I do have it in use on our wikis may be here is an old one only. Lets see how much internet I have here. Greetings from Hohn -- ReimarBauer 2006-11-20 16:36:50


Update Currently we do believe it does only make sense to integrate it into the codebase if we find an easy way to solve i18n for different languages on integrated help pages. The easiest solution may be to have for each plugin at someday an own page below HelpContents to refer to using this action. These pages could be translated as every other help page too. -- ReimarBauer 2007-08-31 14:04:22

Hi Reimar! I liked the intial idea of ActionMarket/HelpOn very much, that plug-ins are self-documenting (which is done by retriving the  __doc__ from the py code. So not only Moin built-in plug-ins but also 3rd-party-stuff has some help functionality. Very cool idea. This will also work nicely in my eyes if these things would be met:

Maybe we can even do this: since the __doc__ is some comment, we can put wikimarkup in it and render it in HelpOn with the respective parser an as a virtual page - not in the message field. So we can add also wikilinks in the __doc__ e.g. to a page in the helparea of Moin where you can find an exhaustive explanation (however this needs a solution for i18n help pages as you have already mentioned above). I would not drop the idea of self-documenting plug-ins. It's a cool feature other wikis definetly miss (maybe they even cannot do this because of their programming language??) What do you think?

-- OliverSiemoneit 2007-09-01 21:43:57

Hi Oliver! Its not dropped its more delayed since we have done enough separate help pages which does happen on the way to 2.0. We like to make i18n support for plugins work too. Currently just before 1.6 it does not make sense to change now the organisation of help pages. The easiest solution will be to do i18n on MoinMaster for builtin and using virtual pages from HelpOn. Parameter description for keywords is nearly self described if the new arg parser from JohannesBerg is used. So minimum beside copyright and license would be purpose and using the arg parser and may be one example call. (Possible calls should be covered with some unit test scripts.)

-- ReimarBauer 2007-09-02 17:09:31

MoinMoin: ActionMarket/HelpOn (last edited 2009-06-09 02:47:59 by 76-231-162-221)