Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.