https://bugzilla.wikimedia.org/show_bug.cgi?id=42577

--- Comment #7 from MZMcBride <[email protected]> 2012-11-30 15:57:28 UTC ---
$wgCodeEditorEnableCore seems to control the CodeEditor functionality only for
CSS and JS pages:

---
class CodeEditorHooks {
    static function getPageLanguage( $title ) {
        global $wgCodeEditorEnableCore;

        // Try CSS/JS
        if( $wgCodeEditorEnableCore && $title->isCssOrJsPage() ) {
            if( preg_match( '/\.js$/', $title->getText() ) )
                return 'javascript';
            if( preg_match( '/\.css$/', $title->getText() ) )
                return 'css';
        }
---

I still feel this bug is fundamentally a duplicate of bug 39654.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to