dev-util/idea-* minor fixes
[anomen-overlay.git] / www-apps / pmwiki / cookbook / CachedNumberOfArticles / readme.txt
blob9ed8fcadc4582a806000992f2f156257251f5b90
1 >>recipeinfo<<
2 Summary: Count pages in wiki
3 Version: 2011-10-13
4 Prerequisites:
5 Status: Stable
6 Maintainer: [[profiles/Anomen]]
7 Categories: [[!Includes]]
8 Users: {{$FullName}-Users$Rating2} ([[{$FullName}-Users|View]] / [[{$FullName}-Users?action=edit|Edit]])
9 Discussion: [[{$Name}-Talk]]
10 >><<
12 !!Description
14 This recipe reports number of articles in wiki.
15 Value is obtained from cache unless optional ''refresh'' argument is specified.
17 !! Usage
19 !!!Installation
21 Copy Attach:noa.php into your cookbook dir.
23 Add to '''local/config.php''':
26   require_once($FarmD . '/cookbook/noa.php');
29 !!! Markup usage
31 * Use @@(:numberofarticles:)@@ to display number of articles.
32 * Use @@(:numberofarticles refresh:)@@ to update counter and display correct number of articles.
34 !! Notes
35 * Number of articles is cached in @@$WorkDir/.noa@@.
36 * Pages in wikilib.d (i.e. default articles in groups ''Site'' and ''PmWiki'') are excluded.
37 * This recipe should work with [[Cookbook/PerGroupSubDirectories]].
39 !! Comments
40 (:if false:)
41 This space is for User-contributed commentary and notes.
42 Please include your name and a date along with your comment.
43 Optional alternative:  create a new page with a name like "ThisRecipe-Talk" (e.g. PmCalendar-Talk).
44 (:if exists {$Name}-Talk:)See Discussion at [[{$Name}-Talk]](:if:)
46 [[#seealso]]
47 !! See Also
49 * [[Cookbook/NumberOfArticles]]
51 : git repository : http://repo.or.cz/w/anomen-overlay.git/tree/HEAD:/www-apps/pmwiki/cookbook/CachedNumberOfArticles
53 !! Contributors
54 * [[~Anomen]]