You can use
http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
Siebrand
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Anne Wilson
Sent: Thursday, August 12, 2010 2:23 PM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] Quoting code with line numbers
It's easiest if I just quote my contributor:
<quote>
I'm translating some pages from techbase and need to use lot of the <code> -
tag. As described I write <code cppqt n> .... </code> and get a result with
the following line:
Invalid language argument, "cppqt", select one from the list:
I've tried cpp, cpp-qt, c, qt , etc, but all results in the same error. So a correct
tagged code sequence isn't displayed at least and important parts of information are
missing by the end user.
I noticed the possibility to substitute the <code> tag with the <pre>. But
this gives no line numbering </quote>
Can anyone suggest a solution please?