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

 

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

精彩推荐

以下为主要条目

Share |

Wiki Group

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

authors (basic) PmWiki pages are organized into groups of related pages. This feature was added to PmWiki to allow authors to create their own wiki spaces of specialized content on their own, without having to become, or rely on, wiki administrators. See Pm?'s post to the pmwiki-users mailing list.

By default, page links are between pages of the same group; to create a link to a page in another group, add the name of the other group and a dot or slash to the page name. For example, links to Main/WikiSandbox could be written as:

*[[Main.WikiSandbox]]
*[[Main/WikiSandbox]]
*[[(Main.Wiki)Sandbox]]
*[[Main.WikiSandbox | link text]]

To link to the default home page of a group (discussed below), the name of the page can be omitted, like this:

*[[Main.]]
*[[Main/]]

Creating groups

Creating a new group is as easy as creating new pages; simply edit an existing page to include a link to the new group's default home page (or any page in the new group) then click on the '?' to edit the page. As a rule, group names must start with a letter (but this can be changed by the wiki administrator).

For example, to make a default page in the group Foo, create a link to [[Foo/]] (or [[Foo.]]). To make a page called Bar in the group Foo, create a link to [[Foo/Bar]] and follow the link to edit that page.

Groups in a standard PmWiki distribution

  • Main: The default group. On many wikis, it contains most of the author-contributed content. Main.HomePage and Main.WikiSandbox come pre-installed.
  • PmWiki: An edit-protected group that contains PmWiki documentation and help pages.
  • Site: Holds a variety of utility and configuration pages used by PmWiki, including SideBar, Search, Preferences, AllRecentChanges, ApprovedUrls, and Blocklist.

To list all the groups in a site, try searching for "fmt=group".

Special Pages in a Group

By default, the RecentChanges page of each group shows only the pages that have changed within that group; the Site.AllRecentChanges page shows all pages that have changed in all groups.

Each group can also have GroupHeader or GroupFooter pages that contain text to be automatically prepended or appended to every page in the group. A group can also have a GroupAttributes page that defines attributes (read and edit passwords) shared by all pages within the group.

Each page can also have its own individual read/edit password that overrides the group passwords (see Passwords).

Finally, wiki administrators can set local customizations on a per-group basis--see PerGroupCustomizations?.

Group's default page

The default "start page" for a group is a page whose name is: (1) the same as the group (Foo/Foo), (2) HomePage (Foo/HomePage), or (3) a name that the administrator has assigned to the {$DefaultName} variable in the configuration.php file. (Note, on this site, the value of {$DefaultName} is HomePage and, thus, the default home page would be Foo/HomePage.

As noted above, when linking to the default home page, authors can omit the page name and simply identify the group followed by a dot ([[Foo.]]) or forward slash ([[Foo/]]).

Note the trailing dot (or trailing forward slash) is required to ensure that the link unambiguously points to the identified group. If the dot or slash is omitted, the link can end up being interpreted as pointing to an existing (or new) page in the current group (if the group, or its default home page, do not exist). This trailing dot markup was added in version 2.1.7

Subgroups? Subpages?

No, PmWiki does not have subpages. Pm's reasons for not having subgroups are described at PmWiki:HierarchicalGroups, but it comes down to not having a good page linking syntax. If you create a link or pagename like [[A.B.C]] PmWiki doesn't think of "B.C" as being in group "A", it instead thinks of "C" as being in group "AB", which is a separate group from "A". Wiki administrators can look at Cookbook:SubpageMarkup and Cookbook:IncludeWithEdit for recipes that may be of some help with developing subgroups or subpages.

Restricting the creation of new groups

You can set PmWiki's $GroupPattern variable to only accept the group names you want to define. For example, to limit pages to the "PmWiki", "Main", "Profiles", and "Example" groups, add the following to local/config.php:

   $GroupPattern = '(?:Site|PmWiki|Main|Profiles|Example)';

With this setting, only the listed groups will be considered valid WikiGroups. You can add more groups to the list by placing additional group names separated by pipes (|).

See other solutions to this at Cookbook:LimitWikiGroups

<< Wiki structure | Documentation Index | Group Headers >>

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

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