| HelpOnMacros |
用户设定 |
| ChinesePython Wiki | 中蟒大杂院 | 最近修改 | 标题目录 | 看发表区 | 搜寻/发表 | 站内导航 | 求助 |
For more information on the possible markup, see HelpOnEditing.
| Macro | Description | Example |
| [[TitleSearch]] | search the page titles | See the FindPage |
| [[FullSearch]] | search the page contents | See the FindPage |
| [[FullSearch()]] | search for the current title in all pages (like clicking on the page title) | See the CategoryCategory page |
| [[FullSearch('text')]] | search for "text" in all pages | Search for FullSearch:
|
| [[GoTo]] | directly go to the page you enter | See the FindPage |
| [[PageList(regex)]] | list of pages whose title matches the regex | See the HelpIndex |
| Macro | Description | Example |
| [[RecentChanges]] | a list of recently edited pages | See RecentChanges |
| [[TitleIndex]] | an index of all page titles | See TitleIndex |
| [[WordIndex]] | an index of all words in page titles | See WordIndex |
| [[WantedPages]] | list links to non-existent pages | See WantedPages |
| [[OrphanedPages]] | list pages no other page links to | See OrphanedPages |
| [[AbandonedPages]] | list pages that were not edited for the longest time | See AbandonedPages |
| [[RandomPage]] | a link to a random page | HelpOnLinking |
| [[RandomPage(#)]] | links to a number of random pages | Two random pages: |
| [[TableOfContents]] | display a local table of contents | See below |
| [[Anchor(anchorname)]] | macro to insert anchors into a page | #here |
| Macro | Description | Example |
| [[InterWiki]] | a list of all known InterWiki names | InterWiki |
| [[SystemInfo]] | info on the wiki, the python interpreter and the host system | SystemInfo |
| [[PageCount]] | current page count | 96 pages |
| [[PageSize]] | list the sizes of all pages | See PageSize |
| [[StatsChart(type)]] | shows statistical charts (currently defined types: hitcounts, pagesize, useragents) | See EventStats and subpages |
| [[SystemAdmin]] | Web interface to wiki administration (not completed yet as of version 0.11) | See SystemInfo |
| Macro | Description | Example |
| [[Icon(image)]] | display system icons | See HelpOnNavigation |
| [[UserPreferences]] | display a user preferences dialog | See UserPreferences |
| [[BR]] | insert a line break | 1st line 2nd line |
| [[Include(HelloWorld[,"heading"[,level]])]] | include contents of another page | [转到 HelloWorld] |
| [[FootNote(text)]] | Add a footnote (the text cannot contain any wiki markup), or explicitely display collected footnotes when no args are given | See HelpOnPageCreation for an example |
| [[Date(timestamp)]] | display a timestamp according to system settings | 2009-01-07 |
| [[DateTime(timestamp)]] | display a timestamp1 according to user settings | 2009-01-07 12:33:04 |
| [[GetText(text)]] | loads I18N texts (mainly intended for use on Help pages) | "EditText" is translated to "编辑本页文字" |
| [[TeudView]] | useful for intranet developer wikis, a means to view pydoc documentation, formatted via a XSLT stylesheet, for details see | See |
____
1 "timestamp" can be empty (current time), a number of seconds since 1970 (unix timestamp), or a W3C time specification ("2002-01-23T12:34:56").
| Python 版本 | 2.1.1 (#1, Aug 5 2002, 09:20:06) [GCC 2.96 20000731 (Red Hat Linux 7.0)] | |
| MoinMoin 版本 | 版本 0.11 [子版本 1.151] | |
| 页面数 | 96 | |
| 备份版本数 | 8 | |
| 编辑日志项 | 1857 | |
| 全局扩充宏 | AbandonedPages, BR, FootNote, FullSearch, GetText, Include, OrphanedPages, PageSize, RandomPage, RecentChanges, StatsChart, SystemAdmin, TableOfContents, TeudView, WantedPages | |
| 本地扩充宏 | 无 | |
| 全局扩充动作 | AttachFile, DeletePage, LocalSiteMap, titleindex | |
| 本地扩充动作 | 无 |