Extension talk:FCKeditor (by Mafs)/HTML::WikiConverter

From mediawiki.org
Latest comment: 16 years ago by Dingfelder in topic Install error
The following discussion has been transferred from Meta-Wiki.
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).

I like the idea for this fix but...[edit]

I like the idea for this fix but it requires not only PERL, but PERL interpriter for PHP. My webhost supports PERL but doesn't have that PHP thing to interprit PERL installed and isn't about to install it. Is there a way to do what this fix does that uses nothing but PHP? Please send me a message by going to m:Special:Emailuser/Omega13a .

Should also remove image links[edit]

If you want round trip (i.e. wiki markup -> HTML -> wiki markup), then you also need to remove the link that is generated in Linker.php for images. In addition, I found the HTML::WikiConverter::MediaWiki Perl module throws away the alt text, when it should really check the alt text and add it if it isn't Image:image_name. This was true for version 0.53.

Worked out most of the bugs so far...[edit]

I like the idea of using this. Followed the directions (as well as I could for MediaWiki 1.8.2). I get the follow error at the top of the page (some yes, some no) and also at the login page:

Warning: array_slice() [function.array-slice]: The first argument should be an array in /home/byubioma/public_html/wiki/languages/Language.php on line 1083

When I try to edit a page, there is absolutely no text area or toolbar. Did I paste the code in the wrong place? Any mods for the newer version of MediaWiki 1.8.2? Thanks

Is your Wiki English? --Mihu 18:15, 30 November 2006 (UTC)Reply

edit parser.php and editpage.php[edit]

The EditPage.php and the Parser.php changed a lot in version 1.7.1! Does somebody have HTML::WikiConverter running on a 1.7.1 mediawiki and can tell me how to modify the Parser.php and EditPage.php.

I'd be so thankful! Cheers Flavio

lines please[edit]

Instead of the lines where we got to put the code for removing anchors, could someone please put the functions where these lines have to be inserted in the Parse.php file?

Install error[edit]

following the install instructions, I get the following php error:

[18-May-2007 09:58:04] PHP Warning:  PHP Startup: perl: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP    compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
 in Unknown on line 0

I am using

  • ActiveState Perl build 817 [257965]
  • php 5.2.1

Any way to get around this?

For instance, does anyone have a php perl dll compiled with API=20060613?

Dingfelder 22:04, 17 May 2007 (UTC)Reply

I tried this with MediaWiki 1.10, but had no success.. Can anybody make some changes in the script to run on 1.10? Thanks

Close, but no cigar[edit]

The version of MediaWiki listed is now very old. Does anyone have any integration instructions for a newer MediaWiki (1.9.2 would be ideal for me, but anything newer would be great). I fell over at the first hurdle, trying to manually edit the MediaWiki source (EditPage.php, ImportFormData() does not exist, it now passes variables in several places (line 295, 452, 454)...

I would really like to give this a shot, so if someone can help, I would be VERY grateful.