4dcb2b6fb6
Prior to this commit the MediaWiki writer always added the display text for a wiki link: * [[Help|Help]] * [[Bubbles|Everyone loves bubbles]] However the display text in the first example is redundant since MediaWiki uses the target as the default display text. The result being: * [[Help]] * [[Bubbles|Everyone loves bubbles]]
8 lines
247 B
Markdown
8 lines
247 B
Markdown
Wiki links should have no display text, if their display text matches
|
|
their target.
|
|
```
|
|
% pandoc -f mediawiki -t mediawiki
|
|
[[Help]] [[Butter|Butter]] [[Bubbles|Everyone loves bubbles]]
|
|
^D
|
|
[[Help]] [[Butter]] [[Bubbles|Everyone loves bubbles]]
|
|
```
|