Macros for Releases Before 1.0

Macro

Author

Email

Designed for MoinMoin Release...

... and Revision...

Sample

macro/top.py

RickFeliciano

rick@sirius.enigmatic.net

0.11

n/a

[[top]]

This is a very simple macro based largely off of the [[BR]] macro that creates a "Back to Top" link. The perfect complement to a TableOfContents. [NB: The show_topbottom user setting gives this into the hands of the user.]

macro/Blog.py, macro/NewBlogEntry.py

KenMacLeod

ken@bitsko.slc.ut.us

0.11

n/a

[[NewBlogEntry]]
[[Blog]]

This macro makes the current page a root of a SeaPig:WebLog, including all the pages "beneath" it ('/'-seperated) in reverse sorted order. Differs from SeaPig:BlogEdit in that 1) it's a macro, not an action; and 2) blog entries are seperate wiki pages.

macro/SortBy.py

Fred Bremmer

Fred.Bremmer @ ubc.ca

0.9

N/A

SortBy(page, num_headers, column, sort_type [,othercolumn, sort_type]...)

Sort a table by one or more columns and sort types/orders. Any number of secondary, tertiary, etc. sorts on additional columns can be performed. Supported sort types are: alpha, number, nocase, nosort, reversealpha, reversenumber, reversenocase, reversenosort. The sort is stable (order is preserved among rows with identical sort keys). Any number of header rows can be kept unsorted at the top of the sorted table. Wiki formatting is ignored by the sort algorithm. Includes a test suite wiki page.

macro/AttentionPages.py

Richard Jones

richard@bizarsoftware.com.au

0.8

1.101

AttentionPages

This macro lists all pages which have an attention symbol in them along with their last-modified date. Attention symbols are <!> and /!\

macro/MissionStatement.py

Richard Jones

richard@bizarsoftware.com.au

0.8

N/A

MissionStatement(2)

Generates a "typical" company mission statement

macro/LimitedSearch.py

Christian Bird

chris.bird@lineo.com

0.8

N/A

LimitedSearch

Allows searches limited to certain portions of the wiki by specifying a "root" page and searching n links away from the root

macro/EventsList.py

Shalabh Chaturvedi

shalabh at india.com

0.8

N/A

Not yet

Inserts a list of events on the page. This list is generated by parsing another wiki page. Filter can restrict events displayed (today's events only or all). [Note: This seems to require python 2.]

macro/FaqContents.py

Tim Bird

tbird@lineo.com

0.8

N/A

FaqContents

Creates a table of contents for a page, with questions inserted in their various section headings. The questions should appear in the document preceded by "Q. ". This is good for putting at the top of FAQ pages.
I edited it a little, especially made it to run with the Python 2.0 Wiki FAQ page. -- jh

macro/HTML.py

Christian Bird

chris.bird@lineo.com

0.8

N/A

HTML(<font size=20>big</font>)

Is useful for outputing a very small snippet of HTML, like for changing font attributes or other things not supported by the wiki markup language

macro/ImageLink.py

Jeff Kunce

jeff@corrt.com

0.8

N/A

clicking the icon will take you to the Python home page

Displays a MoinMoin icon or an image from a URL. If a target is specified, clicking on the image links to a MoinMoin page or a URL. HTML IMG tag attributes (width, height, alt, etc)are supported.

macro/PageHits.py

ThomasWaldmann

ThomasWaldmann

0.11

n/a

[[PageHits]]

Macro used to generate page list sorted by and showing page hit counters - see your most read pages!

MoinMoin: MacroMarket/WorksWithPre1.0 (last edited 2007-10-29 19:08:01 by localhost)