<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<base href="../" />
<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - Help  /  Action Page</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>Help  /  Action Page</h1>
</div>
<div id="content">



<div class="wikitext"><div class="plugin tightenable top" id="IncludePagePlugin3"><p class="transclusion-title">Included from <span><a href="Help.html" class="named-wiki" title="Help">Help</a><a href="Help/WikiPlugin.html" class="named-wiki" title="Help/WikiPlugin">/WikiPlugin</a></span></p>
<div class="transclusion"><p class="tightenable top">The term <b><a href="Help/ActionPage" class="named-interwiki"><span style="white-space: nowrap"><img src="images/interwiki.png" alt="" class="linkicon" border="0" />ActionPage</span></a></b> refers to a page containing a plugin
invocation with the same or translated pluginname as the pagename.
An <b>action</b> is together with the <b>pagename</b> argument the basic
<a href="PhpWiki.html" class="wiki">PhpWiki</a> argument.
It can both be GET or POST actions. Actions are untranslated, always
english, pagenames can be localized.
Basic (and old) actions are all lowercase, like edit, browse, remove, ...
Newer actions in <a href="http://phpwiki.sourceforge.net/phpwiki/CamelCase" class="interwiki"><span style="white-space: nowrap"><img src="images/interwiki.png" alt="" class="linkicon" border="0" />PhpWiki:</span><span class="wikipage">CamelCase</span></a> are invoked via plugins on their
specific action page.</p>
<p class="tightenable">We decoupled actions from plugins via action pages for the following
reasons:</p>
<ol><li class="tightenable bottom">Support translated action buttons and customizable action descriptions.</li>
<li class="tightenable top bottom">Customize standard actions by tuning the plugin invocation arguments.
Override or add plugin defaults.</li>
<li class="tightenable top bottom">Split simple plugins into multiple actions, like <a href="RecentChanges.html" class="wiki">RecentChanges</a>/<a href="RecentEdits.html" class="wiki">RecentEdits</a>,
<a href="MostPopular.html" class="wiki">MostPopular</a>/<a href="LeastPopular.html" class="wiki">LeastPopular</a>, <a href="AllPages.html" class="wiki">AllPages</a>/<a href="AllPagesCreatedByMe.html" class="wiki">AllPagesCreatedByMe</a>/<a href="AllPagesLastEditedByMe.html" class="wiki">AllPagesLastEditedByMe</a>/
<a href="AllPagesOwnedByMe.html" class="wiki">AllPagesOwnedByMe</a> which differ only in one argument.</li>
<li class="tightenable top">Simplify the syntax for actions on another actions using a <u title="Empty link to: PageList" onmouseover="window.status=&quot;Empty link to: PageList&quot;; return true;" onmouseout="window.status='';return true;" class="wikiunknown">PageList</u>
as result of an actionpage as input parameter for another action or
format.</li>
</ol>
<ul><li class="tightenable bottom">Those actions which have buttons or links in the theme or are
referenced in the standard pgsrc pageset require their
(possibly localized) actionpages, otherwise the actions will not work.</li>
<li class="tightenable top bottom">If the localized actionpage is not found the english version is
used.</li>
<li class="tightenable top">If no actionpage is found, it is recommended to do action=upgrade,
which imports all missing and required action pages into the database.</li>
</ul>
<p class="tightenable bottom">So for a hypothetical new MyActionPage plugin MyActionPage will
invoke the plugin and Help:MyActionPagePlugin should be the description page.</p>
</div>
</div>
<hr />
<p class="tightenable bottom"><a href="PhpWikiDocumentation.html" class="wiki">PhpWikiDocumentation</a></p>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;admin&quot;  Last edited on August 14, 2007  7:11 am by &quot;The PhpWiki programming team&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
