docs/CHANGES
author Thomas Waldmann <tw AT waldmann-edv DOT de>
Thu Dec 03 15:54:44 2009 +0100 (2009-12-03)
changeset 5340 b290d938be63
parent 5328 9161bf60a745
parent 5337 279e51998982
child 5341 b6931874f6f6
permissions -rw-r--r--
merge moin/1.8
     1 MoinMoin Version History
     2 ========================
     3 
     4 Please note: Starting from the MoinMoin version you used previously, you
     5 should read all more recent entries (or at least everything marked with HINT).
     6 
     7 This release has known bugs (see MoinMoin:MoinMoinBugs), but we think it is
     8 already better than the previous stable release. Our release policy is not
     9 trying to make a "perfect release" (as that release might NEVER get released),
    10 but to make progress and don't delay releases too much.
    11 
    12 Known main issues:
    13 
    14   * The GUI WYSIWYG editor has still some issues and limitations.
    15     If you can't live with those, you can simply switch it off by using:
    16     editor_force = True
    17     editor_default = 'text'  # internal default, just for completeness
    18 
    19 
    20 Version 1.9.0rc2:
    21 
    22   Please note:
    23   * This is a BETA/RC version, not meant for production usage, but just to
    24     discover bugs, incompatibilities, installation issues, documentation issues,
    25     etc. - please report issues on MoinMoin:MoinMoinBugs.
    26   * Translators can still work on translations, RC is mainly for testing the
    27     code, we likely will update translations and wiki pages for final release.
    28     Be careful though, don't break things.
    29     Please see http://master19.moinmo.in/ and help cleaning up there.
    30 
    31   New features:
    32   * Improved attachment dialog for GUI editor.
    33   * safe 2-stage xapian index rebuilding:
    34     moin index build --mode=buildnewindex  # slow, concurrent
    35     <stop wiki>
    36     moin index build --mode=usenewindex  # fast
    37     <start wiki>
    38   * added wikiconfig snippet for xapian indexed search
    39   * macro WikiConfigHelp: added section keyword for selecting a subset of the
    40     description, e.g. <<WikiConfigHelp(section="xapian")>>
    41   * macro HighlighterList: lists all Pygments lexers (see HelpOnParsers)
    42   * main exception handler: include request url in log output
    43 
    44   Bug fixes:
    45   * killed deprecated macro.form attribute (didn't work as expected anyway due
    46     to WSGI refactoring) - please use macro.request.{args,form,values}
    47   * fixed URL args processing for macros: MonthCalendar, FullSearch, TeudView
    48   * fix load_theme call for fallback theme loading
    49   * fix makeForbidden403() calls - is makeForbidden(403, ...) now
    50   * fix check_surge_protect() call
    51   * sendmail: add more debug logging, check for empty recipients list
    52   * parsers: avoid accidental triggering of ParserBase deprecation warning
    53   * SystemInfo macro: fix failure if xapian/xapian-bindings are not installed
    54   * Xapian indexing:
    55     * make sure DB connection gets closed
    56     * rely on xapian's locking (remove moin's additional locking)
    57     * removed indexer threading
    58     * fixed (reimplemented) indexer queue
    59     * less disruptive xapian index rebuild
    60   * AttachFile: added remove_attachment() and FileRemovedEvent (mail and xapian
    61     support, no jabber support yet)
    62   * patch werkzeug 0.5.1 to catch OverFlowError and ValueError so it doesn't
    63     crash when receiving invalid If-modified-since header from client.
    64   * GetText2 macro: fix for named placeholders
    65   * fixed MoinMoinBugs/LineNumbersWorkingBuggyWithHighlightParser
    66   * GUI editor: roundtripping works now for .pdf/doc/... attachment transclusion
    67   * fix MoinMoinBugs/MissingPageShouldn'tOfferToCreatePageForReadonlyUsers
    68   * fix MoinMoinBugs/1.6XmlRpcPutPagePagenameEscape
    69   * abort RenamePage if renaming of main page fails (do not try to rename
    70     subpages)
    71 
    72 
    73 Version 1.9.0rc1:
    74 
    75   New features:
    76   * config attribute extensions_mapping added for mapping of attachment file
    77     extensions to actions (currently used for anywikidraw/twikidraw action)
    78 
    79   Bug fixes:
    80   * setup.py: fix wrong exitcode
    81   * Xapian indexing: we need to return a UnprocessedDocument in any case, never a ProcessedDocument
    82   * AdvancedSearch: example didn't work, fixed
    83   * fix wrong usage of parseQueryString result
    84   * SyncPages and LocalSiteMap action: fix NameError
    85   * LocalSiteMap: added missing _()
    86   * fix typo in Cache-Control header (max-age)
    87   * fix '304 not modified' response for AttachFile do=get and do=box
    88   * action CopyPage, RenamePage, DeletePage: fixed getting subpages_checked param from url
    89   * action.getHandler(): make it moin 1.8 compatible again
    90 
    91   Other changes:
    92   * 'modernized' theme:
    93     * use it by default (1.8 used 'modern')
    94     * move title_with_separators() from Modernized theme to ThemeBase
    95     * add a span with "pagepath" class to title_with_separators
    96   * add the sidebar() method from Mandarin and Gugiel themes to ThemeBase
    97   * updated flup to 1.0.2+ ( http://hg.saddi.com/flup-server/rev/6ea1ffac1bcb )
    98   * updated pygments to 1.1.1+ ( http://dev.pocoo.org/hg/pygments-main/rev/948f8885af16 )
    99   * updated parsedatetime to 0.8.7
   100   * TextCha feature of TWikiDraw removed again because AnyWikiDraw misses the
   101     TextCha feature still, language detection problems.
   102   * removed anywikidraw .pack.gz file, makes more trouble than it's worth
   103   * MoinMoin/search/builtin.py searching does not require a lock, xapian allows several concurrent search connections.
   104   * increase surge protection limits for AttachFile to avoid trouble with image galleries
   105 
   106 
   107 Version 1.9.0beta4:
   108 
   109   New features:
   110   * Moin's Xapian based search code was refactored:
   111     * It is now based on the xappy library (see MoinMoin.support.xappy).
   112     * Minimum Xapian requirement is 1.0.6 now.
   113     * Outdated and unmaintained xapwrap lib was removed.
   114     * now regex search with Xapian enabled also is based on the xapian index
   115   * raw action mimetype support: ...?action=raw&mimetype=text/css
   116   * TWikiDraw:
   117     * support code was refactored/moved to the twikidraw action.
   118     * use drawing:example.tdraw to invoke it (drawing:example also still
   119       works for backwards compatibility)
   120     * TextCha feature added
   121   * AnyWikiDraw:
   122     * java applet added, source code see contrib/
   123     * support code for it is in anywikidraw action.
   124     * use drawing:example.adraw to invoke it
   125   * SlideShow action and css from moin/extensions for modernized theme added
   126 
   127   Bug fixes:
   128   * Bug with "language:en" was fixed for the Moin search. Now language:
   129     behaves like described on HelpOnSearching.
   130   * flup_frontend: __import__ compatibility fix for python 2.4
   131   * wiki_groups and wiki_dicts caching fix.
   132   * Fixed moin server standalone --start.
   133 
   134   Other changes:
   135   * HINT: simplify wikiserver configuration by using same names as werkzeug's
   136     run_simple() call.
   137   * Removed moin account check's --lastsaved option, it is default now
   138     (checking last use with trail file did not work in 1.9 anyway).
   139 
   140 
   141 Version 1.9.0beta3:
   142 
   143   New features:
   144   * HINT: We now offer different sized sets of system/help pages and the default
   145     underlay just contains a single page: LanguageSetup. You need to be
   146     superuser, visit that page and then install the language packs you like
   147     (minimum is the essential set for English).
   148   * HINT: LanguageSetup is the default page_front_page, you need to change that
   149     after installing language packs (see above).
   150   * New modular group and dict data access, you can use group and dict 
   151     backend modules to access group and dict data stored anywhere you like.
   152     Currently we provide these backends:
   153       * WikiGroups and WikiDicts backends get data from wikipages. They work
   154         similar to old wikidicts code (but with less caching issues :).
   155       * ConfigGroups and ConfigDicts backends get data from a dictionary
   156         defined in the wiki config.
   157       * CompositeGroups and CompositeDicts compose several backends, so data
   158         may be retrieved from several sources. For example, groups may be
   159         defined in the wiki config and on wiki pages.
   160     * Using cfg.groups and cfg.dicts, you can define the backend to use to
   161       access group and dict information (default: WikiGroups / WikiDicts
   162       backend).
   163       See wiki/config/more_samples/ directory (groups_wikiconfig_snippet and
   164       dicts_wikiconfig_snippet).
   165     * See also the new HelpOnDictionaries and HelpOnGroups help pages.
   166   * "moin ... account homepage" script to create user homepages.
   167   * Theme packages: do_copythemefile now copies theme files to
   168     MoinMoin/web/static/htdocs.
   169   * OpenID: Support for Simple Registration (SREG) extension.
   170     Basic profile fields can be copied from OpenID provider when logging in.
   171   * OpenID: Support for Teams extension.
   172     If your OpenID provider supports the Teams extension (i.e. Launchpad),
   173     MoinMoin can be configured to generate 
   174   * OpenID: Ability to accept logins from specific OpenID providers.
   175     Login form changes based on configuration for better usability:
   176     * 0 providers: normal text input box for OpenID URL
   177     * 1 provider: hidden field, automatic form submission with JavaScript
   178     * 2+ providers: select field, uses directed identity
   179 
   180   Bug fixes:
   181   * Fixed MoinMoinBugs/DeprecatedIsNotRespected (search ranking, WantedPages).
   182   * web.session: fixed MoinMoinBugs/1.9_session_lifetime_for_user. We do
   183     refresh the session cookie now on each request.
   184   * web.session: fixed MoinMoinBugs/1.9_remember_me_broken.
   185   * Fix superuser functionality (broken in previous 1.9 betas).
   186   * fixes misc. crashes / exceptions
   187   * OpenID: request processing now works with new WSGI refactoring.
   188   * OpenID: always return error messages with CancelLogin if OpenID process fails.
   189 
   190   Other changes:
   191   * ImageLink page has been killed (ImageLink macro is gone since 1.6.1).
   192   * replace our text_irssi parser with a wrapper around pygments' irc highlighter
   193   * Added disabled state for HTML select fields.
   194   * Allowed disabling of timezone and language user prefs if they are
   195     part of the user's login fields (i.e. OpenID SREG).
   196   * Added option to disable local registration links and direct user
   197     to registration page at an OpenID provider instead.
   198 
   199   Developer notes:
   200   * groups and dicts API changes:
   201     * request.groups and request.dicts provide access to groups and dicts.
   202     * MoinMoin.wikidicts is gone, please use MoinMoin.datastruct.
   203     * LazyGroup and LazyGroupsBackend base classes for implementing backends
   204       which potentially deal with huge amounts of data (like a LDAP directory).
   205       Use MoinMoin/datastruct/backends/config_lazy_groups.py as a draft for
   206       new backends.
   207     * See http://moinmo.in/Groups2009 for more details.
   208   * i18n: new approach for defining sets of system/help pages (see i18n.strings).
   209     CheckTranslation, page packager, wikiutil.isSystemPage() use those sets.
   210 
   211 
   212 Version 1.9.0beta2:
   213 
   214   New features:
   215   * Added modernized_cms theme (hides most wiki widgets from modernized if the
   216     user is not logged in).
   217   * Static file serving built-in (moved wiki/htdocs to MoinMoin/web/static/htdocs).
   218     MoinMoin.web.static has a static file serving wrapper that uses the files
   219     from htdocs subdirectory by default (docs=True).
   220     You can also give another path or switch off creation of that static wrapper.
   221     See the docstring of the static package for details.
   222   * Handle wikiserverconfig(_local) in the same way as wikiconfig(_local)
   223   * PackagePages: create package file in memory and send it to the caller
   224   * Environment variable MOIN_DEBUGGER=off/web/external (default is like "off")
   225   * HTTPAuthMoin: http basic auth done by moin
   226   * ldap auth: new name_callback param to create a custom wiki username (not the
   227     ldap login username)
   228   * wikiconfig/farmconfig: improve values for data(_underlay)_dir, make logo
   229     work automatically
   230   * New session code:
   231     * cfg.cookie_lifetime is now a tuple (anon, loggedin), giving the lifetime
   232       of the cookie in hours, accepting floats, for anon sessions and logged in
   233       sessions. Default is (0, 12). 0 means not to use a session cookie (== not
   234       to establish a session) and makes only sense for anon users.
   235   * cfg.cookie_httponly is new and defaults to False. Please note that if you
   236     set it to True, TWikiDraw and similar stuff won't be able to use the session
   237     cookie. Thus, if your wiki page doesn't allow writing for everybody, saving
   238     a drawing will fail, because there is no session (== no logged in user) for
   239     the TWikiDraw applet's saving POSTs.
   240 
   241   Removed features:
   242   * Removed cfg.traceback_* settings (use logging configuration)
   243   * Removed old session code and settings:
   244     * Removed cfg.session_handler and session_id_handler (use cfg.session_service)
   245     * Removed cfg.anonymous_session_lifetime (use cfg.cookie_lifetime)
   246 
   247   Fixes:
   248   * Fix ScriptContext URL default value
   249   * AttachFile: get the rename field content from qs args, too
   250   * Changed code to support werkzeug 0.5pre
   251   * run_server param name need to match Config attribute name 'debug'
   252   * Fix wiki regex samples in farmconfig
   253   * 1.6.0a mig script/converter: fixed converter bug for parser sections
   254   * login action: fix formatting of error messages
   255   * AttachFile do=view: quote filename and pagename params for EmbedObject
   256     macro call
   257   * unsubscribe action: add msg types so icons get displayed
   258   * Only save session data if we also have a cookie establishing a session
   259   * suid: simplify and fix, bigger selection box
   260   * Drawings: fix KeyError for non-existing map file
   261 
   262 
   263 Version 1.9.0beta1:
   264   New features:
   265     * HINT: MoinMoin requires Python 2.4 now. If you only have Python 2.3 and
   266             you don't want to upgrade it, please use MoinMoin 1.8.x.
   267     * HINT: MoinMoin is now a WSGI application.
   268       Please read the new install docs about how to use it.
   269       We are still working on the docs, please try to use them and report any
   270       bugs you find: http://master19.moinmo.in/InstallDocs
   271       You also have a local copy of that page as docs/INSTALL.html.
   272       There is also some stuff in docs/INSTALL.wsgi.
   273     * HINT: due to big changes in the request processing and the request
   274       object (related to the WSGI refactoring), many 3rd party plugins might
   275       need code updates to work with moin 1.9.
   276       We are working on some docs about how to update them to work with 1.9.
   277     * We use the pygments highlighting library now, use it like this:
   278       {{{#!highlight xxx
   279       ...
   280       }}}
   281       xxx is any of the markups pygments supports.
   282       Note: we still have some (deprecated) small wrappers around pygments,
   283       so the old syntax #!python/pascal/cplusplus/... still works.
   284     * TWikiDraw drawings are now stored as a single attachment foo.tdraw.
   285       We added a migration script that converts your existing drawings.
   286     * HINT: auth.http.HTTPAuth is now auth.GivenAuth
   287       This was badly named from the beginning as for most servers, it just
   288       looked at REMOTE_USER environment variable and relied on the server
   289       doing the authentication (could be http basic auth or any other auth).
   290       See HelpOnAuthentication.
   291 
   292 
   293 
   294 Version 1.8.6:
   295   Bug fixes:
   296   * Xapian indexing / indexing filters:
   297     * fix deadlocks with well- and misbehaving external filters
   298     * work around indexing run crashing when encountering encoding problems
   299       with non-ascii filenames
   300     * OpenOffice/OpenDocument filters: catch UnicodeDecodeErrors (happens
   301       with password protected files)
   302   * i18n: check if languages is not initialized yet, don't crash
   303   * http_redirect: use 301 redirect for some cases
   304   * do not use httponly session cookies, makes trouble with twikidraw and ACLs
   305   * GetText2 macro: fix for named placeholder
   306   * Fix SHA -> SSHA password hash upgrade for old user profiles.
   307   * abort RenamePage if renaming of main page fails (do not try to rename
   308     subpages)
   309 
   310   New features:
   311   * search: improve search result ordering
   312   * SubscribeUser action: username regexes, support unsubscribing
   313   * add MS Powerpoint indexing filter (needs catppt from catdoc package)
   314   * migration scripts: make finding damaged edit-log entries easier
   315 
   316 
   317 Version 1.8.5:
   318   Bug fixes:
   319     * Attachment links: fix processing of attributes (e.g. 'target', 'title')
   320     * Upgrade FCKeditor from 2.6.4 to 2.6.4.1.
   321     * PDF embedding: fix html, works better with PDF browser plugins now.
   322     * Fix typo in rightsidebar CSS.
   323     * Action revert: avoids reverting to a deleted current revision.
   324     * Action diff: enable prev/next button only in the range of given revisions.
   325     * Add a Auto-Submitted: auto-generated header to generated mails.
   326     * Include comment in email notifies.
   327     * mailimport: fix endless looping while trying to import a forwarded mail.
   328     * fuid: keep same fake_mtime for intervals of max_staleness duration.
   329     * Fixes a bug with empty list items in the GUI editor.
   330     * Improve filesys.rename compatibility code (win32).
   331     * Fix locking for CacheEntry.
   332     * Xapian indexing: catch exception when a bad zip file is encountered.
   333     * openidrp / botbouncer: fix param count for CancelLogin().
   334 
   335   New features:
   336     * Added CAS authentication.
   337     * Added httponly cookie support and use it for session cookie.
   338 
   339   Other changes:
   340     * HTTP auth: added debug logging.
   341     * Minor LDAP auth improvements.
   342     * Data browser widget:
   343       * Add (h)column<idx> css class to make it styleable.
   344       * Include only necessary autofilter options.
   345     * moin maint cleancache purges now drafts, too.
   346     * Add gopher and apt protocols to url_schemas.
   347     * Add .csv, .flv, .swf to MIMETYPES_MORE.
   348 
   349 
   350 Version 1.8.4:
   351   Bug fixes:
   352     * ACL security: fix bug in hierarchical ACL processing, more restrictive
   353       sub page ACLs did not work if the current user name did not give a match
   354       within the sub page ACL (instead, the less restrictive parent page ACL
   355       was used).
   356       Non-hierarchical ACL processing (the default) is NOT affected.
   357     * Creole parser: fix spaces in multiline elements.
   358     * Use msie.css only for Internet Explorer older than version 8, fixes
   359       e.g. the double rendering of link icons.
   360     * http auth: do auth_type comparisons case-insensitively (spec-compliant)
   361 
   362   New features:
   363     * EmbedObject macro: changed default width value for PDF files to 100%
   364                          (use a recent Adobe Reader to make this work).
   365     * CopyPage action: added a TextCha for it
   366 
   367   Other changes:    
   368     * Creole parser: Add second license: BSD
   369 
   370 
   371 Version 1.8.3:
   372   Bug fixes:
   373     * AttachFile XSS fixes: move escaping to error_msg / upload_form
   374     * AttachFile move: add more escaping (maybe not XSS exploitable though)
   375     * email attachments import with xapian indexing enabled: fix AttributeError
   376     * fix wrong links in attachment notifications
   377     * AttachFile do=view: quote filename and pagename params for EmbedObject
   378       macro call
   379     * AttachFile: fix exception when someone just clicks on upload, without
   380       giving a file
   381     * ldap_login: use None as default value for ssl certs/keys (using '' for
   382       the pathes lets it fail with Connect Error)
   383     * release edit lock if someone saves an unchanged page
   384     * fix sendmail.encodeAddress (do not [QP] encode blanks, do not un-
   385       necessarily use [QP] encoding for pure ascii mail addresses)
   386     * Fixed docs bug: see HINT about secrets configuration at version 1.8.0
   387       (1.8.0 Other changes).
   388     * backup action: add 'self' dummy argument for backup_exclude function
   389     * login action: fix formatting of error messages
   390     * unsubscribe action: add msg types so icons get displayed
   391     * fix quoting for pagehits stats (info action) - was not working for pagenames with blanks
   392     * macro.TableOfContents: bug fix for MoinMoinBugs/TableOfContentsIgnoresSectionNumbersPragma
   393 
   394   New features:
   395     * added modernized_cms theme
   396     * use url_prefix_fckeditor if you don't want to use the builtin FCKeditor
   397       of moin, but a separate one at some specific url
   398     * action.Load: added textcha feature
   399     * add mumble protocol (nice and good quality F/OSS VOIP conference chat sw)
   400     * ldap auth: new name_callback param to create a custom wiki username (not
   401       the ldap login username).
   402 
   403   Other changes:
   404     * add compatibility code for set to xapwrap.index (fix py 2.6 warnings)
   405     * wikiutil: MIMETYPES_MORE extended for .md5 as text/plain
   406 
   407 
   408 Version 1.8.2:
   409   Bug fixes:
   410     * Fix AttachFile and antispam XSS issues.
   411     * Modernized, modern and rightsidebar themes: make nonexistent or
   412       badinterwiki links gray also when they are already visited.
   413     * Fix anchor parsing for interwiki links and #redirect processing
   414       instruction.
   415     * user.apply_recovery_token: key must be of type string (for Python 2.6).
   416     * Fix MoinMoinBugs/GuiEditorBreaksIndentedTable.
   417     * Fix autofilter javascript breakage caused by including a databrowser
   418       widget.
   419     * Use per-wiki i18n cache (fixes wrong links to other farm wikis).
   420     * Made cfg.interwikiname and cfg.user_homewiki unicode objects (str only
   421       worked for ascii names).
   422     * Xapian search: fixed historysearch.
   423     * Xapian search indexing:
   424       * Fix index updating for trivial changes.
   425       * With history search enabled and in update mode, do not try to re-index
   426         old page revisions again.
   427       * With history search enabled, index page attachments only once.
   428       * Fix last modified time of xapian index (shown on SystemInfo page).
   429     * Make logging handlers defined in logging.handlers work (e.g.
   430       class=handlers.RotatingFileHandler)
   431     * Jabber notifications:
   432       * Use an RFC compliant message type.
   433       * Fix user creation notifications.
   434     * OpenID: Compatibility fix for python-openid 2.x.x (also works with
   435       1.x.x), fixes crash when trying to associate moin user to OpenID.
   436     * Have a wikiserverconfig.py in wiki/server/ so setup.py copies it.
   437     * Fixed inconsistent handling of fragments / anchor IDs:
   438       * Fixed creole and wiki parser, other parsers might need similar fixes.
   439       * IDs with blanks, non-ASCII chars etc. are now sanitized in the same way
   440         for links as well as for link targets, so the user editing a page won't
   441         have to bother with it.
   442         E.g. [[#123 foo bar]] will link to:
   443         * <<Anchor(123 foo bar)>> (moin) or {{#123 foo bar}} (creole)
   444         * headline = 123 foo bar = (moin / creole)
   445         Simple rule: if the link and the target are consistent, it should work.
   446       * The creole wiki parser created non-human-readable sha1 heading IDs
   447         before 1.8.2, now it creates same (sometimes readable) heading IDs as
   448         the moin wiki parser.
   449       * TitleIndex/WordIndex now also use IDs sanitized in that way internally.
   450       HINT: if you manually worked around the inconsistencies/bugs before, you
   451             likely have to remove those workarounds now. Same thing if you used
   452             creole's sha1 heading IDs or IDs on TitleIndex/WordIndex.
   453 
   454   Other changes:
   455     * Updated FCKeditor to 2.6.4 (== many bug fixes in the GUI editor).
   456     * Enhanced privacy by a new setting: cfg.log_remote_addr (default: True),
   457       it controls whether moin logs the remote's IP/hostname to edit-log and
   458       event-log. Use log_remote_addr = False to enhance privacy.
   459     * Streamline attachment_drawing formatter behaviour.
   460     * Search results: only redirect to a single search result for titlesearch
   461       (fuzzy goto functionality), but not for fulltext search results.
   462 
   463 
   464 
   465 Version 1.8.1:
   466   Bug fixes:
   467     * Workaround win32 locking problems (caused by spurious access denied
   468       exceptions on that platform).
   469     * Fix unicode errors that happened when password checker failed a password
   470     * WikiConfig/WikiConfigHelp: fixed wrong language table headings
   471     * Themes: make the margins around trail line work properly
   472     * "modernized" theme:
   473       * make broken links gray
   474       * add new right/center/left/justify css classes
   475       * don't force Arial
   476     * Standalone server: be more specific when catching socket exceptions,
   477       treat socket errors in http header emission in the same way.
   478     * GUI editor:
   479       * Fix heading levels when inserting new headings.
   480       * Fix headers already sent exception when using e.g. edit LOCKing.
   481     * Xapian indexing: fixed missing import for execfilter (only happened on
   482       non-posix platforms like win32)
   483 
   484   * New features:
   485     * Themes:
   486      * Make the TOC shrinkwrap, add white background to navigation macro.
   487        The table of contents looked bad spanning the whole width of the page.
   488        It's made to shrinkwrap now, so it will only get as wide, as the longest
   489        heading. We use display:inline-table, so this won't work in MS IE6,
   490        which still displays it the old way.
   491        Navigation macro now has a white background, to make it more readable
   492        when it's floating over a pre block or TOC.
   493      * Make the numbers in lists in table of contents right-aligned.
   494      * Refactored and extended theme.html_stylesheets() to make alternate
   495        stylesheets possible. Stylesheet definitions now can either be:
   496        2-tuples: (media, href)  # backwards compatibility
   497        or:
   498        3-tuples: (media, href, title)  # new, for defining alternate stylesheets
   499        This works within themes as well as in the wiki config.
   500        See also: http://www.w3.org/Style/Examples/007/alternatives.html
   501 
   502 
   503 Version 1.8.0:
   504   Note: This is a reduced CHANGES, ommitting details from rc/beta test and
   505         also less interesting minor changes and fixes. It shows changes
   506         relative to 1.7.2 release.
   507         If you want to see full detail, read it there:
   508         http://hg.moinmo.in/moin/1.8/file/6130eab15936/docs/CHANGES
   509 
   510   New Features: ==============================================================
   511     * HINT: New "modernized" theme - if you use "modern" [default], try:
   512       theme_default = 'modernized'
   513       If you find problems with "modernized", please report them because we
   514       want to use it as default theme in future.
   515     * GUI Editor:
   516       * upgraded to use FCKEditor version 2.6.3
   517       * user can insert and modify various types of MoinMoin links
   518     * New plugin_dirs setting to allow multiple plugin pathes (additional to
   519       the automatically configured plugin_dir [default: data_dir/plugin]).
   520     * @EMAIL@ expands to a MailTo macro call with the obfuscated email address
   521       of the current user.
   522     * New macros "WikiConfig" and "WikiConfigHelp".
   523     * Per-parser quickhelp, 'quickhelp' class variable of parser class.
   524     * Secure session cookies for https (see cfg.cookie_secure).
   525     * Added left/center/right/justify css classes to builtin themes.
   526       Use them like:
   527       {{{#!wiki justify
   528       this content is justified....
   529       }}}
   530 
   531   Removed Features: ==========================================================
   532     * HINT: url_prefix setting (use url_prefix_static or just use the default)
   533     * traceback_log_dir setting (we just use logging.exception)
   534     * editor_quickhelp setting (replaced by per-parser quickhelp)
   535     * Restoring backups with the backup action and related settings (while
   536       creating backups is no big issue and should work OK, restoring them
   537       had fundamental issues related to overwriting or not-overwriting of
   538       existing files - thus we removed the "restore" part of the action and
   539       recommend that you just contact the wiki server admin in case of trouble,
   540       give him your wiki backup file and let him carefully restore it.)
   541     * Removed unmaintained DesktopEdition (moin 1.5.x style) and phpwiki
   542       migration scripts from contrib/ directory.
   543 
   544   Bug Fixes: =================================================================
   545     * GUI Editor - fixed lots of bugs.
   546     * Fixing https detection for servers using HTTPS=1 and also for WSGI
   547       servers not using HTTPS/SSL_ environment, but just wsgi.url_scheme.
   548     * Search results: link to 'view' rendering of found attachments.
   549     * Standalone server: fix serverClass and interface argument processing,
   550       announce used serverClass in log output.
   551     * mointwisted: fixed Twisted start script.
   552     * Logging:
   553       * Use logging framework for messages emitted by warnings module (e.g.
   554         DeprecationWarning), silence some specific warnings.
   555       * Removed superfluous linefeeds in timing log output.
   556     * Bug fix for language not installed (MoinMoinBugs/WikiLanguageNotDefined).
   557     * Fixed editbar hidden comment link cosmetics for sidebar themes (hide the
   558       complete list element).
   559     * MoinMoinBugs/DoubleScriptNameInSitemap (fixing urls given by sitemap
   560       action, if the wiki does not run in the root url of the site)
   561     * Fixed backup action configuration (broke on win32).
   562     * Fixed MoinMoinBugs/PackagesAddRevision.
   563     * SyncPages: add workaround for callers calling log_status with encoded
   564       bytestrings.
   565     * Fixed dbw_hide_buttons javascript.
   566     * HINT: Jabber bot can now be configured to use an authentication realm
   567       which is different from the server's hostname; the xmpp_node
   568       configuration parameter can now contain a full JID and the xmpp_resource
   569       parameter is no longer supported.
   570 
   571   Other Changes: =============================================================
   572     * HINT: new configuration for misc. secrets, please use either:
   573           secrets = "MySecretLooongString!" # one secret for everything
   574       or:
   575           secrets = {
   576               'xmlrpc/ProcessMail': 'yourmailsecret', # for mailimport
   577               'xmlrpc/RemoteScript': 'yourremotescriptsecret',
   578               'action/cache': 'yourcachesecret', # unguessable cache keys
   579               'wikiutil/tickets': 'yourticketsecret', # edit tickets
   580               'jabberbot': 'yourjabberbotsecret', # jabberbot communication
   581           }
   582       Secret strings must be at least 10 chars long.
   583       Note: mail_import_secret setting is gone, use
   584             secrets["xmlrpc/ProcessMail"] instead of it.
   585       Note: jabberbot secret setting is gone, use
   586             secrets["jabberbot"] instead of it.
   587     * HINT: user_autocreate setting was removed from wiki configuration and
   588       replaced by a autocreate=<boolean> parameter of the auth objects that
   589       support user profile auto creation.
   590     * moin import irclog: use irssi parser to format logs, mapped .irc
   591       extension to text/plain mimetype.
   592     * HINT: backup action: backup_exclude (default: "do not exclude anything")
   593       is now a function f(filename) that tells whether a file should be
   594       excluded from backup.
   595       You can get the old regex exclusion functionality by using:
   596       backup_exclude = re.compile(your_regex).search
   597       Be careful with your regex, you might need to use re.escape() to escape
   598       characters that have a special meaning in regexes (e.g.: \.[] etc.).
   599       If in doubt, maybe just leave backup_exclude at the default and don't
   600       exclude anything.
   601     * Speed up javascript comments processing on IE by getElementsByClassName()
   602     * Added sk (slovak) i18n, updated i18n.
   603 
   604 
   605 1.7.3:
   606   New features:
   607     * Secure session cookies for https, see cfg.cookie_secure.
   608     * Add left/center/right/justify classes to builtin themes.
   609 
   610   Fixes:
   611     * Python 2.3 compatibility fixes.
   612     * Fixed https detection for servers using HTTPS=1 and also for wsgi servers
   613       not using HTTPS/SSL_ environment, but just wsgi.url_scheme.
   614     * GUI editor:
   615       * Fix crash when editing a page with non-ASCII pagename and inserting a link
   616       * Fix "headers already sent exception" with edit LOCKs.
   617     * i18n.__init__: Bug fix for wiki language not installed.
   618     * Fixed URLs given by sitemap action, if the wiki does not run at / URL.
   619     * Search results: link to 'view' rendering of found attachments
   620     * Logging:    
   621       * Removed superfluous linefeed in timing log output.
   622       * Use logging framework for messages emitted by warnings module (e.g.
   623         DeprecationWarning), silence some specific warnings.
   624     * Fix dbw_hide_buttons javascript.
   625     * Standalone server:
   626       * fix serverClass argument processing
   627       * fix --interface="" argument processing
   628     * mointwisted:
   629       * added missing pidFile parameter
   630       * better use Config.name for pidFile to avoid conflicts and keep same
   631         behaviour as in the past
   632     * Jabber bot can now be configured to use an authentication realm which
   633       is different from the server's hostname
   634 
   635 
   636 Version 1.7.2:
   637   Fixes:
   638     * Fix leakage of edit-log file handles (leaked 1 file handle / request!).
   639     * Fix for MoinMoinBugs/SystemAdminMailAccountData (using POST and forms)
   640     * Wiki parser: avoid IndexError for empty #! line
   641     * MonthCalendar macro: fix parameter parsing / url generation
   642     * Xapian indexing filters (MoinMoin/filter/ or data/plugin/filter/):
   643       Some indexing filter scripts (e.g. for MS Word documents or PDF files)
   644       failed on windows because of the single-quote quoting we used (that
   645       works on Linux and other Posix systems). The fix introduces platform-
   646       dependant automatic quoting, using double-quotes on win32 and single-
   647       quotes on posix.
   648       HINT: if you use own filter plugins based on execfilter, you have to
   649       update them as the filename quoting (was '%s') is now done automatically
   650       and must not be part of the command string any more (now just use %s).
   651       See MoinMoin/filter/ for some up-to-date code (esp. the PDF filter).
   652     * Prevent CategoryTemplate being listed as a category (it is a Template,
   653       but matched also the category regex) - added to sample wikiconfig.
   654     * LDAP auth: fix processing of TLS options
   655     * UpdateGroup xmlrpc server side: fix wrong arg count error
   656     * UpdateGroup client: use multicall / auth_token, refactor code so that
   657       updateGroup function is reusable.
   658     * Improve Python 2.3 compatibility, add notes where 2.4 is required.
   659 
   660 
   661 Version 1.7.1:
   662   New features:
   663     * New 'cache' action (see developer notes).
   664 
   665   Fixes:
   666     * Security fix: XSS fix for advanced search form
   667     * Avoid creation of new pagedirs with empty edit-log files by just
   668       accessing a non-existant page. If you used 1.7 before, you likely have
   669       quite some trash pagedirs now and you can clean them up by using:
   670       moin --config-dir=... --wiki-url=... maint cleanpage
   671       This will output some shell script (please review it before running!)
   672       that can be used to move trash pages into some trash/ directory and also
   673       moves deleted pages into some deleted/ directory. Maybe keep a copy of
   674       those directories for a while just for the case.
   675     * Server specific fixes:
   676       * standalone (wikiserver.py): fix --pidfile and --group option, fix
   677         operation without a wikiserverconfig.py (use builtin defaults).
   678       * mod_python: work around mod_python 3.3.1 problems with file uploads.
   679         Note: if you are still using mod_python, we strongly recommend you
   680 	      try out mod_wsgi (in daemon mode) - it has less bugs, better
   681 	      security, better separation, WSGI is a Python standard, and moin
   682 	      developers also use WSGI. See HelpOnInstalling/ApacheWithModWSGI.
   683     * revert action: fixed for deleted pages.
   684     * Search:
   685       * Xapian indexing: Removed crappy "hostname" tokenization.
   686         Fixes MoinMoinBugs/1.7 XapianNotWorkingWithLeadingNumbersInTitle.
   687         Also tokenize CamelCase parts of non-wikiwords.
   688       * Make query parser reject more invalid input.
   689       * If query parsing raises a BracketError, at least tell what the problem
   690         is (and not just raise empty  ValueError).
   691       * Category search: ignore traling whitespace after ----
   692     * Argument parser:
   693       * Fixed sort() usage in UnitArgument to be Python 2.3 compatible.
   694       * Fixed MoinMoinBugs/TypeErrorInWikiutils.
   695     * Macros:
   696       * TableOfContents: skip outer-most <ol> levels when page isn't using
   697         the biggest headings
   698       * MonthCalendar: fix MoinMoinBugs/MonthCalendarBreaksOnApostrophe
   699     * xslt parser: fix MoinMoinBugs/DoNotConvertUnicodeToUTF8ForXsltParser
   700     * OpenID RP: make it compatible to python-openid 2.2.x
   701     * PackagePages.collectpackage: removed encoding from file name of zipfile
   702     * Surge protection: exclude localnet no matter whether user is known or not.
   703     * Notifications: fix MoinMoinBugs/DuplicateNewUserNotification
   704     * Script moin account create/disable/resetpw: checks for already existing
   705       user now.
   706 
   707   Other changes:
   708     * Prevent CategoryTemplate being listed as a category (it is a Template)
   709       by changing the default page_category_regex.
   710 
   711   Developer notes:
   712     * New MoinMoin.action.cache - can be used to cache expensively rendered
   713       output, e.g. generated images). Once put into the cache, moin can emit
   714       a http response for that content very fast and very efficient (including
   715       "304 not changed" handling.
   716     * New file-like API in MoinMoin.caching (good for dealing with medium
   717       to large files without consuming lots of memory).
   718     * wikiutil.importPlugin supports getting the whole plugin module object
   719       by giving function=None.
   720 
   721 
   722 Version 1.7.0:
   723   Note: This is a reduced CHANGES, ommitting details from rc/beta test and
   724         also less interesting minor changes and fixes. It shows changes
   725         relative to 1.6.3 release.
   726         If you want to see full detail, read it there:
   727         http://hg.moinmo.in/moin/1.7/file/76265568e8d3/docs/CHANGES
   728 
   729   New Features: ==============================================================
   730     * HINT: we added generic UPDATE instructions as docs/UPDATE.html.
   731 
   732     * HINT: Standalone server usage changed:
   733       * Standalone server can now be started via the "moin" script command,
   734         optionally backgrounding itself.
   735         See: moin server standalone --help
   736       * In the toplevel dir, we have renamed moin.py to wikiserver.py (it was
   737         often confused with the moin scripting command).
   738         Now you have:
   739         * wikiserver.py - to start the standalone server
   740         * wikiserverconfig.py - to configure the standalone server
   741         * wikiserverlogging.conf - to configure logging for it (default config
   742           is ok for all day use, but can easily be modified for debugging)
   743         * wikiconfig.py - to configure the wiki engine
   744       * Removed old moin daemonizing script (replaced by moin server standalone
   745         --start/stop)
   746       * We now provide the "moin" script command also for people not using
   747         setup.py, see wiki/server/moin.
   748 
   749     * Logging
   750       * New powerful and flexible logging, please see wiki/config/logging/ -
   751         HINT: you have to upgrade your server adaptor script (e.g. moin.cgi)
   752         and load a logging configuration that fits your needs from there, or
   753         alternatively you can also set MOINLOGGINGCONF environment variable
   754         to point at your logging config file.
   755         If you use some of our sample logging configs, make sure you have a
   756         look INTO them to fix e.g. the path of the logfile it will use.
   757       * Moin now logs the path from where it loaded its configuration(s).
   758 
   759     * Authentication / Sessions:
   760       * HINT: New authentication plugin system, see HelpOnAuthentication. If
   761         you do not use the builtin default for 'auth' list, you likely have to
   762         change your configuration. See wiki/config/snippets/ for some samples.
   763       * HINT: New session handling system (no moin_session any more, now done
   764         internally and automatically), see HelpOnSessions for details.
   765       * Added OpenID client and server support.
   766         See: HelpOnAuthentication and HelpOnOpenIDProvider.
   767       * cfg.trusted_auth_methods is a list of auth methods that put an
   768         authenticated user into the "Trusted" ACL group.
   769 
   770     * User profiles / password recovery / notification:
   771       * New newacount action for creating new user accounts/profiles. If you
   772         don't want users creating new accounts on their own, you can add this
   773         action to actions_excluded list.
   774       * New recoverpass action for password recovery:
   775         If you forgot your password, recoverpass sends you an email with a
   776         password recovery token (NOT the encrypted password) that is valid
   777         for 12 hours.
   778       * New moin account resetpw script for resetting a user's password by
   779         the wiki admin.
   780       * New preferences plugin system, see MoinMoin/userprefs/__init__.py.
   781       * New notification system with an optional jabber notification bot, see
   782         HelpOnNotification. HINT: wiki users have to check their notification
   783         settings, esp. if they want to receive trivial update notifications.
   784 
   785     * The diff action now has navigation buttons for prev/next change and also
   786       a revert button to revert to the revision shown below the diff display.
   787     * ThemeBase: support Universal Edit Button, see there for details:
   788       http://universaleditbutton.org/
   789     * ?action=info&max_count=42 - show the last 42 history entries of the page.
   790       max_count has a default of default_count and a upper limit of
   791       limit_max_count - you can configure both in your wiki config:
   792       cfg.history_count = (100, 200) # (default_count, limit_max_count) default
   793     * The CSV parser can sniff the delimiter from the first CSV line so other
   794       delimeters than ";" can be used.
   795     * Admonition support. Added styling for tip, note, important, warning 
   796       and caution in the modern theme. For more info see HelpOnAdmonitions.
   797     * DocBook-formatter:
   798       * supports HTML entities like &rarr; and &#9731;
   799       * supports the FootNote macro
   800       * supports bulletless lists
   801       * support for admonitions
   802       * will export the wiki page's edit history as the generated article's
   803         revision history. Doesn't add history of included pages.
   804       * supports for the MoinMoin comment element, though only inline comments
   805         are likely to be valid since the DocBook remark is an inline element.
   806     * New Hits macro: shows the total hits for the page it is used on.
   807 
   808   Removed Features: ==========================================================
   809     * HINT: Removed attachments direct serving (cfg.attachments - this was
   810             deprecated since long!). Use AttachFile action to serve attachments.
   811     * Duplicated file attachment upload code was removed from Load action (just
   812       use AttachFile action to deal with attachments).
   813     * Removed 'test' action. If you like to run unit tests, use py.test.
   814     * Removed Login macro.
   815 
   816   Bug Fixes: =================================================================
   817     * Better handling of ImportErrors (farmconfig, macros, wikiserverconfig).
   818     * Fix failure of detection of on-disk cache updates.
   819     * Fix traceback in filesys.py on Mac OS X when "import Carbon" fails.
   820 
   821     * AttachFile action / file up- and download / zip support:
   822       * WSGI: use wsgi.file_wrapper (or a builtin simple wrapper). Fixes memory
   823         consumption for sending of large file attachments.
   824       * FastCGI: flush often. Fixes memory consumption for sending of large
   825         file attachments.
   826       * Use the open temporary file for receiving file attachment uploads
   827         (fixes big memory consumption for large file uploads).
   828       * Catch runtime errors raised by zipfile stdlib modules when trying to
   829         process a defective zip.
   830       * When unzipping member files, decode their filenames from utf-8 and
   831         replace invalid chars.
   832       * Make error msg less confusing when trying to overwrite a file attachment
   833         without having 'delete' rights.
   834 
   835     * HINT: page_*_regex processing had to be changed to fix category search.
   836       If you don't use the builtin (english) defaults, you will have to change
   837       your configuration:
   838         old (default): page_category_regex = u'^Category[A-Z]'
   839         new (default): page_category_regex = ur'(?P<all>Category(?P<key>\S+))'
   840       As you see, the old regex did work for detecting whether a pagename is
   841       a category, but it could not be used to search for a category tag in the
   842       page text. The new regex can be used for both and identifies the complete
   843       category tag (match in group 'all', e.g. "CategoryFoo") as well as the
   844       category key (match in group 'key', e.g. "Foo") by using named regex
   845       groups. \S+ means the category key can be anything non-blank.
   846       If you like to simultaneously support multiple languages, use something
   847       like this: ur'(?P<all>(Kategorie|Category)(?P<key>\S+))'
   848       HINT: after changing your configuration, please rebuild the cache:
   849         * stop moin
   850         * moin ... maint cleancache
   851         * start moin
   852       If you don't do this, your groups / dicts will stop working (and also
   853       your ACLs that use those groups). You better do a test whether it works.
   854 
   855     * Xapian search / indexing / stemming:
   856       * Use text/<format> as mimetype for pages.
   857       * Index also major and minor for mimetypes, so it will find 'text' or
   858         'plain' as well as 'text/plain'
   859       * Fix searching for negative terms.
   860       * Improve result list ordering.
   861       * Index filters: redirect stderr to logging system.
   862       * Remove crappy num regex from WikiAnalyzer, improve tokenization.
   863       * Fix AttributeError that happened when trying to access an attribute only
   864         used with xapian search (but regex search is not done by xapian)
   865       * Fix IndexErrors happening when pages are renamed/nuked after the index
   866         was built.
   867       * Fixed indexing of WikiWords (index "WikiWords", "Wiki" and "Words").
   868       * Fix crash if default language is un-stemmable.
   869       * xapian_stemming: removed some strange code (fixes search
   870         title:lowercaseword with xapian_stemming enabled)
   871       * Fixed category indexing (index CategoryFoo correctly as CategoryFoo, not
   872         Foo - for all languages, see page_*_regex change above).
   873     * Builtin search: support mimetype: search for pages for the builtin search
   874       engine (using text/<format>).
   875 
   876     * Parser fixes:
   877       * Wiki: fix subscript parsing (was broken for cases like 'a,,1,2,,').
   878       * Docbook: fixed detection of WikiWords.
   879       * All: Add ssh protocol to url_schemas for ssh:... URLs.
   880 
   881     * XMLRPC:
   882       * Fix xmlrpc request.read() call to use content-length, if available,
   883         fixes hangs with wsgiref server.
   884       * Wiki xmlrpc getPageInfoVersion() fixed:
   885         * works correctly now for old page versions (was unsupported)
   886         * works correctly now for current page version (reported wrong
   887           data when a page had attachment uploads after the last page
   888           edit)
   889         * returns a Fault if it did not find a edit-log entry
   890 
   891   Other Changes: =============================================================
   892     * Using better ACLs and comments on system/help pages now, just taking
   893       away 'write' permission, but using default ACLs for everything else.
   894     * HINT: If you want to use xapian based indexed search, you need to have
   895       Xapian >= 1.0.0 (and you can remove PyStemmer in case you have installed
   896       it just for moin - we now use the stemmer built into Xapian as it
   897       supports utf-8 since 1.0.0).
   898     * Changed default value of cfg.search_results_per_page to 25.
   899     * Surge Protection: If a user is authenticated by a trusted authentication
   900       (see also cfg.auth_methods_trusted) then he/she won't trigger surge
   901       protection, but moin will just log a INFO level log msg with the user's
   902       name so you can find the culprit in case he/she is overusing ressources.
   903     * HINT: Added MyPages and CopyPage to actions_excluded because MyPages
   904       doesn't work without special SecurityPolicy anyway and CopyPage has
   905       questionable behaviour.
   906     * Load action now just creates a new revision of the target page, the
   907       target pagename defaults to the current page name and can be edited.
   908       If the target pagename is empty, moin tries to derive the target pagename
   909       from the uploaded file's name.
   910       Load tries to decode the file contents first using utf-8 coding and, if
   911       that fails, it forces decoding using iso-8859-1 coding (and replacing
   912       invalid characters).
   913     * HINT: cfg.show_login is gone, see code in theme/__init__.py, this may
   914       affect many themes!
   915     * HINT: a new userprefs/ plugin directory will be created by the usual
   916       "moin migration data" command.
   917     * DocBook-formatter:
   918       * generates a valid DOCTYPE
   919       * table support has been improved
   920       * handling of definitions and glossaries is more robust
   921       * supports program language and line numbering in code areas
   922     * HINT: ldap_login behaves a bit different now:
   923       In previous moin versions, ldap_login tended to either successfully
   924       authenticate a user or to completely cancel the whole login process in
   925       any other case (including ldap server down or exceptions happening).
   926       This made subsequent auth list entries rather pointless.
   927       Now it behaves like this:
   928         * user not found in LDAP -> give subsequent auth list entries a
   929           chance to authenticate the user (same happens if it finds multiple
   930           LDAP entries when searching - it logs an additional warning then).
   931         * user found, but wrong password -> cancel login
   932         * ldap server not reachable or other exceptions -> give subsequent
   933           auth list entries a chance
   934       So please make sure that you really trust every auth list entry you have
   935       configured when upgrading or it might maybe change behaviour in a
   936       unexpected or unwanted way.
   937     * ldap_login now supports failover: if it can't contact your LDAP server
   938       (e.g. because it is down or unreachable), it will just continue and
   939       try to authenticate with other authenticators (if there are any in
   940       cfg.auth list). So if you have some mirroring LDAP backup server, just
   941       put another authenticator querying it there:
   942           ldap_auth1 = LDAPAuth(server_uri='ldap://mainserver', ...)
   943           ldap_auth2 = LDAPAuth(server_uri='ldap://backupserver', ...)
   944           auth = [ldap_auth1, ldap_auth2, ]
   945 
   946   Developer notes: ===========================================================
   947     * Page.last_edit() is DEPRECATED, please use Page.edit_info().
   948     * Page._last_edited() is GONE (was broken anyway), please use
   949       Page.editlog_entry().
   950     * New request.send_file() call, making it possible to use server-specific
   951       optimizations.
   952     * getText's (aka _()) 'formatted' keyword param (default: True in 1.6 and
   953       early 1.7) was renamed/changed: it is now called 'wiki' and defaults to
   954       False. Example calls:
   955       _('This will NOT get parsed/formatted by MoinMoin!')
   956       _('This will be parsed/formatted by MoinMoin!', wiki=True)
   957       _('This will be used as a left side of percent operator. %s',
   958         wiki=True, percent=True)
   959     * Page.url 'relative' keyword param (default: True in 1.6 and early 1.7)
   960       was changed to default False).
   961     * The themedict no longer contains 'page_user_prefs' and 'user_prefs',
   962       this may affect custom themes.
   963     * The rst-parser's admonition class names are no longer prepended with
   964       "admonition_". Instead the class names are now for example "note"
   965       and not "admonition_note".
   966 
   967 
   968 Version 1.6.3:
   969   Fixes:
   970     * Security fix: a check in the user form processing was not working as
   971       expected, leading to a major ACL and superuser priviledge escalation
   972       problem. If you use ACL entries other than "Known:" or "All:" and/or
   973       a non-empty superuser list, you need to urgently install this upgrade.
   974     * Security fix: if acl_hierarchic=True was used (False is the default),
   975       ACL processing was wrong for some cases, see
   976       MoinMoinBugs/AclHierarchicPageAclSupercededByAclRightsAfter
   977     * For {{transclusion_targets}} we checked the protocol to be http(s),
   978       this check was removed (because file: and ftp: should work also) and
   979       it's not moin's problem if the user uses silly protocols that can't
   980       work for that purpose.
   981     * Fixed TableOfContents macro for included pages.
   982     * server_fastcgi: added Config.port = None. If you want to use some port
   983       (not a fd), you can set it now in your Config, e.g. port = 8888.
   984     * category: search matches categories even if there are comment lines
   985       between the horizontal rule and the real categories, e.g.:
   986       ... some page text ...
   987       ----
   988       ## optionally some comments, e.g. about possible categories:
   989       ## CategoryJustACommentNotFound
   990       CategoryTheRealAndOnly
   991 
   992       Note: there might be multiple comment lines, but all real categories
   993             must be on a single line either directly below the ---- or
   994             directly below some comment lines.
   995   
   996   Other changes:
   997     * Added 'notes' to config.url_schemas, so you can use notes://notessrv/...
   998       to invoke your Lotus Notes client.
   999     * After creating a new user profile via UserPreferences, you are logged
  1000       in with that user (no need to immediately enter the same name/password
  1001       again for logging in).
  1002 
  1003 
  1004 Version 1.6.2:
  1005   Fixes:
  1006     * Security fix: check the ACL of the included page for the rst parser's
  1007       include directive.
  1008     * Potential security/DOS fix: we removed cracklib / python-crack support
  1009       in password_checker as it is not thread-safe and caused segmentation
  1010       faults (leading to server error 500 because the moin process died).
  1011     * Fix moin_session code for auth methods other than moin_login (e.g. http).
  1012       If you have worked around this using moin_anon_session, you can remove
  1013       this workaround now (except if you want anon sessions for other reasons).
  1014     * Fix moin_session code to delete invalid session cookies and also create
  1015       a new session cookie if it got a valid user_obj at the same time.
  1016     * Fix xmlrpc applyAuthToken: give good error msg for empty token.
  1017     * Fixed category search, use category:CategoryFoo as search term.
  1018     * xapian_stemming = False (changed default) to workaround some problems
  1019       in the code enabled by it. Fixes the problems when searching for
  1020       lowercase or numeric titles or word fragments with the builtin search.
  1021     * Fix trail for anon users without a session, do not show a single page.
  1022     * Fix MoinMoinBugs/WikiSyncComplainsAboutTooOldMoin.
  1023     * Wiki parser: fixed strange insertion of unwanted paragraphs.
  1024     * Wiki parser: fix interwiki linking:
  1025       Free interwiki links did not change since 1.5 (they still require to match
  1026       [A-Z][A-Za-z]+ for the wikiname part, i.e. a ASCII word beginning with an
  1027       uppercase letter).
  1028       Bracketed interwiki links now behave similar to how they worked in 1.5:
  1029       Moin just splits off the part left of the colon - no matter how it looks
  1030       like. It then tries to find that in the interwiki map. If it is found,
  1031       a interwiki link gets rendered. If it is not found, moin will render a
  1032       link to a local wiki page (that has a colon in the pagename). It will
  1033       also render a local wiki page link if there is no colon at all, of course.
  1034       Examples:
  1035       [[lowercasewikiname:somepage]] does an interwiki link (if in the map).
  1036       [[ABC:n]] does a local link to page ABC:n (if ABC is NOT in the map).
  1037     * Wiki parser: fix interwiki linking for the case that there are query args
  1038       in the interwiki map entry and you give additional query args via link
  1039       markup (uses correct query arg separator now), e.g.:
  1040       [[Google:searchterm|search this|&foo=bar]]
  1041     * Creole parser: fixed bug that prevents images inside links.
  1042     * Python parser: catch indentation error.
  1043     * PageEditor: fixed copyPage for write restricted pages.
  1044     * GUI editor: fixed javascript error with too complex word_rule regex,
  1045       see MoinMoinBugs/GuiEditorSyntaxError.
  1046     * Fixed FCKeditor dialog boxes for FireFox3.
  1047     * NewPage macro/newpage action: fixed for non-ascii template pagenames.
  1048     * FootNote macro: Fix MoinMoinBugs/FootNoteNumbering.
  1049     * EmbedObject macro: bug fix for image mimetype
  1050     * WSGI:
  1051       * fix TWikiDraw saving a drawing by also evaluating the query args.
  1052       * work around unpythonic WSGI 1.0 read() API, fixing broken xmlrpc
  1053         putPage with mod_wsgi
  1054     * Fix highlighting (see MoinMoinBugs/SearchForPagesWithComments).
  1055     * Fix logfile code for EACCESS errors.
  1056     * Removed the "logging initialized" log messages because it was issued once
  1057       per request for CGI.
  1058 
  1059   Other changes:
  1060     * Show "Comments" toggling link in edit bar only if the page really
  1061       contains comments.
  1062     * Made default configuration of surge protection a bit more forgiving,
  1063       especially for edit action which is currently also used for previews.
  1064     * Updated i18n, system/help pages, added Macedonian system text translation.
  1065     * Improved moin xmlrpc write command's builtin docs and auto-append
  1066       ?action=xmlrpc2 to the target wiki url given.
  1067 
  1068 
  1069 Version 1.6.1:
  1070   New features:
  1071     * Improved params for [[target|label|params]]:
  1072       Added accesskey link tag attribute, e.g.: [[target|label|accesskey=1]].
  1073       Additionally to specifying link tag attributes (like class=foo), you can
  1074       now also specify &key=value for getting that into the query string of
  1075       the link URL.
  1076       The "&" character is important, don't forget it or it won't get into the
  1077       query string!
  1078       E.g. for an attachment, you can use:
  1079       [[attachment:foo.pdf|Direct download of foo.pdf|&do=get]]
  1080       E.g. for linking to some specific diff, you can use:
  1081       [[SomePage|see that diff|&action=diff,&rev1=23,&rev2=42]]
  1082       See also the updated HelpOnLinking page!
  1083     * AdvancedSearch: make multipe categories/languages/mimetype selections possible
  1084     * Added a configuration directive to only do one bind to the LDAP server.
  1085       This is useful if you bind as the user the first time.
  1086       ldap_bindonce = False # default
  1087 
  1088   Fixes:
  1089     * Fix XSS issue in login action.
  1090     * Fix wrong pagename when creating new pages on Mac OS X - that was a big
  1091       showstopper for moin 1.6.0 on Mac OS X.
  1092     * Fixed 1.6 migration script:
  1093       Make sorting python 2.3 compatible.
  1094       Just skip corrupted event log lines.
  1095       Fix link conversion by using data.pre160 as data_dir.
  1096       Fix bad /InterWiki pagenames when encountering interwiki links with bad
  1097       wiki names.
  1098       Improve ImageLink conversion by using its argument parser code.
  1099       Added STONEAGE_IMAGELINK (default: False) switch to wiki markup converter,
  1100       toggle it if you had a very old ImageLink macro in production and the
  1101       converter output has target and image interchanged.
  1102       Fixed UnicodeDecodeError for wrongly encoded attachment filenames.
  1103     * Wiki parser:
  1104       Fix parsing of link/transclusion description and params.
  1105       Fix relative attachment targets.
  1106       Fix supported URL schemes (some got lost since 1.5.8).
  1107       Showing an upload link for non-existing non-text/non-image transclusions
  1108       now (like e.g. *.pdf).
  1109     * RST parser: fix attachment: and drawing: processing
  1110     * Fix quickhelp when editing RST markup pages.
  1111     * Fix Despam action: editor grouping was broken, increase time interval
  1112       to 30 days.
  1113     * Fix AdvancedSearch domain:system search crashing.
  1114     * Only switch off xapian search if we didn't use it because of missing index.
  1115     * Fix saving twikidraw drawings by removing 'java' from spider regex.
  1116     * Fix classic theme's unsubscribe icon's action link.
  1117     * Fix AttachFile action: don't show unzip for packages, only show install
  1118       for superuser.
  1119     * Fix "su user" troubles on UserPreferences.
  1120     * Removed unit tests from ?action=test (due to changes in our test
  1121       environment, using py.test now, this was broken).
  1122     * Duplicated the top directories' moin.py to wiki/server/moin.py so it gets
  1123       installed by setup.py.
  1124     * Fix MoinMoinBugs/1.6.0LanguageIgnoreBrowserConfigurationError
  1125     * Fix MoinMoinBugs/MoveAttachmentNotWorkingWithModPython
  1126     * Fix MoinMoinBugs/1.6.0SupplementationAndAccessRights
  1127     * Fix MoinMoinBugs/RenamingUserAllowsOldUsernameToLogin
  1128     * Fix MoinMoinBugs/GuiEditorExcelPasteExpatErrorUnboundPrefix
  1129 
  1130   Other changes:
  1131     * I18n texts, system and help pages updated, please update your underlay
  1132       directory (see wiki/underlay/...).
  1133     * Improved "moin" script help, invoke it with "moin ... package command --help".
  1134     * Added some .ext -> mimetype mappings missing on some systems (like Mac OS X).
  1135     * Removed ImageLink macro, as this can be easily done with moin wiki link
  1136       syntax now - see HelpOnMacros/ImageLink (the 1.6 migration scripts convert
  1137       all ImageLink calls to moin wiki link syntax).
  1138     * Updated EmbedObject macro.
  1139 
  1140 
  1141 Version 1.6.0:
  1142  * This is a reduced CHANGES, ommitting details from rc/beta test and also
  1143    less interesting minor changes and fixes. If you want to see full detail,
  1144    read it there: http://hg.moinmo.in/moin/1.6/file/640f21787334/docs/CHANGES
  1145 
  1146    It took MoinMoin development a lot of work and time to implement all the new
  1147    and fixed stuff, so please, before asking for support:
  1148    * take the time to read all the stuff below
  1149    * read the new help pages (copy them from wiki/underlay/ directory)
  1150 
  1151  * HINT: If you are upgrading from a older moin version and want to keep your
  1152    existing data directory, it is essential that you read and follow
  1153    README.migration because the wiki markup and user profiles changed significantly.
  1154    See also more HINTs below...
  1155 
  1156   New features: ==============================================================
  1157 
  1158   User interface: ------------------------------------------------------------
  1159     * Removed "underscore in URL" == "blank in pagename magic" - it made more
  1160       trouble than it was worth. If you still want to have a _ in URL, just
  1161       put a _ into pagename.
  1162     * Discussion pages, see FeatureRequests/DiscussionAndOrCommentPages.
  1163     * cfg.password_checker (default: use some simple builtin checks for too
  1164       easy passwords and, if available, python-crack).
  1165       Use password_checker = None to disable password checking.
  1166     * We now have a drafts functionality (no */MoinEditorBackup pages any
  1167       more):
  1168       * If you edit a page and cancel the edit, use preview or save, a draft
  1169         copy gets saved for you to a internal cache area (data/cache/drafts/).
  1170       * If it is a save what you did and it succeeds, the draft copy gets
  1171         killed right afterwards.
  1172       * If you accidentally used cancel or your browser or machine crashes
  1173         after you used preview, then just visit that page again and edit it.
  1174         the editor will notify you that there is a draft of this page and you
  1175         will see a "Load draft" button. Click on it to load the draft into the
  1176         editor and save the page.
  1177       * The draft storage is per user and per page, but only one draft per page.
  1178     * cfg.quicklinks_default and cfg.subscribed_pages_default can be used to
  1179       preload new user profiles with configurable values.
  1180     * attachment links for non-existing attachments look different now:
  1181       the note about the non-existing attachment moved to the link title,
  1182       the link is shown with nonexistent class (grey).
  1183     * attachment embeddings for non-existing attachments show a grey clip
  1184     * The list of InterWiki sites is editable in the wiki (page InterWikiMap),
  1185       it is getting reloaded every minute.
  1186     * We support some new languages and also have new underlay pages, thanks
  1187       to all translators and people helping with the docs!
  1188 
  1189   Actions: -------------------------------------------------------------------
  1190     * Synchronisation of wikis using the SyncPages action.
  1191     * Xapian (see http://xapian.org/) based indexed search code.
  1192       To use this:
  1193       * Install xapian-core and xapian-bindings on your machine.
  1194         We used 0.9.4, but newer code should hopefully work, too.
  1195       * cfg.xapian_search = True
  1196       * Execute this to build the index:
  1197         $ moin ... index build   # indexes pages and attachments
  1198         $ moin ... index build --files=files.lst  # same plus a list of files
  1199         You should run those commands as the same user you use for your wiki,
  1200         usually this is the webserver userid, e.g.:
  1201         $ sudo -u www-data moin --config=... --wiki-url=wiki.example.org/ \
  1202                index build --files=files.lst
  1203     * New searches:
  1204         - LanguageSearch: language:de
  1205         - CategorySearch: category:Homepage
  1206         - MimetypeSearch: mimetype:image/png (for attachments/files)
  1207         - DomainSearch: domain:underlay or domain:standard
  1208         - History Search: available in advanced ui
  1209       Note: Some currently only available when Xapian is used.
  1210     * New config options and their defaults:
  1211         xapian_search        False  enables xapian-powered search
  1212         xapian_index_dir     None   directory for xapian indices
  1213                                     (can be shared for wiki farms)
  1214         xapian_stemming      True   toggles usage of stemmer, fallback
  1215                                     to False if no stemmer installed
  1216         search_results_per_page 10  determines how many hits should be
  1217                                     shown on a fullsearch action
  1218         xapian_index_history False  indexes all revisions of pages to
  1219                                     allow searching in their history
  1220     * Speeded up linkto search by avoiding read locks on the pagelinks file.
  1221 
  1222     * The action menu now calls the actions for the revision of the page you
  1223       are currently viewing. If you are viewing the current page revision, you
  1224       get the same behaviour as in moin 1.5, but if you are viewing an old
  1225       page revision, action "raw" will now show you the raw text of this OLD
  1226       revision (not of the current revision as moin 1.5 did it).
  1227       Note that not every action does evaluate the rev=XX parameter it gets.
  1228       Also please note that the edit, info, ... links in the editbar do NOT
  1229       use the rev parameter, but operate on the latest page revision (as
  1230       they did in moin 1.5).
  1231     * Info action lost the links for "raw", "print" and "revert" actions,
  1232       because you can now just view an old revision and select those actions
  1233       from the menu there.
  1234     
  1235     * ?action=sitemap emits a google sitemap (XML), listing all your wiki pages
  1236       and the wiki root URL.
  1237       Page                      Priority / Frequency / Last modification
  1238       --------------------------------------------------------------------
  1239       /                         1.0 / hourly / <now>
  1240       cfg.page_front_page       1.0 / hourly / page last edit
  1241       TitleIndex,RecentChanges  0.9 / hourly / <now>
  1242       content pages             0.5 / daily / page last edit
  1243       system/help pages         0.1 / yearly / page last edit
  1244 
  1245     * Action DeletePage and RenamePage can now be used for subpages of a page, too.
  1246     * Added Action CopyPage so you can use now an existing page or page hierarchy
  1247       as template for a new page, see FeatureRequests/CloneOrCopyPages.
  1248     * "Package Pages" action supports attachments now.
  1249     * Added SisterPages support:
  1250       * action=sisterpages will generate a list of url pagename lines for all
  1251         pages in your moin wiki.
  1252       * action=pollsistersites will poll all sister sites listed in
  1253         cfg.sistersites = [(wikiname, fetchURL), ...]
  1254         The fetch URL for the sistersites depends on the wiki engine, e.g.:
  1255         # moin based wiki:
  1256         ('MoinExample', 'http://moin.example.org/?action=sisterpages')
  1257         # oddmuse based wiki:
  1258         ('EmacsWiki', 'http://www.emacswiki.org/cgi-bin/test?action=sisterpages')
  1259         # JspWiki based wiki:
  1260         ('JspWiki', 'http://www.jspwiki.org/SisterSites.jsp')
  1261       * If the current page exists on some sister wiki, a link to it will be
  1262         added to the navibar.
  1263       You can use sister wikis for adding another dimension to your wiki UI: use
  1264       it for simple multi language support, or for comments, or anything else
  1265       "related" you need.
  1266       TODO: add sistersites_force with sister sites we link to even if they do not
  1267             have the page yet (will work only for moin as we don't know
  1268             pagename>url transformation of other wikis)
  1269     * showtags action that lists all tags related to a page.
  1270     * action=view does use mimetypes of EmbedObject too and text files will be shown
  1271       by using their colorized parsers
  1272 
  1273   Macros: --------------------------------------------------------------------
  1274     * RecentChanges:
  1275       * If a change has happened after your bookmark, the updated/new/renamed
  1276         icon links to the bookmark diff.
  1277       * If a page does not exist any more (because it was deleted or renamed),
  1278         we link the deleted icon to the diff showing what was deleted (for the
  1279         delete action). For the rename action, we just show the deleted icon.
  1280     * Conflict icon in RecentChanges is shown if a edit conflict is detected.
  1281     * Enhanced SystemAdmin's user browser, so a SuperUser can enable/disable
  1282       users from there.
  1283     * Included EmbedObject macro for embedding different major mimetypes:
  1284       application, audio, image, video, chemical, x-world. 
  1285       You are able to change the defaults of allowed mimetypes in the config
  1286       var mimetypes_embed. The config var mimetypes_xss_protect is used to deny
  1287       mimetypes. The order of both variables is Allow, Deny (mimetypes_embed,
  1288       mimetypes_xss_protect).
  1289     * Added support for @SELF to the NewPage macro.
  1290     * GetText2 macro that allows to translate messages that contain data.
  1291     * Make the FootNote macro filter duplicates and display a list of numbers
  1292       instead of a list of identical footnotes. Thanks to Johannes Berg for the
  1293       patch.
  1294 
  1295   Parsers: -------------------------------------------------------------------
  1296     * Moin Wiki parser: Changed markup for links, images and macros, see these
  1297       wiki pages: HelpOnLinking, HelpOnMacros
  1298     * New wiki markup for /* inline comments */ - they get rendered as a span
  1299       with class="comment", see next item:
  1300     * There is a new item in the edit bar: "Comments". If you click it, the
  1301       visibility of all class "comment" tags will be toggled. There is a user
  1302       preferences item "show_comments" to set if the default view shows them or not.
  1303     * The wiki parser can be used with css classes now:
  1304       {{{#!wiki comment
  1305       This will render output within a div with class "comment".
  1306       You can use any wiki markup as usual.
  1307       }}}
  1308       You can also combine multiple css classes like this:
  1309       {{{#!wiki red/dotted/comment
  1310       This will render a red background, dotted border comment section.
  1311       }}}
  1312       The same thing will work for any other css classes you have.
  1313       If the css classes contain the word "comment", they will trigger some
  1314       special feature, see next item:
  1315     * Wiki nested parser/pre sections work now, using this syntax:
  1316       a) just use more curly braces if you have 3 closing in your content:
  1317          {{{{
  1318          }}} <- does not terminate the section!
  1319          }}}}
  1320       b) use {{{ + some magic string:
  1321          {{{somemagicstring
  1322          }}} <- does not terminate the section!
  1323          somemagicstring}}}
  1324       c) {{{whatever#!python
  1325          # py code
  1326          whatever}}}
  1327       Pitfall: stuff like below does not work as it did in 1.5:
  1328          {{{aaa
  1329          bbb}}}
  1330       Solution:
  1331          {{{
  1332          aaa
  1333          bbb
  1334          }}}
  1335     * Added support for ircs: URLs (secure IRC).
  1336     * New text/creole parser that allows you to use WikiCreole 1.0 markup,
  1337       use #format creole.
  1338     * HTML parser (called "html") that allows you to use HTML on the page.
  1339       Thanks to the trac team for the nice code.
  1340     * Added the diff parser from ParserMarket, thanks to Emilio Lopes, Fabien
  1341       Ninoles and Juergen Hermann.
  1342 
  1343   XMLRPC: --------------------------------------------------------------------
  1344     * actions_excluded now defaults to ['xmlrpc'] - this kind of disables the
  1345       built-in wiki xmlrpc server code (not completely: it will just answer
  1346       with a Fault instance for any request). If you want to use xmlrpc v1 or
  1347       v2, you have to remove 'xmlrpc' from the actions_excluded list (for
  1348       example if you want to use wikisync, mailimport or any other feature
  1349       using xmlrpc). If you enable xmlrpc, it will be possible that someone
  1350       changes your wiki content by using xmlrpc (it will of course honour ACLs).
  1351     * New XMLRPC methods (see doc strings for details):
  1352       * getMoinVersion
  1353       * system.multicall -- multicall support
  1354       * Authentication System: getAuthToken/appyAuthToken
  1355       * getDiff -- method to get binary diffs
  1356       * mergeDiff -- method to local changes remotely
  1357       * interwikiName -- method to get the IWID and the interwiki moniker
  1358       * getAllPagesEx -- method to get the pagelist in a special way (revnos,
  1359         no system pages etc.)
  1360       * getAuthToken -- make and authentication token by supplying username/password
  1361       * applyAuthToken -- set request.user for following xmlrpc calls (within the
  1362                           same multicall)
  1363       * getUserProfile -- method to get user profile data for request.user
  1364     * Added XMLRPC methods for attachment handling. Thanks to Matthew Gilbert.
  1365     * XMLRPC putPage method adjusted to new AuthToken, config vars 
  1366       xmlrpc_putpage_enabled and xmlrpc_putpage_trusted_only removed.
  1367 
  1368   Scripts / Commandline interface: -------------------------------------------
  1369     * moin export dump now better conforms to the theme guidelines.
  1370     * Added a --dump-user option to the moin export dump command.
  1371       Thanks to Oliver O'Halloran.
  1372 
  1373   Security / Auth / AntiSpam / etc.: -----------------------------------------
  1374     * Hierarchical ACLs are now supported, i.e. pages inheriting permissions
  1375       from higher-level pages. See HelpOnAccessControlLists.
  1376     * If you have "#acl" (without the quotes) on a page, this means now:
  1377       "this page has own (empty) ACLs, so do not use acl_rights_default here"
  1378       Please note that this is COMPLETELY DIFFERENT from having no ACL line at
  1379       all on the page (acl_rights_default is used in that case).
  1380     * Antispam master url is now configurable via cfg.antispam_master_url.
  1381       The default is to fetch the antispam patterns from MoinMaster wiki.
  1382     * Antispam now checks the edit comments against BadContent also.
  1383     * TextCHAs (text-form CAPTCHAs).
  1384       Due to increasingly annoying wiki spammers, we added the option to use
  1385       TextCHAs (for page save (not for preview!), for attachment upload, for
  1386       user creation (not for profile save)).
  1387       This function is disabled by default. If you run a wiki that is editable
  1388       by anonymous or non-approved users from the internet (i.e. All: or Known:
  1389       in ACL terms), you should enable it in your wiki config by:
  1390       textchas = { # DO NOT USE EXACTLY THESE QUESTIONS!!!
  1391           'en': {
  1392               u'H2O is ...': u'water', # bad: too common
  1393               u'2 apples and three bananas makes how many fruits?': ur'(five|5)', # good
  1394               u'2 apples and three pigs makes how many fruits?': ur'(two|2)', # good
  1395               u'2+3': ur'5', # bad: computable
  1396               u'
  1397           },
  1398           'de': { # for german users
  1399               u'H2O ist ...': u'wasser',
  1400           },
  1401       }
  1402       This means that english users will get some random question from the 'en'
  1403       set, german users will get some from the 'de' set. If there is no 'de'
  1404       set configured, moin will fallback to language_default and then to 'en',
  1405       so make sure that you at least have a 'en' set configured (or whatever
  1406       you have set as language_default).
  1407       You need to use unicode for the questions and answers (see that u"...").
  1408       For the answer, you need to give a regular expression:
  1409       * In the easiest case, this is just some word or sentence (first en
  1410         example). It will be matched in a case-insensitive way.
  1411       * For more complex stuff, you can use the power of regular expressions,
  1412         e.g. if multiple answers are correct (second en example). Any answer
  1413         matching the regular expression will be considered as correct, any
  1414         non-matching answer will be considered as incorrect.
  1415 
  1416       Tipps for making it hard to break for the spammers and easy for the users:
  1417       * Use site-specific (not too common) questions.
  1418       * Don't use too hard questions (annoys legitimate users).
  1419       * Don't use computable questions.
  1420       * Don't reuse textchas from other sites.
  1421 
  1422       textchas_disabled_group = None # (default)
  1423       Set this to some group name and noone in this group will get textchas.
  1424       E.g.: textchas_disabled_group = u'NoTextChasGroup'
  1425 
  1426     * The login page gives now the possibility to recover a lost password, thanks to 
  1427       Oliver Siemoneit. This is especially useful for wikis where access to user 
  1428       preferences is restricted by acl.
  1429     * Session handling for logged-in users and (not by default due to expiry
  1430       problems) anonymous users.
  1431     * Updated the ldap_login code from 1.5 branch, supports TLS now.
  1432       See MoinMoin/config/multiconfig.py for supported configuration options
  1433       and their defaults (and please just change what you need to change,
  1434       in your wikiconfig).
  1435     * Interwiki auth: You need to define cfg.trusted_wikis and
  1436        cfg.user_autocreate to use it. Logging in works by entering:
  1437       Name: RemoteWikiName RemoteUserName
  1438       Password: remotepass
  1439       Then moin contacts RemoteWikiName after looking it up in the interwiki
  1440       map and tries to authenticate there using RemoteUserName and remotepass.
  1441       If it succeeds, the remote wiki will return the remote user profile items
  1442       and your local moin will autocreate an account with these values.
  1443 
  1444   Server / Network / Logging: ------------------------------------------------
  1445     * The standalone server script moved to the toplevel directory. This makes
  1446       it possible to directly start moin.py without additional configuration
  1447       to run a MoinMoin DesktopEdition like wiki setup.
  1448       Be careful: DesktopEdition uses relaxed security settings only suitable
  1449       for personal and local use.
  1450     * Added TLS/SSL support to the standalone server. Thanks to Matthew Gilbert.
  1451       To use TLS/SSL support you must also install the TLSLite library
  1452       (http://trevp.net/tlslite/). Version 0.3.8 was used for development and
  1453       testing.
  1454 
  1455     * cfg.log_reverse_dns_lookups [default: True] - you can set this to False
  1456       if rev. dns lookups are broken in your network (leading to long delays
  1457       on page saves). With False, edit-log will only contain IP, not hostname.
  1458     * Added support for "304 not modified" response header for AttachFile get
  1459       and rss_rc actions - faster, less traffic, less load.
  1460 
  1461     * Added logging framework, using stdlib's "logging" module. Just do
  1462       import logging ; logging.debug("your text"). Depending on configuration
  1463       in the server Config class, your stuff will be written to screen (stderr),
  1464       to a moin logfile, to apache's error.log, etc.:
  1465       logPath = None # 'moin.log'
  1466       loglevel_file = None # logging.DEBUG/INFO/WARNING/ERROR/CRITICAL
  1467       loglevel_stderr = None # logging.DEBUG/INFO/WARNING/ERROR/CRITICAL
  1468       NOTE: this is NOT in wikiconfig, but e.g. in moin.cgi or moin.py or ...
  1469 
  1470     * Added some experimental and disabled code, that uses x-forwarded-for
  1471       header (if present) to get the right "outside" IP before a request
  1472       enters our chain of trusted (reverse) proxies.
  1473       This code has the problem that we can't configure it in wikiconfig, so
  1474       if you want to use it / test it, you have to edit the moin code:
  1475       MoinMoin/request/__init__.py - edit proxies_trusted (near the top).
  1476       We will try to make this easier to configure, but there was no time left
  1477       before 1.6.0 release for doing bigger code refactorings needed for that.
  1478 
  1479   Mail: ----------------------------------------------------------------------
  1480     * You can send email to the wiki now (requires xmlrpc), see:
  1481       FeatureRequests/WikiEmailIntegration, HelpOnConfiguration/EmailSupport
  1482 
  1483     * Mail notifications contain a link to the diff action so the user
  1484       can see the coloured difference more easily. Thanks to Tobias Polzin.
  1485 
  1486   Other changes: =============================================================
  1487     * HINT: please copy a new version of your server script from the wiki/server/
  1488       directory and edit it to match your setup.
  1489     * HINT: instead of "from MoinMoin.multiconfig import DefaultConfig" you
  1490       need to use "from MoinMoin.config.multiconfig import DefaultConfig" now.
  1491       You need to change this in your wikiconfig.py or farmconfig.py file.
  1492       See MoinMoin/multiconfig.py for an alternative way if you can't do that.
  1493     * HINT: you need to change some imports (if you have them in your config):
  1494       Old: from MoinMoin.util.antispam import SecurityPolicy
  1495       New: from MoinMoin.security.antispam import SecurityPolicy
  1496       Old: from MoinMoin.util.autoadmin import SecurityPolicy
  1497       New: from MoinMoin.security.autoadmin import SecurityPolicy
  1498     * HINT: you need to change your auth stuff, the new way is:
  1499       from MoinMoin.auth import moin_login, moin_session
  1500       from MoinMoin.auth.http import http
  1501       auth = [http, moin_login, moin_session]
  1502       Do it in a similar way for other auth methods.
  1503     * HINT: you need to change your url_prefix setting in 2 ways:
  1504       1. The setting is now called url_prefix_static (to make it more clear
  1505          that we mean the static stuff, not the wiki script url).
  1506       2. The strongly recommended (and default) value of it is '/moin_static160'
  1507          for moin version 1.6.0 (and will be ...161 for moin 1.6.1). It is
  1508          possible and recommended to use a very long cache lifetime for static
  1509          stuff now (Expires: access plus 1 year), because we require to change
  1510          the URL of static stuff when the static stuff changes (e.g. on a
  1511          version upgrade of moin) to avoid problems with stale cache content.
  1512          Your moin will be faster with lower load and traffic because of this.
  1513          For standalone server, we use 1 year expiry for static stuff now.
  1514          For Apache, Lighttpd and other "external" servers, you have to care
  1515          for configuring them to use a long expiry and change url_prefix_static
  1516          related configuration on upgrade.
  1517       HINT: if you run standalone or Twisted server, the easiest way to get a
  1518             working configuration (with server configuration matching wiki
  1519             configuration) is to NOT set url_prefix_static at all. Moin will
  1520             use matching configuration defaults in this case.
  1521     * url_prefix_action ['action'] was introduced for lowering load and traffic
  1522       caused by searchengine crawlers. Up to now, crawlers where causing a high
  1523       load in internet moin wikis because they tried to get about everything,
  1524       including all actions linked from the user interface.
  1525       Known crawlers only get 403 for most actions, but nevertheless they first
  1526       tried. There was no means keeping them away from actions due to the rather
  1527       braindead robots.txt standard. You can only disallow pathes there, but
  1528       moin's actions were querystring based, not path based (this would need
  1529       regex support in robots.txt, but there is no such thing).
  1530       This changed now. Moin is able to generate action URLs you can handle in
  1531       robots.txt, like /action/info/PageName?action=info. So if you don't want
  1532       bots triggering actions, just disallow /action/ there. Keep in mind that
  1533       attachments are handled by /action/AttachFile, so if you want attached
  1534       files and pictures indexed by search engine, don't disallow
  1535       /action/AttachFile/ in your robots.txt. In order to use this feature,
  1536       set url_prefix_action in your wikiconfig to e.g. "action".
  1537     * We use (again) the same browser compatibility check as FCKeditor uses
  1538       internally, too. So if GUI editor invocation is broken due to browser
  1539       compatibility issues or a wrong browser version check, please file a bug
  1540       at FCKeditor development or browser development.
  1541     * HINT: We removed Lupy based indexed search code. If you were brave enough
  1542       to use cfg.lupy_search, you maybe want to try cfg.xapian_search instead.
  1543 
  1544   Developer notes: ===========================================================
  1545     * We moved the IE hacks to theme/css/msie.css that gets included after all
  1546       other css files (but before the user css file) using a conditional
  1547       comment with "if IE", so it gets only loaded for MSIE (no matter which
  1548       version). The file has some standard css inside (evaluated on all MSIE
  1549       versions) and some * html hacks that only IE < 7 will read.
  1550       HINT: if you use custom themes, you want to update them in the same way.
  1551     * autofilters for databrowser widget. Thanks to Johannes Berg for the patch.
  1552     * changed formatter.attachment_link call (it is now more flexible,
  1553       because you can render the stuff between link start and link end yourself)
  1554     * Page.url() does not escape any more. You have to use wikiutil.escape()
  1555       yourself if you want to write the URL to HTML and it contains e.g. &.
  1556     * The testing wikiconfig moved to tests/wikiconfig.py, the testing wiki
  1557       is now created in tests/wiki/...
  1558     * HINT: Killed "processors" (finally), formatter method changed to:
  1559       formatter.parser(parsername, lines)
  1560     * Refactored some actions to use ActionBase base class.
  1561     * Moved "test" action from wikiaction to MoinMoin/action/
  1562       (and use ActionBase).
  1563     * Moved MoinMoin/config.py to MoinMoin/config/__init__.py.
  1564     * Moved MoinMoin/multiconfig.py to MoinMoin/config/multiconfig.py.
  1565     * Moved "SystemInfo" macro from wikimacro to MoinMoin/macro/.
  1566     * Moved wikiaction.py stuff to MoinMoin/action/__init__.py.
  1567     * Moved wikimacro.py stuff to MoinMoin/macro/__init__.py.
  1568     * Moved wikirpc.py stuff to MoinMoin/xmlrpc/__init__.py.
  1569     * Moved wikitest.py stuff to action/test.py (only used from there).
  1570     * Moved formatter/base.py to formatter/__init__.py (FormatterBase).
  1571     * Moved util/ParserBase.py to parser/ParserBase.py.
  1572     * Moved / splitted request.py into MoinMoin/request/*.
  1573       Most stuff will be broken, please help fixing it (usually some imports
  1574       will be missing and the adaptor script will need a change maybe):
  1575       Tested successfully: CGI, CLI, STANDALONE, FCGI, TWISTED
  1576     * Moved security.py to security/__init__.py.
  1577     * Moved wikiacl.py to security/__init__.py.
  1578     * Moved logfile/logfile.py to logfile/__init__.py.
  1579     * Moved mailimport.py to mail/mailimport.py.
  1580     * Moved util/mail.py to mail/sendmail.py.
  1581     * Moved auth.py to auth/__init__.py.
  1582       Moved util/sessionParser.py to auth/_PHPsessionParser.py.
  1583       teared auth code into single modules under auth/* - moin_session handling
  1584       and the builting moin_login method are in auth/__init__.py.
  1585     * Added wikiutil.MimeType class (works internally with sanitized mime
  1586       types because the official ones suck).
  1587     * Renamed parsers to module names representing sane mimetypes, e.g.:
  1588       parser.wiki -> parser.text_moin_wiki
  1589     * Added thread_monitor debugging aid. It can be activated using:
  1590       from MoinMoin.util import thread_monitor; thread_monitor.activate_hook()
  1591       and then triggered by requesting URL ...?action=thread_monitor - please
  1592       be aware that monitoring threads has a big performance impact on its own,
  1593       so you only want to temporarily enable this for debugging.
  1594       By default, it dumps its output to the data_dir as tm_<timestamp>.log,
  1595       you can change this at bottom of action/thread_monitor.py if you want to
  1596       see output in your browser.
  1597     * Introduced scope parameter to CacheEntry() - if you specify 'farm', it
  1598       will cache into a common directory for all wikis in the same farm, if you
  1599       specify 'wiki', it will use a cache directory per wiki and if you specify
  1600       'item', it will use a cache directory per item (== per page).
  1601       Creating a CacheEntry without explicit scope is DEPRECATED.
  1602     * Smileys moved from MoinMoin.config to MoinMoin.theme.
  1603     * Removed all _ magic in URLs and filenames.
  1604     * request.action now has the action requested, default: 'show'.
  1605     * Cleaned up duplicated http_headers code and DEPRECATED this function
  1606       call (it was sometimes confused with setHttpHeaders call) - it will
  1607       vanish with moin 1.7, so please fix your custom plugins!
  1608       The replacement is:
  1609           request.emit_http_headers(more_headers=[])
  1610       This call pre-processes the headers list (encoding from unicode, making
  1611       sure that there is exactly ONE content-type header, etc.) and then
  1612       calls a server specific helper _emit_http_headers to emit it.
  1613       Tested successfully: CGI, STANDALONE, FCGI, TWISTED
  1614     * setResponseCode request method DEPRECATED (it only worked for Twisted
  1615       anyway), just use emit_http_headers and include a Status: XXX header.
  1616       Method will vanish with moin 1.7.
  1617     * cfg.url_prefix is DEPRECATED, please use cfg.url_prefix_static.
  1618     * d['title_link'] is not supported any more. You can easily make that link
  1619       on your own in your theme, see example in MoinMoin/theme/__init__.py,
  1620       function "title".
  1621     * There is a new Page method called Page.get_raw_body_str that returns
  1622       the encoded page body. This is useful if you just deal with byte data
  1623       (e.g. while generating binary diffs).
  1624     * The TagStore/PickleTagStore system is used to store the syncronisation tags.
  1625     * XMLRPC functions may return Fault instances from now on
  1626     * Moin got multicall support, including a module that makes it usable on the
  1627       client-side without requiring Python 2.4
  1628     * Added no_magic to text_html formatter to disable tag autoclosing.
  1629     * MOIN_DEBUG can be set in the environment to let MoinMoin ignore exceptions
  1630       that would lead to a traceback in the browser. Thanks to Raphael Bossek.
  1631     * There is a new MoinMoin.Page.ItemCache class now with automatic cache
  1632       invalidation based on global edit-log. We currently use it to cache page
  1633       acls, speedup Page.get_rev and reading the page local edit-log.
  1634     * Added wikiutil.renderText parse and format raw wiki markup with all page elements.
  1635     * The user file format has changed, old files will be read correctly but
  1636       will silently be upgraded to the new format so old versions will not
  1637       read the new files correctly (this only affects 'subscribed_pages' and
  1638       'quicklinks' which will be lost when downgrading.)
  1639 
  1640 
  1641 Version 1.5.8:
  1642   New features:
  1643     * Added timing.log to help performance debugging. Use cfg.log_timing = True
  1644       to update <data_dir>/timing.log (default is False, meaning no logging).
  1645 
  1646       Example log entries:
  1647 
  1648 
  1649       Timestamp       PID   Timing Flag action     URL
  1650       -----------------------------------------------------------------------------
  1651       20070512 184401 22690 vvv         None       moinmoin.wikiwikiweb.de/RssFeeds
  1652       20070512 184401 22690 0.267s    - show       moinmoin.wikiwikiweb.de/RssFeeds
  1653 
  1654       Timestamp: YYYYMMDD HHMMSS (UTC)
  1655       PID: the process ID of the moin process
  1656       Timing: when action starts, it will be "vvv"
  1657               when it ends, it logs the total time it needed for execution
  1658       Flag (some are only logged at end of action):
  1659       +   Page exists
  1660       -   Page does not exist
  1661       B   user agent was recognized as bot / spider
  1662       !x! Action took rather long (the higher the x, the longer it took - this
  1663           makes it easy to grep for problematic stuff).
  1664       Action: action name (None is when no action was specified, moin assumes
  1665               "show" for that case)
  1666       URL: the requested URL
  1667 
  1668       For more information about tuning your moin setup, see:
  1669       http://moinmoin.wikiwikiweb.de/PerformanceTuning
  1670     * Added support for ircs, webcal, xmpp, ed2k and rootz protocols - we
  1671       moved all protocols to config.url_schemas, so this is not empty any more.
  1672       It is possible to use these protocols now on wiki pages and in the
  1673       navi_bar. We just generate the URLs, it is up to your browser what it
  1674       does when clicking on those links.
  1675     * cfg.traceback_show (default: 1) can be used to disable showing tracebacks.
  1676       cfg.traceback_log_dir (default: None) can be used to set a directory
  1677       that is used to dump traceback files to. Your users will get a notice to
  1678       which (random) file in that directory the traceback was been written.
  1679       NOTE: while you can feel free to set traceback_show = 0 and
  1680       traceback_log_dir = None, we will also feel free to reject bug reports
  1681       when you (or your site's users) don't give us enough information (like a
  1682       traceback file) to debug the problem. If you set traceback_show = 0,
  1683       we recommend pointing traceback_log_dir to a directory with reasonable
  1684       free space and putting a page onto your wiki that describes who has to
  1685       get contacted (usually the wiki server admin) in case a traceback happens.
  1686       The admin can then locate the traceback file and submit it to moin
  1687       development, if the bug is not already known (see MoinMoin:MoinMoinBugs).
  1688       Of course we will also need all the other details of a bug report, not
  1689       only the traceback file.
  1690 
  1691   Other changes:
  1692     * Updated spider agents list.
  1693     * Reduce bot/spider cpu usage for SystemInfo, OrphanedPages, WantedPages,
  1694       PageHits, PageSize, WordIndex macros (we just return nothing for bots).
  1695 
  1696   Bugfixes:
  1697     * XSS fixes, see http://secunia.com/advisories/24138/ (item 1 and 2).
  1698     * ACL security fixes:
  1699       * MonthCalendar respects ACLs of day pages now.
  1700       * Check the ACL for the rst markup include directive.
  1701     * Fixed cleaning of edit comments (control chars in there could damage
  1702       edit-log).
  1703     * Fixed in-process caching of antispam patterns (didn't update the cache
  1704       for multi-process, persistent servers).
  1705     * Correct encoding/decoding for surge-log data, fixes leftover
  1706       surge-logXXXXXXX.tmp files in data/cache/surgeprotect.
  1707     * Fixed mode of cache files (mkstemp creates them with 0600 mode).
  1708     * Symbolic entities with numbers (like &sup2;) did not work, fixed.
  1709     * We open data/error.log earlier now and we also use it for FastCGI.
  1710     * Fixed unicode cfg.page_group_regex.
  1711     * Fixed moin.spec to use english date format.
  1712     * GUI converter: fixed conversion of relative wiki links.
  1713     * Fixed NewPage macro button label to not be formatted as wiki text.
  1714 
  1715 Version 1.5.7:
  1716   New features:
  1717     * added url_prefix_local which is used for stuff that must be loaded from
  1718       same site as the wiki engine (e.g. FCKeditor GUI editor applet), while
  1719       url_prefix can be a remote server serving the static files (css/img).
  1720       If not set (or set to None), url_prefix_local will default to the value
  1721       of url_prefix.
  1722     * We save some CPU and disk I/O by having EditTemplates and LikePages macro
  1723       (both used on MissingPage) check whether the requesting entity was
  1724       identified as a spider (e.g. search engine bot) and do nothing in that
  1725       case. Normal users won't see any difference.
  1726     * For AttachFile, you can now choose to overwrite existing files of same
  1727       name (nice for updating files).
  1728 
  1729   Bugfixes:
  1730     * XSS Fixes:
  1731       * fixed unescaped page info display.
  1732       * fixed unescaped page name display in AttachFile, RenamePage and
  1733         LocalSiteMap actions
  1734     * WantedPages listed existing pages that are not readable for the user,
  1735       but are linked from pages that ARE readable for the user (so this is NOT
  1736       a privacy/security issue). We now don't list those pages any more as it
  1737       is pointless/confusing, the user can't read or edit there anyway.
  1738     * MoinMoin: href="http://moinmo.in/MoinMoinBugs/TableOfContentsUsesNonExistingIncludeLinks">MoinMoinBugs/TableOfContentsUsesNonExistingIncludeLinks
  1739     * MoinMoin: href="http://moinmo.in/MoinMoinBugs/ActionsExcludedTriggerError">MoinMoinBugs/ActionsExcludedTriggerError
  1740     * GUI editor/converter:
  1741       * ignore <col>/<colgroup>/<meta> elements
  1742       * support <a> within blockquote
  1743     * Remove generated=... attribute from pagelink html output (this attr is
  1744       for internal use only). w3c validator is now happier again.
  1745     * Fixed css class "userpref" (not: "userprefs") of the Login form.
  1746     * Fixed the version number check in the xslt parser for 4suite >= 1.0.
  1747     * We reset the umask to the wanted value every request. This should fix
  1748       wrong file modes when used with Twisted (twistd uses a hardcoded 0077
  1749       umask in daemonize()).
  1750     * Avoid trouble when saving pages with antispam function when MoinMaster
  1751       wiki is having troubles (catch xmlrpc Fault).
  1752 
  1753   Other changes:
  1754     * Standalone server does not do reverse DNS lookups any more (this is a
  1755       standard feature of BaseHTTPServer stdlib module, but we override this
  1756       now and just print the IP).
  1757     * We moved the IE hacks to theme/css/msie.css that gets included after all
  1758       other css files (but before the user css file) using a conditional
  1759       comment with "if IE", so it gets only loaded for MSIE (no matter which
  1760       version). The file has some standard css inside (evaluated on all MSIE
  1761       versions) and some * html hacks that only IE < 7 will read.
  1762       HINT: if you use custom themes, you want to update them in the same way.
  1763     * Improved ldap auth:
  1764       * cfg.ldap_name_attribute was removed because of new cfg.ldap_filter.
  1765         If you had ldap_name_attribute = 'sAMAccountName' before, just use
  1766         ldap_filter = '(sAMAccountName=%(username)s)' now.
  1767       * New cfg.ldap_filter used for the ldap filter string used in the ldap
  1768         search instead of the rather limited, partly hardcoded filter we used
  1769         before. This is much more flexible:
  1770         ldap_filter = '(sAMAccountName=%(username)s)'
  1771         You can also do more complex filtering expressions like:
  1772         '(&(cn=%(username)s)(memberOf=CN=WikiUsers,OU=Groups,DC=example,DC=org))'
  1773       * Added some processing to filter out result entries with dn == None.
  1774       * We set REFERRALS option to 0 before initializing the ldap server
  1775         connection (this seems to be needed for Active Directory servers).
  1776       * We support self-signed ssl certs for ldaps - completely untested.
  1777       * New cfg.ldap_surname_attribute (usually 'sn'), was hardcoded before.
  1778       * New cfg.ldap_givenname_attribute (usually 'givenName'), hardcoded before.
  1779       * New cfg.ldap_aliasname_attribute (usually 'displayName') - if this
  1780         attribute is not there or empty (in the results of the ldap lookup for
  1781         the user), we just make up the aliasname from surname and givenname
  1782         attribute.
  1783       * We only request the attributes we need from ldap (was: all attrs).
  1784       * We deny user login (and break out of auth chain) for the following cases:
  1785         * if a user is not found by ldap lookup
  1786         * if we find more than one matching entry
  1787         * if the password is empty or incorrect
  1788         * if some exception happens
  1789       * Please note that there is an updated ldap sample config in directory
  1790         wiki/config/more_samples/.
  1791       * Added experimental LDAP SSL/TLS support (untested, please help testing),
  1792         see also the sample config.
  1793     * Work around a IE7 rendering problem with long pages getting more and
  1794       more narrow. We just applied the same "fix" as we used for IE6, using
  1795       "display: none" for span.anchor for IE browsers.
  1796     * RSS feed related:
  1797       * We used to emit a <link> tag for the action=rss_rc RSS feed on any
  1798         page. This was changed, we now emit that link only on RecentChanges and
  1799         the current user's language translation of RecentChanges.
  1800         This was changed because Google Toolbar requests the RSS feed linked
  1801         by such a link tag every time it sees one. Thus, if you used the wiki
  1802         normally, it requested the RSS feed every few seconds and caused
  1803         problems due to surge protection kicking in because of that.
  1804       * HINT for custom theme users: if your theme code calls
  1805         rsslink(), then you need to change that to rsslink(d) for 1.5.7+.
  1806 
  1807 
  1808 Version 1.5.6:
  1809   A general security notice:
  1810       Check your Python version, there was a buffer overflow issue in Python
  1811       recently! Details: http://moinmoin.wikiwikiweb.de/PythonUnicodeEscapeBug
  1812 
  1813   Bugfixes:
  1814     * Fix AttributeError traceback with Standalone server (if_modified_since)
  1815     * Fix AttachFile "304 not modified" and redirect status code for Twisted
  1816     * http auth: we now decode username and password to unicode (using
  1817       config.charset == utf-8). Same for SSL client cert auth and CN.
  1818     * Avoid infinite recursion in Page.parsePageLinks.
  1819     * Fixed standalone server failing to shutdown if interface == "".
  1820     * Now MoinMoin does not think anymore that every page links to various user
  1821       homepages.
  1822     * Made the irssi parser more tolerant (Thanks to "TheAnarcat").
  1823     * Now multiple formatters can be used per request, the send_page code was
  1824       not reentrant to this regard. Fixes "empty" search results.
  1825     * Fixed problem with "=" in ImageLink macro links.
  1826     * Not a moin bug, but a silly stdlib os.tempnam function made trouble to
  1827       some people because it lets you override the path given in the code
  1828       by setting the environment variable TMP(DIR). We now use a different
  1829       function to avoid renaming trouble when TMP(DIR) points to a different
  1830       file system.
  1831     * Fixed antispam update on every save (Thanks to "TheAnarcat").
  1832     * GUI converter: don't throw away rowclass for tables.
  1833     * GUI editor formatter: allow height for table cells.
  1834     * GUI editor formatter: comment texts are output using the formatter now. 
  1835 
  1836   New features:
  1837     * Mail notifications contain a link to the diff action so the user
  1838       can see the coloured difference more easily. Thanks to Tobias Polzin.
  1839     * FeatureRequests/MoveAttachments - you can move attachments from one
  1840       page to another (and also rename the attachment at the same time).
  1841       Thanks to Reimar Bauer.
  1842     * Added support for linking to attachment: and inline: URLs with ImageLink.
  1843     * Added UNIX socket support for FastCGI, just set the port to some (socket)
  1844       filename. Details see: MoinMoin:FeatureRequests/FastCgiUnixSocket
  1845     * [[Attachlist(pagename,mimetype)]] lists attachments of pagename (default:
  1846       current page) with optional mimetype restriction (default: all).
  1847       Thanks to Reimar Bauer.
  1848 
  1849   Other changes:
  1850     * Minor performance improvements (might be noticeable if you have many
  1851       custom navi_bar entries and high server load).
  1852     * Avoid usage of no-cache because it breaks attachment download on IE6.
  1853       This is a IE bug, not a moin bug.
  1854     * Added XHTML to the unsafe list.
  1855     * Changed the rst parser to be compatible to the new docutils interface
  1856       for directives.
  1857     * Updated EmbedObject macro.
  1858 
  1859 
  1860 Version 1.5.5a:
  1861   Bugfixes:
  1862     * fixed ticket creation to only use constant values
  1863 
  1864 Version 1.5.5:
  1865   HINT: read docs/README.migration.
  1866   HINT: there was NO change in the underlay/ pages since 1.5.4.
  1867   HINT: If you experience problems with the reStructured Text (rst) parser,
  1868         please downgrade docutils to "0.4" because there were major interface
  1869         breaking API refactorings on the docutils trunk.
  1870 
  1871   Bugfixes:
  1872     * GUI editor fixes:
  1873       * Fixed MoinMoinBugs/GuiEditorModifiesInterwikiPreferred.
  1874       * Fixed MoinMoinBugs/TableAlignmentProbsWithGUI.
  1875     * Not a moin bug, but it severely annoyed IE users and also was less
  1876       comfortable for users of other browser: since about 1.5.4, we served
  1877       attachments with Content-Disposition: attachment - so that the user has
  1878       to save them to disk. This was to fix a possible XSS attack using attached
  1879       HTML files with Javascript inside for stealing your moin cookie or doing
  1880       other nasty things. We improved this by using different behaviour depending
  1881       on the potential danger the attached file has when served inline:
  1882       mimetypes_xss_protect = ['text/html', 'application/x-shockwave-flash', ]
  1883       This is the default value. If you know more dangerous stuff, please just
  1884       add the mimetypes there to protect your users and file a bug report
  1885       telling us what we missed.
  1886     * Fixed MoinMoinBugs/ReStructuredTextRelativeLinksBroken, thanks to Stefan
  1887       Merten.
  1888     * Make tickets used for some actions more safe.
  1889 
  1890   New features:
  1891     * edit_ticketing [True] - we protect page save by a ticket (same stuff we
  1892       already use for DeletePage and RenamePage action).
  1893       NOTE: If you don't use your browser for editing, but some tool like
  1894             "editmoin" or "MoinMoin plugin for jEdit", you'll need an update
  1895             of them supporting the ticket.
  1896             Alternatively, you can use edit_ticketing = False setting - this
  1897             is not recommended for internet wikis as it will make spamming them
  1898             easier.
  1899     * If we detect some spammer, we kick him out by triggering surge protection
  1900       (if surge protection is not disabled).
  1901 
  1902 Version 1.5.5rc1:
  1903   Bugfixes:
  1904     * Fixed MoinMoinBugs/XmlRpcBrokenForFastCgi - thanks to Johannes Berg.
  1905     * Fixed gui editor converter confusing of `` and {{{}}} markup.
  1906     * Fixed emission of HTTP headers (esp. Vary: Cache-Control:).
  1907     * Fixed a bad crash that happens (on ANY page!) when you put a *Dict
  1908       page's name as a member into a *Group page.
  1909     * Fix MyPages action title to use an unformatted string.
  1910     * Fix double quoted-printable encoding in generated emails (note: this is
  1911       not a moin bug - this just works around bugs in python stdlib).
  1912     * Fix mode of drawing files (use config.umask).
  1913     * Fix trouble with /?action= urls by dropping getPageNameFromQueryString
  1914       code. 
  1915     * Fixed sre unpickle issues seen on some machines by avoiding to pickle
  1916       the regex.
  1917     * Fix Clock code, add more timers.
  1918     * Worked around FastCGI problem on Lighttpd: empty lines in the error log.
  1919     * Fix (add) locking for caching's .remove() call, small fixes to lock code.
  1920     * Print error message when --target-dir=path is missing from moin export
  1921       dump command.
  1922 
  1923   New features:
  1924     * Added support for "304 not modified" response header for AttachFile get
  1925       and rss_rc actions - faster, less traffic, less load.
  1926     * Limit rss with full diffs to 5 items.
  1927     * Allow surge_action_limits = None to disable surge protection.
  1928     * moin.fcg improved - if you use FastCGI, you must use the new file:
  1929       * can self-terminate after some number of requests (default: -1, this
  1930         means "unlimited lifetime")
  1931       * the count of created threads is limited now (default: 5), you can use
  1932         1 to use non-threaded operation.
  1933       * configurable socket.listen() backlog (default: 5)
  1934     * Added indonesian i18n (id).
  1935     * Some measures against spammers trying to brute force their spam into moin.
  1936     * EmbedObject macro: added mov, mpg and midi support
  1937     * moin ... export dump --target-dir=PATH --page=PAGENAME_REGEX
  1938       You must specify --target-dir (where dump will write the html files to)
  1939       and you may specify --page and either a page name or a regex used to
  1940       match all pages you want to export. Default is to export all pages.
  1941 
  1942   Other changes:
  1943     * Tuning:
  1944       * more efficient locking code on POSIX platforms, we do much less I/O
  1945         for locking now
  1946       * removed most chmod calls in favour of a single os.umask call
  1947     * Improved Python 2.5 compatibility. Note: if you think that MoinMoin
  1948       is using too much RAM, you might want to look at Python 2.5 because
  1949       of its improved memory management.
  1950     * Throw away SAVE comments longer than 200 chars (you can't enter those by
  1951       the user interface, so only spammer using automatic POSTs do them).
  1952     * Updated spider user agent list.
  1953     * BadContent and LocalBadContent now get noindex,nofollow robots header,
  1954       same as POSTs.
  1955     * Standalone opens it logfile unbuffered from now on, thanks to
  1956       Carsten Grohmann.
  1957     * Avoid trouble when request.write() data contains None, just skip it -
  1958       thanks to Juergen Hermann.
  1959     * Instead of showing a ConfigurationError, moin now emits "404 Not found"
  1960       http headers and a hint about what could be wrong. This won't fill up
  1961       your logs just because of typos and spiders still trying old URLs.
  1962 
  1963  
  1964 Version 1.5.4:
  1965     HINT: read docs/README.migration.
  1966 Version 1.5.4-current:
  1967     * increased maxlength of some input fields from 80 to 200
  1968 
  1969 Version 1.5.current:
  1970   Developer notes:
  1971     * We switched to Mercurial SCM, see here for more infos:
  1972       http://moinmoin.wikiwikiweb.de/MoinDev/MercurialGuide
  1973 
  1974   Bugfixes:
  1975     * fix MonthCalendar macro for non-ASCII pagenames (thanks to Jonas Smedegaard)
  1976     * remove 'search' and 'google' from bot user agent list and add some more
  1977       specific terms
  1978     * Fix the forgotten password email login URL and also properly encode the
  1979       email body. Thanks to Robin Dunn for the patch.
  1980     * Applied a patch by Matthew Gilbert for increased compatiblity with
  1981       latest docutils.
  1982 
  1983 
  1984 Version 1.5.3:
  1985   New Features:
  1986     * Added CSS classes for TableOfContents macro.
  1987 
  1988   Bug Fixes:
  1989     * GUI editor / GUI editor converter:
  1990       * Fixed missing GUI editor link in edit bar.
  1991       * Fixed table/row/cell style spaces.
  1992       * Changed <p> generation for macros.
  1993       * Fixed handling of subpages.
  1994       * Fixed processing of complex list elements (thanks to Craig Markwardt).
  1995       * Fixed processing of html \n (thanks to Craig Markwardt).
  1996       * Fixed joining of comment lines with text below them.
  1997       * Fixed table height attribute crash.
  1998     * Fixed sslclientcert auth.
  1999     * Added some missing files to i18n processing, translatable strings more
  2000       complete now.
  2001     * Change <p> generation from self-closing (<p />) to auto-closing (only
  2002       emit <p>, let browser find place for </p>).
  2003     * Fix eating of newline before tables.
  2004     * Fixed incorrect login hint for not logged-in users trying a disallowed
  2005       action.
  2006     * Fixed nasty missing or double </a> formatter bug (mostly happening when
  2007       user has enabled questionmarks for nonexisting pages).
  2008 
  2009   Other Changes:
  2010     * We catch and ignore html to wiki conversion errors in case of hitting
  2011       the cancel button, so you can get out of the error screen.
  2012 
  2013 Version 1.5.3-rc2:
  2014   New Features:
  2015     * Modified SystemInfo macro to give human readable units and disk usage
  2016     * cfg.editor_quickhelp makes the quick help below the editor configurable
  2017       (at least as far as the default_markup is concerned). If set to None,
  2018       it doesn't display any quickhelp. Thanks to Seth Falcon for the patch.
  2019 
  2020   Bugfixes:
  2021     * Fixed double class attribute for nonexistent links
  2022     * Fixed double </a> with qm_noexist option
  2023     * Fixed table xxx="yyy" style attribute parsing
  2024     * If not (editor_force and editor_default == 'text') then display GUI mode
  2025       switch button (this is only a partial fix, but enough to deny the GUI
  2026       mode to your users completely)
  2027     * Fixed XSS issue which could lead to cookie theft etc.
  2028     * Fixed definition list "same level" indenting.
  2029     * Fixed pagename in log for PackagePages action.
  2030     * Made <p> self-closing and line-anchors more well-behaved, thanks to
  2031       Martin Wilck for the patch. I didn't apply the <ol> patch, because this
  2032       is no real problem, just a problem of a bad standard.
  2033     * Fixed gui editor *bgcolor crash.
  2034     * Support/Fix tableclass attr with gui editor.
  2035 
  2036   Other changes:
  2037     * Moved back UserPreferences action link from menu to top of page (renaming
  2038       it to "Preferences"), added "Cancel" button to make it possible to return
  2039       to the previous page without saving preferences.
  2040     * Removed formatter.url "attrs" keyword arg that took premade html, we use
  2041       separate kw args per attribute now.
  2042     * Moved broken tests to MoinMoin/_tests/broken (= disabling them).
  2043       All "active" tests run ok now.
  2044       If you want to compare, I included the output of this test run:
  2045       $ make test >tests/make_test.out
  2046 
  2047  
  2048 Version 1.5.3-rc1:
  2049 
  2050   New features:
  2051     * HINT: please read README.migration
  2052     * Login and Logout are actions now, therefore you stay on the page where
  2053       you were before.
  2054     * UserPreferences is also an action now and moved from top border (in
  2055       modern theme) to the "more actions" dropdown menu. You also stay on the
  2056       same page.
  2057     * There is also a [[Login]] macro now. You can put it on any page you want
  2058       and if the user is not logged in, it renders the login form. If the user
  2059       is logged in, it doesn't render anything.
  2060     * We check cfg.superuser to be a list of user names (as documented) and
  2061       deny superuser access if it is not. This avoids security issues by
  2062       wrong configuration.
  2063     * auth methods changed:
  2064       HINT: if you wrote own auth methods, please change them as you see in
  2065             MoinMoin/auth.py and test them again before relying on them.
  2066       * now get a user_obj kw argument that is either a user object returned
  2067         from a previous auth method or None (if no user has been made up yet).
  2068         The auth method should either return a user object (if it has
  2069         determined one) or what it got as user_obj (being "passive") or None
  2070         (if it wants to "veto" some user even if a previous method already has
  2071         made up some user object).
  2072       * return value of continue_flag is now True in most cases (except if
  2073         it wants to "veto" and abort).
  2074       * moin_cookie auth method now logs out a user by deleting the cookie and
  2075         setting user_obj.valid = 0. This makes it possible to still get the
  2076         user's name in subsequent auth method calls within the same request.
  2077       * added ldap_login and smb_mount auth methods, see MoinMoin/auth.py and
  2078         wiki/config/more_samples/ldap_smb_farmconfig.py
  2079     * MonthCalendar now takes an additional argument for specifying a template
  2080       to use to directly invoke the page editor when clicking on non-existing
  2081       day pages.
  2082     * Added ImageLink macro. Thanks to Jeff Kunce, Marcin Zalewski, Reimar
  2083       Bauer and Chong-Dae Park for working on it.
  2084     * Lupy stuff (still experimental, partly broken and disabled by default):
  2085       * Attachment search using lupy (lupy_search = 1 in your config)
  2086         Title search will also search attachment filenames.
  2087         Full text search will also search attachment contents.
  2088       * Indexing filter plugins, see MoinMoin:FiltersForIndexing
  2089         Some filters depend on external converters that might not be available
  2090         for any platform (see Depends: line in filter plugin).
  2091         Feel free to contribute more filter plugins, especially if you wrote
  2092         some nice platform independant filter in Python for some popular file
  2093         format! Filters implemented so far (depending on):
  2094         MS Word, RTF, MS Excel (antiword, catdoc)
  2095         PDF (pdftotext)
  2096         OpenOffice.org XML based data formats (-)
  2097         XML, HTML (-)
  2098         text/* (-)
  2099         JPEG's EXIF data (-)
  2100         Binary generic (-)
  2101       * As you might know, Lupy is "retired" (that means it isn't developped
  2102         by its authors any more). We are currently evaluating Xapian as new
  2103         indexing search engine in moin.
  2104         If we succeed, we will replace Lupy stuff by some Xapian interface
  2105         code in moin.
  2106         But: the filters will likely stay, as we also need them with Xapian.
  2107     
  2108     * A new MoinMoin script interface was introduced:
  2109       
  2110       Syntax: moin [options] <cmdmodule> <cmdname> [options]
  2111       
  2112       For example:
  2113       moin --config-dir=/my/cfgdir --wiki-url=wiki.example.org/ \
  2114            export dump --page=WikiSandBox
  2115       
  2116       This will call the "moin" script, which will use the --config-dir and
  2117       --wiki-url options to initialize, then it will go to MoinMoin.script
  2118       module, import the export.dump module from there and run it, providing
  2119       the additional --page value to it.
  2120 
  2121       The old scripts that have not been migrated to this new interface can
  2122       still be found in MoinMoin/script/old/ - including the old migration
  2123       scripts.
  2124     * moin ... account create --name=JoeDoe --email=joe@doe.org
  2125     * moin ... account disable --name=JoeDoe
  2126     * moin ... acount check     <-- this is what usercheck script was before
  2127     * moin ... maint cleancache <-- this is what cachecleaner script was
  2128     * moin ... maint cleanpage  <-- this is what pagescleaner script was
  2129 
  2130   Bugfixes:
  2131     * cookie_lifetime didn't work comfortable for low values. The cookie was
  2132       created once on login and never updated afterwards. So you got logged
  2133       out cookie_lifetime hours later, no matter whether you were active at
  2134       that time or not. This has been changed, we update the cookie expiry now
  2135       on every request, so it will expire cookie_lifetime after your last
  2136       request (not after login).
  2137     * Fixed logout problems when using cfg.cookie_path.
  2138     * Fixed cookie_path for root url wikis.
  2139     * Lupy search now behaves a bit less funky. Still no guarantees...
  2140     * We lowered the twisted server timeout to 2 minutes now (was: 10) because
  2141       it just used up too many files (open TCP connections until it timeouts)
  2142       on our farm.
  2143     * The algorithm used for processing the farmconfig.wikis list was changed
  2144       to work for big farms (>= 50 wikis), too. This works around the python
  2145       "re" module limitation of having a maximum of 100 named groups in a RE.
  2146     * Fixed a TypeError which occurred for formatters that dislike None values.
  2147       (cf. http://moinmoin.wikiwikiweb.de/MoinMoinBugs/PythonErrorEditingFrontPage)
  2148     * Fixed GUI editor converter error for https:... image URLs.
  2149     * ThemeBase (use by modern/rightsidebar): removed duplicate AttachFile from
  2150       actions menu (we already have it in editbar).
  2151     * Speedup group/dicts scanning for persistent servers.
  2152     * Implemented HEAD requests for standalone server, this should fix some of
  2153       the strange effects happening when using "Save as" on attachments.
  2154     * Not a moin bug, but rather a workaround for non-standard non-ASCII DNS
  2155       hostnames: we just use the IP instead of crashing now.
  2156     * Spurious cyclic usage error in i18n fixed.
  2157     * Fixed antispam for python 2.5a xmlrpclib.
  2158     * I18n for linenumber toggle in listings.
  2159     * All action menu entries are translatable now.
  2160 
  2161   Other:
  2162     * Added css classes for the rst admonitions. Thanks to TiagoMacambira!
  2163 
  2164 Version 1.5.2:
  2165 
  2166   New features:
  2167     * Added FullSearchCached macro which is statically cached.
  2168       Use it if you do not depend on fresh search results but prefer raw speed.
  2169     * Added surge protection, see HelpOnConfiguration/SurgeProtection.
  2170     * Allow hex and symbolic entities.
  2171     * If there is a user with empty password, we just generate a random one
  2172       when he requests it getting sent by mail. Thanks to Reimar Bauer.
  2173     * The superuser now can switch to another user using UserPreferences -
  2174       nice to help your users when they forgot their password or need other
  2175       help. You need to logout/relogin to use your own userid afterwards.
  2176       This function only works correctly if you use moin_cookie authentication.
  2177       Thanks to Reimar Bauer.
  2178     * Add new markup for bulletless lists: just use a "." instead of "*".
  2179 
  2180   Other changes:
  2181     * Added "voyager" to bot useragent list.
  2182     * Added locking for caching subsystem.
  2183     * Deron Meranda's formatter API cleanup.
  2184     * Added div and span to formatter API.
  2185     * Removed old unfinished form and export code.
  2186     * updated i18n
  2187 
  2188   Fixes:
  2189    * Fixed table attribute parsing.
  2190    * Fixed cookie handling wrt properties adherance.
  2191    * The new "." list markup makes it possible to have a bulletless list with
  2192      elements on the same level. Before this change and only using indentation
  2193      with blanks, that would get merged into a single paragraph.
  2194    * It is possible now to have multiple paragraphs in the same list element,
  2195      just leave an empty line in between the paragraphs.
  2196    * Fixed GAP processing for ordered lists.
  2197    * Fix text_gedit formatter's invalid list nesting.
  2198    * Fixed hr crash in blockquote (but needs more work).
  2199    * Fixed FootNote's formatter usage.
  2200    * Fixed rst's headline levels.
  2201    * Fixed MoinMoinBugs/WikiParserThinksItIsInsidePreWhenItIsNot
  2202    * Fixed MoinMoinBugs/ListItemGeneratedOutsideList
  2203    * Fixed that macros were followed by a wrong <p>.
  2204    * Added <blockquote> to the block elements in the text_html formatter,
  2205      so it does not close it erratically when you close a inner <p>.
  2206    * GUI editor converter now also accept http: urls without // (relative or
  2207      same server urls).
  2208    * Fixed the DocBook parser in cases where the pagename was non-ascii.
  2209    * Fixed MoinMoinBugs/ProcessInlineDontSupportUlElement
  2210 
  2211 
  2212 Version 1.5.1:
  2213 
  2214   Fixes:
  2215     * Fixed rst parser docutils version check
  2216     * Repaired attachment unzipping feature.
  2217     * Fixed the AddRevision command of the PackageInstaller.
  2218     * improved the migration scripts (used to migrate pre-1.3 wikis to 1.3+):
  2219       * do not crash on empty lines in event log
  2220       * fix edit log format for very old moin data (like 0.11)
  2221       * workaround for an ugly win32 operating system bug leading to wiki text
  2222         file mtime not matching edit logs timestamp values if there was some
  2223         timezone change since last edit (e.g. a daylight saving tz switch),
  2224         but differing 3600s.
  2225         This affected pre-1.3 moin wiki servers running on win32 OS only.
  2226         We now try to correct those inconsistencies in mig05 by fuzzy matching.
  2227     * fixed bracketed link scheme icon (css class)
  2228     * we included a modified copy of Python 2.4.2's copy.py as some previous
  2229       python versions seem to have problems (2.3.x, x < 5 and also 2.4[.0]),
  2230       see: http://moinmoin.wikiwikiweb.de/MoinMoinBugs/DeepCopyError
  2231       Our own copy.py was slightly modified to run on 2.3.x and 2.4.x.
  2232     * Fixed the problem of not being able to change the date/time format back
  2233       to "Default" (UserPreferences).
  2234     * We generate the GUI editor footer now the same way as the text editor
  2235       footer.
  2236     * Include a CSS workaround for yet another IE bug, see:
  2237       MoinMoinBugs:InternetExplorerPeekABooBugInRightSideBar
  2238     * classic theme: added GUI editor link
  2239     * classic theme: added pagename header to editor screen
  2240     * the "mail enabled" check now also checks whether mail_from is set
  2241 
  2242   Other changes:
  2243     * Updated FCKeditor to current CVS (2006-01-08 == 2.2+)
  2244     * Split up show_hosts into show_hosts and show_names
  2245     * attachment:file%20with%20spaces.txt in attachment list
  2246     * added support for file:// in GUI editor link dialogue, see also:
  2247       MoinMoin:FileLinks
  2248     * cfg.mail_smarthost now supports "server:port" syntax, the default port
  2249       is 25, of course.
  2250     * removed unused kwargs showpage/editable/form from wikiutil.send_footer
  2251     * updated i18n (translation texts, additional languages)
  2252     * removed interwiki:pagename from print view's top of page, added it to
  2253       the "lasted edited" line at bottom right.
  2254 
  2255 
  2256 Version 1.5.0:
  2257   HINT: 1.5.0 uses the same data/pages format as 1.3.x. The only thing you want
  2258         to check is whether the 1.5.x version you are upgrading to has NEW mig
  2259         scripts compared to the version you are running now (e.g. in 1.3.5 we
  2260         added some scripts that fixed some small problems).
  2261         See the MoinMoin/scripts/migration/ directory.
  2262         You must run every mig script in sequence and only ONCE ever.
  2263   Fixes:
  2264     * Fix <x=y> table attributes parsing. Thanks to Reimar Bauer.
  2265     * Fixed a few bugs in the reStructured text parser. Note that you
  2266       need to install docutils 0.3.10 or newer (snapshot from December 2005
  2267       or newer) to make reStructuring parsing work:
  2268      * Case preservation for anonymous links
  2269      * MoinMoin links get the appropriate CSS class
  2270      * Images do not get special CSS markup anymore
  2271      Thanks to Matthew Gilbert.
  2272     * Fixed a bug in the WSGI code which led to incorrect exception handling.
  2273     * Removed all nationality flags. They used to be used for indicating some
  2274       specific language (NOT nationality) and this was simply wrong and a bad
  2275       idea.
  2276     * Fixed some header rendering issues (CSS).
  2277     * SystemAdmin macro now checks against cfg.superuser list.
  2278 
  2279   Other changes:
  2280     * Added turkish i18n. To be considered as alpha as it got in last minute.
  2281 
  2282 
  2283 Version 1.5.0rc1:
  2284   This is the first release candidate of MoinMoin 1.5.0.
  2285   
  2286   Fixes:
  2287     * fixed broken logs when a DeletePage (maybe also RenamePage) comment
  2288       contained CR/LF characters (could happen when using copy&paste)
  2289     * fixed GUI editor MoinEditorBackup page containing HTML instead of wiki
  2290       markup
  2291     * fixed invalid HTML in FootNotes
  2292     * fixed HTML source in EditorBackup after canceling GUI editor
  2293     * Footnotes of included pages are not shown at the bottom of the including page.
  2294     * Bug in Dict handling that often breaks first entry
  2295 
  2296 Version 1.5.0beta6:
  2297   Authentication:
  2298     * Added SSO module for PHP based apps. Currently supported: eGroupware 1.2.
  2299       No need to login in two systems anymore - MoinMoin will read the PHP session
  2300       files.
  2301 
  2302   Fixes:
  2303     * Improved rendering of bullet lists and external links in Restructured text.
  2304       Thanks to Matthew Gilbert.
  2305     * Fixed modern theme rendering, including some fixes and workarounds for
  2306       broken MS IE.
  2307     * When checking for email uniqueness, do not compare with disabled user
  2308       profiles.
  2309     * Fix sending of HTTP headers for Despam action.
  2310     * Add some margin left and right of the link icons.
  2311 
  2312   Other changes:
  2313     * Made it easier for auth methods needing a user interface (like ldap or
  2314       mysql stuff). Unlike http auth, they usually need some "login form".
  2315       We made UserPreferences login form values (name, password, login, logout)
  2316       available as kw args of the auth method, so it is easy and obvious now.
  2317     * Make login and logout show at the same place. Is only shown when
  2318       show_login is True (default).
  2319     * Disabled login using &uid=12345.67.8910 method. Please use name/password.
  2320     * Made builtin moin_cookie authentication more modular: the cookie is now
  2321       touched by MoinMoin.auth.moin_cookie only, with one minor discomfort:
  2322       When creating a user, you are not automatically logged in any more.
  2323     * We now use the packager for additional help and system pages in all other
  2324       languages except English. The packages are attached to SystemPagesSetup
  2325       page and can be installed from there after getting "superuser" powers.
  2326       The "extra" package contains a collection of orphan pages not listed on
  2327       some SystemPagesIn<Language>Group page.
  2328 
  2329 
  2330 Version 1.5.0beta5:
  2331   Fixes:
  2332     * Fixed a minor user interface bug: it showed RenamePage and DeletePage
  2333       actions in the menu if you only had write rights and then complained
  2334       when you really tried when you had no delete rights additionally.
  2335     * We don't remove RenamePage and DeletePage from menu any more if user is
  2336       unknown. This stuff is only driven by ACLs now.
  2337     * Some fixes to Despam action.
  2338     * Fixed moin_dump (broken by some recent theme init change).
  2339     * Fixed a few tests by moving the theme init from moin_dump to RequestCLI.
  2340     * removed old_onload reference from infobox.js
  2341     * Fixed MoinMoin logo for IE.
  2342     * search: fixed whitespace handling in linkto: search terms
  2343     * Increased stability of the tests system by outputting results to sys.stdout
  2344       instead of request. Note that this changes the semantics for e.g. mod_py or
  2345       mod_fcgi.
  2346     * Fixed packaging system in the case of AddRevision that does not alter the page.
  2347     * Fixed a few bugs in the XML formatters (dom_xml, text_xml, xml_docbook).
  2348     * Fixed link icons. We now just use a.xxx.before where xxx is the link scheme,
  2349       e.g. a.http.before. See theme's common.css.
  2350     * Hopefully fixed some issue with non-ASCII attachment filenames.
  2351     * Workaround for Opera 8.5 making silly "No addition" categories.
  2352     * Do not show GUI editor for non-wiki format pages, because we only have a
  2353       converter from html to wiki right now.
  2354     * Fix the modern CSS issues for editbar, when it shifted content far right.
  2355       Also removed the absolute height value that never was right.
  2356     * Fix mod_python adaptor bugs failing to handle Location correctly.
  2357       See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339543
  2358 
  2359   Other changes:
  2360     * Added irc:// to the builtin supported link schemas. You can remove it
  2361       from config.url_schemas in case you have patched it in there.
  2362     * Added cfg.user_autocreate (default: False). Use True to enable user
  2363       profile autocreation, e.g. when you use http authentication, so your
  2364       externally authenticated users don't need to create their moin profile
  2365       manually. The auth method (see cfg.auth list) must check this setting
  2366       if it supports auto creation.
  2367     * Added user_autocreate support for auth.http and auth.sslclientcert.
  2368     * Added "." and "@" to allowed characters in usernames. This is needed
  2369       e.g. when using mod_pubcookie for authentication. mod_pubcookie returns
  2370       userids like "geek@ANDREW.CMU.EDU" (e.g. the Kerberos domain is part of
  2371       the id). Thanks to Brian E. Gallew for his patch, which we used for
  2372       inspiration for user autocreation changes.
  2373     * Changed auth method to return a tuple (user_obj, continue_flag), see
  2374       comments in auth.py.
  2375     * auth methods now create user objects with kw args auth_method and
  2376       auth_attribs, so that moin knows later how the user was authenticated
  2377       and which user object attributes were determined by the auth method.
  2378     * Added MoinMoin/scripts/import/IrcLogImporter.py to import supybot's
  2379       IRC logs into a moin wiki. We use MonthCalendar compatible page names,
  2380       so you can use the calendar for showing / navigating the logs.
  2381     * Removed packager binary from FCKeditor (fixing a Debian policy problem).
  2382     * Worked around .png transparency bugs of IE with the new logo. We ship
  2383       two logos: moinmoin.png without an alpha channel (IE compatible) and
  2384       moinmoin_alpha.png which has an alpha channel and looks better on
  2385       browsers with full .png support.
  2386     * Allow a .zip file to have a directory in it if it is the only one.
  2387 
  2388 Version 1.5.0beta4:
  2389   Fixes:
  2390     * use <span class="anchor"> instead of <a> for line-xxx anchors, this
  2391       fixes some rendering problems on IE
  2392     * Fixed the ReStructured text parser when it was used with non-HTML
  2393       formatters. Increased compatiblity with new docutils code.
  2394       (Thanks to Matt Gilbert.)
  2395   Other changes:
  2396     * cfg.stylesheets = [] (default). You can use this on wiki or farm level
  2397       to emit stylesheets after the theme css and before the user prefs css.
  2398       The list entries must be ('screen', '/where/ever/is/my.css') style.
  2399     * Added sample code for auth using an external cookie made by some other
  2400       program. See contrib/auth_externalcookie/*. You need to edit it to
  2401       fit whatever cookie you want to use.
  2402 
  2403 Version 1.5.0beta3:
  2404   Fixes:
  2405     * fixed editor preview throwing away page content for new pages
  2406     * require POST for userform save and create* action
  2407     * use request.normalizePagename() while collecting pagelinks
  2408     * do not offer gui editor for safari
  2409   Other changes:
  2410     * tell user if account is disabled
  2411     * added support for linking to .ico and .bmp
  2412     * attachment methods for the text_xml and xml_docbook formatters
  2413     * new favicon
  2414     * updated i18n (fixed nl, did nobody notice this?) and underlay
  2415     * changed show_interwiki default to 0
  2416 
  2417 Version 1.5.0beta2:
  2418   Fixes:
  2419     * fix wrong _ in title links (MoinMoinBugs/AddSpaceWikiNameAtHead)
  2420     * fix gui editor (converter) crash on save
  2421     * MoinMoinBugs/PageHitsFails
  2422     * MoinMoinBugs/PackagePagesFailsBecauseAllowedActionsMissing
  2423     * Avoid destroying existing page content if editor is called with
  2424       template parameter for an existing page.
  2425     * fix countdown javascript for browser status line in editor
  2426     * added page title display for editor
  2427     * added header div for classic theme
  2428 
  2429   Authentication and related:
  2430     * Added a WhoAmI.py wiki xmlrpc plugin to check whether auth works
  2431       correctly for xmlrpc. There is a counterpart script WhoAmI.py that
  2432       uses http auth when calling the xmlrpc plugin, so you can use it to
  2433       check http auth.
  2434 
  2435 Version 1.5.0beta1:
  2436     * Requirements changed to require Python >= 2.3. We recommend that
  2437       you use the latest Python release you can get. The reason we
  2438       dropped 2.2.2 support is because no developer or tester uses this
  2439       old version any more, so incompatibilities crept in the code
  2440       without anybody noticing. Using some recent Python usually is no
  2441       real problem, see there for some hints in case you still run an
  2442       old python: http://moinmoin.wikiwikiweb.de/NewPythonOnOldLinux
  2443       The hint also does apply to other POSIX style operating systems,
  2444       not only Linux.
  2445     * We recommend you use MoinMoin/scripts/cachecleaner.py to clean the
  2446       wiki's cache (see comments at top of the script).
  2447       The cache will automatically be rebuilt (some operations may take
  2448       some time when first being used, e.g. linkto: search, so be patient!).
  2449 
  2450   Config Changes:
  2451      * there is a file CHANGES.config with just the recently changed stuff
  2452        from multiconfig.py
  2453      * new defaults:
  2454        * page_front_page old: u"FrontPage" new: u"HelpOnLanguages"
  2455          please just read the help page in case you see it :)
  2456        * bang_meta old: 0 new: 1
  2457        * show_section_numbers old: 1 new: 0
  2458        * some regexes that used to be [a-z]Uxxxx$ are now [a-z0-9]Uxxxx$
  2459        * navi_bar has no page_front_page as first element any more
  2460      * removed settings and code [new behaviour]:
  2461        * acl_enabled [1]
  2462        * allow_extended_names [1]
  2463        * allow_numeric_entities [1]
  2464        * backtick_meta [1]
  2465        * allow_subpages [1]
  2466      * new settings:
  2467       * cfg.mail_sendmail = "/usr/sbin/sendmail -t -i" can be used if sending
  2468         via SMTP doesn't work on your server. Default is None and that means
  2469         using SMTP.
  2470       * language_default replaces the old default_lang setting (just renamed).
  2471       * language_ignore_browser = True can be used to let moin ignore the
  2472         user's browser settings (e.g. if you run a local-language only wiki
  2473         and your users use misconfigured or buggy browsers often). Default is
  2474         False. Don't forget to set language_default when using this.
  2475  
  2476     * Wiki Editor changes / new WYSIWYG editor
  2477      * fully imported the javascript based LGPLed FCKeditor (many thanks
  2478       to Fred CK for his great work). See http://fckeditor.net/ for details.
  2479      * config for FCKeditor is at wiki/htdocs/applets/moinfckeditor.js
  2480      * added cfg.interwiki_preferred (default = []) to set a list of wikis to
  2481        show at the top of the wiki selection list when inserting an
  2482        interwiki link (just use the same wiki name as in interwiki
  2483        map). If the last list item is None, then the preferred wikis
  2484        will not be followed by the entries of the interwiki map.
  2485     * moved save/preview/... buttons to the top so that they can be
  2486       easily reached
  2487     * reduced edit_rows default to 20 lines
  2488     * Added support for edit by doubleclick in the diff view
  2489 
  2490     * Improved wiki farm support
  2491      * make user files sharable between several wikis in a farm
  2492       * allow/use interwiki subscriptions
  2493       * use interwiki links in page trail
  2494       * save bookmark per wiki name
  2495      * cfg.cookie_domain can be used to set a cookie valid for a complete
  2496        domain (default: None == only for this host). If you use '.domain.tld',
  2497        the cookie will be valid for all hosts *.domain.tld - good for host
  2498        based wiki farms.
  2499      * cfg.cookie_path can be used to set a cookie valid for a wiki farm under
  2500        some base path (default: None == only for this wiki's path). If you use
  2501        '/wikifarm',  the cookie will be valid for all wikis
  2502        server.tld/wikifarm/* - good for path based wiki farms.
  2503      * Interwiki user homepage (if you have MANY users)
  2504        Generated links for usernames are interwiki now, use cfg.user_homewiki
  2505        (default: 'Self') to specify in which wiki the user home pages are
  2506        located. Note: when pointing this to another wiki, the /MoinEditorBackup
  2507        functionality will be disabled.
  2508        @SIG@ also uses interwiki when needed.
  2509 
  2510     * Authentication, ACLs and related
  2511      * Modular authentication: cfg.auth is a list of functions that return a
  2512        valid user or None, use it like this:
  2513            from MoinMoin.auth import http, moin_cookie
  2514            auth = [http, moin_cookie]
  2515      * cfg.auth_http_enabled was removed, please use cfg.auth instead.
  2516      * http auth now supports "Negotiate" scheme, too
  2517      * Added sslclientcert auth method (Apache: untested, Twisted: not
  2518        implemented, IIS: no idea). See MoinMoin/auth.py for details.
  2519        Submit a patch if you have improvements.
  2520      * cfg.superuser is a list of unicode usernames. It is used by some
  2521        critical operations like despam action or PackageInstaller.
  2522      * removed allowed_actions, we now use actions_excluded only and it
  2523        defaults to [], that means, no action is excluded, everything is
  2524        allowed (limited by ACLs). In case of RenamePage and DeletePage,
  2525        this shouldn't be a problem as both can be reverted. In case you
  2526        did not allow attachments, you now have to use:
  2527        actions_excluded = ['AttachFile']
  2528      * special users (All, Known, Trusted) in Groups are now supported
  2529      * MoinMoin.security.autoadmin SecurityPolicy added
  2530        When using this security policy, a user will get admin rights on his
  2531        homepage (where pagename == username) and its sub pages. This is needed
  2532        for the MyPages action, but can also get used for manual ACL changes.
  2533        It can also be used for Project page auto admin functionality, see the
  2534        comments in the script for details.
  2535        Further it can automatically create the user's group pages when the
  2536        user saves his homepage.
  2537      * there is a UpdateGroup xmlrpc call, see MoinMoin/xmlrpc/UpdateGroup.py -
  2538        you can use this to update your *Group pages e.g. when generating them
  2539        from an external group database.
  2540 
  2541     * UserPreferences changes
  2542      * Alias name: is used for display purposes, when "name" is cryptic. It is
  2543        shown e.g. in the title attribute of userid links (displayed when
  2544        moving the mouse over it).
  2545      * "Publish my email (not my wiki homepage) in author info" - use this
  2546        if you don't have a wiki homepage, but if you want to be contactable
  2547        by email. When you edit a page, your email address will be published
  2548        as mailto: link on RecentChanges, at bottom of page (last editor) and
  2549        in page info. If the wiki runs publically on the internet, be careful
  2550        using this or your email address might be collected by spammers.
  2551      * Preferred Editor: whether you want to use the text editor (as in
  2552        previous moin versions), the gui editor (new!) or both (you will get
  2553        2 edit links in that case).
  2554      * a user can add/remove the current page to/from his quicklinks with an
  2555        appropriate action now
  2556      * if cfg.user_email_unique = False, we don't require user's email
  2557        addresses to be unique
  2558      * removed show_fancy_links user preferences setting to simplify code and
  2559        caching. Displaying those icons is now done by CSS styles (see
  2560        common.css). Maybe needs fixing for non-standard themes and RTL langs.
  2561 
  2562     * Markup
  2563      * added strikethrough markup: --(striked through text here)--
  2564      * @ME@ expands to just the plain username (no markup added) on save
  2565     
  2566     * User homepages
  2567      * when a user accesses his own non-existing homepage (pagename ==
  2568        username), the wiki will present the MissingHomePage system page
  2569        content, explaining what a user homepage is good for and offer
  2570        one-click editing it with content loaded from HomepageTemplate
  2571      * creation of homepage subpages is assisted by the MyPages action, which
  2572        offers rw, ro page creation (and a related group) or creation of private
  2573        pages. If you are not in the user_homewiki, you will get redirected
  2574        there first.
  2575 
  2576   Other changes/new features:
  2577     * Added PackageInstaller and unzipping support (see wiki page
  2578       HelpOnActions/AttachFile for further details).  PackageInstaller requires
  2579       the user to be in cfg.superuser list.
  2580      * Added an PackagePages action to simplify the package creation.
  2581     * Added location breadcrumbs - when you are on some subpage, the page
  2582       title parts link to the corresponding parent pages, the last part does
  2583       the usual reverse linking.
  2584     * added WSGI server support, thanks to Anakim Border, see:
  2585       wiki/server/moinwsgi.py (moin as WSGI app, uses the flup WSGI server,
  2586                                see http://www.saddi.com/software/flup/)
  2587       MoinMoin/server/wsgi.py (adaptor code)
  2588     * added a "Despam" action to make de-spamming a wiki easy (mass revert
  2589       bad changes done by a single author or bot). You need to be in
  2590       cfg.superuser to use it.
  2591     * Better diffs with links to anchors to the changed places
  2592     * Enhanced table support in the DocBook formatter.
  2593     * Added 'moin' daemon script, that let you run moin standalone
  2594       server as daemon and control the server with simple command line
  2595       intreface: moin start | stop | restart | kill
  2596     * Add 'restart' option to mointwisted script
  2597     * Add properties option to standalone server config. Allow
  2598       overriding any request property like in other server types.
  2599     * Add support for running behind proxy out of the box with out
  2600       manual url mapping.
  2601       See HelpOnConfiguration/IntegratingWithApache
  2602     * added a WikiBackup action, configure it similar to this:
  2603       data_dir = "/path/to/data"
  2604       backup_include = [data_dir, ] # you can add other dirs here
  2605       backup_users = ["BackupUserName", ] # only TRUSTED users!
  2606       You usually don't need to change the default backup_exclude setting.
  2607       The default backup_include list is EMPTY and so will be your
  2608       backup in case you don't configure it correctly.
  2609       If you put your data_dir there, the backup will contain private
  2610       user data like email addresses and encrypted passwords.
  2611     * Added a SubscribeUser action which allows the administrator to subscribe users to the
  2612       current page.
  2613     * Added thread count to SystemInfo macro.
  2614     * Added Petr's newest patch against the DocBook code. It allows you to use macros (esp. the include macro) in DocBook pages in order to build larger documents.
  2615     * Added a RenderAsDocbook action which redirects to the DocBook formatter.
  2616     * Added searching for wiki-local words lists under <data_dir>/dict/.
  2617       They are used additionally to the global lists in MoinMoin/dict/.
  2618     * moin_dump now also dumps attachments referenced from the page.
  2619       It doesn't dump stuff that is just attached, but not referenced!
  2620     * On RecentChanges we now force the comment to be breakable, this improves
  2621       rendering of over-long words or on narrow browser windows - especially
  2622       for themes with limited content width like rightsidebar.
  2623     * We now have the "new" icon on RecentChanges clickable, just links to the
  2624       page.
  2625     * Print view now shows "interwikiname: pagename" (for show_interwiki = 1).
  2626 
  2627   International support:    
  2628     * mail_from can be now a unicode name-address 
  2629       e.g u'Jürgen wiki <noreply@jhwiki.org>'
  2630 
  2631   Theme changes:
  2632     * logo_string is now should be really only the logo (img).
  2633       If you included your wiki's name in logo_string you maybe want to remove
  2634       it now as it is shown as part of the location display now anyway (if
  2635       you set show_interwiki = 1).
  2636     * You maybe want to remove page_front_page from your navi_bar - we link to
  2637       that page now from the logo and (new, if you set show_interwiki = 1) from
  2638       the interwiki name displayed in location display, so you maybe don't need
  2639       it in navi_bar, too.
  2640     * If you have a custom theme, you should / may:
  2641      * sync modern/css/screen.css #pagelocation #pagetrail stuff to your
  2642        screen.css or pagelocation display (title()) will look strange (like a
  2643        list).
  2644      * remove "#title h1 ..." CSS (or any other CSS assuming h1 is a page
  2645        title and not just a first level heading), it is not used any more.
  2646      * we now render = heading = as <h1> (was <h2> before 1.5),
  2647        == heading == as <h2> (was <h3>), etc.
  2648      * maybe move both title() and trail() to header area, like the builtin
  2649        themes do it.
  2650      * there is a new interwiki() base theme method that optionally (if
  2651        show_interwiki = 1) shows the interwiki name of this wiki and links to
  2652        page_front_page. The css for it is #interwiki.
  2653 
  2654   Developer notes:    
  2655     * Plugin API was improved. When plugin module is missing,
  2656       wikiutil.PluginMissingError is raised. When trying to import a
  2657       missing name from a plugin module, wikiutil.PluginMissingError is
  2658       raised. You must update any code that use wikiutil.importPlugin.
  2659       Errors in your plugin should raise now correct tracebacks. See
  2660       http://moinmoin.wikiwikiweb.de/ErrorHandlingInPlugins
  2661     * pysupport.importName was changed, it does not check for any
  2662       errors when trying to import a name from a module. The calling
  2663       code should check for ImportError or AttributeError. Previous
  2664       code used to hide all errors behind None.
  2665     * Its easier now to customize the editbar by overriding
  2666       editbarItems() in your theme, and returning a list of items to
  2667       display in the editbar. To change a single editbar link, override
  2668       one of the xxxLink methods in your theme.
  2669 
  2670   Internal Changes:
  2671     * request.formatter (html) is available for actions now
  2672     * theme API's d['page_home_page'] is gone (sorry) and replaced by
  2673       d['home_page'] which is either None or tuple (wikiname,pagename).
  2674       It is better to use the base classes function for username/prefs anyway.
  2675     * introduced cfg.hacks for internal use by development, see comment in
  2676       multiconfig.py and file HACKS.
  2677     * added IE7 (v0.9) from Dean Edwards (see http://dean.edwards.name/IE7/) -
  2678       that should fix quite some IE bugs and annoyances (on Win32).
  2679       * for enabling IE7, use cfg.hacks = { 'ie7': True }
  2680     * reducewiki now also copies all attachments (we use that to make underlay
  2681       directory from moinmaster wiki's data_dir)
  2682 
  2683   Fixes:  
  2684     * Fixed a typo in xslt.py which led to a traceback instead of an
  2685       error message in case of disabled XSLT support.
  2686     * Fixed crash in twisted server if twisted.internet.ssl is not
  2687       available.
  2688     * Fixed wrong decoding of query string, enable wiki/?page_name urls
  2689       with non ascii page names.
  2690     * Fixed wrong display of non ascii attachments names in
  2691       RecentChanges and page revision history.
  2692     * Fixed a crash when trying to run standalone server on non posix os.
  2693     * Fixed highlight of misspelled words in Check Spelling action.
  2694     * Fixed case insensitivity problems on darwin (Mac OS X). See
  2695       MoinMoinBugs/MacHfsPlusCaseInsensitive
  2696     * Added RecentChanges (only the english one) to the pages getting
  2697       html_head_index headers
  2698     * text_html cache files written with this code will invalidate themselves
  2699       if they detect to be older than the wikiconfig. Note: you should remove
  2700       all old text_html cache files once after upgrading, they will then be
  2701       rebuilt automatically with the new code.
  2702     * Fixed MoinMoinBugs/12_to_13_mig10_Walk
  2703     * Fixed the word_rule: a word like AAAbbAbb isn't teared into two parts
  2704       any more (was: AA<link>AbbAbb</link>)
  2705     * Fixed false positive InterWiki markup for languages like Finnish.
  2706       InterWiki links are only rendered if the left side has an appropriate
  2707       entry in the interwiki map, otherwise it is rendered as simple text.
  2708     * Fixed unicode error when uploding non-ascii file name using mod
  2709       python.
  2710     * Fixed error handling of wikirpc requests, should give more
  2711       correct errors and prevent no error output and blocking the
  2712       client in some cases.
  2713     * Fixed the "lost password" mail processing. If a user entered some email
  2714       address unknown to the system, he was not notified of this, but just got
  2715       a useless mail with no account data in it. Now the system directly tells
  2716       the user that he entered an unknown email address.
  2717     * Fixed SystemInfo, it now also lists parsers in data/plugin/parser dir.
  2718     * Fix error handling on failure, improved error display
  2719     * Fix error handling when importing plugins or importing modules
  2720       dynamically. The fix is not backward compatible with older plugins.
  2721     * Fix chart action, returns a page with error message when chart
  2722       can not be created.
  2723     * Fixed formatter usage in the ShowSmileys macro.
  2724     * Fixed updating pagelinks cache for [:page:text] or [wiki:Self:page text],
  2725       fixes display of LocalSiteMap and rendering of such links.
  2726     * Hopefully fixed urllib problems (esp. with py 2.4.2, but also before) by
  2727       using our own urllib wrapper that handles encoding/decoding to/from
  2728       unicode, see wikiutil.py. Also made a similar fix for making and parsing
  2729       query strings.
  2730     * Fixed MonthCalendar tooltips when containing special chars like quotes.
  2731     * Added html escaping for diff text for RSS feed with diff=1.
  2732     * The distance between page content beginning and the first = heading =
  2733       was much too much. Fixed.
  2734     
  2735 Version 1.4:
  2736 
  2737     We used that version number for an internal and early development version
  2738     for what will be called moin 2.0 at some time in the future.
  2739     There will never be a 1.4.x release.
  2740 
  2741 
  2742 Version 1.3.5 (2005-08-04, Revision moin--main--1.3--patch-883)
  2743 
  2744 Fixes:
  2745     * small CSS fix for rightsidebar theme
  2746     * applied some Debian patches (thanks to Jonas!):
  2747       * de i18n spelling fixes
  2748       * AttachFile fix, we strip CR in .draw files now
  2749       * when loading spellcheck dictionaries, we want utf-8, but we make
  2750         a 2nd try with iso-8859-1 encoding.
  2751 
  2752 New Features:
  2753 
  2754     * enabled using https with the Twisted server:
  2755       You need to use port 443, have PyOpenSSL (+ ssl libs it depends on)
  2756       installed and have some site key and certificate PEM files configured in
  2757       your twistedmoin.py file:
  2758       sslcert = ('/whereever/cert/sitekey.pem', '/whereever/cert/sitecert.pem')
  2759 
  2760 
  2761 Version 1.3.5rc1 (2005-07-31, Revision moin--main--1.3--patch-865)
  2762 
  2763 Fixes:
  2764 
  2765     * Fixed security bug when acl of deleted page was ignored. See:
  2766       http://moinmoin.wikiwikiweb.de/MoinMoinBugs/ACLIgnoredAfterDelete
  2767     * AttachFile did not display the original filename plus there
  2768       was a confusion in input field labelling ('Rename to').
  2769     * Fixed shortcut link non-existent page detection.
  2770     * Fixed non-working bookmark function on python 2.2.x.
  2771     * Fixed wikirpc getPageInfo call on python 2.2.x.
  2772     * Fixed the failing import of plugins from the data/plugin/
  2773       directories if run in zipimport environments.
  2774     * Fixed traceback which occurred on negated searches.
  2775     * Fixed crash when trying to render error message on twisted, fast
  2776       cgi and modpy.
  2777     * Fixed error message with modpy, used to show wrong errors below
  2778       the real message.
  2779     * Fixed search and goto text fields for better compatibility with
  2780       dark themes and better control through css.
  2781     * Show an edit link if MissingPage is missing and a warning in the
  2782       server log.
  2783     * Fixed missing footer in the editor.
  2784     * Fixed indented (invalid) headings with broken links in table of
  2785       contents.
  2786     * Fixed crash when file name is too long, show standard error message.
  2787     * Save trail file in a safe way, should be enough for normal use.
  2788     * Fixed remember_last_visit user preferences option when show_trail
  2789       is not selected.
  2790     * Fixed the tests for Standalone, Twisted, FastCGI and Mod_Python.
  2791       Run with ?action=test from any page.
  2792     * Fixed rare bug when wrong search type was performed when pasting
  2793       search term in Safari.
  2794     * Fixed crash for custom formatters and dom_xml (which occurred if
  2795       smileys were in the page).
  2796     * Editor opens on double click in pages with single quote in the
  2797       name, like "Ben's Wiki".
  2798     * '/.' in page names are not replaced any more by '/(2e)'
  2799     * Fixed the long delays while saving pages using RequestCLI.
  2800     * Fixed variable expanding for users with non WikiName.
  2801     * Fixed MonthCalendar's calculation of "today" to use the user's
  2802       time zone setting.
  2803     * Fixed moin_dump script, use same configuration options as other
  2804       scripts.
  2805     * Fixed url_mappings to work in proxied setups and sent mails
  2806       again. Also fixed for image links. Thanks to JohannesBerg.
  2807     * Fixed page shown after saving a drawing (esp. when saved from a
  2808       sub page). Fixed help link for drawings.
  2809     * Fixed mig10 script to run on Python < 2.3.
  2810     * The twisted server defaulted to a socket timeout of 12 hours!
  2811       We reduced that to a more sane 10 minutes, that should still be more
  2812       than enough. This fixed the "too many open files" problem we
  2813       encountered quite often recently. Thanks to Helmut Grohne!
  2814 
  2815 Other Changes:
  2816 
  2817     * Added {hu} flag.
  2818     * Added cz, pt and pt-br i18n.
  2819     * We send a 404 http status code for nonexisting wiki pages now,
  2820       maybe this will repell some search engines from requesting gone
  2821       pages again and again. The wiki user still sees the MissingPage
  2822       wiki stuff, so a user usually won't notice this change.
  2823     * Return 500 error code on failure and exceptions.
  2824     * Added some more bot / leech tool user agent strings.
  2825     * Prevent page floating elements from floating out of the page over
  2826       the footer, in modern, rightsidebar and classic themes.
  2827     * Encode URLs in a safer way
  2828     * We allow usernames with ' character in them now (like Tim O'Brian).
  2829     * Added support for the new security flags in docutils 0.3.9.
  2830     * @MAILTO@ expands now to safer [[MailTo()]] macro.
  2831     * Clarified and i18ned lost password mails.
  2832     * Added 'TitleIndex' and 'SiteNavigation' (+ translation) to the
  2833       list of pages that use html_head_index (so that robots
  2834       "index,follow").  Please make sure to have either FindPage,
  2835       TitleIndex or SiteNavigation in your navi_bar or in your
  2836       page_front_page content if you want search engines to find all
  2837       your pages.
  2838     * Make it possible to send account data when being logged in (for
  2839       future reference or whatever purpose).
  2840     * Speed up when running with persistent servers, the wiki config
  2841       does only get loaded once and misc. stuff is being cached between
  2842       requests now.
  2843     * The unit tests are disabled when using multi threading, because
  2844       the wiki configuration is shared between diffrent threads.
  2845     * The main code path (using standalone server) of MoinMoin runs on
  2846       PyPy now.
  2847     * Formatters do automatically transform HTML to plain text if they are
  2848       called with raw HTML code.
  2849     * Using larger socket backlog on Standalone and FastCGI servers
  2850       should be more reliable on high load.
  2851     * We now strip leading path from attachments uploaded by IE (this is
  2852       a bug in IE, not in MoinMoin). Better use a sane browser, like Firefox.
  2853     * added "teleport" to the user agent blacklist
  2854 
  2855 New Features:
  2856 
  2857     * Integrated Lupy indexer for better search performance. It is disabled
  2858       by default as of 1.3.5 as it still has known issues.
  2859       See multiconfig.py if you want to test it.
  2860     * Integrated MonthCalendar 2.1, with some new features:
  2861       * a mouseover bubble that shows first level headlines of the linked
  2862         day page
  2863       * all calendars with same pagename move when using cal navigation,
  2864         thanks to Oliver Graf
  2865       * included AnnualMonthlyCalendar patch of Jonathan Dietrich
  2866         (use [[MonthCalendar(Yearly,,,+1,,6,1)]] syntax for birthdays and
  2867         other annually repeating stuff)
  2868       Make sure you remove old MonthCalendar.* from data/plugin/macro so that
  2869       moin will use the new code in MoinMoin/macro/MonthCalendar.py.
  2870       Maybe also clear the text_html cache.
  2871     * Added the new XSLT parser and the DocBook parser. This should increase
  2872       the 4suite compatiblity. See HelpOnXmlPages for details.
  2873       It now should run on 4suite 1.0a4 and 1.0b1. Thanks to Henry Ho!
  2874     * Added the DocBook formatter. This will let you generate DocBook markup
  2875       by writing simple wiki pages. It needs PyXML.
  2876     * It is now possible to customize parts of the UserPreferences page in
  2877       your wikiconfig (changing defaults, disabling fields, removing fields):
  2878       * Use user_checkbox_* for the checkboxes.
  2879       * Use user_form_* for other fields.
  2880       * See MoinMoin/multiconfig.py for the built-in defaults.
  2881     * New standalone server classes: ThreadPoolServer using pool of
  2882       threads, ThreadingServer with thread limit and ForkingServer.
  2883     * New standalone server configuration options: serverClass,
  2884       threadLimit, requestQueueSize.
  2885     * Use "PythonOption Location" in mod_python setup to solve script_name
  2886       problems.
  2887 
  2888 Developer notes:
  2889     
  2890     * Theme can now override maxPagenameLength() method to control page
  2891       name shortening.
  2892     * A search Match now provides access to the full re match via
  2893       the re_match attribute (use to access groups of the match)
  2894     * Underlay is not managed by arch any more. The tree contains an
  2895       underlay tarball, and you should untar after you update from main.
  2896     * "make update-underlay" will untar underlay
  2897     * "make merge" will star-merge main into your tree
  2898     * "make test" will now create and run in a fresh testwiki instace
  2899     * "make clean" options added
  2900     * _tests module does not have a global request any more. To refer to
  2901       the current request in a test, use self.request.
  2902     * _tests.TestConfig class require a request in the constructor.
  2903     * "python tests/runtests.py test_module" will run only test_module
  2904     * request.cfg stays between requests (for persistent servers).
  2905 
  2906 
  2907 Version 1.3.4 (2005-03-13, Revision moin--main--1.3--patch-666)
  2908 
  2909 Fixes:
  2910 
  2911     * Fixed ACL check in LikePages macro that caused links to unreadable 
  2912       pages to show.
  2913     * Fixed ACL check in newpage action.
  2914     * Fixed a security problem when admin policy defined in a custom
  2915       SecurityPolicy class was ignored.
  2916     * Fixed ACL check in action=show so that a user who may not read a page
  2917       also can't find out WHEN the protected page was updated.
  2918     * Workaround on Windows 95, 98, ME in order to clear the dircache.
  2919       This fixes some bugs related to an outdated page list and newly created
  2920       pages that did not appear immediately.
  2921     * Fixed decoding issues of page names on Windows, finally.
  2922       http://moinmoin.wikiwikiweb.de/MoinMoinBugs/BrokenUmlautsInLinksIn131
  2923     * Fixed traceback on IIS.
  2924       http://moinmoin.wikiwikiweb.de/MoinMoinBugs/request%2epy_broken_on_IIS
  2925     * Fixed wikirpc for standalone server.
  2926     * Other fixes (encoding and str/unicode data type related) to wikirpc
  2927       server, fixing some non-ascii issues hopefully.
  2928     * Fixed broken query strings for Standalone installations.
  2929     * Fixed backlinks - the result did not always show all links, often it 
  2930       showed too many irrelevant matches (MoinMoinBugs/BacklinksAreBroken).
  2931     * Fixed the acceptance of the show_hosts setting. Now you should be able
  2932       to hide any IP or host name from being published by MoinMoin by enabling
  2933       this option.
  2934     * Fixed wrong line endings on email messages.
  2935     * Fixed MoinMoinBugs/StandaloneUnquotesTooMuch.
  2936     * Fixed crash when trail file is missing.
  2937     * Fixed a traceback when searching for single ( or ).
  2938     * Added mig10 script to fix crashes with uncoverted edit-locks and file
  2939       attachments. Just use it as you did with mig1..mig9 before.
  2940     * Added mig11 script to add __init__.py files to data/plugin (and below).
  2941     * added some fixes for the xslt parser (thanks to fanbanlo), it might be
  2942       still broken, but someone with deeper knowledge about xslt should fix it.
  2943     * Replaced image link with W3C's "html 4.01 compliance" icon by a simple
  2944       text link to avoid https: or config trouble.
  2945     * Catch OverflowError backtrace when illegal date strings (e.g. <1970 or
  2946       >2038) are fed to moinmoin's time routines. It will just output current
  2947       date / time in those cases.
  2948     * UserPreferences now also set a date_fmt preference and Date macro
  2949       honours it. You may have to reset your UserPreferences value for that.
  2950     * Fixed free parent and subpage links in interwiki notation.
  2951       http://moinmoin.wikiwikiweb.de/MoinMoinBugs/FreeParentLinksAreBroken
  2952     * Fixed a traceback for invalid ReST markup.
  2953     * Fixed UnicodeError in SystemAdmin's Attachment Browser.
  2954 
  2955 Other Changes:
  2956 
  2957     * Optimized the IRC parser.
  2958     * Support for zipimport of the MoinMoin package. This allows you to use
  2959       py2exe and similar programs.
  2960     * Show the editor's name in the mail subject.
  2961     * Added the pragmas description and keywords. They will add <meta> headers
  2962       if used.
  2963     * Added MoinMoin/scripts/xmlrpc-tools/putPageTest.py example script, useful
  2964       as a starting point for importing data using wiki xmlrpc.
  2965     * Optimised display on Opera browser.
  2966 
  2967 New features:
  2968 
  2969     * The search modifier "linkto:" was introduced. You can use it to search
  2970       for links.
  2971     * The NewPage macro now can take a PageTemplate parameter, see HelpOnMacros.
  2972     * New config settings (so you don't need to edit wikirpc.py any more):
  2973       xmlrpc_putpage_enabled = 0 (if 1, enables writing to arbitrary page names)
  2974       xmlrpc_putpage_trusted_only = 1 (if 0, doesn't require users to be
  2975        authenticated by http auth - DANGEROUS, DO NOT SET TO 0!!!)
  2976     * Added support for Digest and NTLM authentication with CGI (e.g. if you
  2977       use those Apache modules)
  2978     * The datetime string accepted by Date and DateTime macros was extended to
  2979       accept a timezone specification, so now +/-HHMM is also valid, e.g.:
  2980       2005-03-06T15:15:57Z (UTC, same as +0000)
  2981       2005-03-06T15:15:57+0000 (UTC)
  2982       2005-03-06T16:15:57+0100 (same time given as local time for time zone
  2983                                 with offset +0100, that is CET, e.g. Germany)
  2984       2005-03-06T10:15:57-0500 (same time given as local time for time zone
  2985                                 with offset -0500, EST, US Eastern Std. Time)
  2986       The values given as macro argument will be transformed to UTC internally
  2987       and then adapted again according to viewing user's UserPreferences, so
  2988       the user will see the same moment in time but shown in his local time
  2989       zone's time (at least if he set his UserPreferences correctly and didn't
  2990       forget changing them twice a year for DST and non-DST).
  2991     * Readded (now optional) editlink footer to Include macro. Add
  2992       ',editlink' to call to enable this.
  2993     * star "smileys" e.g. {*}{*}{*}{o}{o}
  2994 
  2995 
  2996 Version 1.3.3 (2005-01-24, Revision moin--main--1.3--patch-595)
  2997 
  2998 Fixes:
  2999 
  3000     * fixed ACL security problem in search
  3001     * fix for IIS with CGI allowing page names that contain chars
  3002       that are not in the system code page
  3003     * fixed MoinEditorBackup revisions to start with 1 now
  3004     * improved page locking ('current' file)
  3005     * Unittests (normally shown at end of action=test output) are currently
  3006       disabled for everything except CGI, because they only work reliably with
  3007       CGI, giving wrong results for other request methods.
  3008 
  3009 
  3010 Version 1.3.2 (2005-01-23, Revision moin--main--1.3--patch-587)
  3011 
  3012 Fixes:
  3013 
  3014     * ACL bugfix for deleted pages with ACL protection.
  3015     * ACL bugfix for "Default" acl.
  3016     * Fixed updating of groups and dicts
  3017     * Python 2.2.x related fixes (worked on 2.3+)
  3018       * Fixed traceback in RecentChanges.
  3019       * Fixed traceback with links browser.
  3020     * Fixed 0 revision display in 'Show changes'.
  3021     * Fixed traceback in Antispam which occurred when it could not connect
  3022       to MoinMaster. Log the errors to stderr or error.log.
  3023     * Fixed bug in Page init (no date, use rev). Fixes problem with
  3024       #deprecated PI.
  3025     * Fixed empty lists in empty search results.
  3026     * Cosmetic fix for modern theme (when viewed with Internet Explorer).
  3027     * Fixed migration 9 script, do not drop newline, do not drop error.log, 
  3028       note about missing error.log.
  3029     * Fixed repair_language.py script, keep ending newline on revisions.
  3030     * Show headings and macro content in correct direction when mixing content 
  3031       in several directions in the same page and using caching.
  3032     * Fixed bug in standalone re farmconfig.
  3033     * Fixed DOS condition in antispam code.
  3034     * Use smaller margin in print mode to get better results with 
  3035       Mozilla/Firefox.
  3036     * Fixed some user input escaping issues.
  3037     * Fixed a problem when one wiki plugin override other wikis plugins in 
  3038       same farm.
  3039     * Fixed some broken tests.
  3040     * Fixed recursive include in pstats.
  3041     * Fixed bug in standalone - HTTP result code was 200 even when the access
  3042       was forbidden.
  3043     * Fixed traceback when trying to login with non-ascii password.
  3044     * Fixed traceback when xml is not available, reported on Python 2.2.?
  3045     * Fixed slideshow to show slides in sorted order again.
  3046     * Fixed serving multiple wikis on same IP/different ports with twisted and
  3047       farmconfig.
  3048     * It is possible to run with data_underlay_dir = None for special
  3049       application, but be aware that the wiki won't be usable unless you have
  3050       at least some of the system pages from underlay/ available.
  3051     * Files with Unicode characters in their filename are possible now.
  3052     * Bugfix for broken [:page#anchor:text] links.
  3053     * Workaround an instability of the gdchart module leading to
  3054       stalled servers etc.
  3055     * Fixed some event-log decoding issues that affect charts rendering.
  3056 
  3057 Other changes:
  3058 
  3059     * Major speed improvement over 1.3.1. Many times faster title search,
  3060       creating new page, opening page editor and any operation that list pages.
  3061       See http://moinmoin.wikiwikiweb.de/MoinBenchmarks
  3062     * Improved README.migration.
  3063     * Cleaner design for login/register interface, login is always the default
  3064       button when the user click Enter.
  3065     * If there are problems found in the configuration, log the error
  3066       and display helpful error messages in the browser.
  3067     * More forgiving unicode configuration policy, you must use the u'string' 
  3068       format only for unicode values.
  3069     * Added profiling to CGI.
  3070     * The content of farmconfig.py is similar to wikiconfig.py now.
  3071     * Unexpected errors while loading cache files are logged.
  3072     * i18n for icon ALT tags.
  3073     * Include request initialization code in the profile in standalone server.
  3074     * When creating new theme, style sheets are inherited correctly, no need
  3075       to override style sheets just to get them working.
  3076     * Many times faster plugin system. Typical pages are about 35% faster, 
  3077       pages with many plugins can be many times faster. 
  3078     * Spiders are allowed to fetch attachments.
  3079     * Old user files containing password hash encoded in pre 1.3 charset
  3080       are auto repaired on first login.
  3081     * data_dir defaults to './data', underlay_data_dir to './underlay' now.
  3082       It is a good idea to replace those by absolute pathes in wikiconfig.py.
  3083     * Renamed "Refresh" to "Delete Cache" - it was misused by users. The action 
  3084       was also moved into the action menu in the modern and rightsidebar themes.
  3085     * Added a workaround for TableOfContents missing some links by making it
  3086       uncacheable via a "time" dependency.
  3087     * Removed interwiki icon and title attribute for wiki:Self:... links.
  3088     * Unittests (normally shown at end of action=test output) are currently
  3089       disabled because they worked unreliably, giving wrong results sometimes.
  3090 
  3091 New features:
  3092 
  3093     * Create new pages easily using configurable interface and page templates 
  3094       with the new NewPage macro.
  3095     * ReStructuredText (rst) support is built-in now. See HelpOnParsers.
  3096     * New experimental feature in mointwisted.py - each interface may 
  3097       specify a port: '12.34.56.78:80'. Without a port, the port option
  3098       is used.
  3099 
  3100 API changes:
  3101 
  3102     * For a complete list of changes, see MoinMoin:ApiChanges.
  3103     * wikiutil.importPlugin's first argument is now a wiki config instance 
  3104       (request.cfg) and there is no path keyword.
  3105     * Wiki plugins always override MoinMoin plugins. wikiutil.importPlugin
  3106       implements this override.
  3107     * util.pysupport.importName does not accept path - you should call 
  3108       it with correct module name, e.g 'wikiconfig.plugin.parser.wiki' for 
  3109       wiki plugins, or 'MoinMoin.parser.wiki'. 
  3110     * wikiutil.extensionPlugin was renamed to wikiPlugins and it gets config 
  3111       instance instead of path.
  3112     * New function wikiutil.importWikiPlugin used to import wiki plugins 
  3113       using a cache in a thread safe way.
  3114     * New config option config.use_threads is used to activate thread 
  3115       safe code.
  3116     * New keyword arguments for getPageList, enable 10X faster operation
  3117       for common cases by controlling page filtering.
  3118     * New up to 100X times faster getPageCount
  3119 
  3120 
  3121 Version 1.3.1 (2004-12-13, Revision moin--main--1.3--patch-434)
  3122 
  3123 Fixes:
  3124 
  3125     * Fixed "Error Cyclic usage" crash when user had Italian (it), Korean
  3126       (ko), Serbian (sr) or Vietnamese (vi) as user interface language.
  3127     * Fall back to en (instead of crashing) when user uses a language moin
  3128       does not support / does not support any more (like pt,sv,fi,sr).
  3129     * In 1.3.0, people accidentally put iso-8859-1 chars into wiki configs,
  3130       but those where expected to be pure utf-8 and thus it crashed.
  3131       Fixed by using unicode strings (varname = u'whatever'), a matching
  3132       encoding setting (see top of script comment) and, when decoding strings,
  3133       using decode to ASCII with replace mode (this replaces non-ASCII chars,
  3134       but at least it won't crash - and you get a warning to better use
  3135       Unicode strings).
  3136     * Fixed long time broken table formatting. ||<style="see css spec" a||b||
  3137       Now even generates valid HTML! The old markup for align, valign, width,
  3138       bgcolor still works, but synthesizes style attribute data.
  3139     * SystemAdmin macro shows attachments of ALL pages now.
  3140     * Users without write acl rights will be able to see attachments again and
  3141       also have AttachFile action in menu.
  3142     * Fixed wrong match count in search results, find all matches in page 
  3143       titles, show all matches in contents in some rare cases.
  3144     * Run about 200% faster with long running processes (standalone, Twisted), 
  3145       about 20% faster with cgi, by better internal data handling in wikidicts.
  3146     * On SF, the dict files use utf-8 encoding now. We included them also in
  3147       distribution, see contrib/dict/.
  3148     * Fixed permissions to shared template stuff.
  3149     * Speeded up search, fixed wrong match counts.
  3150     * Speeded up internal data handling (wikidicts).
  3151     * Fixed rare unicode error after deleting a page (reported only on SuSE
  3152       Linux 9.0 / Python 2.3.0).
  3153     * Fixed file permissions of files in the data dir.  
  3154     * Fixed some cosmetic problems in migration scripts and use sys.path.insert
  3155       to get latest moin code when executing them.
  3156 
  3157 Other Changes:
  3158 
  3159     * Improved docs, system and help pages.
  3160     * Updated translation files.
  3161 
  3162 Known Bugs:
  3163 
  3164     * Internet Explorer renders our HTML/CSS in a suboptimal way.
  3165       (MoinMoin: href="http://moinmo.in/MoinMoinBugs/InternetExplorer)">MoinMoinBugs/InternetExplorer)
  3166       Workaround: use a non-broken browser like FireFox / Mozilla.
  3167       Fixed in MoinMoin 1.3.2.
  3168     * Passwords using non-ascii do not work.
  3169       (MoinMoin: href="http://moinmo.in/MoinMoinBugs/NonAsciiPasswordsBroken)">MoinMoinBugs/NonAsciiPasswordsBroken)
  3170     * The TOC macro is broken partly.
  3171       (MoinMoinBugs/TableOfContentsBrokenForIncludedPages,
  3172        MoinMoinBugs/TableOfContentsLacksLinks)
  3173     * See also: http://moinmoin.wikiwikiweb.de/MoinMoinBugs
  3174       
  3175 
  3176 Version 1.3.0 (2004-12-06, Revision moin--main--1.3--patch-400)
  3177 
  3178     As you see from the length of the 1.3 changes below, 1.3 is a major(!)
  3179     upgrade. We could have also named it "2.0", but we decided against.
  3180     So take the time for reading the informations thoroughly and do the
  3181     migration exactly as we tell you - this is no 5 minutes upgrade!
  3182 
  3183     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  3184     !!! We heavily changed configuration, data encoding, dir layout:    !!!
  3185     !!!  * the default encoding changed to utf-8.                       !!!
  3186     !!!  * also, we changed the escaping for special chars to %XX%YY in !!!
  3187     !!!    URL and (xxyy) in file system.                               !!!
  3188     !!!  * layout of data dir changed completely                        !!!
  3189     !!! If you upgrade an existing wiki, you must run the migration     !!!
  3190     !!! scripts or you will get data corruption or other problems.      !!!
  3191     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  3192 
  3193     HINT: Upgrading your wiki - critical information
  3194 
  3195       If you are NOT starting from scratch, you MUST convert your existing
  3196       data - see README.migration for details.
  3197 
  3198       If you use ##language: xx comments on your OWN pages, you should also run
  3199       repair_language script. Not needed for help/system pages as we already
  3200       have done that for you.
  3201 
  3202       MoinMoin uses Unicode internally now (UCS-2 with 16 bits or UCS-4 with
  3203       32 bits, depending on your Python installation). The encoding used
  3204       for page files and html output is set by config.charset.
  3205 
  3206       Moin 1.3 uses utf-8 encoding only, there is NO SUPPORT for using a
  3207       charset different from utf-8 with 1.3. If you try, you are on your own.
  3208 
  3209     Directory layout
  3210 
  3211       Directory layout was heavily changed. Each page now is a directory,
  3212       containing page revisions, attachments, cache files and edit-log.
  3213       
  3214       You can delete a page or move a page from one wiki to another
  3215       easily. Look at the wiki/data directory to see.
  3216       
  3217       Example:
  3218         old: data/text/FrontPage
  3219         new: data/pages/FrontPage/revisions/00000042
  3220              data/pages/FrontPage/current (contains: 00000042)
  3221         old: data/backup/FrontPage.xxxxxxxx
  3222         new: data/pages/FrontPage/revisions/00000023
  3223 
  3224       For cleaning up cache files, use MoinMoin/scripts/cachecleaner.py 
  3225       (see comments in script).
  3226 
  3227    Python / Libs
  3228       
  3229       * For using RSS, you need to have PyXML installed:
  3230         Python 2.4*   -> PyXML 0.8.4 (cvs version)
  3231         Python 2.3.x  -> PyXML 0.8.3
  3232         Python 2.2.2+ -> ???
  3233         This will also make "Live Bookmarks" of Mozilla Firefox working.
  3234         New: if you don't have PyXML installed, the RSS icon on RecentChanges
  3235         will not be displayed any more. Python with no PyXML installed
  3236         generates invalid RSS XML.
  3237 
  3238    Page names handling
  3239 
  3240       * Handling of special characters in file names changed from _xx format
  3241         to (xx...) format.
  3242       * In URLs, moin now uses %xx%yy quoting, (because this is supported by 
  3243         browsers), and sub pages use "/" instead of the ugly "_2f".
  3244       * Underscore character "_" is used now as a space character " " both 
  3245         in file names and URLs. " " and "_" will be handled equivalent at most
  3246         places in the future (represented as "_", rendered as " ").
  3247       * To prevent wiki abuse and user typing errors, page names are normalized 
  3248         in URLs, query strings, the "go" box and when renaming pages. This 
  3249         include leading, trailing and multiple slashes and white space. Certain 
  3250         invisible unicode characters are removed from page names.
  3251       * Group page names are restricted even more, any non unicode alpha-numeric
  3252         character is removed. This is done to enable changing acl syntax in 
  3253         the future. The restriction might be loosen on future versions.
  3254       * You can edit config.page_invalid_chars_regex to control which characters
  3255         are allowed in page names (Changing it is not supported).
  3256       * When you enter page name, it is normalized and you are redirected to
  3257         the normalized page, or if nothing left (e.g '/////'), to FrontPage.
  3258       * When renaming a page to a name that can be normalized to an empty string,
  3259         the new page name will be "EmptyName" and the user will not get an
  3260         error message.
  3261        
  3262    Underlay directory
  3263 
  3264      * Pages (especially system and help pages) are now located in an underlay
  3265        directory (data_underlay_dir). You will see the pages there if they are
  3266        NOT covered (overlayed) by a page in the normal pages directory
  3267        (as set using data_dir).
  3268        MAKE SURE THAT data_underlay_dir IS CORRECT OR YOU WILL SEE MANY EMPTY
  3269        PAGES ONLY IN A NEW WIKI.
  3270      * If you edit a page that is shown from underlay directory, it will be
  3271        copied to the normal page directory on save (copy-on-write).
  3272      * You can use one copy of the underlay directory shared by many
  3273        wiki instances. Each wiki will then have only your local, self-made
  3274        wiki pages in its data directory, and only system and help pages in the
  3275        single, shared underlay directory - this simplifies upgrades a lot.
  3276      * It is recommended to keep your underlay system and help pages immutable
  3277        using acl, so you can upgrade your wiki easily. The default help and
  3278        system pages already have those ACLs (using MoinPagesEditorGroup).
  3279      * Do not forget to remove your old help and system pages after migrating
  3280        your wiki. We don't provide a script for that as that would be
  3281        dangerous for edited pages. Just use some file manager (e.g. mc) to
  3282        clean the data/pages/ directory. As soon as you have removed the
  3283        system pages there, you will see the new pages in the underlay dir.
  3284        See the EditedSystemPages page for a list of pages that exist in both
  3285        data and underlay directory (use this page as admin!).
  3286 
  3287        When updating from 1.2 or lower to 1.3 or higher, you will want to
  3288        clean out the copies of the system pages in your {{{wiki/data}}}
  3289        directory. All of these pages will now reside in the underlay
  3290        directory. If you have system pages from 1.2 or lower in your
  3291        wiki/data/ directory, they will overshadow the more up-to-date
  3292        documentation. This can be done using the following manual procedure:
  3293        1. You have just converted from 1.2 or lower to post-1.3.
  3294        2. Go to your wiki's EditedSystemPages.
  3295        3. Find all the pages that are MoinMoin system or help pages. You will
  3296           know if it is one of those pages because it is not your page.
  3297        4. Check if it is okay to delete by either:
  3298           1. Using the this page "info" link and check the Revision History to
  3299              see if it is greater than 1. If so, there are modifications, so do
  3300              not delete the page and evaluate the modifications to see if they
  3301              are necessary.
  3302           2. Using your file browser (Windows Explorer, etc) to go to your
  3303              wiki/data/<<systemPage>>/revisions/ directory and to see if there
  3304              are no modifications. If there are, do not delete the page and
  3305              evaluate the modifications to see if they are necessary.
  3306        5. Delete that wiki/data/<<systemPage>> using your file browser.
  3307 
  3308     Multiple languages
  3309 
  3310       * New file name quoting method allow 50% longer page names in languages
  3311         that use more than one byte per character, like Hebrew, Korean etc.
  3312       * Configuration file uses 'utf-8' encoding now. Certain values that are
  3313         marked with [Unicode] can use any character in your language. Examples 
  3314         are page names in navi_bar, page types regular expressions and site name.
  3315       * For configuration examples adopted to your language, check ConfigMarket 
  3316         in the MoinMoin wiki.
  3317       * The system and help pages that come with moin are now in utf-8.
  3318       * MissingPage system page localized, should display in your language.
  3319       * We did many i18n (translation) updates.
  3320       * CSS file use utf-8 encoding. User css is also expected to be utf-8.
  3321         This is relevant only if you use non-ASCII values in the CSS file.
  3322       * config.upperletters and config.lowerletters were removed.
  3323         We now use a pre-made ucs-2 spanning set and you usually don't have to
  3324         change it. See MoinMoin/util/chartypes.py if you're interested.
  3325       * ACL works with any user name or group name in any language, even names 
  3326         with spaces.
  3327       * Now you can use any charset in config.charset. Note: only utf-8 is 
  3328         a supported configuration!
  3329       * Improved url handling, now creating pages directly from the browser 
  3330         url box with non-ascii names works in most cases, even when 
  3331         config.charset is not utf-8.
  3332       * When using non-utf-8 config.charset, characters in URLs that does
  3333         fit in the charsets are replaced with "?" (instead of crashing).
  3334       * All themes and most macros and actions are Right to Left friendly.
  3335         Full RTL support planned for 1.3 release.
  3336       * If page language is specified with #language processing instruction
  3337         the page is displayed in the correct direction. Pages without
  3338         language are displayed using the wiki default_lang.
  3339 
  3340     Multiple configurations
  3341 
  3342       * You can run multiple wikis from the same wiki directory or server. 
  3343         For example, you can run one Twisted server that serve multiple wikis, 
  3344         instead of running multiple servers. Samples of the new configuration
  3345         are supplied in wiki/config/*.
  3346       * You can't just use your old moin_config.py file. It is now called
  3347         wikiconfig.py and the config variables now have to be in a class
  3348         "Config" and that class must inherit from
  3349         MoinMoin.multiconfig.DefaultConfig - see the provided wikiconfig.py
  3350         sample for details.
  3351         This is very useful, e.g. you could derive a GermanConfig from
  3352         DefaultConfig. After that, you can derive configs for wikiA and wikiB
  3353         from that GermanConfig.
  3354       * farmconfig.py contains a mapping attribute called "wikis" with pairs of
  3355         wikiconfig module name and regular expression. The regular expression
  3356         is matched against the URL of the request and the first matching entry
  3357         determines the config module to be imported by MoinMoin.
  3358       * If you use farmconfig.py's "wikis" mapping, then any wiki has a private
  3359         config module, named after the wiki - e.g. wiki named moinmoin would
  3360         use moinmoin.py.
  3361       * If you only have a single wiki, you do not need farmconfig.py. just make 
  3362         a wikiconfig.py and it will be used no matter what URL is requested. 
  3363       * There is one common global "config" that holds sitewide settings (like
  3364         umask or charset) - you do not need to change settings there.
  3365         This file is located in the MoinMoin code: MoinMoin/config.py.
  3366       
  3367     General configuration
  3368 
  3369       * SecurityPolicy now uses "write" instead of "edit" (so it is may.write
  3370         now). This is to get it in sync with ACLs.
  3371       * SecurityPolicy now automatically can use everything in acl_rights_valid.
  3372       * There is a new config option "config_check_enabled". It will warn about
  3373         any unknown variable name (probably typo) to stderr or error.log. 
  3374         If something doesn't work at all and changing the config does no 
  3375         difference, switch it on and look at the error message. 
  3376       * The sample config file comes with config_check_enabled = 1. If you 
  3377         introduce additional variables yourself, you definitely want to switch 
  3378         that check off or it will fill your log.
  3379       * If you define "page_front_page" variable, this name will show in the 
  3380         navigation bar now, instead of the default "FrontPage".
  3381 
  3382     New search engine
  3383 
  3384      * Full text and title search do support multiple search terms now - 
  3385        see HelpOnSearching for details.
  3386      * Regular expressions are still supported but have to be turned on per
  3387        search term. Search terms in macros using regular expressions will have
  3388        to be fixed.
  3389      * The URL interface of the search engine has also changed. Links that 
  3390        point directly to search actions may be broken.
  3391 
  3392     User names
  3393 
  3394       * User names can not use group names, even if ACLs are not enabled.
  3395         This will prevent error later, if you start to use acl in the future
  3396         (acl is going to be mandatory in 1.5).
  3397       * User names are not restricted any more to only CamelCase. 
  3398       * To prevent imposing as other users, leading, trailing and multiple 
  3399         whitespace in user names is not allowed. Only Unicode alpha numeric 
  3400         characters are allowed, with optional one space character between 
  3401         words.
  3402       * When a user name with a group name or "bad" name is trying to 
  3403         access the wiki, he is redirected to the UserPreferences page and 
  3404         asked to create a new account.
  3405       * When trying to login or create a new account with a bad name, 
  3406         correct error message is displayed in all cases.   
  3407 
  3408     CGI
  3409 
  3410       * You can not use your old moin.cgi file, as we removed cgimain.py 
  3411         (was deprecated since 1.2). Copy the new file from the server dir.     
  3412 
  3413     Moin servers - Twisted and standalone
  3414 
  3415       * Configuration self checking on startup. Will raise an error in case
  3416         of bad configuration or non-accessible directories.
  3417       * Both use shorter and identical configuration options.
  3418       * Server scripts contain detailed comments and examples.
  3419       * Configuration defaults changed to fit most users.
  3420       * There is memory profiler option for debugging, switched off by default.
  3421       * If you perform a standard install, server scripts should run out
  3422         of the box or with minimal change.
  3423 
  3424     Twisted server
  3425 
  3426       * All code moved into the new server package, the server script
  3427         contains only configuration options.
  3428       * Listen to more than one interface with "interfaces" list.
  3429       * Code updated to new Twisted API.
  3430       * Use mointwisted script to start and stop the server, using 
  3431         "mointwisted start" and "mointwisted stop".
  3432       * The Twisted server runs as daemon by default.
  3433       * All moin Twisted files are called now mointwisted instead of 
  3434         moin_twisted.
  3435       * Fixed getting username from Twisted request (http auth)
  3436 
  3437     Standalone server
  3438 
  3439       * Configuration moved from moin_config.py to moin.py.
  3440       * If run as root, you can set both user and group for the server.
  3441       * Can use logfile instead of logging to stderr.
  3442       * Fixed missing unquoting of query string (caused problems in rare cases).
  3443 
  3444     mod_python server
  3445 
  3446      * moin_modpy server files renamed to moinmodpy.
  3447 
  3448     Wiki Markup
  3449 
  3450      * '''strong''', ''em'' and __underline__ have now paragraph scope. You can
  3451        set these attributes on words level. For multiple paragraphs, wrap each 
  3452        with needed markup.
  3453      * If you leave unclosed ''', '' and __  markup, its is closed when the 
  3454        paragraph ends.
  3455 
  3456     User interface
  3457 
  3458      * Due to many changes in CSS files, the wiki may look "broken" until
  3459        your reload once or twice, or empty your browser cache.
  3460      * The "Send mail notification" checkbox is replaced by "Trivial change"
  3461        checkbox. The default behavior did not change - regular edit is not
  3462        a trivial change, and mail will be sent to subscribes. If you check
  3463        trivial change, mail will be sent only to users who selected to 
  3464        get trivial changes in their user preferences.
  3465      * New theme "modern" has been added, and used as default theme. 
  3466      * classic and rightsidebar improved.
  3467      * viewonly theme removed, as any theme can be use now as viewonly
  3468        by using #acl All:read in the wikiconfig.
  3469      * All themes use new navibar, displaying both wiki links, user links
  3470        and the current page.
  3471      * navibar and pagetrail use now shortened page names, so very long
  3472        names does not break the interface visually.
  3473      * All themes have improved search interface at the top of the window.
  3474      * Only avaiable actions are displayed, so most situations when a user
  3475        try to do something he can't do are prevented.
  3476      * When creating a new page, no action is available until the page 
  3477        is created. You can't attach files to non-existing page any more.
  3478      * Non registered users get a "login" link. Registered uses get
  3479        "username" link to their home page, and "user preferences" link.
  3480      * Messages more clear using bold type, designed by css.
  3481      * Few useless messages removed (but there are many more)
  3482      * Default wiki logo uses the wiki name instead of the MoinMoin troll 
  3483        logo.
  3484 
  3485     Other fixes and changes
  3486     
  3487      * Most generated html code is valid "html 4 strict". There are still
  3488        some problems that still have to be fixed, mainly macros, table
  3489        attributes, and inline markup crossing (<a><b></a></b>).
  3490      * WantedPages can include and exclude system pages, which makes it 
  3491        much more useful.
  3492      * Fixed a bug in TitleIndex where not all system pages are excluded.    
  3493      * RenamePage action now renames everything, including backups, page
  3494        history, attachments. It does not change toplevel editlog, though.
  3495        After you rename a page, you are redirected to the new page.
  3496      * Syntax colorization supports more languages (Java, C++, Pascal)
  3497      * Inline: display of attachments was extended. A Parser now knows which
  3498        extensions it can handle.
  3499      * TableOfContents and Include macros now cooperate a bit better. There
  3500        are still problems with multiple Includes of the same page.
  3501      * Excluded actions at bottom of page are not displayed any more.   
  3502      * Editor: removed the columns size setting, just using 100% of browser
  3503        window width (it didn't work because of that anyway). Also removed that
  3504        "reduce editor size" link at top of editor as you would lose your
  3505        changes when using it.
  3506      * Removed the option to choose text smileys instead of images, this made
  3507        more trouble than it was worth. The text version is still given in ALT
  3508        attribute.
  3509      * Moved stuff from contribution/ to MacroMarket page on MoinMoin wiki
  3510      * Some nasty people try to use a running moin as a proxy (at least they
  3511        did on moinmaster.wikiwikiweb.de:8000, maybe due to the magic port
  3512        number). We changed the code to check for that and just return 403
  3513        in that case. Moin can not be used as a proxy anyway.
  3514      * moin.cgi?test was removed in favor of a new buildin test
  3515        action. It works for all deployments, just use ?action=test.
  3516      * Sending mail does use tls if server supports it.
  3517 
  3518     3rd party developer notes
  3519 
  3520      * Themes should be now sub class of MoinMoin.theme.ThemeBase. Sub
  3521        classes will get automatically all new improved user interface
  3522        elements for free.
  3523      * Theme authors should update their theme for 1.3. Some keys removed
  3524        from them dict. See ThemeBase class in MoinMoin/theme/__init__.py. 
  3525      * Actions writers should call request.setContentLangauge with the 
  3526        correct language used by the action. This enable themes and other
  3527        code to use correct direction.
  3528      * The Formatter interface was changed. Formatters and parsers using 
  3529        the formatter interface have to be adjusted.
  3530      * started deprecation of Processors: they are still recognized, but
  3531        implementors should start to rewrite their Processors as Parsers.
  3532        A processor with the same name as a parser in a pre #! section is
  3533        currently preferred. This will change in the next release.
  3534 
  3535     Deprecation notes
  3536 
  3537      * Processors are deprecated, see section above.
  3538 
  3539      * Using the cookie (or the login url with ID) only and not setting (or
  3540        setting and not remembering) your email/password in UserPreferences
  3541        is DEPRECATED. Those quite unsecure methods will likely be dropped
  3542        in next moin version.
  3543 
  3544      * Operating with acl_enabled = 0 is also DEPRECATED. Due to some other
  3545        improvements planned, we will have to operate with ACLs enabled ONLY
  3546        in a future moin version, so this setting will likely be dropped.
  3547        So clean up your user accounts (see moin_usercheck.py) and switch ACLs
  3548        on NOW.
  3549        There are no drawbacks, so you will like it. Having ACLs enabled
  3550        doesn't mean you really have to USE them on wiki pages...
  3551 
  3552      * allow_extended_names = 0 is deprecated (default was/is 1).
  3553        Future versions will be able to use extended names (aka free links) in
  3554        any case and the config setting will be removed.
  3555 
  3556      * allow_subpages = 0 is deprecated (default was/is 1).
  3557        Future versions will be able to use subpages in any case and the config
  3558        setting will be removed.
  3559 
  3560      * attachments = {...} - we would like to remove that setting because of
  3561        several reasons:
  3562        * when not being extremely careful, this can easily lead to security
  3563          problems (like when uploading a .php exploit and then executing it
  3564          by accessing it directly via web server)
  3565        * makes code more complicated - code that we want to change completely
  3566          in next version
  3567        If you need that feature, speak up now and tell us your reasons WHY you
  3568        need it.
  3569 
  3570 
  3571 Version 1.2.4 (2004-10-23, Revision 1.187)
  3572 
  3573 This will probably be the last 1.2.x release as we are soon doing release
  3574 candidates for 1.3 release (with big internal changes) and are expecting
  3575 release 1.3 in december 2004.
  3576 
  3577 Fixes:
  3578     * fixed "None" pagename bug in fullsearch/titlesearch
  3579     * fixed projection CSS usage
  3580     * the compiled page is removed when a page is deleted, so no ghost page
  3581       appears after deletion
  3582     * fixed AbandonedPages day-break problem
  3583     * fixed [[GetVal(WikiDict,key)]]
  3584     * the msg box is now outside content div on PageEditor, too
  3585     * privacy fix for email notifications: you don't see other email addresses
  3586       in To: any more. mail_from is now also used for To: header field, but
  3587       we don't really send email to that address.
  3588     * privacy fix for /MoinEditorBackup pages that were made on previews of
  3589       pages that were not saved in the end
  3590     * fix double content div on PageEditor preview
  3591 
  3592 Other changes:
  3593     * workaround for broken Microsoft Internet Explorer, the page editor now
  3594       stops expanding to the right (e.g. with rightsidebar theme).
  3595       Nevertheless it is a very good idea to use a non-broken and more secure
  3596       browser like Mozilla, Firefox or Opera!
  3597 
  3598     * from MoinMoin.security.antispam import SecurityPolicy in your
  3599       moin_config.py will protect your wiki from at least the known spammers.
  3600       See MoinMoin:AntiSpamGlobalSolution for details.
  3601 
  3602     * xmlrpc plugin for usage logging, currently used for antispam accesses
  3603 
  3604     * (re-)added configurable meta tags:
  3605         * html_head_queries = '''<meta name="robots" content="noindex,nofollow">\n'''
  3606         * html_head_posts   = '''<meta name="robots" content="noindex,nofollow">\n'''
  3607         * html_head_index   = '''<meta name="robots" content="index,follow">\n'''
  3608         * html_head_normal  = '''<meta name="robots" content="index,nofollow">\n'''
  3609 
  3610     * i18n updates/fixes
  3611 
  3612     * New UserPreferences switch:
  3613       you may subscribe to trivial changes (when you want to be notified about ALL
  3614       changes to pages, even if the author deselected to send notifications).
  3615 
  3616     * New AttachList and AttachInfo macros - thanks to Nigel Metheringham and
  3617       Jacob Cohen.
  3618 
  3619 Version 1.2.3 (2004-07-21, Revision 1.186)
  3620 
  3621 Fixes:
  3622     * fixed NameError "UnpicklingError" in user.py
  3623     * fixed version number in moin.spec
  3624     * reverts done by bots or leechers
  3625       There was a bad, old bug that triggered if you did not use ACLs. In that
  3626       case, moin used some simple (but wrong and incomplete) function to
  3627       determine what a user (or bot) may do or may not do. The function is now
  3628       fixed to allow only read and write to anon users, and only delete and
  3629       revert to known users additionally - and disallow everything else.
  3630     * avoid creation of unneccessary pages/* directories
  3631     * removed double content divs in general info and history info pages
  3632     * fixed wiki xmlrpc getPageHTML
  3633     * fixed rightsidebar logout URL, also fixed top banner to link to FrontPage
  3634     * use config.page_front_page and .page_title_index for robots meta tag
  3635       (whether it uses index,follow or index,nofollow), not hardcoded english
  3636       page names
  3637     * ACL security fix for PageEditor, thanks to Dr. Pleger for reporting
  3638     * default options for new users are same as for anon users
  3639 
  3640 Version 1.2.2 (2004-06-06, Revision 1.185)
  3641 
  3642 Fixes:
  3643     * python related:
  3644      * own copy of difflib removed
  3645        Until moin 1.2.1 we had our own copy of python 2.2.3's difflib coming
  3646        with moin. This was to work around some problems with broken older 2.2
  3647        python installations. We removed this now because if you have py 2.3,
  3648        there is even a better difflib coming with python (and that fixes an
  3649        extremely slow diff calculation happening in some rare cases).
  3650        So the good news is that when you run python 2.3, you don't need to do
  3651        anything and it will run great. If you run python 2.2.3, it will mostly
  3652        work good and you also don't need to do anything. The bad news is that
  3653        if you run an old and broken 2.2 installation (2.2.1, maybe 2.2.2) you
  3654        will have to fix it on your own (just copy difflib.py from python 2.2.3
  3655        over to your python 2.2.x installation).
  3656        But better upgrade to python 2.3 (for debian woody, there's a backport),
  3657        as 2.3 generally runs better and faster than 2.2.
  3658      * scripts changed to use #!/usr/bin/env python (not /usr/bin/python2.2)
  3659 
  3660     * user accounts and ACLs:
  3661      * we now require the user to specify a password for a new account (you
  3662        were not able to login without a password anyway)
  3663      * it is not allowed any more to create user accounts with user names
  3664        matching config.page_group_regex - please check manually that you do
  3665        not already have such users existing (like a user named "AdminGroup"):
  3666        cd data/user ; grep name=.*Group *  # there should be no output!
  3667      * subscription email sending now honours ACLs correctly
  3668 
  3669     * markup / rendering / user interface fixes:
  3670      * fixed merging multiple lines indented by the same amount of blanks
  3671      * ## comments don't break tables in two parts
  3672      * added a "remove bookmark" link to RecentChanges
  3673      * fixed action=titleindex (added \n after each entry)
  3674 
  3675     * RSS fixes:
  3676      * non-ASCII characters should work now
  3677      * RSS feed (Recentchanges?action=rss_rc) gives UTC timestamps now
  3678      * removed attribute breaking RSS feed on RecentChanges
  3679 
  3680     * better email generation:
  3681      * if you use python >=2.2.2, we add a Message-ID header to emails
  3682      * if you use python 2.2.1, there is no email.Header. Instead of crashing
  3683        (like previous moin 1.2.x releases), we just use the subject "as is" in
  3684        that case. If it is not ASCII, this is not standards compliant.
  3685      * If you have >=2.2.2 it will use email.Header to make standards compliant
  3686        subject lines.
  3687      * use config.mail_from as sender address when sending "lost my password"
  3688        emails
  3689 
  3690     * file attachments:
  3691      * fixed for standalone server
  3692      * attachment URLs (when handled by moin) don't include server name
  3693      * fixed some wrong &amp;amp; in html src
  3694     
  3695     * better themeability:
  3696      * some entries in dict "d" where only present in header theme calls, some
  3697        only in footer theme calls. Now almost all is present in both calls.
  3698      * added some missing "content" divs so sidebar themes look better
  3699 
  3700     * fixed some crashes producing backtraces:
  3701      * no IOError when diffing against deleted page
  3702      * no backtrace in xml footnote generation
  3703      * no SystemInfo crash when no editlog exists in new wikis
  3704      * xmlrpc.getRecentChanges fixed
  3705 
  3706     * MoinMoin.util.filesys.rename is now a wrapper around os.rename that
  3707       fixes os.rename on broken win32 api semantics
  3708 
  3709 Other Changes:
  3710     * saving traffic and load by improved robot meta tag generation:
  3711      * "noindex,nofollow" on queries and POSTs
  3712      * "index,follow" on FrontPage and TitleIndex (give robots a chance ;))
  3713      * "index,nofollow" on all other pages (hopefully saving lots of senseless
  3714        requests for page?action=...) 
  3715      * removed config.html_head_queries (was used for same stuff)
  3716     * added russian i18n (utf-8)
  3717     * misc. other translation updates / fixes
  3718     * added rightsidebar theme
  3719     * TitleIndex now folds case, so "APage" and "anotherPage" are both under
  3720       letter "A".
  3721     * added macro/PageHits.py - it calculates the hits each page gets since
  3722       beginning of logging
  3723 
  3724 
  3725     * Full text and title search do now support multiple search terms - 
  3726       see HelpOnSearching for details
  3727  
  3728     * The Formatter interface was changed. Formatter and parser using 
  3729       the formatter interface have to be adjusted.
  3730 
  3731 Version 1.2.1 (2004-03-08, Revision 1.184)
  3732 
  3733 Fixes:
  3734     * minimum requirement to run moin 1.2/1.2.1 is python 2.2.2
  3735      * not: 2.2(.0), as this does not have True/False
  3736      * not: 2.2.1, as this does not have email.Header. You maybe can work
  3737        around that one by:
  3738       * getting the python 2.2.x (x>=2) /usr/lib/python2.2/email directory
  3739       * putting it into directory 'x' (whereever you like)
  3740       * doing a sys.path[0:0] = ['x'] in moin.cgi [or other appropriate place]
  3741       No guarantee, this is untested.
  3742     * Twisted: the http headers missed the charset data, fixed
  3743     * mod_python: fixes for mod_python 2.7
  3744     * wiki/data/plugin/__init__.py added - fixes not working plugin modules
  3745     * plugin processors work now, too
  3746     * fixed displaying non-existent translations of SiteNavigation in footer
  3747     * fixed zh-tw iso name (wrong zh_tw -> correct zh-tw)
  3748     * fixed reversed diffs in RecentChanges RSS
  3749     * fixed "last change" info in footer (wasn't updated)
  3750     * fixed event.log missing pagename (and other) information
  3751     * fixed horizontal line thickness >1
  3752     * fixed setup.py running from CVS workdir
  3753     * fixed crash when doing action=info on first revision of a page
  3754     * fixed hostname truncation in footer
  3755     * minor css fixes
  3756     * fixed clear msg links (they missed quoting, leading to strange page
  3757       names when you click on some of them)
  3758     * fixed python colorizer processor
  3759     * fixed quoting of stats cache filenames
  3760     * catched "bad marshal data" error when switching python versions
  3761 
  3762 Other changes:
  3763     * updated danish (da) i18n
  3764     * updated japanese (ja) i18n
  3765     * added serbian (sr) i18n
  3766     * added chinese (zh) i18n
  3767     * added a simple "viewonly" theme based on classic theme - you can use
  3768       this as default theme, so anonymous users won't get the usual wiki stuff,
  3769       but a far simpler (and less powerful) user interface.
  3770       It also displays the navibar at the left side.
  3771     * added moin.spec for building RPMs
  3772     * included MoinMoin/i18n/* into distribution archive (nice for translators)
  3773     * included some stuff under MoinMoin/scripts - xmlrpc-tools and account
  3774       checking stuff. removed some version control clutter from the dist
  3775       archive, too.
  3776 
  3777     * code colorization was refactored and some new languages (Java, C++,
  3778       Pascal) where added.
  3779     * inline: display of attachments was extended. A Parser now knows which
  3780       extensions it can handle.
  3781 
  3782 Version 1.2 (2004-02-20, Revision 1.183)
  3783 
  3784 New features:
  3785     * MoinMoin now requires Python >=2.2.2., we recommend to use Python >=2.3.2
  3786       (with 2.3.x, MoinMoin runs about 20-30% faster).
  3787     * by refactoring request processing, we made it possible to run moin under
  3788       persistent environments:
  3789         * twisted-web (http://twistedmatrix.com)
  3790         * httpdmain.py (use moin.py for starting this mini server)
  3791         * mod_python
  3792         * FastCGI
  3793       Of course, CGI is still possible.
  3794     * wiki pages will be compiled to bytecode now (by default), so no need for
  3795       slow parsing/formatting on every view ("WASP", see caching_formats)
  3796     * when using a persistent environment (like twisted) and WASP, you get up
  3797       to 20x speed - compared to CGI and moin 1.1
  3798     * added support for diffs between arbitrary revisions.
  3799     * removed requirement of the external diff utility
  3800     * config.auth_http_enabled (defaults to 0) - use this to enable moin
  3801       getting your authenticated user name from apache (http basic auth,
  3802       htpasswd) - if you enable this, your basic auth username has to be the
  3803       same as your wiki username.
  3804       Should work with CGI, FCGI and maybe even with mod_python.
  3805       Does not change behaviour of moin under twisted or standalone server.
  3806     * config.tz_offset = 0.0 sets a default timezone offset (in hours
  3807       from UTC)
  3808     * config.cookie_lifetime (int, in hours, default 12) sets the lifetime of
  3809       the MOIN_ID cookie:
  3810         == 0  --> cookie will live forever (no matter what user has configured!)
  3811         > 0   --> cookie will live for n hours (or forever when "remember_me")
  3812         < 0   --> cookie will live for -n hours (forced, ignore "remember_me"!)
  3813     * added themeing and some themes (if you improve the existing themes or
  3814       make nice new ones, please contribute your stuff!). The default theme is
  3815       set by config.theme_default (and defaults to 'classic').
  3816     * now supporting plugin directory for parsers, processors, themes, xmlrpc.
  3817     * action=info now defaults to showing page revision history again
  3818     * all actions accessing the logfile (as RecentChanges or history) are now
  3819       much faster
  3820     * #refresh processing instruction, config.refresh
  3821         * config.refresh = (minimum_delay, target_allowed)
  3822             * minimum delay is the minimum waiting time (in seconds) allowed
  3823             * target_allowed is either 'internal' or 'external', depending on
  3824               whether you want to allow only internal redirects or also
  3825               external ones. For internal redirects, just use the Wiki pagename,
  3826               for external, use http://... url.
  3827         * #refresh 3                    == refresh this page every 3 seconds
  3828         * #refresh 5 FrontPage          == internal redirect to FrontPage in 5s
  3829         * #refresh 5 http://google.com/ == redirect to google in 5s
  3830       Use very carefully! Allowing a low minimum_delay and putting a #refresh
  3831       on RecentChanges might slow down your wiki significantly, when some
  3832       people just let their browser refresh and refresh again. Also, it does
  3833       cause quite some traffic long-term. So better do not use this without
  3834       good reason! Default is None (switched off).
  3835     * hide most UserPreferences options before user has logged in, less
  3836       confusing for new users
  3837     * "config.page_dict_regex" defines what pages are dictionary definitions
  3838       Currently dictionaries are used for UserHomePage/MyDict where you can
  3839       define key:: value pairs that get processed like @DATE@ expansion when
  3840       saving a page. The 2 "@" will be added to your keys automatically.
  3841       Please do not use @xxx@ strings on the right side (value), results may
  3842       vary if you do.
  3843       You can also access wiki dictionaries by using the internal macro
  3844       [[GetVal(page,key)]]" - that will go to page "page" and return the
  3845       value (right side) corresponding to "key".
  3846       Implementation note: groups are a subset of the dictionary functionality.
  3847     * standalone server should work now (see server/moin.py), so you don't
  3848       need to setup apache or twisted for a local personal wiki, you only need
  3849       python and moin for that now, no additional stuff any more!
  3850     * if you run your wiki with charset = "utf-8" (the default is still
  3851       iso8859-1), you might want to have a look at contributions/utf8-pages/
  3852       to see if there are already translated system pages for your language.
  3853 
  3854 Fixes:
  3855     * new importPlugin routine (the old one didn't work correctly)
  3856     * removed 0xA0 characters breaking utf-8
  3857     * system page recognition now uses wiki groups (see AllSystemPagesGroup),
  3858       fixing the long-time broken system page exclusion on TitleIndex.
  3859     * mostly HTML 4.01 Strict compliant HTML
  3860     * design is done by CSS now, HTML is semantic markup only 
  3861     * removed target attribute from links, also [^NewWindow] markup - this
  3862       is a HTML 3.2 feature and not valid in HTML 4.01
  3863     * updated TWikiDrawPlugin to 20021003 version, with further modifications
  3864       including source. It can draw imagemaps now and saves PNG. On display a
  3865       GIF will be searched if no PNG is found. We recommend changing all GIFs
  3866       to indexed PNGs cause this fallback might disappear in later versions.
  3867 
  3868       Sample code using bash and ImageMagick (be sure you know what you do):
  3869       for draw in `find /path/to/wiki/data -name \*.draw`; do
  3870         file=`dirname $draw`/`basename $draw .draw`
  3871         if [ -e "${file}.gif" ]; then
  3872           echo "Converting ${file}.gif to ${file}.png"
  3873           convert "${file}.gif" "${file}.png"
  3874         fi
  3875       done
  3876 
  3877     * fixed email headers and encoding
  3878     * Changed moin-usercheck to adhere to scripting standards; no
  3879       proprietary config changes needed any more (added --config);
  3880       --wikinames is now part of the usage message.
  3881     * config.umask now defaults to 0770 - if you give world r/w access, ACLs
  3882       could be rather pointless...
  3883 
  3884 Removed config variables:
  3885     * external_diff (not needed any more, we have internal diff now)
  3886     * shared_metadb (wasn't implemented for long - we will re-add it, when it is)
  3887     * title1/2 (please use page_header1/2)
  3888     * page_icons_up
  3889 
  3890 Changed config variables:
  3891     * changed_time_fmt (removed some html and brackets around time from default)
  3892     * html_head (default is empty string now)
  3893     * page_footer1/2 (default is empty string now)
  3894     * page_icons (is now a list of icon names, not html any more)
  3895     * umask (default is 0770 now, not world r/w any more == more secure)
  3896 
  3897 New config variables (see MoinMaster:HelpOnConfiguration):
  3898     * cookie_lifetime
  3899     * mail_login
  3900     * page_credits
  3901     * page_dict_regex
  3902     * page_group_regex
  3903     * page_header1/2
  3904     * page_iconbar 
  3905     * page_icons_table
  3906     * page_license_enabled
  3907     * page_license_page
  3908     * theme_default
  3909     * theme_force
  3910     * tz_offset 
  3911 
  3912 Other:
  3913     * lots of internal code refactoring and optimization
  3914     * began moving src code documentation to epydoc, see "make epydoc"
  3915     * the URL for the RecentChanges RSS feed changed. It now only works with
  3916       ...?action=rss_rc.
  3917 
  3918 Known problems:
  3919     * theme support is neither complete (although covering most important
  3920       stuff) nor perfect - work on that will continue...
  3921     * we removed some html from system messages (the boxes at top of page you
  3922       get after some actions), so it currently looks less nice than before.
  3923     * html is not completely validating and it is not xhtml - this will be
  3924       fixed as soon as we have the infrastructure for that (other parser, DOM)
  3925     * problems with rtl (right-to-left) languages, will be fixed in 1.3
  3926     * if you change moin_config or switch themes, moin will still use already
  3927       cached page content. For the config this can be fixed by touching
  3928       MoinMoin/version.py (or simply deleting everything in
  3929       data/cache/Page.py). If you get more annoyed by this than pleased by
  3930       caching speedup, you can also switch off caching (see docs on
  3931       caching_formats).
  3932 
  3933 Themeing and HTML/CSS cleanup:
  3934     * Browsers with completely broken CSS support (like e.g. Netscape 4.x) are
  3935       no longer supported. If you still need to support them, do not upgrade to
  3936       moin 1.2. If you still use these browsers, we recommend that you upgrade
  3937       your browser first (Mozilla 1.5 has nice and standards compliant HTML and
  3938       CSS support and is available as Free Software for Windows, Linux and Mac).
  3939     * If you changed any html in code or by config you will have to check if it
  3940       still works. For the usual stuff, look into `MoinMoin/theme/classic.py`
  3941       and `classic/css/screen.css`. For config defaults of the html fragments,
  3942       read `MoinMoin/config.py`. If you want to modify a theme, don't simply
  3943       change classic, but copy or subclass it under a new theme name.
  3944     * because of the new theme support the layout of the `htdocs` directory
  3945       changed:
  3946       * Instead of using icons under `img/` and css under `css/`, there will
  3947         be an additional `themename/` directory in between, e.g. `classic/img/`
  3948         and `classic/css/`. If you added own icons, you may have to copy them
  3949         to the themes directory.
  3950       * The filename of the CSS file has changed to the media type, so the
  3951         normal one used for screen output has changed name from `moinmoin.css`
  3952         to `screen.css`. There also were quite some changes and enhancements to
  3953         the CSS files, so better use the new ones.
  3954     * config.css_url was removed
  3955 
  3956 Plugins:
  3957   * we use a new plugin loader that requires a correct `__init__.py` file in
  3958     the plugin directories. See the directory `wiki/data/plugin/` in the
  3959     distribution archive and just copy it over to your wiki's plugin directory.
  3960 
  3961 
  3962 Version 1.1 (2003-11-29, Revision 1.178)
  3963 
  3964 Version 1.1 requires Python 2.0 or higher, we recommend to use Python 2.2
  3965 (version 2.2.2 if that is available on your host) or even better >= 2.3.2
  3966 (with 2.3.x, MoinMoin runs about 20-30% faster).
  3967 
  3968 New features:
  3969   Configuration:
  3970     * config.default_lang lets you set a default language for users not
  3971       having specified language in their browser or UserPreferences
  3972     * "config.page_category_regex" defines what pages are categories
  3973     * replaced `config.page_template_ending` by a more flexible setting
  3974       named `config.page_template_regex`
  3975     * the same with config.page_form_regex (was: page_form_ending)
  3976     * "config.page_group_regex" defines what pages are group definitions
  3977       Currently groups are used for "user groups" (see ACLs) and "page
  3978       groups" (see AllSystemPagesGroup).
  3979     * robot exclusion from all pages except the standard view action,
  3980       via the config.ua_spiders regex (reduces server load)
  3981     * "maxdepth" argument for the TableOfContents macro
  3982     * config.title1, config.title2, config.page_footer1,
  3983       config.page_footer2 can now be callables and will be called with
  3984       the "request" object as a single argument (note that you should
  3985       accept any keyword arguments in order to be compatible to future
  3986       changes)
  3987     * "config.html_pagetitle" allows you to set a specific HTML page
  3988       title (if not set, it defaults to "config.sitename")
  3989     * navi_bar / quicklinks can now contain free-form links, i.e.
  3990       entries of the form "[url linktext]" just like in wiki pages
  3991     * if a quick link starts with '^', it opens in a new window; help
  3992       now opens in a new window also
  3993     * `config.smileys` for user-defined smileys (default: `{}`) - a dict
  3994       with the markup as the key and a tuple of width, height, border, image
  3995       name as the value).
  3996     * `config.hosts_deny` to forbid access based on IP address
  3997     * `config.mail_login` can be set to username and password separated by
  3998       a space, e.g. "username userpass", if you need to use SMTP AUTH
  3999     * `config.edit_locking` can be set to None (old behaviour, no
  4000       locking), 'warn <timeout mins>' (warn about concurrent edits, but
  4001       do not enforce anything), or 'lock <timeout mins>' (strict locking)
  4002     * optionally showing a license text on editor page, use:
  4003       config.page_license_enabled = 1
  4004       Optionally use these to customize what is shown there:
  4005       config.page_license_text = "... your text ..."
  4006       config.page_license_page = "MyLicensePage"
  4007       See the default values in MoinMoin/config.py for details and
  4008       override them in moin_config.py, if needed.
  4009     * `config.shared_intermap` can be a list of filenames (instead of a
  4010       single string)
  4011     * If you have added your own `SecurityPolicy`, the class interface for
  4012       that has changed (see `security.py`).
  4013 
  4014   Authenticaton / Authorization:
  4015     * added ACL support, written by Gustavo Niemeyer of Conectiva and
  4016       Thomas Waldmann. See HelpOnAccessControlLists for more infos.
  4017       You should use MoinMoin/scripts/moin_usercheck.py before activating
  4018       ACLs or some users with bad or duplicate accounts might get into
  4019       trouble.
  4020     * A user account can be disabled using moin_usercheck.py or
  4021       UserPreferences page. Disabling, but keeping it is good for edit
  4022       history.
  4023     * changed security default: deletion only available to known users
  4024     * support for Basic authentication (Apache style: AUTH_TYPE="Basic",
  4025       REMOTE_USER="WikiUserName"). If authentication is there, user
  4026       will be in ACL class "Trusted".
  4027     * support for username / password login
  4028       The username / password login will ONLY work, if you define a
  4029       password. With an empty password, username / password login is not
  4030       allowed due to security reasons. Passwords are stored encrypted
  4031       (format similar to Apache SHA) and can also be entered in the
  4032       UserPreferences form in this format. When requesting login
  4033       information by email, the password is also sent in this encrypted
  4034       format (use copy&paste to fill it in the form).
  4035       ...?action=userform?uid=<userid> is still possible, so if you have
  4036       bookmarks, they will still work). The input field for the ID was
  4037       dropped.
  4038       NOTE: using the userid for login purposes is DEPRECATED and might
  4039             be removed for better security soon.
  4040     * after logging in, you will get a cookie valid until midnight.
  4041       The next day, the cookie will expire and you will have to login
  4042       again. If you don't want this, you can check the "remember me
  4043       forever" option in UserPreferences.
  4044     * if the page file is read-only, you get a message (i.e. you can now
  4045       protect pages against changes if you're the wiki admin).
  4046       Note: you can do that easier using ACLs.
  4047 
  4048   Markup / Macros / Actions:
  4049     * RandomQuote macro (and even parses Wiki markup now)
  4050     * `[[Navigation]]` macro for slides and subpage navigation
  4051     * [[ShowSmileys]] displays ALL smileys, including user-defined ones
  4052     * the Include macro has new parameters (from, to, sort, items) and
  4053       is able to include more than one page (via a regex pattern)
  4054     * `MailTo` macro for adding spam-safe email links to a page
  4055     * if a fancy link starts with '^' (i.e. if it has the form
  4056       "[^http:... ...]"), it's opened in a new window
  4057      * because of that, the NewWindow macro was removed from contrib
  4058     * "#pragma section-numbers 2" only displays section numbers for
  4059       headings of level 2 and up (similarly for 3 to 6)
  4060     * ../SubPageOfParent links
  4061 
  4062   User interface:
  4063     * new fancy diffs
  4064     * Page creation shows LikePages that already exist
  4065     * editor shows the current size of the page
  4066     * editor returns to including page when editing an included page
  4067     * Visual indication we're on the editor page (new CSS style)
  4068     * selection to add categories to a page in the editor (use preview
  4069       button to add more than one category)
  4070     * if user has a homepage, a backup of save/preview text is saved as
  4071       a subpage UsersHomePage/MoinEditorBackup
  4072     * added "revert" link to PageInfo view (which makes DeletePage more
  4073       safe in public wikis, since you can easily revive deleted pages
  4074       via revert)
  4075     * Selection for logged in users (i.e. no bots) to extend the listing
  4076       of recent changes beyond the default limits
  4077     * Activated display of context for backlinks search
  4078     * Subscriber list shown on page info
  4079     * LikePages shows similar pages (using difflib.get_close_matches)
  4080     * last edit action is stored into "last-edited" file, and
  4081       displayed in the page footer
  4082     * reciprocal footnote linking (definition refers back to reference)
  4083     * "Ex-/Include system pages" link for title index
  4084       Note: system/help pages algorithm is still mostly broken.
  4085     * list items set apart by empty lines are now also set apart
  4086       visually (by adding the CSS class "gap" to <li>)
  4087     * "save" check for security.Permissions
  4088     * Added Spanish, Croatian and Danish system texts
  4089     * Added flag icons for the languages supported in "i18n"
  4090     * updated help and system pages, more translations, see also
  4091       AllSystemPagesGroup
  4092     * there was quite some work done on wiki xmlrpc v1 and v2 - it
  4093       basically works now.
  4094 
  4095   Tools and other changes:
  4096     * moin-dump: New option "--page"
  4097     * there are some scripts MoinMoin/scripts/* using wiki xmlrpc for
  4098       backup and wiki page copying applications
  4099     * Updated the XSLT parser to work with 4Suite 1.0a1
  4100     * more infos in cgi tracebacks
  4101     * UPDATE.html is a HTML version of MoinMaster:HelpOnUpdating
  4102 
  4103 Unfinished or experimental features:
  4104     * user defined forms
  4105     * XML export of all data in the wiki
  4106     * RST parser (you need to install docutils to use this)
  4107     * SystemAdmin macro
  4108 
  4109 Privacy fixes:
  4110     * do not use / display user's email address in public places
  4111 
  4112 SECURITY FIXES:
  4113     * Removed two cross-site scripting vulnerabilities reported by "office"
  4114 
  4115 Bugfixes:
  4116     * Bugfix for PageList when no arguments are given
  4117     * Disallow full-text searches with too short search terms
  4118     * [ 566094 ] TitleIndex now supports grouping by Hangul Syllables
  4119      * fix for multibyte first char in TitleIndex
  4120     * Footnotes were not HTML escaped
  4121     * Numbered code displays are now in a table so that you can cut the
  4122       code w/o the numbers
  4123     * Bugfix for wrong mail notifications
  4124     * Create unique anchors for repeated titles
  4125     * [ 522246 ] Transparently recode localized messages
  4126     * [ 685003 ] Using "preview" button when editing can lose data
  4127     * use gmtime() for time handling
  4128     * fixed negative gmtime() arguments
  4129     * [[Include]] accepts relative page names
  4130     * fixed ||NotInterWiki:||...||
  4131 
  4132 -----------------------------------------------------------------------------
  4133 Version 1.0 (2002-05-10, Revision 1.159)
  4134 
  4135 THIS IS THE LAST RELEASE WITH PYTHON 1.5.2 SUPPORT! If severe bugs
  4136 should occur, a maintenance release will fix them.
  4137 
  4138 Some optional features (like statistics) already require Python 2.0.
  4139 
  4140 New features:
  4141     * security fix: "allow_xslt" has to be set to 1 in order to enable
  4142       XSLT processing; note that this defaults to 0 because XSLT is able
  4143       to insert arbitrary HTML into a wiki
  4144     * "action=content" for transclusion into static web pages; emits the
  4145       pure page content, without any <html>, <head>, or <body> tags
  4146     * "?action=links&mimetype=text/plain" works like MeatBall:LinkDatabase
  4147     * "Preferred language" and "Quick links" user settings
  4148     * Added "processor" concept, processors work on the data in "code
  4149       displays" and are called by a bangpath in the first line of data
  4150     * Processors: Colorize, CSV (see HelpOnProcessors)
  4151     * New icons: "{OK}", "(./)", "{X}", "{i}", "{1}", "{2}" and "{}"
  4152       (see HelpOnSmileys)
  4153     * FullSearch now displays context information for search hits
  4154     * DeletePage offers a textentry field for an optional comment
  4155     * Email notifications are sent in the user's language, if known from
  4156       the preferences
  4157     * @PAGE@ is substituted by the name of the current page (useful
  4158       for template pages)
  4159 
  4160 Unfinished features:
  4161     * user defined forms
  4162     * XML export of all data in the wiki
  4163     * RST parser (you need to install docutils to use this)
  4164     * XMLRPC interface
  4165 
  4166 Bugfixes:
  4167     * Syntax warning with Python 2.2 fixed
  4168     * Macro-generated pagelinks are no longer added to the list of links
  4169     * error codes returned by "diff" are reported
  4170     * fix for attachments on pages with non-USASCII names
  4171     * correct handling of spaces in attachment filenames and URLs
  4172 
  4173 -----------------------------------------------------------------------------
  4174 Version 0.11 (2002-03-11, Revision 1.151)
  4175 
  4176 Most important new features: file attachments, definition list markup
  4177 (glossaries), change notification via email, variable substitution when
  4178 saving pages, edit preview, and improved documentation.
  4179 
  4180 Note that the RSS features require a recent PyXML (CVS or 0.7) due to
  4181 bugs in the namespace handling of xml.sax.saxutils in earlier versions.
  4182 This is (hopefully) automatically detected on every installation.
  4183 
  4184 Statistical features are NOT designed to work with Python 1.5.2 and
  4185 require Python 2.0 or higher. Overall, MoinMoin 0.11 is not explicitely
  4186 tested for 1.5.2 compatibility.
  4187 
  4188 New features:
  4189     * XML formatting now (most often) produces well-formed, and, depending
  4190       on proper layout of the wiki page, valid StyleBook XML
  4191     * Headers are now automatically numbered, unless you set the config
  4192       item 'show_section_numbers' to 0
  4193     * "#pragma section-numbers off" (or "0") switches that off explicitely,
  4194       and "on" or "1" enables numbering 
  4195     * Added a "contributions" directory for 3rd party extensions
  4196     * AttachFile action, contributed by Ken Sugino; note that you have
  4197       to enable this action because of the possibility of DoS attacks
  4198       (malicious uploads), by adding this to your moin_config:
  4199             allowed_actions = ['AttachFile']
  4200     * "attachment:" URL scheme allows access to attachments, to get files
  4201        from other pages use "attachment:WikiName/filename.ext".
  4202     * New macros: Date(unixtimestamp) and DateTime(unixtimestamp) to
  4203       display a timestamp according to system/user settings
  4204     * Variable substitution when a page is saved, note that saving
  4205       template pages does NOT expand variables. Supported are:
  4206         @DATE@      Current date in the system's format
  4207         @TIME@      Current date and time in the user's format
  4208         @USERNAME@  Just the user's name (or his domain/IP)
  4209         @USER@      Signature "-- loginname"
  4210         @SIG@       Dated Signature "-- loginname date time"
  4211         @MAILTO@    A fancy mailto: link with the user's data  
  4212     * Copied some new emoticons from PikiePikie
  4213         || {{{ :-? }}} || :-? || tongue.gif ||
  4214         || {{{ :\  }}} || :\  || ohwell.gif ||
  4215         || {{{ >:> }}} || >:> || devil.gif  ||
  4216         || {{{ %)  }}} || %)  || eyes.gif   ||
  4217         || {{{ @)  }}} || @)  || eek.gif    ||
  4218         || {{{ |)  }}} || |)  || tired.gif  ||
  4219         || {{{ ;)) }}} || ;)) || lol.gif    ||
  4220     * AbandonedPages macro
  4221     * Added definition list markup: {{{<whitespace>term:: definition}}}
  4222     * Added email notification features contributed by Daniel Sa�    * SystemInfo: show "Entries in edit log"
  4223     * Added "RSS" icon to RecentChanges macro and code to generate a
  4224       RecentChanges RSS channel, see
  4225           http://www.usemod.com/cgi-bin/mb.pl?UnifiedRecentChanges
  4226       for details
  4227     * Added config.sitename and config.interwikiname parameter
  4228     * Better WikiFarm support:
  4229       * <datadir>/plugin/macro and <datadir>/plugin/action can be used
  4230         to store macros and actions local to a specific wiki instance
  4231       * config.shared_intermap can contain a pathname to a shared
  4232         "intermap.txt" file (i.e. one stored outside the datadir)
  4233     * added `backtick` shortcut for {{{inline literal}}} (has to be
  4234       enabled by "backtick_meta=1" in the config file); note that ``
  4235       is then a shorter replacement for '''''' escaping
  4236     * added inline search fields (at the bottom of each page)
  4237     * Added preview to the editor, including spell checking
  4238     * New languages: Chinese (Changzhe Han) and Portuguese (Jorge
  4239       Godoy), updated French (Lucas Bruand), added Korean (Hye-Shik
  4240       Chang) and Italian (Lele Gaifax)
  4241     * New SystemAdmin macro
  4242     * `[[Anchor(anchorname)]]` macro to insert anchors into a page,
  4243       and [#anchorname Anchor Links].
  4244     * User option to open editor view via a double-click
  4245     * Added commentary field to editor, recent changes and page info
  4246     * Page trails (user option)
  4247     * UserPreferences: checkboxes for double-click edit, page trail,
  4248       fancy links, emoticons, jump to last page visited, and some
  4249       other yes/no options
  4250     * "config.nonexist_qm" is now the default for a user setting
  4251     * `[[GetText(text)]]` macro loads I18N texts (mainly intended
  4252       for use on Help pages)
  4253     * table attributes via "||<attrlist> ... ||", more details on
  4254       http://purl.net/wiki/moin/HelpOnTables
  4255     * PythonFaq interwiki tag and support for $PAGE placeholder
  4256     * event logging, as the basis for future statistics
  4257     * "moin-dump" command line tool to create a static copy of
  4258       the wiki content
  4259     * "config.external_diff" allows to set an exact path to the
  4260       command, or change the name to for example "gdiff" if GNU
  4261       diff is not a native command in your UNIX flavour
  4262     * `[[PageSize]]` macro
  4263     * the interwiki name "Self" now always points to the own wiki
  4264     * config.title1 and config.title2 are inserted into the output
  4265       right before and after the system title html code (title1
  4266       is right after the <body> tag and normally undefined, title2
  4267       defaults to the "<hr>" above the page contents)
  4268     * Additional link on diff pages to ignore whitespace changes
  4269     * Subpages (config.allow_subpages, config.page_icons_up)
  4270     * super^script^, sub,,script,, and __underline__ markup
  4271     * `[[FootNote]]` macro
  4272     * many other new config options, see HelpOnConfiguration for
  4273       a complete list
  4274     * [[StatsChart(type)]] shows statistical charts (currently
  4275       defined types: hitcounts, pagesize, useragents)
  4276     * 'inline:' scheme works like 'attachment:', but tries to
  4277       inline the content of the attachment into the page;
  4278       currently knows about "*.py" sources and colorizes them
  4279     * support for Java applet "TWikiDrawPlugin" via
  4280       drawing:<drawingname> URL scheme (you need to activate
  4281       the AttachFile action if you want drawings)
  4282     * numeric entities (&#nnnnn;) are now optionally NOT escaped,
  4283       which allows you to insert more characters into a Latin-1
  4284       page, especially the Euro symbol
  4285     * navi_bar is now a list of page names which should be linked
  4286       on every page
  4287     * test.cgi is now rolled into moin.cgi, and can be called
  4288       by adding "?test" to the wiki base URL. Also, as a security
  4289       feature, the server's environment is only shown for requests
  4290       local to the web server.
  4291 
  4292 Unfinished features:
  4293     * user defined forms
  4294     * XML export of all data in the wiki
  4295 
  4296 Documentation:
  4297     * extended the online help ("Help*" pages)
  4298     * German help pages (thanks to Thomas Waldmann)
  4299 
  4300 Bugfixes:
  4301     * #425857: python Parser bug on the second call
  4302     * #424917: Caching control
  4303     * #465499: Two HTTPS problems
  4304     * #491155: FrontPage hardcoded
  4305     * Handling of inbound UTF-8 encoded URIs (only with Python >= 2.0)
  4306     * Fix for subtle changes in "re" of Python 2.2
  4307     * User-provided URLs are now never URL-escaped, which allows appending
  4308       #anchors and using %20 for spaces in InterWiki links
  4309 
  4310 -----------------------------------------------------------------------------
  4311 Version 0.10 (2001-10-28, Revision 1.134)
  4312 
  4313 This version is still Python 1.5.2 compatible, but it's not extensively
  4314 tested for that version and some parts of the system might not work
  4315 there, especially seldom used macros and actions. Bug reports welcome!
  4316 
  4317 New features:
  4318     * "#deprecated" processing instruction
  4319     * config entry "SecurityPolicy" to allow for customized permissions
  4320       (see "security.py" for more)
  4321     * added distutils support
  4322     * though not extensively tested, the standalone server now does POST
  4323       requests, i.e. you can save pages; there are still problems with
  4324       persistent global variables! It only works for Python >= 2.0.
  4325     * "bang_meta" config variable and "!NotWikiWord" markup
  4326     * "url_mappings" config variable to dynamically change URL prefixes
  4327       (especially useful in intranets, when whole trees of externally
  4328       hosted documents move around)
  4329     * setting "mail_smarthost" and "mail_from" activates mailing
  4330       features (sending login data on the UserPreferences page)
  4331     * very useful for intranet developer wikis, a means to view pydoc
  4332       documentation, formatted via a XSLT stylesheet, for details see
  4333       http://purl.net/wiki/python/TeudViewer?module=MoinMoin.macro.TeudView
  4334       or MoinMoin/macro/TeudView.py
  4335     * "LocalSiteMap" action by Steve Howell <showell@zipcon.com>
  4336     * Added FOLDOC to intermap.txt
  4337 
  4338 Bugfixes:
  4339     * Full config defaults, import MoinMoin now works w/o moin_config.py
  4340     * Better control over permissions with config.umask
  4341     * Bugfix for a UNIX time billenium bug (affecting RecentChanges
  4342       sorting and page diffs)
  4343     * data paths with directory names containing dots caused problems
  4344 
  4345 -----------------------------------------------------------------------------
  4346 Version 0.9 (2001-05-07)
  4347 
  4348 New features:
  4349     * XML page input (pages that start with "<?xml") and XSLT formatting
  4350     * Page caching, for now limited to XSLT processing (where it's
  4351       absolutely needed); new code & API to add the "RefreshCache" link
  4352     * Selection of common date/time formats in UserPreferences
  4353     * New action "titleindex" to support wiki introspection (MetaWiki);
  4354       see the new links below the index bar in "TitleIndex"
  4355     * UserPreferences: editable CSS URL for personal styles
  4356     * PageInfo: the editor's name or IP is shown for each change
  4357     * WantedPages: a new macro that lists links to non-existent pages
  4358     * OrphanedPages: a new macro that lists pages no other page links to
  4359     * Extensions to the FullSearch macro (see HelpOnMacros)
  4360     * Python syntax highlighting
  4361     * "DeletePage" action (has to be activated, see MoinMoinFaq)
  4362     * "Remove trailing whitespace from each line" option in the editor
  4363     * I18N (currently German and Swedish)
  4364     * Config option "url_schemas" to extend the supported URL types
  4365     * Improved tracebacks by using Ka-Ping's "cgitb"
  4366 
  4367 Bugfixes:
  4368     * The editor now sends a "no-cache" HTTP header
  4369     * "PageList" results are now sorted
  4370     * New config parameter "html_head_queries": send additional header
  4371       for all pages EXCEPT the "normal" view; main usage is to have
  4372       only the normal pages indexed by a spider, not the edit, print,
  4373       etc. views (which cause multiple hits on the same information)
  4374     * Store the modification time of the page file in the editlog, not
  4375       the current time when the log entry is created
  4376 
  4377 -----------------------------------------------------------------------------
  4378 Version 0.8 (2001-01-23)
  4379 
  4380 New features:
  4381     * Page templates (create a new page using a template page, by Richard)
  4382     * Pluggable actions (by Richard)
  4383     * Added "diff since bookmark"
  4384     * Only "normal" URLs (outside of brackets) are converted to inline images
  4385     * Show number of backups in SystemInfo macro
  4386     * Show info on installed extension macros and actions
  4387     * New macro: [[BR]] for line breaks
  4388     * New action "LikePages" (again, Richard)
  4389     * Highlighting of search results, and of bad words when spellchecking
  4390     * Support for "file:" URLS
  4391     * "SpellCheck" action (Richard, me, and Christian)
  4392     * [[Include]] macro (you guessed it, Richard)
  4393 
  4394 Bugfixes:
  4395     * Update bookmark with load time, not click time
  4396     * Changed CSS styles to better suit Netscape's broken handling of CSS
  4397 
  4398 -----------------------------------------------------------------------------
  4399 Version 0.7 (2000-12-06)
  4400 
  4401 New features:
  4402     * RecentChanges bookmarking
  4403 
  4404 Bugfixes:
  4405     * SECURITY FIX
  4406     * Non-greedy extended WikiNames
  4407 
  4408 -----------------------------------------------------------------------------
  4409 Version 0.6 (2000-12-04)
  4410 
  4411 New features:
  4412     * [[UserPreferences]] macro and associated functions
  4413     * [[TableOfContents]] macro
  4414     * Mechanism for external macros (user extensions)
  4415     * Numbered list types and start offsets
  4416 
  4417 Bugfixes:
  4418     * Search dialogs did not work on the FrontPage
  4419     * Add newline to text if last line has none (better diffs)
  4420 
  4421 -----------------------------------------------------------------------------
  4422 Version 0.5 (2000-11-17)
  4423 
  4424 New features:
  4425     * Major refactoring: code is now broken up into modules within the
  4426       "MoinMoin" package
  4427     * Diagnosis of installation via a "test.cgi" script
  4428     * Smileys
  4429     * "#format" processing instruction
  4430     * "##comment"
  4431     * [[RandomPage]] and [[RandomPage(number)]] macro
  4432     * configurable footer ("page_footer1" and "page_footer2")
  4433     * "#redirect" processing instruction
  4434 
  4435 Bugfixes:
  4436     * Bugfix for broken CGI environment of IIS/4.0
  4437     * URLs and InterWiki links are now less greedy (punctuation at the end
  4438       is excluded, and "<" ends them, too)
  4439 
  4440 -----------------------------------------------------------------------------
  4441 Version 0.4 (2000-11-01)
  4442 
  4443 New features:
  4444     * Table markup "||a||b||c||"
  4445     * Headlines "= H1 =", "== H2 ==", and so on up to H5
  4446     * [[PageCount]] macro
  4447     * Added [[Icon(image)]] macro and macro arguments
  4448     * [[PageList(title-regex)]] macro
  4449     * New help system (set of help pages describing all features)
  4450 
  4451 Bugfixes:
  4452     * Create complete URL for "Clear message" link
  4453     * Inline code spans needed cgi.escape
  4454     * Better fix for Python 1.6 "re" problems
  4455     * Fix for uppercase extensions in inline images ("foo.JPG")
  4456     * Fixed colspan in RecentChanges
  4457     * HR size is now limited to 8
  4458     * "}" ends an URL pattern (fixes URLs right at the end of code displays)
  4459 
  4460 -----------------------------------------------------------------------------
  4461 Version 0.3 (2000-10-25)
  4462 
  4463 New features:
  4464     * Check for inline images with InterWiki links (Spam:eggs.gif)
  4465     * New config variable "allow_extended_names", which enables markup for
  4466       wiki names containing ANY character like this: ["any chars"] 
  4467     * New config variable "html_head"
  4468     * New macro [[SystemInfo]]
  4469     * Added inline code ("{{{" and "}}}" on the same line)
  4470     * Support for new config variable "max_macro_size"
  4471 
  4472 Bugfixes:
  4473     * Don't treat sequences with a double colon (CPP::Namespace) as an
  4474       InterWiki link
  4475     * The local part of InterWiki links is now correctly URL-escaped
  4476     * Quickfix for a bug in 1.6's regular expressions
  4477     * Fixed "SpamSpamSpam" bug (multiple entries in word list)
  4478     * Anchor names get quoted in WordIndex and TitleIndex
  4479     * Filtering of filenames in page_list() corrected
  4480     * Escape &, <, > when sending the editor
  4481     * Final(?) fix for japanese wiki names
  4482 
  4483 -----------------------------------------------------------------------------
  4484 Version 0.2 (2000-08-26)
  4485 
  4486 New features:
  4487     * When saving, a datestamp saved in the form and that of the file are
  4488       compared now; so, accidently saving over changes of other people is
  4489       not possible anymore (saving still needs file locking though, for
  4490       race conditions)
  4491     * if the directory "backup" exists in the data dir, pages are saved
  4492       there before a new version is written to disk
  4493     * Removed the "Reset" button from EditPage
  4494     * Added "Reduce editor size" link
  4495     * Added Latin-1 WikiNames (JürgenHermann ;)
  4496     * Speeded up RecentChanges by looking up hostnames ONCE while saving
  4497     * Show at most 14 (distinct) days in RecentChanges
  4498     * Added icons for common functions, at the top of the page
  4499     * Added a printing preview (no icons, etc.)
  4500     * Added bracketed (external) URLs
  4501     * Added support for quoted URLs ("http://...")
  4502     * Added styles for :visited links to CSS
  4503     * Embed image if an URL ends in .gif/.jpg/.png
  4504     * No markup detection in code sections
  4505     * Grey background for code sections
  4506     * Added handling for numbered lists
  4507     * the edit textarea now grows in width with the browser window
  4508       (thanks to Sebastian Dau�for that idea)
  4509     * Added page info (revision history) and viewing of old revisions
  4510     * Added page diff, and diff links on page info
  4511     * Added InterWiki support (use "wiki:WikiServer/theirlocalname"; the list
  4512       of WikiServers is read from "data/intermap.txt")
  4513     * Added "normal" InterWiki links
  4514     * Added "action=raw" to send the raw wiki markup as text/plain (e.g. for
  4515       backup purposes via wget) 
  4516 
  4517 Bugfixes:
  4518     * Removed an exception when saving empty pages
  4519     * Fixed bold nested into emphasis ('''''Bold''' Italic'')
  4520 
  4521 -----------------------------------------------------------------------------
  4522 Version 0.1 (2000-07-29)
  4523 
  4524 Improvements over PikiPiki 1.62:
  4525     * Moved configuration to "moin_config.py"
  4526     * Added "edit_rows" setting
  4527     * Added navigation bar
  4528     * Improved HTML formatting
  4529     * Added timing comment (page created in xx secs)
  4530     * ISO date and time formats by default
  4531     * Formatted RecentChanges with HTML tables
  4532     * Uppercase letters for the index pages
  4533     * Added PythonPowered logo
  4534 
  4535 Bugfixes:
  4536     * Javadoc comments now get formatted properly in {{{ }}} sections
  4537     * Remove \r from submitted pages (so we get PORTABLE wiki files)
  4538     * chmod(0666) eases manual changes to the data dir
  4539 
  4540 -----------------------------------------------------------------------------