Summary: sample-config.php: confusing descriptions for EnableRelativePageVars, EnableWSPre
Created: 2009-10-03 05:41
Status: Closed - fixed for 2.2.9
Category: Documentation
From: Rogutės?
Priority: 2
Version: 2.2.5
OS: -

Description: sample-config.php contains misleading information, namely:

Though looking at scripts/stdmarkup.php, there is this line: SDV($EnableWSPre, 1);. Probably the code and not the documentation is incorrect in this case.
  • In the 2.2.0-beta series, {$var} page variables are absolute by default, but a future version will make them relative. <...>
    $EnableRelativePageVars = 1; 
This seems to indicate that it is already the default, since we are out of beta for some time now.

Yes, the plan was to have them both changed, $EnableWSPre to 0 and $EnableRelativePageVars to 1, but we didn't in the change to 2.2.0 stable. I'll think about documenting it well, and we'll probably change it in a while. For the moment, I fixed sample-config.php to show the current status. --Petko December 11, 2009, at 04:04 AM

Version 2.2.9 will change $EnableRelativePageVars to 1, but will not change $EnableWSPre. Everything is now correctly documented. --Petko January 16, 2010, at 10:17 PM