Last modified: 2007-05-18 19:44:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11955, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9955 - Disable keyword linking in syntax highlighting
Disable keyword linking in syntax highlighting
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Highlight (Other open bugs)
unspecified
All All
: High enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-18 18:35 UTC by Yuri Astrakhan
Modified: 2007-05-18 19:44 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Yuri Astrakhan 2007-05-18 18:35:52 UTC
The new excellent <source> tag introduces one side effect: GeSHi makes URL links to many keywords in the highlighted source code. Since this goes against common linking practices of the wikipedias, please disable it.

According to GeSHi documentation at 
   http://qbnz.com/highlighter/geshi-doc.html#disabling-all-urls

it can be done with
   $geshi->enable_keyword_links(false);

Thanks!
Comment 1 Yuri Astrakhan 2007-05-18 19:44:48 UTC
Fixed in r22240

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links