= Attention Boxes for MoinMoin =

In Wikipedia, it is an established practice to flag pages that need some kind of 
attention using visually styled "message boxes" located somewhere on the page. 
(An example of "some kind of need attention" is a page that needs cleanup.)

This is (the beginning of) an endeavor to employ Attention Boxes in MoinMoin.

The code has been tested with MoinMoin 1.3.4, but is should work with later versions as well 
(due to the fact that the code does not rely on moin code at all).

To list pages needing attention, use:

    [[FullSearch(text:regex:\[\[Needs(Review|Cleanup|Rewrite)(\(.*\))?\]\])]]

or (simpler, though less accurate):

    [[FullSearch(text:[[Needs)]]

To use the visual styles (CSS and images), read {{{wiki\htdocs\_css\.readme.txt}}}.

I suggest creating a PagesNeedingAttention with the following content:
----
{{{#!wiki
#format wiki
#language en
#pragma section-numbers off

== Examples Of Attention Boxes ==

[[InfoBox(This is an informative message)]]
[[NeedsReview(Please check consistency and completeness!)]]
[[NeedsCleanup(This is a topic mix => Split into distinct articles and interlink!)]]
[[NeedsRewrite(This page is a mess!)]]

== Pages Needing Attention ==

[[FullSearch(text:regex:\[\[Needs(Review|Cleanup|Rewrite)(\(.*\))?\]\])]]
##[[FullSearch(text:[[Needs)]]
}}}
----

Cheers and happy attention drawing

Zoran Isailovski

----
Copyright (C) 2007 Zoran Isailovski
Licensed under the Apache License, Version 2.0 (see http://www.apache.org/licenses/LICENSE-2.0)
