Extension talk:Colorize

From MediaWiki.org
Jump to navigation Jump to search
  • Tested on latest version and dont works. Please update it!. 08:24, 1 September 2007 (UTC) THIS DOESNT WORK ON 1.10!!!!!!
    • ¿? I tested it on MediaWiki 1.10 and 1.11 and works fine. What problem do you have?
      • Warning: Cannot modify header information - headers already sent by (output started at *****extensions/Colorize.php:1) in *****includes/WebResponse.php on line 10

php5 maybe? --Vev 10:42, 12 January 2008 (UTC)

Try removing the closing php tag (?>) - Worked for me! -- Martin 20:37, 10 March 2008 (UTC)

  • Yes, I think it's a problem with trailing spaces when copy&paste the code 16:24, 9 April 2008 (UTC)


One may need to change &$parser to $parser on more modern versions of MediaWiki. Jlerner 19:04, 3 May 2010 (UTC)

  • i can confirm both of the above suggestions: to make it work under mediawiki-1.15.3, i deleted the closing php tag ?> and also changed function wfColorizeRender( $input, $argv, &$parser ) to function wfColorizeRender( $input, $argv, $parser). --Chris 09:15, 21 May 2010 (UTC)

Cannot support Chinese[edit]

It works well for english characters. However, It can not work for chinese. 这个扩展不支持中文。How to change? --Simonlsw (talk) 10:01, 7 December 2013 (UTC)