= Details =

## please fill this in
 Applies to:: macro/RandomPage.py
 Purpose:: Allow a custom link text for links generated by the RandomPage macro
 Description:: This patch adds a second argument to the RandomPage macro. When RandomPage is generating a single link, this second argument sets the linktext of that generated link. This allows you to generate a random link without showing the target in the link text, for added surprise.

For example, writing:

{{{
<<RandomPage(1,foo)>>
}}}

gives you a link like {{{[[random|foo]]}}} where random is some random page name.

= Patch =

## we prefer that you send the patch in an attachment to avoid whitespace issues
## you should probably change the name of the attachment here
{{attachment:randompage-linktext.patch}}

= Discussion =

= Plan =
## This part is for Moin``Moin developers:

 * Priority: 
 * Assigned to:
 * Status: 

----
CategoryMoinMoinPatch