ikiwiki/doc
Joey Hess 192ce7a238 remove unnecessary and troublesome filter calls
This better defines what the filter hook is passed, to only be the raw,
complete text of a page. Not some snippet, or data read in from an
unrelated template.

Several plugins that filtered text that originates from an (already
filtered) page were modified not to do that. Note that this was not
done very consistently before; other plugins that receive text from a
page called preprocess on it w/o first calling filter.

The template plugin gets text from elsewhere, and was also changed not to
filter it. That leads to one known regression -- the embed plugin cannot
be used to embed stuff in templates now. But that plugin is deprecated
anyway.

Later we may want to increase the coverage of what is filtered. Perhaps
a good goal would be to allow writing a filter plugin that filters
out unwanted words, from any input. We're not there yet; not only
does the template plugin load unfiltered text from its templates now,
but so can the table plugin, and other plugins that use templates (like
inline!). I think we can cross that bridge when we come to it. If I wanted
such a censoring plugin, I'd probably make it use a sanitize hook instead,
for the better coverage.

For now I am concentrating on the needs of the two non-deprecated users
of filter. This should fix bugs/po_vs_templates, and it probably fixes
an obscure bug around txt's use of filter for robots.txt.
2010-07-04 15:06:48 -04:00
..
banned_users
basewiki
bugs cleaner bugfix in now available 2010-06-30 12:15:44 +02:00
cgi
contact
css
css_market
examples Use comment template on comments page of example blog. 2010-06-30 20:53:58 -04:00
forum Added a comment 2010-07-04 18:16:27 +00:00
freesoftware
ikiwiki po: added a needstranslation() pagespec 2010-07-04 14:20:12 -04:00
ikiwiki-makerepo 2010-05-26 15:26:34 +00:00
ikiwiki-mass-rebuild
ikiwikiusers
index
install
logo
news add news item for ikiwiki 3.20100623 2010-06-23 14:23:51 -04:00
patch
plugins remove unnecessary and troublesome filter calls 2010-07-04 15:06:48 -04:00
post-commit
quotes
rcs another reason to use NetBSD's commit_prep and log_accum for CVS 2010-06-26 20:14:50 +00:00
roadmap add list of compatability breaking changes 2010-04-16 19:42:18 -04:00
sandbox 2010-06-07 15:10:04 +00:00
security
setup s/the the/the/ 2010-06-26 18:13:08 +00:00
smileys
soc
tags
templates 2010-06-07 13:40:55 +00:00
tips clarify indexdb is cached info, rebuildable 2010-06-23 13:15:10 -04:00
todo review of needstranslation() pagespec 2010-07-04 14:22:19 -04:00
translation
usage
users windauth plugin exists (iPhone edit) 2010-06-26 01:48:53 +00:00
w3mmode
wikiicons
GPL
TourBusStop.mdwn revert spam 2010-03-04 09:30:24 +00:00
anchor.mdwn
backlinks.mdwn
banned_users.mdwn
basewiki.mdwn
blog.mdwn
bugs.mdwn Revert spam 2010-03-09 00:40:51 -05:00
cgi.mdwn
commit-internals.mdwn
competition.mdwn
consultants.mdwn Revert markd changes 2010-05-07 12:18:43 -04:00
contact.mdwn
convert.mdwn
css.mdwn link to theme plugin 2010-06-16 19:23:08 -04:00
css_market.mdwn link to theme plugin 2010-06-16 19:23:08 -04:00
download.mdwn slightly more consistent capitalisation of ikiwiki 2010-04-03 16:07:32 -04:00
examples.mdwn
favicon.ico
features.mdwn html5 bug closure, and documentation 2010-05-02 17:16:15 -04:00
forum.mdwn Despam 2010-04-02 13:07:22 +01:00
freesoftware.mdwn template docu reorg 2010-04-23 16:14:33 -04:00
git.mdwn Add bzed's git repo to the list of repositories to pull from 2010-05-11 23:57:45 +00:00
ikiwiki-calendar.mdwn template docu reorg 2010-04-23 16:14:33 -04:00
ikiwiki-makerepo.mdwn Code formatting. 2010-05-26 15:24:54 +00:00
ikiwiki-mass-rebuild.mdwn
ikiwiki-transition.mdwn
ikiwiki-update-wikilist.mdwn
ikiwiki.mdwn add link to templates page 2010-04-24 00:43:45 -04:00
ikiwikiusers.mdwn add own site using ikiwiki 2010-07-02 20:18:26 +00:00
index.mdwn Revert markd changes 2010-05-07 12:18:43 -04:00
install.mdwn
local.css
logo.mdwn
news.mdwn
pagehistory.mdwn
patch.mdwn
peteg.mdwn 2010-04-18 12:34:20 +00:00
plugins.mdwn avoid showing subpages of contrib plugins 2010-06-18 12:59:03 -04:00
post-commit.mdwn
quotes.mdwn
rcs.mdwn git: Record the username from openid in the git author email. (This avoids display of ugly google openids.) 2010-06-23 19:44:41 -04:00
recentchanges.mdwn
roadmap.mdwn yaml setup files 2010-05-21 13:53:20 -04:00
robots.txt
sandbox.mdwn 2010-06-27 17:22:41 +00:00
security.mdwn update re template change 2010-04-23 17:38:37 -04:00
setup.mdwn Removed redundant "configure' 2010-05-26 12:12:57 +00:00
shortcuts.mdwn Despam, again. Someone ban adrianna please? 2010-04-02 18:28:34 +01:00
sitemap.mdwn
smileys.mdwn
soc.mdwn
style.css clear floats before comments begin 2010-06-15 13:44:42 -04:00
tags.mdwn
templates.mdwn fix links 2010-06-14 16:36:54 -04:00
tipjar.mdwn
tips.mdwn
todo.mdwn
translation.mdwn
usage.mdwn typo 2010-04-25 14:16:53 -04:00
users.mdwn
w3mmode.mdwn
whyikiwiki.mdwn
wishlist.mdwn