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





--- Comment #8 from David Newman <d.r.new...@qub.ac.uk>  2010-01-11 23:11:29 
UTC ---
I seem to have found a way of fixing the bug on my setup. It is probably not
the complete solution,
but it might help a better programmer find a better solution.

In FCKeditor.body.php the custom editor function is defined as:

  public function onCustomEditor(&$article, &$user)


But in Wiki.php, there is a line that says:

  if( wfRunHooks( 'CustomEditor', array( $article, $user ) ) ) {

When I changed one of them to make either both calls pass by reference, or both
calls pass by value, the error went away, and the FCK editor popped up. 

I wonder if this mismatch has been caught by one of the backward
incompatibilities
of PHP 5.3 (http://uk3.php.net/manual/en/migration53.incompatible.php)?


-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to