﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2721	Get rid of Parser_OldPP	Etienne Massip	Sylvain	"Today, I've checked out MediaWiki 1.14 alpha and FCKEditor extension from their respective SVN repositories.

Added the following line at the end of MediaWiki's LocalSettings.php to enable extension :

{{{
require_once( ""extensions/FCKeditor/FCKeditor.php"" );
}}}

Then got an empty page and a two lines error in Apache error.log :

PHP Warning:  require_once(D:\\install\\MediaWiki phase3/includes/parser/Parser_OldPP.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in D:\\install\\MediaWiki phase3\\extensions\\FCKEditor\\FCKeditor.php on line 33, referer: http://localhost:88/index.php/Accueil

PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'D:\\install\\MediaWiki phase3/includes/parser/Parser_OldPP.php' (include_path='D:\\install\\MediaWiki phase3;D:\\install\\MediaWiki phase3/includes;D:\\install\\MediaWiki phase3/languages;.;C:\\php5\\pear') in D:\\install\\MediaWiki phase3\\extensions\\FCKEditor\\FCKeditor.php on line 33, referer: http://localhost:88/index.php/Accueil

Line 33 in file FCKeditor.php just include Parser_OldPP.php :

{{{
...
if (version_compare(""1.13alpha"", $wgVersion, ""<="")) {
    require_once $IP . ""/includes/parser/ParserOptions.php"";
    require_once $IP . ""/includes/parser/Parser_OldPP.php"";
    require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . ""mw12/FCKeditorParser_OldPP.body.php"";
}
...
}}}

Well, the fact is that revision 43835 (dated from Nov, 21st) in MW's SVN just removed the file with comment ""* Dropped old Paser_OldPP class. Only new parser with preprocessor is used.
Death to the old parser! Long live the preprocessor!"".

I guess the answer is that it is now time to move to new Parser.php ? What do you great people think ?


"	Bug	closed	Must have (possibly next milestone)		Project : MediaWiki+FCKeditor	SVN (FCKeditor) - Retired	fixed	Confirmed	brian.mingus candrews@… fwoelk@… jsamuel@… sbrohee@…
