Gergő Tisza has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/245580

Change subject: [DO NOT MERGE] Make SyntaxHighlight_GeSHi::highlight public
......................................................................

[DO NOT MERGE] Make SyntaxHighlight_GeSHi::highlight public

This is part of a workaround for vagrant being broken when Scribunto
tries to call SyntaxHighlight in a way that's not supported anymore.
The rest is in I2d518b5412efbe4e8ddb43e7c465ea55dc44b1a3.

Bug: T109873
Change-Id: Ide7ab4b84d1aacad2db8400de9e350a09c80e8c0
---
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/80/245580/1

diff --git a/SyntaxHighlight_GeSHi.class.php b/SyntaxHighlight_GeSHi.class.php
index 535e37a..a8329b2 100644
--- a/SyntaxHighlight_GeSHi.class.php
+++ b/SyntaxHighlight_GeSHi.class.php
@@ -200,7 +200,7 @@
         * @return Status Status object, with HTML representing the highlighted
         *  code as its value.
         */
-       protected static function highlight( $code, $lang = null, $args = 
array() ) {
+       public static function highlight( $code, $lang = null, $args = array() 
) {
                global $wgPygmentizePath;
 
                $status = new Status;

-- 
To view, visit https://gerrit.wikimedia.org/r/245580
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide7ab4b84d1aacad2db8400de9e350a09c80e8c0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SyntaxHighlight_GeSHi
Gerrit-Branch: master
Gerrit-Owner: GergÅ‘ Tisza <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to