Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Mediawiki, how to insert a line break within a wikilink?

Context: An otherwise nicely balanced table is distorded (one column is very wide while the other columns are narrow) because of a very long wikilink. So I would like this link to be split in two lines.

This breaks the line, but the text is not rendered as a link:

[[Chargoggagoggmanchaugga<br/>goggchaubunagungamaugg]]
share|improve this question
    
Maybe setting widths of the columns would be a better solution? – svick Sep 19 '12 at 10:17
up vote 3 down vote accepted

The problem is that you're using the same text both for link text and link target. The HTML tag can't appear in a link target, so the wiki assumes you didn't mean to generate a link.

You need to specify text and target separately:

 [[Chargoggagoggmanchauggagogg|Chargoggagoggmanchaugga<br/>gogg]]
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .