Esanders has uploaded a new change for review.
https://gerrit.wikimedia.org/r/216983
Change subject: Use normal line numbers
......................................................................
Use normal line numbers
'Fancy' line numbers are a fairly useless feature, not seen
in any other code highlighter. As the extension doesn't let you
choose a line number mode, default to normal.
Bug: T101602
Change-Id: Iccbd3ba6c91c58b0ea0f0c09832f1422936cd475
---
M SyntaxHighlight_GeSHi.class.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SyntaxHighlight_GeSHi
refs/changes/83/216983/1
diff --git a/SyntaxHighlight_GeSHi.class.php b/SyntaxHighlight_GeSHi.class.php
index d679e54..fcaa4a2 100644
--- a/SyntaxHighlight_GeSHi.class.php
+++ b/SyntaxHighlight_GeSHi.class.php
@@ -102,7 +102,7 @@
// Line numbers
if ( isset( $args['line'] ) ) {
- $geshi->enable_line_numbers( GESHI_FANCY_LINE_NUMBERS );
+ $geshi->enable_line_numbers( GESHI_NORMAL_LINE_NUMBERS
);
}
// Highlighting specific lines
if ( isset( $args['highlight'] ) ) {
--
To view, visit https://gerrit.wikimedia.org/r/216983
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iccbd3ba6c91c58b0ea0f0c09832f1422936cd475
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SyntaxHighlight_GeSHi
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits