⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pagefilters.txt

📁 wiki建站资源 java编写的 很好用
💻 TXT
字号:
Page Filters are a new addition in JSPWiki 2.2.  They essentially allow you to pre- and postprocess the information that flies back and forth between the Wiki engine and the browser.

There are four possible places where the filters can be applied:

# ''pre-translate'' - that is, after the page has been fetched from the [page repository], but before it has been translated from [WikiMarkup] to HTML.
# ''post-translate'' - after the page has been translated into HTML, but before it is shown to the user.
# ''pre-save'' - before the page is committed to the repository.
# ''post-save'' - after the page has been committed to the repository successfully.  Note that at this point it is useless to change the page data anymore, so filters that hook to this event are typically general notification filters - such as sending email.

To see which filters are running on this instance of JSPWiki, use the [[{$pagefilters}] [WikiVariable] to list them.  See [System Info] for more information.

----

!Filter documentation

JSPWiki ships with a few predefined filters:

* [PingWeblogsComFilter]
* [ProfanityFilter]
* [SpamFilter]

To use these (or any other PageFilter [contributed|JSPWiki:ContributedFilters] by the JSPWiki community), you have to also see

* [PageFilterConfiguration]

----

!Developer documentation

* [WritingPageFilters]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -