See also CategoryMarket

Macro syntax in newer versions

Note that MoinMoin versions from 1.6.0 and upward use a new syntax for macro calls:

<<Macro(Arguments)>>

instead of the previous

[[Macro(Arguments)]]

To macro authors

Please put your macros (new & old) on a subpage and attach the macro to the subpage (as many have done already) that is then linked from here. You can use the MacroMarketTemplate when creating subpages. Adding a bit of info about the macro - common usage, known limitations and the like - would be great too. This makes it much easier to alter the structure of this page than it is now with many direct attachments. It would, I think, even allow several references, e.g. from different categories.

I would also encourage authors or users to indicate whether they have used a macro with a version other than that it's advertised for, and if there were issues in doing so.

Installation instructions

Alternatively:

On Unix/Linux systems you might have to chmod a r on the *.py file, or better yet set the right owner to the *.py files. In most cases it is the owner of the webserver process.

Important hints for developers

Offers

This is a marketplace for your macros. Please state your name, your e-mail-address, and the release your macro is developed for. For information on standard macros, see HelpOnMacros.

Simply create a subpage using the MacroMarketTemplate, upload your source code as an attachment to the subpage, use [[attachment:YourMacro.py]] to link to it, and add a link to your subpage from this page.

Release 1.9

Macro

Author

Email

Designed for MoinMoin Release

Description / Sample

/Bible

LlubNek

<llubnek AT gmail DOT com>

1.5, 1.9.3

Bible(Genesis 1:1-5) would display Genesis chapter 1, verse 1 through 5 in KJV. Uses bible13.txt from Project Gutenberg.

/BlikiSummary

Boris Smus, MarcelHäfner

MarcelHäfner

1.8 / 1.9.x

Display an abbreviated recent changes useful
for frontpage of a Bliki (Blog/Wiki).

/CategoryCloud

MarcelHäfner

1.8.5 , 1.9.3

generates a TagCloud of category pages  <<CategoryCloud>> 

/CheckList

GregCorey

GregCorey

1.7?-1.9

Create a Wiki Checklist utilizing HTML5 localstorage. Only tested on 1.9 but conceivably works on earlier releases.  <<CheckList(checkbox_id, heading_level, heading_text)>> 

/ChildPages

RenatoSilva

1.8, 1.9

List of first-level subpages of the current page. Example:
<<ChildPages(on=not:edit|AttachFile, title=<h3>%s</h3>)>>

/CollapsibleSection

Andy Doan

<andy.doan AT linaro DOT org>

1.9.3

Displays supplemental information intended for a page in a collapsed HTML 'div' element.

/Color2

ClifKussmaul, DaveHein, GregorMirai

ClifKussmaul, DaveHein, GregorMirai

1.6, 1.9.3

Enables colored text with (optional) background color and specified font. Example: <<Color2(red courier on blue,col=red,bcol=blue,font=courier)>>. Note: install as Color2.py

/Columns

AnttiKuntsi, BoleslawKulbabinski

AnttiKuntsi, BoleslawKulbabinski

1.6, 1.9

 <<Columns(start,left)>> , <<Columns(end)>> 

/CycleContent

ReimarBauer

ReimarBauer

1.9.3

<<CycleContent(pagename=u'CycleContent')>> 

/DictColumns

ReimarBauer

ReimarBauer

1.9.3

<<DictColumns>> 

/EmbedContent

ReimarBauer

ReimarBauer

1.9.3

<<EmbedContent(url=u"")>> 

/EventAggregator

PaulBoddie

<paul AT boddie DOT org DOT uk>

1.6/1.7/1.8/1.9

 <<EventAggregator(CategoryEvents)>> 

/FormatConverter

LarsKruse

<devel AT sumpfralle DOT de>

1.9

instant single-file conversion of various input formats (e.g. for embedding attached files: dia/dot/pdf/xcf/ps)

/GetStreetView

JasonMcArthur

JasonMcArthur

1.6? - 1.9

Tool (javascript) to get lat, lng, yaw, pitch and zoom for GoogleStreetView macro. Example: GetStreetView

Gmap

GavinKou

1.9.x

add google map into current page

GoogleTalk

MarcelHäfner

see User

1.9.x

integrate on a wiki page a Google Talk link for your visitors

HelpOnArnica

ReimarBauer

ReimarBauer

1.9.3

<<arnica>>, renders Images, see documentation (first column)

IncludeWithVals

GordonMessmer

<gordon AT dragonsdawn dot net>

1.9.x

Include a template which, in turn, includes values from a WikiDict

/ListPages

ReimarBauer

ReimarBauer

1.9.3

<<ListPages(search_term=u'. ', list_type=("number_list", "bullet_list"), link=("pagename", "subpage"), reverse=False)>> 

/LoginLink

GunnarScherf

GunnarScherf

1.8/1.9

Creates a login link if the user is not logged in

/LTX

Brian Fiedler

<bfblock-wik AT yahoo DOT com >

1.7?-1.9x

Displays LaTeX as PNG image, <<LTX(\int_0^\infty e^{-x^2}dx)>>

/mathtran

ReimarBauer

ReimarBauer

1.9.3

<<mathtran(formular=u'', scale_factor=(u"3", u"1", u"2", u"4", u"5"),mathtran_server=u"http://www.mathtran.org/cgi-bin/toy/")>> 

/MoinComments

HelderGuerreiro

HelderGuerreiro

1.8/1.9

Blog like comments

/MyRating

EmmanuelMayssat

<EMAIL emayssat AT outlook DOT com ENJOY>

1.9.3

Visual display of a grade, rate, etc. Example; 3 out of 5 stars

/pdf2img

ReimarBauer

ReimarBauer

1.9.3

<<pdf2svg(attachment='', url='', width=1200, height=800, pageno=1)>> 

/qwebirc

ThomasWaldmann

see wiki page

1.8/1.9

 <<qwebirc(server="freenode",channels="#moin,#moin-dev")>> 

/RSSReader

MarcelHäfner

1.8, 1.9

ATOM and RSS Feed Reader  <<RSSReader("http://yoursite.com/rss.xml">> 

/SecureInclude

Andy Doan

<andy.doan AT linaro DOT org>

1.9.3

Includes content from a page with a banner IFF user has permissions

/SeeSaw

JimWight

JimWight

1.6 to 1.9

Enables sections of a page to be see-sawed (toggled) between hidden and shown, or unconditionally placed in either state. Requires JavaScript and jQuery.

/ShortText

ReimarBauer

ReimarBauer

1.9.3

<<ShortText(pagename=unicode, length=180)>> 

/ShowTweets

MarcelHäfner

1.9.3 / 1.8.x

 <<ShowTweets(twitteruser>> 

/SiteIndex

RenatoSilva

1.8, 1.9

List of pages in the wiki. Example: <<SiteIndex>>

span

ThomasWaldmann

1.9.x

generates html spans - class, id, style, lang, dir

StatusAttachments

DavidLinke

1.9

Macro for Attachment Administration

ThemesMacro

NirSoffer

NirSoffer

1.3 - 1.9

display a wiki page using any installed theme with one click

/UsEmLi

DirkAlders

DirkAlders

1.9.7

creates a mailto link for all users and all active users

/UserList

ReimarBauer

ReimarBauer

1.9.3

<<UserList>> 

/Vimeo

Franck Dernoncourt

[email protected]

1.9.x

This macro allows you to include a Vimeo video. Syntax:  <<Vimeo(25340759))>> 

/IncludePage-1.9

The original author: OliverSiemoneit. Updated by VietLe

[email protected]

1.9.x

This macro allows you to include a page/url with ease. Updated to make use of Moinmoin 1.9 macro syntax. Syntax:  <<IncludePage(TestPage, 800, 600)>> 

/QR

Daniil Alexeyevsky

1.9 (probably compatible with 1.5-1.9)

generates QR-code for it's argument or for the address of the current page

/GithubGeoJson

IgorTamara

[email protected]

1.9 (probably compatible with 1.5-1.9)

shows a map from github geojson in the wiki

/GithubGist

IgorTamara

[email protected]

1.9 (probably compatible with 1.5-1.9)

shows a gist in the wiki

/Asciinema

TobiasStein

email

1.9 (probably compatible with 1.5-1.9)

Include and play shell-casts (Asciinema) in your wiki.

Release 1.8

Macro

Author

Email

Designed for MoinMoin Release

Description / Sample

/AirspeedTemplate

DavidHandy

DavidHandy

1.8/1.7

<<AirspeedTemplate(my-template-file.html)>>

/BlikiSummary

1.8

added a second version

/CategoryMenu

PaulBoddie

<paul AT boddie DOT org DOT uk>

1.5/1.6/1.7/1.8

 <<CategoryMenu()>> 

/CategoryCloud

MarcelHäfner

1.8.5

generates a TagCloud of category pages  <<CategoryCloud(maxTags=25)>> 

/CollectLists

ReimarBauer

ReimarBauer

1.8

<<CollectLists>> 

/CollectListsCategory

ReimarBauer, MarcelHäfner

ReimarBauer, MarcelHäfner

1.8.x

<<CollectListsCategory(CategoryBugs>> 

/CycleContent

ReimarBauer

ReimarBauer

1.8.x

<<CycleContent>> 

/EventAggregator

PaulBoddie

<paul AT boddie DOT org DOT uk>

1.5/1.6/1.7/1.8/1.9

 <<EventAggregator(CategoryEvents)>> 

/EventCalendar

SeungikLee

SeungikLee

1.8 (1.5)

/EventCalendar

/FormCreate

PeterBodi

petrdll at centrum dot sk

1.8

Set of macro plugins to generate various HTML form elements. Submited data are processed by specified MoinMoin action plugin or FormSubmit plugin. See FormSubmit in ActionMarket.

/FreemindSitemap

JosefMeier

<jo DOT meier AT gmx DOT de>

1.8/1.9

 <<FreemindSitemap()>> 

/ImageZoom

AndyD'ArcyJewell

<andy DOT jewell AT sysmicro DOT co DOT uk>

1.8

 <<ImageZoom("image_url")>>

/IncludeUrlContentWiki

counterpoke, StevePoole

1.8/1.6/1.3

<<IncludeUrlContentWiki(http://foo.com/wikimarkup)>>

/IncludeWikiContent

StellarsHenson

StellarsHenson

1.8.1

<<IncludeWikiContent(Common/AdminBar)>>

/mathtran

ReimarBauer

ReimarBauer

1.8/1.9

 <<mathtran(formular)>> The mathtran macro is used to write latex formulars into the wiki text.

/MoinComments

HelderGuerreiro

HelderGuerreiro

1.8/1.9

Blog like comments

/MonthCalendarHack

EricVeirasGalisson

EricVeirasGalisson

1.5 to 1.8

permits the use of titles in form = title = or '''title''' in a calendar, see /MonthCalendarHack

/MonthCalendarTopList

EricVeirasGalisson

EricVeirasGalisson

1.5 to 1.8

create a list of recent entries created with MonthCalendar, see /MonthCalendarTopList

/NewMonthCalendarEntry

StellarsHenson

StellarsHenson

1.8

Automatically creates new calendar entry (based on core NewPage macro)

/SeeSaw

JimWight

JimWight

1.6 to 1.9

Enables sections of a page to be see-sawed (toggled) between hidden and shown, or unconditionally placed in either state. Requires JavaScript and jQuery.

/ShowTweets

MarcelHäfner

1.8.x

 <<ShowTweets(user="Twitter">> 

/ShowCategory

JiangXin

JiangXin

1.8

 <<ShowCategory>>

/SvgPlot-1.8

ReimarBauer

ReimarBauer

1.7

 <<SvgPlot>>

/ThumbGallery

AlexanderAgibalov

AlexanderAgibalov

1.8

 <<ThumbGallery>> or <<ThumbGallery(columns=4, imgwidth=250)>>

/KeyCaps

PeterHübert

Peter Hübert

1.6 - 1.8

 <<kbd(args)>> 

/YouTube

MarcelHäfner

1.8.x

 <<YouTube(keyword="glam metal">> 

Release 1.7

Macro

Author

Email

Designed for MoinMoin Release

Description / Sample

/CategoryMenu

PaulBoddie

<paul AT boddie DOT org DOT uk>

1.5/1.6/1.7/1.8

 <<CategoryMenu()>> 

Croquant

FlorianBirée

[email protected]

1.7

Allow to insert some Crunchy controls

/DisqusThread

PradeepGowda

PradeepGowda

1.7

 <<DisqusThread(username)>> 

/EventAggregator

PaulBoddie

<paul AT boddie DOT org DOT uk>

1.5/1.6/1.7/1.8/1.9

 <<EventAggregator(CategoryEvents)>> 

/HelloWorld-1.7

ReimarBauer

ReimarBauer

1.7

 <<HelloWorld(color="blue")>> , <<HelloWorld(color="green")>>

/IncludePage-1.7

OliverSiemoneit

OliverSiemoneit

1.7

 <<IncludePage(TestPage, 800, 600)>>

/IssueTracker

GaryVaughan

<gary AT NOSPAM vaughan DOT pe>

1.7

Implement a MoinMoin like issue tracker with search

/jQuery

JiangXin

<worldhello DOT net AT gmail DOT com>

1.7

<<jQuery(toggle,hide,.div1,.div2,type=button,text=Hide all>>

/mathtran

ReimarBauer

ReimarBauer

1.7.2

 <<mathtran(formular)>>

/MonthCalendarTopList

EricVeirasGalisson

EricVeirasGalisson

1.5/1.6/1.7

create a list of recent entries created with MonthCalendar, see /MonthCalendarTopList

/MonthCalendarHack

EricVeirasGalisson

EricVeirasGalisson

1.5/1.6/1.7

permits the use of titles in form = title = or '''title''' in a calendar, see /MonthCalendarHack

/MyPageLinks

ReimarBauer

ReimarBauer

1.7

 <<MyPageLinks>> 

/PDFControl

RaphaelBossek

RaphaelBossek

1.7

ActionMarket/PdfAction

/PDFIcon

RaphaelBossek

RaphaelBossek

1.7

ActionMarket/PdfAction

/PageDicts

MichaelCohen

1.7

 <<PageDicts(Bug, Description, Status, Status ~= open)>>  

/RecentChangesMax

RogerOegretir

<moinmoin AT yoopee DOT de>

1.5 - 1.7.x

 <<RecentChangesMax(5)>> 

/SearchInPagesAndSort

PascalBauermeister

PascalBauermeister

1.6/1.7

Searches text in some pages and displays the result by sorted lines. Great to collect info over pages, such as TODOs, deadlines, etc.
see /SearchInPagesAndSort

/SeeSaw

JimWight

JimWight

1.6 to 1.9

Enables sections of a page to be see-sawed (toggled) between hidden and shown, or unconditionally placed in either state. Requires JavaScript and jQuery.

/ShowCSV

ReimarBauer

1.6 - 1.7

Used to show csv file as wiki table - /ShowCSV

/SortBy

LaneRettig

LaneRettig

1.5 - 1.7.x

Sorts table data much like a spreadsheet. See /SortBy

/UserList2

ThomasGust

ThomasGust

1.6-1.7

Update of Zdenek Pizl's remake of UserList, originaly coded by AnttiKuntsi.

Release 1.6

Macro

Author

Email

Designed for MoinMoin Release

Description / Sample

/1.6_AdminTools

AlexanderAgibalov, BoleslawKulbabinski

l-tribe at yandex dot ru, BoleslawKulbabinski

1.6

Set of tools for Wiki administration
Currently includes:
- AllPagesWithACL
- LostSoulsInGroups
- ManageUsers
- WikiLog

/AlertDate

ArelCordero, BoleslawKulbabinski

ArelCordero, BoleslawKulbabinski

1.6

<<AlertDate(12/22/2007)>>

/CalDate

GaryGodfrey

ggodfrey PLUS moin AT io DOT com

1.6

<<CalDate("%d %B, %Y",2)>> When run on pages created under a MonthCalendar, it returns with formatted text for the date.

/CategoryMenu

PaulBoddie

<paul AT boddie DOT org DOT uk>

1.5/1.6/1.7/1.8

 <<CategoryMenu()>> 

/CategorySearch

ChrisVigelius

ChrisVigelius

1.6

returns list of pages in a category, can be used to get rid of ugly regexps in category pages

/Color2

ClifKussmaul, DaveHein

ClifKussmaul, DaveHein

1.6

Extends Color macro to support text color, background color, and font. Also uses code from /MiniPage to support markup within text. e.g. <<Color2(red,blue,courier,red courier on blue)>>. Note: install as Color2.py

/Columns

AnttiKuntsi, BoleslawKulbabinski

AnttiKuntsi, BoleslawKulbabinski

1.6, 1.9

 <<Columns(start,left)>> , <<Columns(end)>> 

/DataBase

WolfgangFischer

1.6

Displays results of SQL select statements as a table. ODBC, MySQL and Oracle DB connections are supported. Supports any database source that can be connected by ODBC.

/EventAggregator

PaulBoddie

<paul AT boddie DOT org DOT uk>

1.5/1.6/1.7/1.8/1.9

 <<EventAggregator(CategoryEvents)>> 

/extAction

OliverSiemoneit

OliverSiemoneit

1.6, 1.5

A modification of Moin's built-in Action macro which allows also to make action links to other pages than just the current one

/Form

WolfgangFischer

1.6/1.7/1.8

Displays forms based on database records. The records can be edited or deleted. New records can be inserted. The macro also supports sub forms, filters and table views.

/FormCreate

PeterBodi

petrdll at centrum dot sk

1.6

Set of macro plugins to generate various HTML form elements. Submited data are processed by specified MoinMoin action plugin or FormSubmit plugin. See FormSubmit in ActionMarket.

/HackedMonthCalendar

OliverSiemoneit

OliverSiemoneit

1.6

Adds a preview window underneath the calendar where you can view, create, change the daypages

/HelloWorld-1.6

ReimarBauer

ReimarBauer

1.6

 <<HelloWorld(color="blue")>> , <<HelloWorld(color="green")>>

/Hits

ReimarBauer

ReimarBauer

1.6

/Hits

/ImageLink

ReimarBauer

ReimarBauer

1.6

/ImageLink

/LoginHint

ThomasWaldmann, BoleslawKulbabinski

see wiki page

1.6

 <<LoginHint(Please log in!)>> 

/MiniPage

ReimarBauer

ReimarBauer

1.6

/MiniPage

/MonthCalendarTopList

EricVeirasGalisson

EricVeirasGalisson

1.5/1.6/1.7

create a list of recent entries created with MonthCalendar, see /MonthCalendarTopList

/MonthCalendarHack

EricVeirasGalisson

EricVeirasGalisson

1.5/1.6/1.7

permits the use of titles in form = title = or '''title''' in a calendar, see /MonthCalendarHack

/MultipleMonthCalendarTooltipHack

MikolaiFajer

MikolaiFajer

1.6

shows tooltips for all available pages when using multiple calendars in MonthCalendar

/PageComment2

SeungikLee

SeungikLee

1.6/1.5/1.3

/PageComment2

/PDFControl

RaphaelBossek

RaphaelBossek

1.6

ActionMarket/PdfAction

/PDFIcon

RaphaelBossek

RaphaelBossek

1.6

ActionMarket/PdfAction

/QuoteMacro

OliverSiemoneit

OliverSiemoneit

1.6

/QuoteMacro

/SearchInPagesAndSort

PascalBauermeister

PascalBauermeister

1.6/1.7

Searches text in some pages and displays the result by sorted lines. Great to collect info over pages, such as TODOs, deadlines, etc.
see /SearchInPagesAndSort

/SeeSaw

JimWight

JimWight

1.6 to 1.9

Enables sections of a page to be see-sawed (toggled) between hidden and shown, or unconditionally placed in either state. Requires JavaScript and jQuery.

/ShowCSV

ReimarBauer

1.6

/ShowCSV

/ShortText

ReimarBauer

1.6

/ShortText

/ShowAmes

ReimarBauer

ReimarBauer

1.5/1.6/1.7

/ShowAmes

TaskTable.py, see TaskPlanner

OliverSiemoneit

OliverSiemoneit

1.6

TaskPlanner

/IncludeUrlContentWiki

counterpoke, StevePoole

1.6/1.3

<<IncludeUrlContentWiki(http://foo.com/wikimarkup)>>

/OpenStreetMap

IgorTamara

<[email protected]>

1.6/1.9

An /OpenStreetMap with markers in your wiki

Release 1.5

Macro

Author

Email

Designed for MoinMoin Release

Description / Sample

/Ad

Osvaldo Santana

osantana googlemail

1.5.6

Put a random Advertisement banner
with specific size

/AdminTools

AlexanderAgibalov

l-tribe at yandex dot ru

1.5

Set of tools for Wiki administration
Currently includes:
- AllPagesWithACL
- LostSoulsInGroups
- ManageUsers
- WikiLog

/appletpad

RaphaëlValyi

RaphaëlValyi

1.5.4

http://www.wiki.visualmodeller.org beware you should also install the JGraphpadCE applet plugin in your public wiki directory as explained on the site

/AttachTable

ErickMartin

ErickMartin

1.5

/AttachTable

/Backlinks

GuidoBerhoerster

guido moinmoin. wikiwikiweb.de AT berhoerster DOT name

1.5

/Backlinks

/Bible

LlubNek

<llubnek AT gmail DOT com>

1.5

Bible(Genesis 1:1-5) would display Genesis chapter 1, verse 1 through 5 in KJV. Uses bible13.txt from Project Gutenberg.

/Bibliography

GuidoBerhoerster

guido moinmoin. wikiwikiweb.de AT berhoerster DOT name

1.5

/Bibliography

/BlikiSummary

Boris Smus

boris at z3 dot ca

1.5

Display an abbreviated recent changes useful
for frontpage of a Bliki (Blog/Wiki).

/Blog

CarstenGrohmann

CarstenGrohmann

1.5

Javascript Calendar based bwiki (blog/wiki) - based on the work of MarkProctor
See /Blog page for samples

/Bugzilla

LeifGruenwoldt

LeifGruenwoldt

1.5.8

<<Bugzilla(192)>>

/CardMacro

SiberianLaika

[email protected]

1.5

Allows to use template pages with parameters (like in Mediawiki):
[[Card(TemplatePage arg1|arg2|var1=value|var2=value|...)]]

/CategoryMenu

PaulBoddie

<paul AT boddie DOT org DOT uk>

1.5/1.6/1.7/1.8

 [[CategoryMenu()]] 

/Cite

GuidoBerhoerster

guido moinmoin. wikiwikiweb.de AT berhoerster DOT name

1.5

/Cite

/Clear

LlubNek

<llubnek AT gmail DOT com>

1.5, 1.6

Clear(left) would ensure that there are no floating elements to the left of the following content.

/Color2

ClifKussmaul

ClifKussmaul

1.5

Extends Color macro to support text color, background color, and font. Also uses code from MiniPage to support markup within text. e.g. Color2(red,blue,courier,red courier on blue)

/ConditionalText

RuthIvimey

RuthIvimey

1.5

Insert a fixed string dependant on the logged in user.

/DateLastModified

GregHeartsfield

GregHeartsfield

1.5

[[DateLastModified]], Displays when the page was last edited.

/DeletedPages

OliverSiemoneit

OliverSiemoneit

tested with
1.5.4

/DeletedPages

/Delicious

Boris Smus

boris at z3 dot ca

1.5

List a user's del.icio.us bookmarks as a
list in the wiki.

/EmailScript

RuthIvimey

RuthIvimey

1.5

Insert Javascript that generates a specified email address

/EmbedObject

ReimarBauer

ReimarBauer

1.5

/EmbedObject

/EnhancedTableOfContents

SteveTindle

SteveTindle

1.5

If section-numbers are used, Enhanced Table Of Contents displays full section number instead of the normal list number. For examples, go to SteveTindle/DocTools.

/EventAggregator

PaulBoddie

<paul AT boddie DOT org DOT uk>

1.5/1.6/1.7/1.8

 [[EventAggregator(CategoryEvents)]] 

/EventCalendar

SeungikLee

SeungikLee

1.3, 1.5 (1.8)

/EventCalendar

/ForEach

FrancescoChemolli

FrancescoChemolli

1.5

will insert a copy of the second argument for each page matching the (full) search pattern given as first argument, replacing occurrences of %% found there with the page title

/FreeMindFlashBrowser

BumseokLee

shinsuk at gwbs dot net

1.5, 1.8, 1.9

Upload your freemind map as an attachment, and then use [[FreeMindFlashBrowser(attachment:test.mm)]]

/FullSearchWithoutSelf

Kaltokri

<gu AT procom DOT de>

1.5

/FullSearchWithoutSelf

GoToSlide

RichardFlieger

RichardFlieger

1.5.x

!GoToSlide(3,History)

/gvid

BenjaminWeber

benny1990 ätt gmail punkt com

1.5.4

/hi

Claudio Pisa

<clauz AT PLEASE DONT SPAM ME ninux DOT org>

1.5

Text highlighting (see trivial python code for colors) [[hi(TEXT)]]

/Hits

ReimarBauer

ReimarBauer

1.5

/Hits

/IconLink

RyanVolpe

see wiki page

1.5

[[IconLink(/!\, 'FooBar/SubHat')]]

/Image

OliverSiemoneit

OliverSiemoneit

1.5

The macro is a simple modification of the ImageLink-Macro. Instead of using attachment:pic.png to display an image, use [[Image(pic.png,height=100, alt=your description)]] to display resized with an optional alt text. For image-alignment see ParserMarket/Frame and SectionParser

/ImageBrowser

LlubNek

<llubnek AT gmail DOT com>

1.5, 1.6

ImageBrowserContent(''[index][, image0, image1, ...]'')
ImageBrowserNoLoad(''[index][, image0, image1, ...]'')
ImageBrowser(''[index][, image0, image1, ...]'')
Displays an image browser for the files listed with image index visible by default. Can be used with or without the Thumbnail action in the package below by commenting/uncommenting a couple of lines.

/ImageLink

ReimarBauer

ReimarBauer

1.5

/ImageLink

/Include2

Allefant

<[email protected]>

1.5

/Include2

/IncludeUpcoming

JesusFernandez

JesusFernandez

1.5, 1.6.1

Include a list of upcoming events based on a MonthCalendar base page

/ISBN

ClifKussmaul

ClifKussmaul

1.5

Uses ISBN to create link to Amazon, B&N, etc. ISBN(020171499X) would produce something like: (Amazon) (BN)

/LoginHint

ThomasWaldmann

see wiki page

1.5

 [[LoginHint(Please log in!)]] 

/LookupDictPagesAndSort

JonasSmedegaard

JonasSmedegaard

1.5

Lookup definitions in some pages and displays the result by sorted values. Great to collect info over pages, such as lists of contact info, small wiki-based database, etc.

/MathTran

Timothy Head

<betatim AT gmail DOT com>

1.5.7

!MathTran(e^{i \pi} = -1)

mmMySQL

AlanSnelson

AlanSnelson

1.5

A macro for viewing MySQL Server Status and Variables with descriptions.

/MonthCalendarHack

EricVeirasGalisson

EricVeirasGalisson

1.5/1.6

permits the use of titles in form = title = of title in a calendar, see /MonthCalendarHack

/MonthCalendarTopList

EricVeirasGalisson

EricVeirasGalisson

1.5

[[MonthCalendarTopList(X)]] will display the titles of the past X days generated with the MonthCalendar macro

/Navitree

Jennifer Vanderputten

<Jen AT RabidWeasel DOT com>

1.5

Create a navigation list of the tree of subpages for any page in an indented bulleted list layout. See MacroMarket/Navitree. Usage: Navitree(childtree). Limit depth example: Navitree(childtree, 1).

/PageComment3

UlrichNorbisrath

see http://contact.ulno.net

1.5

Extension of /PageComment2 with captchas from recaptcha.

/PageDicts

MichaelCohen

MichaelCohen

1.5/1.6

[[PageDicts(Bug, Description, Status, Status ~= open)]] This will show all pages which have a title like Bug, with dict keys Description and Status and which have a Status matching Open.

/PDFControl

RaphaelBossek

RaphaelBossek

1.5

ActionMarket/PdfAction

/PDFIcon

RaphaelBossek

RaphaelBossek

1.5

ActionMarket/PdfAction

/PgSQLQuery

Jörg Haustein

<READ AND REPLACE jchaustein AT gmx DOT de>

1.5

Query a PostgresSQL database: PgSQLQuery(mydb,SELECT * from table) See Python script headers for documentation.

/PopPass

RadomirDopieralski

<moin AT sheep DOT art DOT pl>

1.5

Changes the Unix password via poppass protocol.

/Progress

PiotrMichonski

[email protected]

1.5

[[Progress(percent)]] outputs DIV in DIV with fixed width. Uses .div.progress and div.progressbg CSS classes for progressbar and its background (which has always width set to 100%) respectively.

/RecentChangesMax

RogerOegretir

<moinmoin AT yoopee DOT de>

1.5

 [[RecentChangesMax(5)]] 

/RecentlyCreatedPages

Christian Groh

christian dot groh at doubleSlash dot de

1.5.4

Show a list of recently created pages.
[[RecentlyCreatedPages(5)]]
See http://www.iam-wiki.org for an example interaction with ParserMarket/Frame

/Rollover

Carlos Zager

<czager AT gmail DOT com>

0.1

!Rollover(Images/img1.png,Images2.png,64,64,www.ejemplo.com))

/RSSReader

IanWienand

<ianw AT ieee DOT org>

1.5

[[RSSReader(URL-to-RSS-feed-to-display[, allow_html])]] Pass in optional allow_html argument if you trust the source to inject any HTML it wants. You need feedparser. See also macro/FeedParser
Example: [[RSSReader(http://www.kde.org/dot/kde-apps-content.rdf, allow_html)]]

SaveMailTo

RichardFlieger

RichardFlieger

1.5

Outputs from the given email an image to disable spam robots. Replaces AT, DOT and DASH, strips blanks and ALLUPPERCASE words (like MailTo ;) ).

/SetSection

SteveTindle

SteveTindle

1.5

Sets the starting section number for the page. Must be used at very top of page, before any TableOfContents. Does not support subsections. For examples, go to SteveTindle/DocTools.

/ShowCSV

ReimarBauer

1.5.8

/ShowCSV

/SmbPass

RadomirDopieralski

<moin AT sheep DOT art DOT pl>

1.5

Changes the Windows password using an external smbclient.

/Sparkline

DaveVieglais

DaveVieglais

1.5

Generates a sparkline which provides a simple, tiny graph. Examples are in the attached file.

State

RichardFlieger

RichardFlieger

1.5

This macro create an clickable icon on the page content. On clicking the image, an menu opens. By selecting an other icon at the menu, the clicked image would be changed.

/SubscribeTo

RaphaelBossek

RaphaelBossek

1.3, 1.5 (Last update: 2006 -04 -02)

[[SubscribeTo(UserName,ImportantGroup,-SkipThisUser)]] MoinMoinSubscribeTo

/SymLink

AlexisHuxley

AlexisHuxley

1.5

A macro for symlinking files into attachments

/System

AlexisHuxley

AlexisHuxley

1.5

A macro for running Unix commands and capturing their output

/TagCloud

Christian Groh

christian dot groh at doubleSlash dot de

1.5

Create a Tagcloud
[[TagCloud(maxTags=20,autoCreate=False)
autoCreate=True: auto create "tag page" if not exist
See http://www.iam-wiki.org for an example interaction with ParserMarket/Frame

/Thumbnail

LlubNek

<llubnek AT gmail DOT com>

1.5, 1.6

Thumbnail(image.png) would display a 64x64 thumbnail of the attachment "image.png". Should work for SVG, EPS, text, HTML, PDF, etc as well. Uses ImageMagick. Set _convert in data/plugins/action/Thumbnail.py to the actual location of convert or simply "_convert = 'convert'" if it's in your path.

/TocOf

SteveTindle

SteveTindle

1.5

Generates a complete Table of Contents for a list of other pages. Supports SetSection above and formats like EnhancedTableOfContents. For examples, go to SteveTindle/DocTools.

/VarStr

Gouichi Iisaka

iisaka51 at hotmail dot com

1.5.x

Allow to set and reuse string as variable in wiki documents.
Set the value: [[VarStr(Tag=Value)]]
Reference the Value: [[VarStr(Tag)]]

/VotingStars

TravisBailey

<mail AT travisbailey DOT com>

1.5

[[VotingStars(UniqueName)]]

/WhoLastModified

GregHeartsfield

GregHeartsfield

1.5

[[WhoLastModified]], Displays who last edited the page.

/WikiList

TheAnarcat

TheAnarcat

1.5.4

/WikiList

/YouTube

JesusAlvaro

JesusLAlvaro en gmail.com

1.5.4

Embed YouTube videos with this simple macro
a working example You can leave comments there.
It should be renamed to YouTube.py - see also FeatureRequestsEmbedObjectFromElseWhere

Release 1.3

Macro

Author

Email

Designed for MoinMoin Release

Description / Sample

RatingSystemForMoin

ZoranIsailovski

>=1.3

A simple, 5-stars rating system including a rating form and cross-page ranking tables

AttentionBoxesForMoin

ZoranIsailovski

>=1.3

Wikipedia-like Attention Boxes in MoinMoin

/Bug

NirSoffer

NirSoffer

1.3

This macro allows an easy integration of a bug tracking system in a wiki

/ProgressBar

PascalBauermeister

<pascal DOT bauermeister AT gmail DOT com>

1.3

This macro generates a progress indicator. Various styles. See /ProgressBar.

/UrlGrab

PascalBauermeister

<pascal DOT bauermeister AT gmail DOT com>

1.3

Get content from an URL and insert it into the wiki page. See /UrlGrab.

/NewPage

Lars Kruse

<devel AT sumpfralle DOT de>

1.3

[[NewPage(pagename_prefix,template)]] shows a form to create a new page starting with "pagename_prefix" by using the optional template

/PageComment

SeungikLee

SeungikLee

1.35

/PageComment

/RatingStars

NickKing

<n DOT king AT moologic DOT com>

1.5

Item {*} {*} {*} {o} {o} becomes clickable

/MySQLOutput

SergioRGiraldo

<sergiorgiraldo AT gmail DOT com>

1.3

read script

/mysql

JohannesBerg

JohannesBerg

1.3

http://johannes.sipsolutions.net/Projects/exim-greylist

/SQL

TimCera

[email protected]

/SQL

[[SQL(oraprod1|NEXRAD|NEXRAD|prod1|oracle|select * from user_tables)]]

Supports Oracle or MySQL database queries.

/Gallery

SimonRyan

SimonRyan

1.2, 1.3, 1.5

Gallery or Gallery(thumbnailwidth=100,webnailwidth=300,numberofcolumns=4) see /Gallery

/FreeSpace

MichaelAshton

<[email protected]>

1.3

[[FreeSpace(/mnt/hda)]] prints (e.g.) "3.8GiB of 3.8GiB"

/HelpTitle

VitoMiliano

<[email protected]>

1.3

[[HelpTitle(this is the text you see, this is the tooltip for it)]]

/Link

NirSoffer

<[email protected]>

1.3

[[Link(PageName, accesskey="1")]]

/NewWindow

Mat

see source

1.3.3

creates a link which opens in a new browser window

/UserList2

ZdenekPizl

<zdenek DOT pizl AT prolinux DOT cz>

>=1.3

Remake of UserList originaly coded by AnttiKuntsi. Download here UserList2.py

/IncVar

DerekWilson

<sp1d3rx AT gmail DOT com>

>=1.3

includes a variable from a page

/EditedSystemPages

NirSoffer

<nirs AT freeshell DOT org>

1.3

http://nirs.dyndns.org/main/EditedSystemPages

/MonthCalendar

ThomasWaldmann

ThomasWaldmann

1.3

MonthCalendar

/ShortText

ReimarBauer

ReimarBauer

1.3

/ShortText

/MiniPage

ReimarBauer

ReimarBauer

1.3

/MiniPage

/EmbedWikiPage

ReimarBauer

ReimarBauer

1.3

/EmbedWikiPage

/ImageLink

ReimarBauer, MarcinZalewski

ReimarBauer, MarcinZalewski

1.3

/ImageLink

/Svg

AndrewArmstrong

AndrewArmstrong

1.3

/Svg

/Visio

OwenJones

OwenJones

>=1.3

/Visio

/Hits

ReimarBauer

ReimarBauer

1.3

/Hits

latex macro (for code see url)

JohannesBerg

JohannesBerg

1.3 patch-500

http://johannes.sipsolutions.net/Projects/new-moinmoin-latex

/WordCount

WalterAprile

WalterAprile

1.3

WordCount

/IRSS

GustavoNiemeyer

<gustavo[a]niemeyer.net>

1.3.5

unofficial patch of irss (action) for MoinMoin 1.5.8: /IRSS/irss-moin-1.5.8.patch

Turns parts of any normal Moin page in RSS feeds, using very simple and straightforward markup.

/SearchInPagesAndSort

PascalBauermeister

PascalBauermeister

1.3 and 1.2

see /SearchInPagesAndSort

Searches text in some pages and displays the result by sorted lines. Great to collect info over pages, such as TODOs, deadlines, etc.

/IncludeUrlContentWiki

StevePoole

StevePoole

1.3

/IncludeUrlContentWiki

/SubscribeTo

RaphaelBossek

RaphaelBossek

1.3, 1.5 (Last update: 2006-04-02)

[[SubscribeTo(UserName,ImportantGroup,-SkipThisUser)]]

/FreeMindBrowser

JürgenLind

JürgenLind

1.3

works with M`M 1.5.4 and DesktopEdition, see docu at /FreeMindBrowser
[[FreeMindBrowser(mindmapUrl)]]

/IMG

JosselinMouette

<[email protected]>

1.3.4, 1.5

IMG(http://example.com/img_gen.php?id=4) or IMG(http://foo/img_gen.php?id=4, http://example.com/)

/ShowMe

JuliánRomero

<[email protected]>

1.3.4

[[ShowMe()]] [[ShowMe(my text)]]

/Vote

AkshatAranya

<aaranya[a]gmail.com>

1.3.4

Updated Martin Stone's and John Cocula's vote macro to work with 1.3.4. See attachment for details

MetaData browser

CharlieDeTar

<contact AT theendmusic DOT org>

1.3

http://theendmusic.org/programming/MetaDataPlugin

/NewWindow2

Roger Haase

<[email protected]>

1.3, 1.5 beta

After downloading, rename this to NewWindow.py. This is a small mod to Changjune Kim's macro to use Javascript to open a new window because the HTML feature is deprecated.

/CardMacro

SiberianLaika

[email protected]

1.3

[[Card(TemplatePage arg1|arg2|var1=value|var2=value|...)]]

/QueryPg

IgorTamara

<[email protected]>

1.3

/QueryPg After downloading, rename this to QueryPg.py. Use something like [[QueryPg(SELECT * from countries)]]

/RandomBanner

IgorTamara

<[email protected]>

1.3

/RandomBanner After donwloading, rename to RandomBanner.py, please do read the docs, before using it

Release 1.2

Macro

Author

Email

Designed for MoinMoin Release...

... and Revision...

Description / Sample

/IncludeUrlContent

ErinMulder

--

1.2.3

n/a

IncludeUrlContent(http://www.xyz.org/fragment.html)

/EmbedWikiPage

ReimarBauer

ReimarBauer

1.2.3

n/a

/EmbedWikiPage

/ImageLink12

ReimarBauer, MarcinZalewski

ReimarBauer, MarcinZalewski

1.2.3

n/a

/ImageLink12

/IncludeExternalFile

AlbertMa

http://www.ieasy.org/EAII/1/d/4/1d4c2225924d5134ffe12fc23faf9ea8.png

1.2

n/a

IncludeExternalFile(dynamidata.html) or IncludeExternalFile(data/file.txt)

/Gallery

SimonRyan

SimonRyan

1.2

n/a

Gallery or Gallery(thumbnailwidth=100,webnailwidth=300,numberofcolumns=4) see /Gallery example: SampleGallery

/AlertDate

ArelCordero

ArelCordero

1.2

n/a

[[AlertDate(10/28/2004)]]

/RockPaperScissors

JosYule

JosYule

1.2

n/a

RockPaperScissors(), also see /RockPaperScissors

/Columns

AnttiKuntsi

AnttiKuntsi

1.2

n/a

Columns(start,left) also see /Columns Columns(end) (This works in 1.5, at least on my install (Apache2, Python2.4, Firefox 1.5.0.10)

/UserList

AnttiKuntsi

AnttiKuntsi

1.2

n/a

UserList(), also see /UserList

/MonthCalendar

ThomasWaldmann

ThomasWaldmann

1.2

n/a

A monthly calendar - see /MonthCalendar for more details.

Macro used to generate calendar sheet - more info on MonthCalendar (updated 4.3.2004)

/IncludePages

Jun Hu

Jun Hu

1.2

n/a

IncludePages(pagepattern,level,dayoffset)

Updated for Moin 1.2. More info now on /IncludePages

/PageHits

ThomasWaldmann

1.2.1

this works if: eventlog.py from 1.1 is copied to MoinMoin dir and request.py get added these lines EditRequest (only runs in standalone wiki) -- ReimarBauer 2004-04-09 07:17:55 this is obsolete because of 1.2.2 -- ReimarBauer 2004-07-04 17:36:28

/IncludeCalendarPage

WolfgangLazian

WolfgangLazian

1.2

n/a

Updated for Moin 1.2. More info on macro/IncludeCalendarPage.py

/PageHits

ThomasWaldmann,
ReimarBauer

1.2.1

this works if: eventlog.py from 1.1 is copied to MoinMoin dir (only runs in standalone wiki) -- ReimarBauer 2004-04-09 07:17:55 this is obsolete because of 1.2.2 -- ReimarBauer 2004-07-04 17:36:28

/SearchInPagesAndSort /!\ new version fixing a security hole!

PascalBauermeister

PascalBauermeister

1.2 (and 1.1)

n/a

see /SearchInPagesAndSort

Searches text in some pages and displays the result by sorted lines. Great to collect info over pages, such as TODOs, deadlines, etc.

/trade

RobertKellyIV

1.2

trade will embed HTML: "&trade;"

/deg

RobertKellyIV

1.2

deg will embed HTML: "&deg;"

/BlurpSearch

OliverGraf

OliverGraf

1.2

n/a

see here

modified FullSearch which handles Category searchs a bit more strict and displays an optional ##BLURP text from the result pages

/Vote

see macro

see macro

1.2(2)

n/a

cleaned up version

/SubscribedPages

PeterKleiweg

1.2

[[SubscribedPages]] will display a list of all pages you have subscribed to. [[SubscribedPages(SomeUser)]] will display a list of all pages SomeUser has subscribed to.

NigelMetheringham/moin-1.2.3-attachfuncs.patch

NigelMetheringham

1.2

[[AttachList]] shows list of files attached to a page, [[AttachInfo]] has info on attached files. Minor mods needed to main Moin code - see homepage NigelMetheringham for details

Release 1.1

Macros designed for Release 1.1 are now on this subpage.

Release 1.0

Macros designed for Release 1.0 are now on this subpage.

Macros for older or unknown releases

Macros designed for Release 1.0 are now on this subpage.

Attic

The Attic is now on a subpage.

Miscellaneous Macros

Stuff formerly found under contribution/:

Requests

If you are not familiar with Python and/or the MoinMoin code base, but have a need or an idea for a macro, this is the place to ask for it. Someone might find it useful, too, and implement it.

Frequently requested but not (yet) implemented

Miscellaneous

<<Include(http://moinmo.in/, ,)>>

ex: BEFORE('27/02/2002','Yeah, it will be by birthday in few weeks')
ex: AFTER('27/02/2002','Gasp, I'm again one year older')

AliasOfThisPage

If you want alias of existing page, just create the alias, place #redirect there, and point it to existing page. See HelpOnProcessingInstructions.

Macro for Graphs in Wiki

Is there a way of creating graphs, charts and stuff like that in Wiki? That would really help a lot of people out. Now I'm making images out of them, but that's not really working for me.
I'm not sure this is the right place to put this... if so, my apologies.

Macro for integrating mail archives

Yes. Use an existing mail archiver, and link to it.

There are lots of ways in which it would be useful to have your email archives integrated with your wiki, and more of them as the functionality of the wiki expands. When you WikiParse your mail archives, you get BackLinks into the wiki for free. You can refer to InterWiki links in E-mail to your list, and in the archives the hyperlinking will be handled for you. Etc., etc. I work in an environment where we use a PurpleWiki and a copy of MailMan patched to WikiParse the archives, and it's just the cat's pajamas. Even better (but granted, still a hack), one of our developers wrote a simple filter for Pine that dereferences WikiWords and other wiki markup in his outgoing messages, and turns them into FreeLinks. This makes them helpful to people with plain text email, but when they are parsed and end up in the mail archives, they still appear as clickable hyperlinks. Very cool stuff. So anyway, it seems to me that the answer immediately above is not a very useful one, but the right way to solve this problem isn't really a Macro, either; it's probably a patch to your mail archiver (being Python, MailMan seems like a natural choice.) Perhaps a MailManIntegration node should be created? --JoeBlaylock

macro for caching images

PageOf macro and TOC markup

To make navigation of book style organization of wikipages, a PageOf macro will take a TOC page which contain a section of wikinames organized in tree structure and output the prev, up, toc, next links.

For example, the TOC page look like:

    Title
     by
    authors
    ....
    <TOC>
    * [[Chapter 0]] The first chapter
    ** [[Section 0]] The first section of Chapter
    * [[Chapter 1]] Chapter 1
    ....
    </TOC>
     ....

The macro in Section 0 will generate :

These macros can be inserted to pages in templates, by hand and by action of the TOC page.

RandomPage macro

subversion integration

an integration of subversion archives was requested on the mailing list .

Table of contents - full section numbers

Encryption of parts of a page

I would like to be able to store encrypted text within the normal text of a page, e.g. for storing passwords, PINs etc. The idea is to store information that does not need encryption (e.g. a web address, a user name, a bank account number) on the same page as sensitive information that should be encrypted. e.g.

Bank: Some Bank
Address: Some Street 55
Account No: 08514711
PIN: <some encrypted text or link to it>

En/decryption should use a user supplied password and should be reasonably secure. I imagine the syntax as something like this:

<<<encrypt(password, some text)>>>

which will then add a link to the page that asks for a password and then tries to use this password to decrypt the content. Of course this is only really usefull in a personal wiki that is not accessible remotely.

Suggestion Instead of making the wiki do the encryption, do it on your local machine and paste the encrypted text to the wiki. E.G. pipe your PIN through GPG and paste the results to your wiki. To get your pin back, copy from wiki and pipe to GPG again.

Possible Solution I just posted https://github.com/lorrin/moinmoin-client-crypt which tackles this use-case. Installation & MoinMoin integration isn't polished yet.

Easy-append to a page

This macro should generate a text box and a button. Clicking the button causes the contents of the text box to be appended to the page. TWiki's %COMMENT% macro works this way.

Your Comments

Reorganisation of this page

We want to solve two problems:

  1. people have problems finding the right plugin (solution: categories)
  2. people have problems to find what plugins they actually can install with no risk of data loss (solution: table)

DONE

I started to split up this page into seperate sub-pages. See /DatabaseMacros and /WikiInfoMacros for examples. When the component pages are complete we could then [[Include()]] them onto this page. Anyone want to help? Good idea? Bad idea? Other categories that I thought of would be /ImageMacros and /NavigationMacros, and then of course the /ImpossibleToClassifyMacros :) There is a problem with this approach in that the location of attachments and descriptive pages/sub-pages are scattered all over the wiki and web. Having macro descriptions split up onto seperate pages is not going to help. Though I really think this categorization would really help new users to find macros useful to them. -- TimCera 2006-02-02 14:33:42

Moved macros

I just finished cleaning up the MacroMarket by moving all of the macros/attachments to their own subpage. If you notice anything broken, please let me know on my home page. If you are looking for a macro that is no longer attached to this page, try going to MacroMarket/NameOfMacroYouAreLookingFor. -- JordanCronin 2008-02-01 19:46:10

OPEN


MoinMoin: MacroMarket (last edited 2019-07-19 08:04:23 by TobiasStein)