This page is intended to describe features of PmWiki 1.0 that have been changed or eliminated in PmWiki 2.0. For now this page will be maintained as a simple list and will probably need some restructuring later.
[[free links]]
. Providing alternate text for a link is performed using either a vertical brace [[PageName | link text]]
or an arrow [[link text -> PageName]]
. See PmWiki.Links.
ThisPage:
, ThisGroup:
, etc., InterMap shortcuts are not defined. In fact, they may not be needed in PmWiki 2. If someone needs them, add an entry to PITS:NewIssue explaining why.[[{$Name}?action=upload | Upload]]
and [[{$Group}/SideBar?action=edit | Edit menu]]
.
$Skin
variable ($Skin
= 'skinname';) and just fill it with the name of the skin, it will assume it's in the pub/skins/[skinname] folder containing the [skinname].tmpl file.
$HTMLStylesFmt
array.
q=
variable to provide the text to be searched (formerly the search text went in the text=
variable.
include_once('scripts/httpauth.php');
$LinkWikiWords
. Previously this was controlled by $WikiWordCountMax
.
$HTMLPNewline
. See Cookbook:Line Breaks.
$Skin
and $ActionSkins variables. See PmWiki.Skins. But $PageTemplateFmt still works.
?action=post
no longer exists -- posting a new page is now performed by using ?action=edit
with the post
control set to a true value.
$PagePathFmt
, which is applied to all page links not qualified by a group.
$LinkPageExistsFmt
, $LinkPageCreateFmt
, etc.
$DeleteKeyPattern
.
$GroupHeaderFmt
and $GroupFooterFmt
now specify the markup to be added to the beginning and end of each page, rather than the name of the page. The default settings of $GroupHeaderFmt
and $GroupFooterFmt
perform the equivalent of an (:include:)
of the GroupHeader and GroupFooter pages.
$DefaultPageTextFmt
, however.)
$SearchPatterns
and can be chosen by the list=
parameter to (:searchresults:)
and (:pagelist:)
. See Cookbook:SearchResults.
$EnablePGCust
.
$TableCellAttrFmt
.
This page may have a more recent version on pmwiki.org: PmWiki:ChangesFromPmWiki1, and a talk page: PmWiki:ChangesFromPmWiki1-Talk.