|
Cookbook /
Author ContributionSummary: Automatically Produce an "Author Contributions" page for each author.
Version: 2007-09-16
Prerequisites: PmWiki 2.0.x or newer
Status: Stable
Maintainer: Hagan Fox
Categories: Editing
DescriptionThis recipe automatically keeps a list of the pages each author has edited. The "Author Contributions" page is kept in Profiles.<author's name>-Contrib. Contributions by authors without profile pages are placed in a single Profiles.Other-Contrib page. For example if Bob's profile page is Profiles.Bob, the a Profiles.Bob-Contrib RecentChanges-type page will be kept that lists the pages Bob has edited. InstallationDownload authorcontrib.phpΔ and place it to your cookbook/ directory, then insert the following line in your local/config.php file:
if ($action == 'edit' || $action == 'comment') {
include_once("$FarmD/cookbook/authorcontrib.php"); }
You can use the " NotesIf want to enable Release Notes
CommentsIs there a way to make the newest contributions appear at the top of the list? Craig? March 28, 2006, at 12:17 AM That is the default behavior. It works exactly like GroupName.RecentChanges and $SiteGroup.AllRecentChanges page, but with a slightly different format for each line. --Hagan
Is there a way to backfill the contributions of people made before this recipe is added? Lordmundi March 14, 2007 I doubt there is a way to do so automatically. --Hagan
I do not understand how this works. Is there an example anywhere? Could this be applied to pmwiki's documentation? GNUZoo March 28, 2007 The easies way to see how it works is to enable it on your wiki, edit a page or two, then search your wiki for "name=*Contrib" (without the quotes). You will see the pages that were created in the Profiles group. --Hagan
See Also
Contributors
|