RecommendPage

PURPOSE

This macro is used to recommend a page to another wiki user.

VERSION HISTORY

Action

Author

Email

Designed for MoinMoin Release...

RecommendPage.py

ReimarBauer

ReimarBauer

1.9

RecommendPage-1.8.2-12.py

ReimarBauer, AnitaLudermann

ReimarBauer, AnitaLudermann

1.8.2

RecommendPage-1.7.1-11.py

ReimarBauer

ReimarBauer

1.7

RecommendPage-1.6.0-10.py

ReimarBauer

ReimarBauer

1.6

RecommendPage-1.5.1-9.py

ReimarBauer

ReimarBauer

1.5.1

RecommendPage-1.3.5-8.py

ReimarBauer

ReimarBauer

1.3.4

CALLING SEQUENCE

http://localhost:8080/WikiName?action=RecommendPage

Example

http://localhost:8080/WikiName?action=RecommendPage

RecommendPage.png

PROCEDURE

You get an input mask to enter the username of the one where you like to send the recommendation. This is then stored on a page named WikiName/RecommendedPage as an wiki itemlist with the link and the first five lines in plain text. At the end your user SIG is written. A new entry is always written on top of the page.

The person is informed by an email notification about the changes

If you don't enter a name the recommendation is done to your name.

The macro ShortText of MacroMarket is used to show the text of the recommendation if the wiki user is allowed to read the text by given acls.

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.4-1

2005-04-19 : Version 1.3.4-2
             acl line on top of recommendation is set for a valid user/RecommendedPage to
             WikiName:admin,read,write,delete All:read,write
             otherwise for All:read,write
             If the page user/RecommendedPage already exist acl right given on that page are used.
             output changed similiar to the search output.

2005-04-21 : Version 1.3.4-3
             output changed into calling ShortText()
             e.g.  * ["RulesForUnzip"]  [[ShortText(RulesForUnzip)]] ... -- ReimarBauer [[DateTime(2005-05-02T19:58:37Z)]]
             it is also checked by now if acls are enabled in the config

2005-09-02 : Version 1.3.5-4 
             from SubscribeTo by Raphael Bossek learned to add an subscription for the email
             notification for a user before the new recommendation is written to the file. 
             This means the user gots informed by an email if mail is enabled to the wiki.

2005-09-05 : Version 1.3.5-5
             isSubscribedTo from user replaced because it could not destinguish between 
             subpage and page. My implementation does not understand regular expressions at 
             the moment so this gives by using regular expressions one extraline in the config. 

2005-09-07 : Version 1.3.5-6
             text box changed to a selection menu for the user names (sorted by name)    
               
2005-09-08 : Version 1.3.5-7
             bug fix: spaces in html are different in browsers
                      in some browser no selction did not give the user name
                      The space I used in the OPTION entry seems to make the problem

2005-10-31 : Version 1.3.5-8
             multiple selection added                                                   
             no acl rights are set on a new recomendation page acls on an existing 
             recommendation page are not overwritten
             by this change non admin users could use this function too.
             code changed by a version request to be useable with 1.5.0 too

2006-02-03 : Version  1.5.1-9
             1.3 compatible code removed
             bug with wrong counted bad user fixed

2009-04-01 : Version  1.8.2-12
             Extended for groups by Anita Ludermann   

Discussion



here is complete Traceback TraceBack.html


I don't think that it is because of moin-193. I suppose that i am missing something.

Thankyou this new mentioned version (http://hg.moinmo.in/moin/extensions/file/tip/data/plugin/action/RecommendPage.py ) is working with moin193.

MoinMoin: ActionMarket/RecommendPage (last edited 2012-08-09 21:55:31 by ReimarBauer)