diff options
author | pmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360> | 2005-07-10 02:19:27 +0000 |
---|---|---|
committer | pmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360> | 2005-07-10 02:19:27 +0000 |
commit | 4b30a3dded2b77ee2bc9c492d60ff6813c116fae (patch) | |
tree | 510eb0a7bc410e32b21215d9021cb07990815c30 /scripts/transition.php | |
parent | e2df431e9d32b8e37a420d4dc13369d61de66f0c (diff) | |
download | pmwiki.svn-4b30a3dded2b77ee2bc9c492d60ff6813c116fae.tar.bz2 |
Moved pages from Main.* into Site.* .
git-svn-id: svn://pmwiki.org/trunk/pmwiki@699 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts/transition.php')
-rw-r--r-- | scripts/transition.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/transition.php b/scripts/transition.php index e87ef83c..5f4917f8 100644 --- a/scripts/transition.php +++ b/scripts/transition.php @@ -17,6 +17,20 @@ ## if ?trans=0 is specified, then we don't do any fixups. if (@$_REQUEST['trans']==='0') return; +## Beta44 switches Main.AllRecentChanges to be $SiteGroup.AllRecentChanges . +## This setting keeps Main.AllRecentChanges going if it exists. +if (PageExists('Main.AllRecentChanges')) + SDV($RecentChangesFmt['Main.AllRecentChanges'], + '* [[$Group.$Name]] . . . $CurrentTime $[by] $AuthorLink'); + +## Beta44 switches Main.ApprovedUrls to be $SiteGroup.ApprovedUrls . +## This setting keeps using Main.ApprovedUrls if it exists. +if (PageExists('Main.ApprovedUrls')) { + if (PageExists(FmtPageName($ApprovedUrlPagesFmt[0], $pagename))) + $ApprovedUrlPagesFmt[] = 'Main.ApprovedUrls'; + else array_unshift($ApprovedUrlPagesFmt, 'Main.ApprovedUrls'); +} + ## $PageEditFmt has been deprecated in favor of using wiki markup forms ## to layout the edit page (as controlled by the $EditFormPage variable). ## However, some sites and skins have customized $PageEditFmt -- if |