Text_Wiki_Mediawiki-0.1.0

From: Date: Fri, 07 Apr 2006 22:50:15 +0000
Subject: Text_Wiki_Mediawiki-0.1.0
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42137@lists.php.net to get a copy of this message
Bonsoir, We plan to release Text_Wiki_Mediawiki-0.1.0 soon. It could not be done before Text_Wiki-1.1.0 As we don't have some own directory on pearweb, you can take the files as : http://cvs.php.net/viewcvs.cgi/pear/Text_Wiki/Text/Wiki/Mediawiki.php and http://cvs.php.net/viewcvs.cgi/pear/Text_Wiki/Text/Wiki/Parse/Mediawiki/ We would be thankful for any comment, correction or request. Mediawiki is a very rich syntax , made by lot of people , very powerfull. You cannot know it if you don't do it. This package parses text according to the Mediawiki syntax to produce a tokenized form what Text_Wiki can transform in Xhtml , Latex , Plain or other wikis. Here is the changelog : Major release of Text_Wiki_Mediawiki : several rules have been added or revamped It also takes advantage of the new Text_Wiki engine (1.1.0) * Add the Wilink rule (#6623) Configuration: - 'spaceUnderscore' : boolean (true) replace spaces in page name by underscore, - 'project' : optional array of prefixes for the local project (array('demo', 'd')), - 'url' : base url of the project for interlanguage ('http://example.com/en/page=%s'), - 'langage' : language of the project, will be replaced case interlanguage ('en'). * Unify all links parsing: Image and Interwiki are now done by the Wikilink rule These 2 rules don't exist anymore as independant classes but are still configurable/switchable as normal rules * Interwiki's configuration for urls is now done parser side Configuration: - 'sites' : associative array of url patterns indexed by site prefixes, - 'interlangage' : array of accepted interlanguages codes. * Image corrected to be complient with Mediawiki syntax Take align attribute (left, center, or right) as piped after the | in image tag Configuration: - 'prefix' : array of accepted image prefixes (array('Image', 'image')). * List rule added , it's no more using the Text_Wiki default but a complient proper class * Deflist rule added (definitions list) * Heading corrected : it does not more require extra spaces and line feed (#6623) * Emphasis corrected to produce also Strong and not Bold (Strong exists only by rendering) * Raw : <nowiki> ... </nowiki> may be multiline * Overwrite of getTokens() removed, was not needed and even dangerous ... We really hope you will enjoy it. Regards. -- toggg

« previous php.pear.dev (#42137) next »