summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/MediaWiki.hs
Commit message (Collapse)AuthorAge
* MediaWiki reader: Tightened up template parsing.John MacFarlane2014-06-20
| | | | | | The opening "{{" must be followed by an alphanumeric or ':'. This prevents the exponential slowdown in #1033. Closes #1033.
* MediaWiki reader: Support --trace.John MacFarlane2014-06-20
|
* Update copyright notices for 2014, add missing noticesAlbert Krewinkel2014-05-09
|
* MediaWiki reader: Handle table rows containing just an HTML comment.John MacFarlane2014-04-10
| | | | Closes #1230.
* MediaWiki reader: Fixed bug in certain nested lists.John MacFarlane2014-04-01
| | | | | | | The bug: If a level 2 list was followed by a level 1 list, the first item of the level 1 list would be lost. Closes #1213.
* Parsing: Added HasMacros, simplified other typeclasses.John MacFarlane2014-03-25
| | | | | Removed updateHeaderMap, setHeaderMap, getHeaderMap, updateIdentifierList, setIdentifierList, getIdentifierList.
* API changes to HasReaderOptions, HasHeaderMap, HasIdentifierList.John MacFarlane2014-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously these were typeclasses of monads. They've been changed to be typeclasses of states. This ismplifies the instance definitions and provides more flexibility. This is an API change! However, it should be backwards compatible unless you're defining instances of HasReaderOptions, HasHeaderMap, or HasIdentifierList. The old getOption function should work as before (albeit with a more general type). The function askReaderOption has been removed. extractReaderOptions has been added. getOption has been given a default definition. In HasHeaderMap, extractHeaderMap and updateHeaderMap have been added. Default definitions have been given for getHeaderMap, putHeaderMap, and modifyHeaderMap. In HasIdentifierList, extractIdentifierList and updateIdentifierList have been added. Default definitions have been given for getIdentifierList, putIdentifierList, and modifyIdentifierList. The ultimate goal here is to allow different parsers to use their own, tailored parser states (instead of ParserState) while still using shared functions.
* Merge pull request #1068 from jaimeMF/mw-images-langsJohn MacFarlane2014-03-24
|\ | | | | MediaWiki reader: Accept image links in more languages
| * MediaWiki reader: Accept image links in more languagesJaime Marquínez Ferrándiz2013-11-24
| | | | | | | | In some of the Wikipedia versions the local version of 'File' is used (for example 'Archivo' in Spanish)
* | Fixed mediawiki ordered list parsing.John MacFarlane2014-01-22
| | | | | | | | Closes #1122.
* | HLint: use fromMaybeHenry de Valence2013-12-19
|/ | | | Replace uses of `maybe x id` with `fromMaybe x`.
* MediaWiki reader: Add automatic header identifiers.John MacFarlane2013-11-17
|
* MediaWiki reader: Trim contents of `<math>` tags.John MacFarlane2013-10-18
| | | | | | Otherwise we get problems when converting to markdown. Closes #1027.
* Mediawiki: Parse an image + caption in a para by itself as a figure.John MacFarlane2013-09-11
|
* MedaWiki reader: Implement some mathjax extensions.John MacFarlane2013-09-07
| | | | | | | | * `:<math>` for display math * `\(..\)` for inline math * `\[..\]` for display math We omit the `$` forms as the heuristics are harder.
* MediaWiki reader: Allow Image: for images.John MacFarlane2013-09-06
| | | | Closes #971.
* Use walk, walkM in place of bottomUp, bottomUpM when possible.John MacFarlane2013-08-10
| | | | They are significantly faster.
* MediaWiki reader: Ignore attributes on headers.John MacFarlane2013-05-20
|
* MediaWiki reader: Skip attributes on table rows.John MacFarlane2013-05-20
| | | | | Previously we just crashed if rows had attributes, now we ignore them.
* Mediawiki reader: Fixed | links inside table cells.John MacFarlane2013-03-28
| | | | Improved attribute parsing.
* Mediawiki reader: Fixed last commit.John MacFarlane2013-03-28
|
* MediaWiki reader: Correctly handle indented preformatted textJohn MacFarlane2013-03-28
| | | | without preceding or following blank line.
* mediawiki reader: allow space before table rows.John MacFarlane2013-03-27
|
* Mediawiki reader: Don't require blanklines after tables.Jeff Runningen2013-01-27
|
* Use anyLine everywhere instead of 'manyTill anyChar newline'.John MacFarlane2013-01-25
|
* Mediawiki reader: interpret HTML in verbatim contexts as text.John MacFarlane2013-01-06
| | | | | Thanks to Jeff Runningen for reporting that mediawiki works this way.
* MediaWiki reader: Allow table in table cell.John MacFarlane2012-09-15
|
* MediaWiki reader: Added smart doublequotes with -S option.John MacFarlane2012-09-15
| | | | | Also disallow ' in the "trail" of an internal link; allowing it causes bugs with `'''[[Link]]'''`.
* MediaWiki parser: Improved endline to stop bad breaks.John MacFarlane2012-09-15
|
* MediaWiki reader: Allow def list item with just a term.John MacFarlane2012-09-15
|
* MediaWiki reader: Properly handle templates in list items.John MacFarlane2012-09-15
|
* MediaWiki reader: Handle ref tags as footnotes.John MacFarlane2012-09-15
|
* MediaWiki reader: Better parsing of templates.John MacFarlane2012-09-15
|
* MediaWiki reader: Treat "references" tag as block.John MacFarlane2012-09-15
|
* MediaWiki reader: Interpret width attribute on table columns.John MacFarlane2012-09-15
|
* MediaWiki reader: Got alignments working.John MacFarlane2012-09-15
| | | | | They only work on headers, because pandoc forces same alignment for all cells in a column.
* MediaWiki reader: Misc fixes, put category links at end.John MacFarlane2012-09-15
|
* MediaWiki reader: Skip inline templates, handle <source>.John MacFarlane2012-09-15
|
* MediaWiki reader: Parse styles on table cells.John MacFarlane2012-09-15
|
* MediaWiki reader: Parse styles after '{|' table start.John MacFarlane2012-09-15
|
* MediaWiki reader: || between table cells.John MacFarlane2012-09-14
|
* MediaWiki reader: Improved table parsing.John MacFarlane2012-09-14
|
* MediaWiki reader: Table improvements, added simple table tests.John MacFarlane2012-09-14
|
* MediaWiki reader: Support for basic mediawiki tables.John MacFarlane2012-09-14
|
* MediaWiki reader: Images.John MacFarlane2012-09-13
|
* MediaWiki reader: internal links.John MacFarlane2012-09-13
|
* MediaWiki reader: Implemented basic internal links.John MacFarlane2012-09-13
| | | | Including word-ending links and the "pipe trick."
* MediaWiki reader: Implemented numbered external links.John MacFarlane2012-09-13
|
* MediaWiki reader: Use MWState instead of ParserState.John MacFarlane2012-09-13
|
* MediaWiki reader: Ignore `<gallery>` tags.John MacFarlane2012-09-13
|