https://bugzilla.wikimedia.org/show_bug.cgi?id=20657
Sam Reed (reedy) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|Normal |Unprioritized Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Sam Reed (reedy) <[email protected]> --- Why not just include it in your own code? Are you actually using anything from the SyntaxHighlight_GeSHi class? As you can only have one thing handling one tag, having this loaded in aswell would be useless. What's the point of moving it to the SyntaxHighlight_GeSHi class? It will still exist in the source. In the same idea, you could "move" (well, copy) it to your own code.. And to top all that off, get_language_name_from_extension isn't even static (when it should probably be), so you're instantiating an instance of the class and anything else it loads in, for these 90 lines of code. You should probably just use SyntaxHighlight_GeSHi::prepare( 'foo', 'ext')->get_language_name_from_extension( 'ext' ) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
