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