#2721: Get rid of Parser_OldPP
-------------------------------------------+--------------------------------
Reporter: emassip | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone: FCKeditor 2.6.4
Component: Project : MediaWiki+FCKeditor | Version: SVN
Keywords: old parser support |
-------------------------------------------+--------------------------------
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 ?
--
Ticket URL: <http://dev.fckeditor.net/ticket/2721>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac