Extension:Wiki2LaTeX/Development

This is where all the development efforts take place.

A simple Updatescript
In order to update a wiki2latex-installation to the latest dev-version, you can use this script. Just place it in your wiki2latex folder and run it directly. It downloads the sources from this page and updates your files.

Warning: It is not recommended to use this update method for other purposes then testing the newest-latest-and-greatest dev-version of wiki2latex. Do not use this script in a production environment!

Requirements: PHP's allow_url_fopen has to be enabled. PHP needs the rights to write to the files.

v.0.8

 * Removed pdf-archive. It will be back in a future version but will be using Mediawikis upload-feature.
 * Removed changing noinclude/includeonly behaviour.
 * Removed typographic-quote-detection (too buggy to be useful)
 * Removed Paralist-support. It is now available as contribution.
 * Removed GeSHi-integration.
 * Added a contrib-directory where some Presets for Mediawiki-Extensions and LaTeX-Packages can be found. Further information can be found in the documentation. Pre, math, ref and references are activated by default.
 * Added some more descriptive error messages.
 * Internal Links can now optionally link to the originating article on the wiki (by adding include('contrib/linkify.php'); to w2lConfig.php).
 * Added support for &lt;strong&gt; and &lt;em&gt; and &lt;br/&gt; HTML-Tags
 * Greatly improved Auto-Template-Feature as it is now quite extensible.
 * Now every template is required to use babel (english users might not need it).
 * Quotes should now work fine. They are specific to the selection of babel-language.
 * Now using Mediawikis Hook-System. This change breaks every old function which made use of the eventsystem of older versions. They have to be changed. Please have a look into examples/event_function.txt and the documentation of all hooks provided.
 * Fixed some Warnings and Notices thrown by PHP
 * Wiki2LaTeX can now be used without a w2lConfig.php-file.
 * By changing the default LaTeX-command, Wiki2LaTeX should no longer crash when packages are missing or other LaTeX-errors occur.
 * Made some improvements to the result screen.

v.0.7
Before updating please check out The update instructions as several changes are required to update an existing W2L installation.
 * [feature] Improved table support:
 * [feature] Support colspan-attribute (rowspan is not supported)
 * [feature] | as row-delimiter gives a double line in latex
 * [feature] Add latexwidth attribute
 * [feature] Support for nested tables (a bit ugly though) was added
 * [feature] Added a pdf-archive
 * [feature] Added the ability to automagically create a LaTeX-Template, thus removing the option to use no template when exporting an article to pdf.
 * [feature] Wiki2LaTeX is now localizable.
 * [feature] Added limited html-tag support
 * [feature] Temporary files can now be deleted (there is a link next to the start export-button).
 * [feature] tmp and archive path can be put anywhere, as long as they reside somewhere below the Mediawiki-root.
 * [fixed] Some LINUX-related fixes
 * [fixed] Add some space to the latex-tab so tabs look grouped.
 * [change] Changed names of configuration arrays. The old names can still be used.
 * [change] Changed installation sequence
 * [change] Now checking for required Mediawiki-Version, as older versions are not tested.
 * [change] Removed some config-flags.
 * [intern] Completely reorganized code
 * [intern] Code that deals with directories has been rewritten.

v.0.6.2

 * [fixed] Quotation marks did not work
 * [fixed] Typographic quote detection does not work
 * [fixed] Check for an unexpected value when generating Template-Variables
 * [fixed] (Hopefully) fixed an issue which prevented templates from loading on non-german installations of Mediawiki.

v.0.6.1

 * [fixed] HTML-Entities did not work

v.0.6

 * [feature] Tables are supported now (requires tabularx package!) Please read Extension talk:Wiki2LaTeX/Development/w2lParser.php for further information. (Thanks to Ole Dahle)
 * [feature] Images are supported (graphicx-package required!) (Thanks to Ole Dahle)
 * [feature] Variables like   are supported.
 * [feature] These variables can also be inserted into LaTeX-Templates by using ((SITENAME)) (Variablename in double normal braces).
 * [fixed] Compatible with Mediawiki 1.11

v.0.5

 * [feature] Nested templates and parserfunctions are supported now
 * [feature] Documentclass can be selected, so headings are generated properly
 * [feature] functions that are registered to some (w2l)-hook can now be disabled
 * [feature] filetype of putput can be customized, so ps and dvi output is possible
 * [feature] amount of repetitions of calling LaTeX-command can now be customized so enabling MikTeXs 'texify.exe', which runs LaTeX as often as neccessary
 * [feature] default action and default template can be set in configfile
 * [fixed] crash when LaTeX-namespace is not created
 * [fixed] crash when exporting to pdf with no LaTeX-Template selected
 * [fixed] geshi can now be disabled by a configflag
 * [fixed] pathinformation is not required for calling the latexcommand
 * [fixed] Better use of Mediawikis internal ways to request content of articles
 * [fixed]   sections were not parsed correctly, though complex noinclude-includeonly structures might still fail.
 * [fixed] Support for the parserfunction extension was removed from default settings. To reenable it, copy some commented lines of the w2lConfig.sample.php over to your w2lConfig.php.
 * [fixed] personal config file is not overwritten when updating the extension
 * [fixed] '?>' closing tag removed from all files (in line with Mediawiki 1.11)