Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0534e9da5b
Fetching contributors…

Cannot retrieve contributors at this time

file 154 lines (143 sloc) 5.226 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.8.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
 <name>Text_Wiki_Mediawiki</name>
 <channel>pear.php.net</channel>
 <summary>Mediawiki parser for Text_Wiki</summary>
 <description>Parses Mediawiki mark-up to tokenize the text for Text_Wiki renderings. You can see a reference for this syntax here: http://meta.wikimedia.org/wiki/Help:Editing#The_wiki_markup
 </description>
 <lead>
  <name>Moritz Venn</name>
  <user>ritzmo</user>
  <email>moritz.venn@freaque.net</email>
  <active>yes</active>
 </lead>
 <lead>
  <name>bertrand Gugger</name>
  <user>toggg</user>
  <email>toggg at php dot net</email>
  <active>yes</active>
 </lead>
 <lead>
  <name>Rodrigo Sampaio Primo</name>
  <user>rodrigosprimo</user>
  <email>rodrigo at utopia dot org dot br</email>
  <active>yes</active>
 </lead>
 <date>2009-08-10</date>
 <time>11:09:03</time>
 <version>
  <release>0.2.0</release>
  <api>0.2.0</api>
 </version>
 <stability>
  <release>alpha</release>
  <api>alpha</api>
 </stability>
 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license>
 <notes>
This release has the following improvements:

* PHPUnit tests for Mediawiki parser
* Support for heading with only one level (ie: =heading=)
* Add parse for redirect rule
* Fix bug #16455: proper parsing of bold and italic
 </notes>
 <contents>
  <dir name="/">
   <dir name="Text">
    <dir name="Wiki">
     <dir name="Parse">
      <dir name="Mediawiki">
       <file name="Break.php" role="php" />
       <file name="Code.php" role="php" />
       <file name="Comment.php" role="php" />
       <file name="Deflist.php" role="php" />
       <file name="Emphasis.php" role="php" />
       <file name="Heading.php" role="php" />
       <file name="List.php" role="php" />
       <file name="Newline.php" role="php" />
       <file name="Preformatted.php" role="php" />
       <file name="Raw.php" role="php" />
       <file name="Redirect.php" role="php" />
       <file name="Subscript.php" role="php" />
       <file name="Superscript.php" role="php" />
       <file name="Table.php" role="php" />
       <file name="Tt.php" role="php" />
       <file name="Url.php" role="php" />
       <file name="Wikilink.php" role="php" />
      </dir> <!-- //Text/Wiki/Parse/Mediawiki -->
     </dir> <!-- //Text/Wiki/Parse -->
     <file name="Mediawiki.php" role="php" />
    </dir> <!-- //Text/Wiki -->
   </dir> <!-- //Text -->
  </dir> <!-- / -->
 </contents>
 <dependencies>
  <required>
   <php>
    <min>4.0.0</min>
   </php>
   <pearinstaller>
    <min>1.4.0b1</min>
   </pearinstaller>
   <package>
    <name>Text_Wiki</name>
    <channel>pear.php.net</channel>
    <min>1.1.0</min>
   </package>
  </required>
 </dependencies>
 <phprelease />
 <changelog>
  <release>
   <version>0.1.0</version>
   <date>2006-04-10</date>
   <license>LGPL</license>
   <state>alpha</state>
   <notes>
Major release of Text_Wiki_Mediawiki : several rules have been added or revamped
It also takes advantage of the new Text_Wiki-1.1.0 engine.

* Add the Wikilink rule (#6623)
  Configuration:
  - 'spaceUnderscore' : boolean (true) replace spaces in page name by underscores,
  - '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 : &lt;nowiki&gt; ... &lt;/nowiki&gt; may be multiline

* Overwrite of getTokens() removed, was not needed and even dangerous ...
   </notes>
  </release>
  <release>
   <version>
    <release>0.0.1</release>
    <api>0.0.1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2006-01-07</date>
   <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license>
   <notes>
First released version of Text_Wiki_Mediawiki.
   </notes>
  </release>
 </changelog>
</package>
Something went wrong with that request. Please try again.