ARC中文动保小百科(APpedia)国际水准的动物保护百科全书 - Changes From Pm Wiki 1
主页/关于APpedia - 编辑方法 - 小百科最近更新 - 站内搜索 - 关于动物权利的条目 - 在线咨询

 

ARC中文动保小百科(APpedia)是第一本中文的动物保护百科全书,编辑研究员团队包括海内外杰出的动物保护专家和个人。百科主要以在线方式发布(电子书)并长期扩充改进,是希望成为专业动保工作者、动保学者的朋友的必读材料。百科条目覆盖范围广,学术水平一流,核心条目由编辑团队按重要性选择,并征集研究员编写相应的初稿。所有核心条目发表前均通过质量审核程序,内容以介绍国际最前沿的动物保护知识研究为目标。读者可以自由改进和扩充百科内容。

精彩推荐

以下为主要条目

Share |

Changes From Pm Wiki 1

阅读[Changes From Pm Wiki 1]最新版本请访问:http://APpedia.arc.capn-online.info Copyright © ARC中文动保小百科
版权说明(转载条目必读) ARC中文动保小百科邮件地址:
APpedia@arc.capn-online.info
分类 浏览全部完成的百科条目:http://APpedia.arc.capn-online.info/all

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.

Markup changes

  • Double brackets are used for all links, including [[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.
  • So far, the 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.

    Ok, so as an example, how next lines, which are in a sidebar, may be written in pmwiki2 ?
    *[[ThisPage:?action=upload Upload]]
    *[[ThisGroup:SideBar&action=edit Edit menu]]
You can write them as [[{$Name}?action=upload | Upload]] and [[{$Group}/SideBar?action=edit | Edit menu]].
(The variables {$Name} and {$Group} are page variables.)

Changes affecting skins

  • $PageTemplateFmt is obsolete, but $PageTemplateFmt still works, and this may change yet again before the 2.0 official release. To use a different skin, you can use the $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.
  • $HTMLTitleFmt no longer exists -- just place the <title> information directly into the template.
  • In $...Fmt strings, $Title_ and $Title are currently represented by $Name. $Title is now used to refer to a page's title (which may be different from its name and could have different formatting, such as spaces).
  • The css/stdlayout.css file no longer exists; PmWiki and other modules now place required formatting styles directly into the $HTMLStylesFmt array.
  • $PageName is now $FullName. $PageName still functions but will be removed in the 2.0 official release.
  • Searching now uses the q= variable to provide the text to be searched (formerly the search text went in the text= variable.

Other Customization Changes

  • PmWiki 2 now uses session-based authentication by default. If you want to continue to use HTTP-Basic authentication, add the following line to config.php:
        include_once('scripts/httpauth.php');
  • Disabling WikiWords is now done by setting $LinkWikiWords . Previously this was controlled by $WikiWordCountMax .
  • $HTMLLineBreak is now $HTMLPNewline. See Cookbook:Line Breaks.
  • The skins system has been revised, and is now much more flexibly controlled by the $Skin and $ActionSkins variables. See PmWiki.Skins. But $PageTemplateFmt still works.
  • The $BrowseReplacements, $DoubleBrackets, and $InlineReplacements arrays are no longer used -- see custom markup.
  • ?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.
  • $WikiWordPagePathFmt is now $PagePathFmt, which is applied to all page links not qualified by a group.
  • $WikiPageExistsFmt, $WikiPageCreateFmt, etc. are now $LinkPageExistsFmt, $LinkPageCreateFmt, etc.
  • $DeleteKeyWord is now $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.
  • PmWiki's ReadPage() function no longer supplies default text for non-existent pages -- this is now decided by whatever functions need the page. (As of 2.0.devel9 the default text is still stored in $DefaultPageTextFmt, however.)
  • $SearchExcludePatterns is now simply $SearchPatterns and can be chosen by the list= parameter to (:searchresults:) and (:pagelist:). See Cookbook:SearchResults.
  • $EnablePerGroupCust is now $EnablePGCust.
  • $TableCellAttr is now $TableCellAttrFmt.
  • $Url is now $LinkUrl.

<< Page file format | PmWiki.Documentation Index | Upgrading from PmWiki 1 >>

主页(关于ARC中文动保小百科) - 编辑使用手册 - 小百科最近更新 - 在小百科内搜索(使用Google)
本文最后更新于 2006 年 08 月 25 日, 11:22 上午

Animal Rights, New Welfarism, Reverence for Animals, Animal Welfare, Naturalness, Autonomy of Animals, Animal Experimentation, Wildlife Protection, Spiritual Power of Animals, and more...

free stats