Edgewall Software

Changes between Version 113 and Version 114 of MacroBazaar


Ignore:
Timestamp:
Aug 9, 2005, 7:40:30 PM (19 years ago)
Author:
Christopher Lenz
Comment:

Fix paths to files moved in repos, escape wiki names in headings

Legend:

Unmodified
Added
Removed
Modified
  • MacroBazaar

    v113 v114  
    2020== Examples ==
    2121
    22 === HelloWorld ===
     22=== !HelloWorld ===
    2323A simple example macro. Distributed with Trac.
    24 [[BR]]''Download:'' source:trunk/trac/wikimacros/HelloWorld.py
     24[[BR]]''Download:'' source:trunk/wiki-macros/HelloWorld.py
    2525[[BR]]''By:'' TracTeam   --    ''Ver:'' >0.5.2
    2626
     
    4141[[BR]]''By:'' lhl   --    ''Ver:'' 0.7.1
    4242
    43 Replacement that also handles the WikFile macro below.  Docs are inside the module @ the top.
     43Replacement that also handles the [wiki:MacroBazaar#WikFile WikiFile] macro below.  Docs are inside the module @ the top.
    4444
    4545[[BR]]''Download:'' http://projects.edgewall.com/trac/attachment/wiki/MacroBazaar/Include.2.py
    4646[[BR]]''By:'' csawyer@yumaed.org   --    ''Ver:'' 0.8
    4747
    48 === WikiInclude ===
     48=== !WikiInclude ===
    4949Inserts the contents of another wiki page. It expands arguments in the page in the form {{N}}.
    5050
     
    5959[[BR]]''By:'' Vegard Eriksen  zyp at jvnv dot net
    6060
    61 === WikiFile ===
     61=== !WikiFile ===
    6262
    6363Inserts the output of an URL/file as wiki file. The file can be written
     
    9090''By:'' Toni Brkic  toni.brkic at switchcore.com --    ''Required ver'' patch for #801 must be implemented
    9191
    92 === MimeInclude ===
     92=== !MimeInclude ===
    9393Inserts the output of an external URL, with an optional MIMEtype argument for rendering mode and colorization. See the examples in code docstring. Enjoy!
    9494[[BR]]''Download:'' http://projects.edgewall.com/trac/attachment/wiki/MacroBazaar/MimeInclude.py
     
    104104== Site Navigation ==
    105105
    106 === BackLinks ===
     106=== !BackLinks ===
    107107First stab at a macro that displays all wiki pages linking to a specified page name.
    108108
     
    145145''Question:'' Is there a chance to integrate the macro in the wiki menu like Title Index? Would be very appretiated.
    146146
    147 === SubWiki ===
     147=== !SubWiki ===
    148148
    149149Derived from TitleIndex.  Returns a list of sub-wiki entries.  A sub-wiki page is a page that is is deeper in the hierarchy than the current page.  e.g. if the current page is People, this will return a list of all wiki entries that start with "People/"
     
    164164
    165165
    166 === ParentWiki ===
     166=== !ParentWiki ===
    167167
    168168Inserts a link to the "parent" wiki entry.  This only applies to wikis that have a "/" in their name indicating hierarchy.  e.g. an entry named Java/Introduction will have a parent of Java.  All other wiki entries have a parent of WikiStart.
     
    172172[[BR]]''By:'' Muness Alrubaie <muness@gmail.com>
    173173
    174 === RelLink ===
     174=== !RelLink ===
    175175Creates a link relative to the current page.
    176176
     
    181181[[BR]]''By:'' Thomas Richter tr+tracweb@ariva.de
    182182
    183 === ShowPath ===
     183=== !ShowPath ===
    184184
    185185Show the path to the specified wiki or the current wiki if none is specified.  This is similar to the directory names at the top of the TracBrowser.  This applies mainly to hierarchical wiki entries.  e.g. the path to a {{{Book/Chapter/Section/Subsection}}} would be {{{WikiStart/Book/Chapter/Section/Subsection}}} (all but the current would be linked).
     
    203203[[BR]]''By:'' Bernhard Haumacher <haui at haumacher.de>
    204204
    205 === TracNav ===
     205=== !TracNav ===
    206206{{{
    207207#!html
     
    285285=== Timestamp ===
    286286Inserts current date and time. Distributed with Trac.
    287 [[BR]]''Download:'' source:trunk/trac/wikimacros/Timestamp.py
     287[[BR]]''Download:'' source:trunk/wiki-macros/Timestamp.py
    288288[[BR]]''By:'' TracTeam   --    ''Ver:'' >0.5.2
    289289
    290 === DateOffset ===
     290=== !DateOffset ===
    291291
    292292Returns the date referred to as follows:
     
    309309[[BR]]''By:'' Muness Alrubaie <muness@gmail.com>
    310310
    311 === LastModified ===
     311=== !LastModified ===
    312312
    313313Shows the last modification date of the specified page, or the page the macro appears in if not specified. An optional argument, {{{ delta }}}, can be given to show the time elapsed since the last modification. The output is placed in span with a title that gives the exact modification date and the author of the change. See [http://chimp.acm.uiuc.edu/cgi-bin/trac.cgi/wiki/CustomMacros examples] or [http://severinghaus.org/projects/bfgff/LastModified.py download] it!
     
    326326
    327327
    328 === WikiCalendar ===
     328=== !WikiCalendar ===
    329329
    330330Renders a calendar of links to date-based wiki pages.  Its primary use is for maintaining a calendar of meeting minutes, but it can be used in any situation where the wiki page name is based on the date.  It is designed to work well with the [wiki:MacroBazaar#Blog Blog] macro, so if a previous month is selected from the Blog, the calendar will display the selected month.
     
    398398[[BR]]''Ver.'' >= 0.7.1
    399399
    400 === UserChanges ===
     400=== !UserChanges ===
    401401Trivial change of the RecentChanges macro that only displays the recently changed pages for a specified user.
    402402Usage:
     
    410410[[BR]]''By:'' David Mohr <datrac@mcbf.net> -- ''Ver.'' >= 0.7.1
    411411
    412 === TracPoll ===
     412=== !TracPoll ===
    413413
    414414This macro adds ''polls'' to Trac. Any number of polls can be added to a page and polls are unique to each project.
     
    425425[[BR]]''By:'' Alec Thomas <trac-form@swapoff.org> -- ''Ver.'' >= 0.7.1
    426426
    427 === AddComment ===
     427=== !AddComment ===
    428428
    429429Adds a textarea to TracWiki pages allowing for quick ''comments'' to be added in a standard format.
     
    435435[[BR]]''Version:'' >= 0.8 and >= [1688]
    436436
    437 === SvnFiles ===
     437=== !SvnFiles ===
    438438
    439439This macro autogenerates a list of clickable file links referring to files in a given directory of the repository whose names match a given regular expression.  We needed this for a page giving an overall view of project progress for a project broken up into a shallow hierarchy, combined with ReTickets (below) it autogenerates an overview wiki page. 
     
    453453''By:'' Simon Stapleton <simon@tufty.co.uk>
    454454
    455 === ReTickets ===
     455=== !ReTickets ===
    456456
    457457This macro autogenerates a list of clickable ticket links (link number and person assigned) referring to tickets whose summaries match a given regular expression.  We needed this for a page giving an overall view of project progress for a project broken up into a shallow hierarchy, combined with SvnFiles (above) it autogenerates an overview wiki page.
     
    476476[[BR]]''By:'' Muness Alrubaie <muness@gmail.com>
    477477
    478 === TracSearch ===
     478=== !TracSearch ===
    479479Builds a link to search for a supplied argument in any or all of the wiki, changesets, and tickets.
    480480
     
    483483[[BR]]''By:'' Andrew Durdin <adurdin at gmail.com>
    484484
    485 === Blog ===
     485=== !Blog ===
    486486A simple blog macro which renders matched wiki pages on one page. Only one month's wiki pages are shown at once.
    487487
     
    516516[[BR]]Version: >=0.8
    517517
    518 === FootNote ===
     518=== !FootNote ===
    519519
    520520Automatically collates and generates foot-notes.
     
    568568[[BR]]''Version'': >= [1688]
    569569
    570 === TicketBox ===
     570=== !TicketBox ===
    571571
    572572Display list of ticket numbers in a box on the right side of the page.