Summary: FCKeditor browser requirement breaks
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: FCKeditor

maintenance/update.php is run from the shell, and many server vars aren't
present for PHP CLI. FCKeditor (in REL1_16_0 at least) tries to access
$_SERVER['HTTP_USER_AGENT'], among others:

.../mediawiki% php maintenance/update.php
PHP Notice:  Undefined index: HTTP_USER_AGENT in
.../mediawiki/extensions/FCKeditor/fckeditor/fckeditor_php5.php on line 37
PHP Stack trace:
PHP   1. {main}() .../mediawiki/maintenance/update.php:0
PHP   2. require_once() .../mediawiki/maintenance/update.php:15
PHP   3. require() .../mediawiki/maintenance/
PHP   4. require_once() .../mediawiki/maintenance/doMaintenance.php:77
PHP   5. include() .../settings/LocalSettings.php:32
PHP   6. require_once() .../settings/GeneralSettings-wiki.php:186
PHP   7. FCKeditor->IsCompatible()
PHP   8. FCKeditor_IsCompatibleBrowser()

Configure bugmail:
------- 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

Reply via email to