~ubuntu-branches/ubuntu/precise/mediawiki-extensions/precise

« back to all changes in this revision

Viewing changes to debian/patches/fix_fckeditor.patch

  • Committer: Bazaar Package Importer
  • Author(s): Romain Beauxis
  • Date: 2010-05-04 15:13:35 UTC
  • mfrom: (0.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100504151335-54qeucg3ec108q28
Tags: 2.2
* Added Replaces:/Conflicts: to allow a proper upgrade.
Closes: #580066
* Fixed package descriptions.
Closes: #579667
* Patched mediawiki-extensions-fckeditor to make it work with
  php 5.3. The fix may not be perfect but at least it work.
  Not closing the bug (#579822) for now..

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Quick and dirty fix for #579822
 
2
 
 
3
Index: mediawiki-extensions-2.2/dist/mediawiki-extensions-fckeditor/usr/share/mediawiki-extensions/fckeditor/FCKeditor.body.php
 
4
===================================================================
 
5
--- mediawiki-extensions-2.2.orig/dist/mediawiki-extensions-fckeditor/usr/share/mediawiki-extensions/fckeditor/FCKeditor.body.php       2010-05-04 15:20:15.000000000 -0500
 
6
+++ mediawiki-extensions-2.2/dist/mediawiki-extensions-fckeditor/usr/share/mediawiki-extensions/fckeditor/FCKeditor.body.php    2010-05-04 15:20:34.000000000 -0500
 
7
@@ -203,7 +203,7 @@
 
8
                }
 
9
        }
 
10
 
 
11
-       public function onCustomEditor(&$article, &$user) {
 
12
+       public function onCustomEditor($article, $user) {
 
13
                global $wgRequest, $mediaWiki;
 
14
 
 
15
                $action = $mediaWiki->getVal('Action');