View source for Actions组件

//其他语言 ((../Deutsch/Aktionen Deutsch)), ((../English/Actions English)), ((../Español/Acciones Español)), ((../Français/Fonctions Français)), ((../Русский/Действия Русский)).//

{{toc numerate=1}}
%%(info type="note")
非强制性选项和参数用 ##[方括号]##括起来。
**!!(green)使用操作时,请去掉参数中的方括号 ##[ ]## 使其生效。!!**
Numerical values are given __without__ and strings __with__ quotation marks, ##max=10## and ##page="PageName"##.

要显示某个操作的所有可用参数,请使用 ##help=1##。
%%
===页面列表===
====反向链接backlinks====
  * 输出链接到该页面的页面列表。
  * Call: ##""{{backlinks [page="PageName"] [max=Number] [nomark=1]  [title=0]}}""##
  * 可以方便地调用参数for。 它确定要导出列表的页面。 在静默时,它等于当前页面。

====修改记录changes====
  * 显示任何集群中最新更改的列表。
  * Call: ##""{{changes [page="PageName"] [max=Number] [date="YYYY-MM-DD"] [noxml=1] [title=1]}}""##
  * 可以方便地调用参数##page##。 它确定要为哪个集群派生列表。 在静默时,它等于当前页面。
  * ##max## 确定显示的最大页数。 请注意,实际显示的页面数将取决于用户的个人喜好。
  * 参数 ##date## 允许您指定应输出更改列表的日期(以及更远的日期)。 ##date## 参数也可以在查询字符串中指定。
  * 参数##noxml## 强制不派生对 RSS 流更改的引用。

====commented====
  * 显示此 Wiki 中最近评论页面的列表。
  * Call: ##""{{commented [page="PageName"] [max=Number]}}""##
  * 可以方便地调用的参数。它决定了从列表中派生哪个集群。默认等于"/",也就是说,等于站点根目录。

====comments====
  * 显示此 Wiki 中最近评论的列表。
  * Call: ##""{{comments [page="PageName"] [max=Number]}}""##
  * 可以方便地调用的参数。它决定了从列表中派生哪个集群。默认等于"/",也就是说,等于站点根目录。

====最受欢迎mostpopular====
  * 输出访问量最大的页面列表。
  * Call: ##""{{mostpopular  [max=Number] [page="PageName"] [nomark=1] [dontrecurse="true|false"]}}""##
  * ##page## 在页面层次结构中开始的页面名称
  * ##nomark## 可以隐藏框架
  * ##dontrecurse## 如果设置为 true,列表将仅包含“for”页面的直接子页面

====单页orphaned====
  * 输出某个集群的丢失页面列表(那些没有任何链接的页面)。
  * Call: ##""{{orphaned [page="PageName"]}}""##
  * 可以方便地调用的参数。它决定了从列表中派生哪个集群。在静默状态下,它等于当前页面。要为所有名称空间显示它,请使用root##page="/"##。

====页面索引pageindex====
  * 输出网站上所有页面的完整目录,按字母顺序排列。
  * Call: ##""{{pageindex [max=Number] [letter="Letter"] [page="PageName"] [title=0] [system=0|1] [lang="en"]}}""##

====页面树tree====
  * 从当前或指定页面开始构建页面树。
  * Call: ##""{{tree [page="PageName"] [depth="Tree Level"] [legend=" "] [sort="desc"] [nomark=1]}}""##
  * ##page## 在页面层次结构中开始的页面名称
  * ##depth## 进入集群多远
  * ##sort## - 页面按标签升序('asc',默认)或降序('desc')排序
  * ##nomark## 可以隐藏框架

====wanted====
  * 输出尚不存在并链接到某些集群的页面列表。
  * Call:##""{{wanted [page="PageName"]}}""##
  * 可以方便地调用的参数。它决定了从列表中派生哪个集群。在静默状态下,它等于当前页面。要为所有名称空间显示它,请使用root##page="/"##。

====最新whatsnew====
  * 显示所有新的、删除的或更改的页面、新附件和评论的列表。
  * Call: ##""{{whatsnew [page="PageName"] [max=Number]}}""##

===个人动作组件===
====menu====
  *自定义书签,可以在用户账户的书签下找到。
  *Call ##""{{menu [system=0]}}""##
  * 使用参数##system##和值1,显示全局默认书签供管理员编辑。
  * ##system=1## 这个选项也可以在((管理面板))中调用。

====我的修改mychanges====
  * 显示您已更改的页面列表以及排序选项。
  * Call: ##""{{mychanges  [max=Number]}}""##

====我的页面mypages====
  * 显示属于您的页面列表,可按字母或修改日期排序。
  * Call: ##""{{mypages [bychange=1] [bycreation=1]}}""##

====mywatches ====
  * 该用户"关注"下的所有页面列表。
  * Call: ##""{{mywatches}}""##

====mychangeswatches====
  * 更改的“已关注”页面列表
  * Call: ##""{{mychangeswatches  [max=Number]}}""##

====watchers====
  * 输出页面关注者列表。 它仅适用于页面的所有者。
  * Call: ##""{{watchers [page="SomePage"] [nomark=1]}}""##
  * 可以方便地调用的参数。它决定了要导出列表的页面。在默认状态下,它等于当前页面。

===服务组件===

====修改密码changepassword====
  * 发送电子邮件代码,并提供更改密码的权限。
  * Change of password.
  * Call: ##""{{changepassword}}""##

====登录login====
  * 如果您尚未登录,则显示登录表单,如果您已登录,则显示欢迎消息。
  * Call: ##""{{login}}""##

====注册registration====
  * 显示注册表单并执行整个注册
  * Call: ##""{{registration}}""##

====用户设置usersettings====
  * 输出访客的注册页面和注册用户的设置页面。
  * Call: ##""{{usersettings}}""##

===管理员工具Admin tools===

====管理员清理缓存admincache====
  * 清除缓存,只有管理员可以操作
  * Call: ##""{{admincache}}""##

====admin_recovery====
  * 根据管理面板访问密码创建 ##recovery_password## 哈希。
  * Call: ##""{{admin_recovery}}""##
  * 生成的哈希必须写在 config/config.php 中,替换行 'recovery_password' => 'insert password hash here' 。 之后,您应该清除缓存,请参阅##admincache##。
  * ((管理面板 详细描述))

====admin_replace====
  * admin_replace动作允许管理员在wiki的所有内容页上进行全局字符串查找和替换。
  * Call: ##""{{admin_replace}}""##
  *  这很适合于进行简单的编辑,如重命名一个 链接、改变字符串、添加模板或纠正错别字。
  * ((/Doc/English/Actions/AdminReplace  详细说明))
====import====
  * 将一个XML文件导入一个集群,只能由管理员调用。
  * 呼叫。##""{{import}}""##
  * ##~http://example.com/somecluster/import## --> ##~{{import}}##, 调用行动后,可以定义导入的路径。如果输入了##Test##,则在##~http://example.com/Test/## 页面上进行导入。
  * 注意:会覆盖同名的集群页面,~{{import}}在服务器端通常受到30秒后超时的限制,因此更适合导入单个页面,这取决于页面的大小。
  * XML导出是通过页面处理程序##export.xml##完成的。要导出的页面需要有阅读权限。
    ##Cluster/export.xml## (例如##~https://wackowiki.org/doc/Doc/Deutsch/Formatierung/export.xml##)
    
===论坛Forum===
  * 这些操作仅在定义的论坛集群内有效。
  * ((!/论坛 详细描述))

====论坛forums====
  * 显示子论坛列表
  * ##""{{forums [pages="subtag1, subtag2, ..."]}}""##
  * ##pages## – 要创建多级论坛,此可选参数传递一个逗号分隔的页面标签名称列表,这些页面必须被视为子论坛,而不是主题。
  * 标签必须是绝对的(不是相对的)。 如果您定义页面,则所有子论坛和主题页面必须这么做。

====主题topics====
  * 显示论坛主题列表
  * ##""{{topics [pages="subtag1, subtag2, ..."]}}""##
  * ##pages## – 创建多级论坛时,此可选参数传递一个逗号分隔的页面标签名称列表,这些页面必须被视为子论坛,因此这些集群子页面下的主题将不会显示。 标签必须是绝对标签。

===博客Blog===

====博客blog====
  *在您选择的命名空间中创建博客
  * Call: ##""{{blog [page=cluster] [mode=latest|week|from] [date=YYYY-MM-DD] [max=Number] [title=1] [noxml=1]}}""##
  *  ((!/Blog 详细描述...))

====新闻news====
  * 在预定义的新闻集群中创建新闻提要
  * Call: ##""{{news [mode=latest|week|from] [date=YYYY-MM-DD] [max=Number] [title=1] [noxml=1]}}""##
  * 除了这个组件只能在后台预定义的新闻集群中使用,其他的设置都和博客组件一样
  * 要设置新闻集群,请参见管理面板 -> 页面部分

===其他Other===

====锚点anchor====
  * 创建可以从任何页面链接到的锚点。
  * Call: ##""{{anchor href="ToC1" [text="Index"] [title="Title"]}}""##

====作者authors====
  * 显示页面或集群的作者
  * Call: ##""{{authors}}""##
  * ((!/authors 详细描述))

====日历calendar====
  * 显示月历
  * Call: ##""{{calendar [year=2012|2013...] [month="1|2|..."] [highlight="today|1|2|..."] 
[daywidth="3"] [range="1|2|..."] }}""##
  * ##year## 
  * ##month## 
  * ##highlight## Day to be highlighted (number or today)
  * ##daywidth## Number of letters for weekdays
  * ##range## Number of months displayed

====categories====
  * shows the categories of the current page
  * Call: ##""{{categories [list=0] [nomark=0]}}""##
  * ##list## with value = 1 the categories are displayed one below the other in a list. The default value = 0 and the values are displayed next to each other in a list, separated by commas.
  * Parameter ##nomark##, with the value 1 it suppresses the frame around the result.

====category====
  * displays a list of categories of pages and the number of use of the class
  * Call: ##""{{category [page="/PageName"] [list=0] [ids=1,11,21] [lang=de] [inline=0] [sort="abc" or "date"] [nomark=0]}}""## 
  * ##page## - cluster for category selection (default is the current page)
  * ##list## - Value = 0 without further parameters displays a list of the selected categories without links. With value = 1 the categories are linked.   
  * ##ids## - show only pages that belong to the numerically determined, comma separated, category ID's
  * ##lang## - optional, to show only the categories of certain language if necessary (defaults to current page lang)
  * ##inline## - optional, with value = 1 to show all categories one after the other and without highlighting the main categories. By default, this value is set to 0.
  * ##sort## - Page categories sorted by alphabet ('abc', default) or the time of creation ('date')
  * ##nomark## - with the value 1 suppresses the frame around the search result. value 2 if parameter ##ids## was selected. Default is value = 0. 

====comment====
  * 您可以单击书签和wiki页面中的“评论”
  * ##""{{comment [page="CommentThisPage"] [text="your text"]}}""##

====编辑edit====
  * 您可以在书签和wiki页面中单击“编辑”
  代码:* ##""{{edit [page="EditThisPage"] [text="your text"]}}""##
  效果:{{edit [page="EditThisPage"] [text="your text"]}}

====嵌入embed====
  * 嵌入外部应用程序或交互式内容,例如 PDF、YouTube 或视频
  * Call: ##""{{embed url="someurl.mp4" width=300 height=400 [align="left|center|right"]}}""##
  * 这里的前三个参数是必需的。 其余的都是可选的。
  * ((!/Embed 详细描述))

====feed====
  * RSS/Atom Feed Integration
  * Call: ##""{{feed url="https://...[|https://...|https://...]" [title="no"] [max=Number] [time=1] [nomark=1]}}""##
  * ##title## - "text" - displayed as title, "no" - means show no title, empty title - title taken from feed
  * ((!/Feed 详细描述))

====文件files====
  * 将文件加载到此页面或全局空间的表单
  * Call: ##""{{files [page="PageName" or global=1] [order="ext|ext_desc|name_desc|size|size_desc|time|time_desc"] [owner="UserName"] [media=1] [max=Number]}}""##
  * Parameters:
    * the first parameter is — the name of the page, for which to derive list it is file. If global=1, then the list of the global space is derived
    * ##order## — as to order, correspondingly, on the time, name, name_desc, to size, the size-in-reverse- order, to the expansion
    * ##owner## — to show the files, belonging only to this user
    * ##media## — to parse image, audio and video links into their media tags
  * ((!/文件上传 详细描述...))

====gallery====
  * 使用图库操作,您可以创建一个图片库,其中的小图片可以链接到大图片。图库操作使用标准的 WackoWiki 文件模型。该操作可通过灯箱进行扩展,详情请见。
  * 调用: ##""{{gallery}}""##
  * ((/Dev/PatchesHacks/Gallery 更多详情))


====hashid====
  * Generates a permalink to the page
  * Call: ##""{{hashid [version=0|1]}}""##
  * ##version## - ##0## link to the page, ##1## link to the current page version (default)
====点击量hits====
  * 显示一个页面你的点击量
  * Call: ##""{{hits [page="PageName"]}}""##

====包含include====
  * Writes the content of the included page directly into the body of another page (transclusion).
  * Invoke: ##""{{include page="SomePage" [nomark=1] [notoc=1] [nowarning=1]  [first_anchor="..." last_anchor="..."]}}""##
  * If you set ##nomark=1##, then included section is not separated by color. If you set ##nomark=2##, then included section is not separated by color for those users, and it is not permitted for them to edit it; instead the owner and permissions of the page are shown. If you set ##notoc=1##, then titles from the included page are not indexed on the new page. With the nomination into 1 parameters nowarning  is not derived the information with call Include for the page, on which there is no access.
  * Note: parameter page can be called as conveniently.
  * the additional parameters ##first_anchor## and ##last_anchor## allow to display only a certain part of the text of the inserted page. To do this, it is necessary to enclose the desired area of the page in the inserted page with the following anchors: ##~{{anchor name="plan_start"}}} desired text section ~{{{anchor name="plan_end"}}##, and then specify these anchor names with the parameters first_anchor and last_anchor in the action include.

====跨wiki列表====
  * 在此安装中定义的所有InterWiki-节点的列表。
  * Call: ##""{{interwikilist}}""##

====最后编辑lastedited====
  * 打印页面的最后一个编辑:
    * 最后编辑者:SomeUser (22.12.2018 13:08) 修正了两个错别字
  * Call : ##""{{lastedited [label=0|1] [note=0|1]}}""##
  * ##label## - show 'Last edited by:' label
  * ##note## - show edit note

====navigation====
  * 生成用于在页面之间滚动的导航条
  * Call : ##""{{navigation [main="/书籍"] [prev="第一章"] [next="第三章"] [table=0|1] [title=1]}}""##
    * ##main## - tag 概览页
    * ##prev## - tag 上一页
    * ##next## - tag 下一页
    * ##table## - 可在两个预定义模板中进行选择(试验性的,参数名称可能会更改)
====pagebreak====
  * The break of page is derived (both for print and visual).
  * Call: ##""{{pagebreak}}""##

====段落paragraphs====
  * 输入段落的编号。
  * Call: ##""{{paragraphs [style="before|after|left|right"] [name="absolute|document-relative"]}}""##
  * 样式会影响段落编号的显示位置。

====随机图片randomimage====
  * 加载随机图片
  * Call: ##""{{randomimage [global=0|1]  [owner="UserName"]  [category="category"]  [caption=0|1]}}""##
  * ##owner## — to show the files, belonging only to this user
  * ##global## — ##1## global images, ##0## images attached to the page
  * ##category## — filters images by category 

====随机页面randompage====
  * 重定向到随机页面
  * Call: ##""{{randompage [page="PageName"] }}""##
  * ##page## 在页面层次结构中开始的名称

====randomphrase====
  * Start of random line s any page into the body of data.
  * Call: ##""{{randomphrase page="SomePage" [useemptystring=1]}}""##
  * ##useemptystring## indicates breaking up a page into blocks separated by an empty line rather than by lines.
  * ##page## specifies the page from which the lines will be selected. 

====重定向redirect====
  * 无条件地将用户重定向到另一个页面
  * Call: ##""{{redirect to="NewPage"  [temporary=1]}}""##
  * ##temporary##  — ##1## sets HTTP status code to ##302## (default: ##301##)

====搜索search====
  * Any search according to Wacko.
  * Call: ##""{{search [phrase="Term"] [page="PageName"] [options=0|1] [topic=1] [form=1] [nomark=1] [style=one of ("br","ul","ol","comma") ] [scope=one of ("pages", "all")]}}""##
  * ##page## restricts the search to the specified namespace
  * ##options## - with the value 0 only the search field is displayed, other options and filters are hidden 
  * ##topic## it is possible to call ##title## — if it is advanced into 1, then search occurs only on the names of pages, otherwise both on the names and on the texts; 
  * ##form## — indicates that it is necessary to derive the form of search together with the results. 
  * ##scope## answers for that, where to the search: only in the pages or in the commentaries also. 
  * ##nomark##, advanced in one, makes it possible to hide frame around the results of search. 
  * ##style## answers for the exterior view of results.
  * All parameters are optional.

====标签云tagcloud====
  * shows a tag cloud
  * Call: ##""{{tagcloud [page="/PageName"] [lang="en"] [owner="UserName"] [sort="abc" or "date"] [nomark=0]}}""## 
  * ##page## - where to start counting from (defaults to current tag)
  * ##lang## - categories language if necessary (defaults to current page lang)
  * ##owner## - page owner
  * ##sort## - order categories alphabetically ('abc', default) or by number ('number')
  * ##nomark## - display header and fieldset (1) or 0 (default))

====目录索引toc====
  * 形成以标题为基础的索引。
  * Call: ##""{{toc [page="PageName"] [legend="legend for toc"] [numerate=1] [start=0|100] [from="h2"] [to="h6"] [nomark=1]}}""##
  * 参数##legend## 影响索引本身的图例。 参数##numerate## 可以对所有标题进行编号。 参数##from## 有“h2”,即第一级的标题不包含在索引中。
  * ##nomark##  可以在结果周围隐藏框架
  * 注意:所有参数都是可选的。
  * ((!/TableOfContents 详细描述...))

====上传upload====
  * 上传文件
  * Call: ##""{{upload [global=1] [maxsize=200] [hide_description=1]}}""##
  * ((!/文件上传 详细描述...))

====用户组usergroups====
  * 显示用户组及其成员的列表。
  * Call: ##""{{usergroups [cols=5] [nomark=1]}}""##

====用户users====
  * 显示注册用户列表以及属于他们的页面数量。
  * Call: ##""{{users [max=Number]}}""##