The versions of wiki2xhtml and its changelogs.
wiki2xhtml-svn
The most up-to-date version of wiki2xhtml can be found on the Subversion repository. See Building from SVN for details.
Attention: wiki2xhtml requires Java 1.6 now. Java 1.5 will not work anymore.
- wiki2xhtml only parses changed files if the flag
--incremental
is set; makes it much faster when only few files have been edited - Functions
if
,ifeq
, andswitch
are now supported. See also: mediawiki:ParserFunctions - New argument
--source-dir
to choose the directory containing all files. wiki2xhtml.jar no longer needs to be in the same directory as the files. See here. - Arguments for images and links allowing to use custom formatting or plugins like Shadowbox
- Templates also work in the head area.
- Recursions in templates (a template calling itself or building an infinite loop via another way) are detected and you will be warned
- wiki2xhtml uses a minimalistic standard reck file if no design is available
- GUI improved; bigger argument field
- Using the JarClassLoader for the jar file to include the gettext commons library warned.
- CDATA sections in templates are correctly inserted now (content was deleted sometimes due to IDs occuring multiple times)
- wiki2xhtml is now able to run without style directory
- Access to files in .jar corrected (for standalone use of the .jar file)
- wiki2xhtml won’t generate two links from
[http://example.com http://example.com]
anymore. - Menu entries without a link, but with a *, are now correctly recognized (correct level) and no longer inserted as a heading.
Various notes:
- Tag
{{ConsistentGallery}}
disabled; acessible by setting number of images per line to zero ({{GalleryImagesPerLine:0}}
). - Keyword
AddKeywords
has been removed and replaced byKeywords
. - Custom metadata now with
Meta:name=content
- New icons for .zip, .xcf etc. added; will be used in
[[Image:nothing.zip]]
- Preferences dialog improved
- New tag for image pages to insert alternative image text:
[alt]
(only important if you're using a custom style) - wiki2xhtml will warn you if templates end with a newline character. This causes trouble in tables! (Tables will be parsed after the templates, so imagine inserting a newline at the place the template is being inserted at …)
wiki2xhtml 3.3
Version 3.3. Please take a look at the last changes in the documentation.
- 3.3.2 (Dec 17, 2008)
- Argument
direct
for images now works in galleries too. - Alternative reck file can be set (e.g. a special one for PHP)
- HTML head can be customized.
- German flag no longer upside down
- Argument
- 3.3.1 (Oct 7, 2008)
- Arguments for settings
DescForCaption
andNameForCaption
corrected. Is now:false
. - HTML comments (
<!--like that-->
) work again. The two dashes were wrongly recognized asdeleted text.
- Arguments for settings
- New Menu system. See here.
- Basic support for Templates.
- wiki2xhtml now fully supports spaces in filenames (enclose them with zoll chars "like that") and other directories. This allows wiki2xhtml to use files in directories like
"C:\\Documents and Settings\…"
. - Extended:
-
--text--
forremoved text, -
++text++
for inserted text, -
$$code$$
forcode
, -
@@cite@@
for cites, -
::samp::
for samples, -
01kbd01
for keyboard inputs
-
- New tags to include CSS/JavaScript/… in the header
- Documentation updated and extended
- New configuration possibilities, see Quickref
- New classes for references (→ allows the use of
.target
in CSS) - wiki2xhtml has a logo!
- Automatic check for updates if enabled
- Last settings are stored
- Image pages: Extended functionality with >desc> and <desc<
- Updater for reck and image templates
- Anchors can be inserted with
~~text~~
(old:{{Mark:text}}
) - Management of arguments (Title, Author, Thumbnails, …) rewritten, now works as expected. That means:
- Settings in
commons.txt
apply on all files - Settings on single pages override the ones in
commons.txt
(path of thumbnails e.g. can now be page specific!)
- Settings in
- Paragraph inserter rewritten. Faster and standard conform.
- Image handler rewritten, some arguments changed (also arguments in templates!) and are shorter now. Text in galleries doesn’t interrupt linking below image pages anymore.
- Cheatsheet updated
- Duplicate keywords are filtered
- Icons have been refreshed
- GPL again
- Exported shellscripts now start with
#!/bin/sh
- About 15 500 lines of code and over 4500 lines documentation
- Stylesheets extended with the class .noprint (won't be printed)
- Code/Paste windows no longer always on top
- Custom meta data (inserted with {{Meta:…}}) is now inserted correctly without a leading
Meta:
. - A list at the end of the document is closed again
- If a table starts with a row (
|-
or|+
, e.g. to apply CSS to it), there won't be an empty<tr>
tag anymore.
wiki2xhtml 3.2
Version 3.2 (Sat, Feb 16, 2008)
- wiki2xhtml is multi-lingual now!
- A long page can be split into multiple ones
- A new design, “Wide Green”
- The Style “HD” has been adjusted
- You've got the possibility to export .sh (Unix) and .bat (Windows) Scripts.
- Thumbnails can be linked directly to images (without the image page) with the argument “direct”
- {{$Pagename}} inserts the name of the current page
- #REDIRECT redirects to other pages
- .html files will be copied now (and no longer ignored) but not processed
- The comments system has been rewritten completely (concerns primarily command line; arguments
-v
,--silent
and--dead
) - List parser completely rewritten, heading parser partially rewritten
- Tables:
| entry 1 !! entry 2
is possible - The GUI has been adjusted
- The documentation has been updated (images) and structurated
- Images inserted with [[Image:path]] (without the argument thumb) are only resized with the argument width=number or w=number
- The navigation file (or index file) is now called menu file (menu.txt) for consistency reasons
- A vertical bar to separate link and Description is possible for both internal and external links surroundet with each one respectively two square brackets
-
{{ID:...}}
disabled - (Obsolete) styles “Nature” and “Glass” removed
- Fixed: Unhandsome code in definition lists (
:
and;
) - Fixed: Direct links in parentheses are recognized now. Example:
… in parentheses (http://example.com) are …
- Fixed: A tag immediately following a link (like
http://example.com<br />
) isn't added to the link anymore - Fixed: Special patterns (
[[Image:
followed by anything but the closing square brackets) won't lead to a crash anymore[1] - Fixed:
''the car's driver''
is now recognized as italic text (antecendent the ' used to prevent this) - Fixed: Random design is again selectable in the GUI
- 3.2.1
- Wrong link recognition fixed (now without ' at the end and without " at the beginning)
- Little mistake in comments system fixed (text wasn't displayed)
wiki2xhtml 3.1.0
Version 3.1.0 (Mon Oct 1 20:42:36 UTC 2007)
- I've changed the license to LGPL
- The update checker has been extended a little bit
wiki2xhtml 3.0.4
Version 3.0.4 (Son Sep 23 14:04:55 UTC 2007)
- Check for updates in the Preferences dialogue and for the command line (argument --www)
- Compiled with Java 5 (not Java 6) again for better compatibility (runs also on PCs which aren't up-to-date)
wiki2xhtml 3.0.3
Version 3.0.3 (Sa Jul 21 14:38:30 CEST 2007)
- Fixed: Paragraphs aren't inserted anymore between the tags pre and code. If you want to prevent the text from being edited generally (e.g. links), use the nowiki-tags too. (Bug #1751697)
wiki2xhtml 3.0.2
Version 3.0.2 (Fr Jun 29 23:37:26 CEST 2007)
- A custom width for image thumbnails can be set in the css-settings.txt (in the according design directory) with {{thumb-imagewidth:value}}
- Submenu “Info” added in the GUI
- Images: w= is now an abbreviation for width=, pw= for pwidth=
- Fixed: [[Image:picture.jpg]] inserts picture.jpg and no more its thumbnail (thumbnails need the argument thumb)
- Fixed: Argument
--consistent-gallery
didn't work in the first line, if it was set to two images per line (css-settings.txt: [[Consistent-Gallery:2]]) - Fixed: If a link (without square brackets) stood at the end of a cell, the </td> was appended to the link target
- Fixed: The code paste window is working again (didn't work anymore in 3.0)
wiki2xhtml 3.0
Version 3.0 (Sa Jun 23 12:09:26 CEST 2007)
- You can use PHP files! The flag <!--nowiki--> prevents wiki2xhtml from doing anything with it. Text before the (optional) <!--endtop--> is put at the top of the page (before the html) what is required by some php functions like sessions.
- Templates for galleries and images for more design-possibilities
- New lines (<br />) can be inserted with “\\ ” (two backslashes followed by a space) like in the DokuWiki (Feature Request #1721336)
- Long image descriptions can be inserted with ld=... (only displayed on the image description pages)
- New design: GlassBorder
- You can have headers and normal cells on one line too (e.g. ! header || normal cell !! again header)
- Curly braces are allowed in the title: {{H1:Here is a } in the title}} (for use in PHP)
- Changed div in the top link to span
- Image argument “thumb” generates image pages (only S[Image:test.jpg]] does not)
- Some styles adjusted (HD, Autumn)
- Fixed: Text-only gallery entries don't have an ID any more
- Fixed: wiki2xhtml crashed when there was a single | on one line (in tables)
wiki2xhtml 2.6
Version 2.6 (Fr Mai 18 19:40:57 CEST 2007)
- The menu can contain sub-menus; you can insert them with one or two * at the beginning of the line with the target link (Feature Request #1717610)
- List entries (*, #, :, ;) may have arguments (Feature Request #1718195)
Example: * style="color: #f00;" | red text - Designs updated
- Lists are better looking (indent with spaces) (Feature Request #1651883)
- gif images in the style directory are copied too
- The first {{Language:...}} or is taken, thus further ones don't have to be masqueraded with { (causes a { in HTML). The same for all {{something:text}} tags except AddKeywords and Meta.
wiki2xhtml 2.5.1
Version 2.5.1 (Fr 27. Apr 19:49:24 CEST 2007)
- The argument
<meta name="robots" content="all" />
is added to the files (thus search engines search the files). It will be possible to determine whether that is to be appended in further releases. - {{Language:...}} is now possible too to set the document's language. (Other: {Lang:...}})
- Fixed: The last line was cut away
- Fixed: NullPointerException in the GUI
wiki2xhtml 2.5
Version 2.5 (So 22. Apr 10:37:17 CEST 2007)
- Scrollbars for the Paste/Code windows! (Feature Request #1654117)
- Buttons in the Paste Window: Open, Save, Remove Linebreaks (Feature Request #1654119)
- Added a previous/next button to image pages from galleries
- Designs have been updated
- Internal links now have to be written on one line
- <html> tag added in the designs
Footnotes
- [↑] For interested people. The (quite simplified) original regular expression:
\[\[image:([^\]]*)+\]\]
. Problematic is that there is a greedy quantifier both within the parentheses and outside:([^\]]*)+
(This expression means “Any character but a square bracket, any times, and all that at least one time”.) When the expression fails (that is, if there are no two final square brackets), every imaginably case is tested through here which lets the required time growing—due to the nested quantifiers—exponencially. Note that there is no problem with a successful match! See also: Mastering Regular Expressions, Jeffrey E.F. Friedl, O'Reilly, Chapter six, A Sobering Example.