Recent Changes - Search:

PmWiki

pmwiki.org

Simon

An itinerant webmaster for some clubs on Wellington Community Net. Started with UseMod, tried MoinMoin, now found PmWiki.
Once a software developer (Pascal), now joined the dark side as a Project Manager, currently ETL Team Leader. Still dabble with CSS, HTML, JavaScript, and now PHP to support the websites.

Jack of all trades ...

Features I use

the documentation to read if you're going to read documentation

Trying out, but not yet got to work
Search here if all else fails

Knows enough to be ...

Cookbook customisations used
Config.php customisations used
  • Markup('[[<]]', '[[<<]]', '/\\[\\[&lt;\\]\\]/', '<br />'); # break without clear all
  • $PageSearchForm = '$DefaultGroup.Search'; # to fully use customised search page.
  • $UploadNameChars = "-\w. !=+#"; # allow exclamations, equals, plus, and hash
My weapons

Used as a home intranet (great for the kids), and for community group websites.

My CSS suggestions and customisations

When creating a skin simply include the original pmwiki CSS file, this ensures you benefit from pmwiki upgrades, viz

 @import url("/pmwiki/pub/skins/pmwiki/pmwiki.css");

Use CSS to suppress and change some elements of the page when printing (latterly pmwiki also uses this), eg

  @media print {
  /* style sheet for print */
    #wikilogo, #wikihead, #wikifoot, #wikileft, #wikicmds, 
   .wikitrail, .noprint {
  	display : none;
	}
  }
My template suggestions and customisations

Change the order of the skin CSS and run time CSS lines (which replace the Headertext) to ensure your customised skin CSS overrides the page by page generated CSS, viz

 <!--HeaderText-->
 <link rel='stylesheet' href='$SkinDirUrl/pmwiki.css' type='text/css' />
General tips
Make Firefox refresh every time
type about:config in the location bar, right click on browser.cache.check_doc_frequency and select modify, change to 1 and Firefox will now check for a new version of the page on every page load
Safe Mode and uploads
try chmod 777 /home/username/public_html/pmwikiuploads/

Like to contribute where I can

Simon
My configuration suggestions and customisations

Changes for config.php

 $EditTemplatesFmt = array('$Group.Template', '$DefaultGroup.Template');
 # include DefaultGroup in page search
 $PagePathFmt = array ('$1.{$DefaultName}', '{$Group}.$1', '{$DefaultGroup}.$1', '$1.$1');
 # Authors must give a name
 $EnablePostAuthorRequired = 1;
 # Create a simple 'last changed page' for including on other pages
 $RecentChangesFmt['Site.LastChanged'] = '[-[[$Group.$Name]]-][[<<]]  ';
 # try to make recent changes show all recent changes (YMMV)
 if (preg_match('![./]RecentChanges$!', $pagename))
  $DefaultPageTextFmt = '(:include Site.AllRecentChanges lines=60 :)';
 $RecentChangesFmt['$Group.RecentChanges'] = '(:include Site.AllRecentChanges lines=60 :)';
 # add a soft break
 Markup('[[<]]', '[[<<]]', '/\\[\\[&lt;\\]\\]/', '<br />'); # break without clear all 
 # make search stay in group
 $PageSearchForm = '$DefaultGroup.Search';  
 # better control over simple tables (''doesn't work, hoping for help'')
 $BlockMarkups['table'] = '<table width=* class="wikisimpletable">';
 # Additional uploads file types
 $UploadExts['dot'] = 'application/msword'; # Word document template

Set $EnableDiag and

 include_once("$FarmD/cookbook/analyze.php");
 $AnalyzeKey = 'secret';

on one page only by creating a page specific configuration file.

My Questions and FAQs

How do I get a list of categories (as opposed to a page list of category pages)?

Corollary:

How do I refer to a category (eg [[Category/example]]) without joining (being listed in) the category (eg [[!example]])

(2006-05-02) Automatic population of the AuthorTracking field


Running PmWiki as an intranet in a fully windows environment, is there any possibility of hiding, but populating the Author name field from (say) Windows authentication, so that the author for every change is captured (and does not need to be entered (and cannot be changed) by the user)

PITS:PITS entries
(:pagelist group=PITS order=-name
$:From=*simon*,*Simon*,-*Simon?B*,-*Simoni* fmt={$FullName}#pitsentry :)
(:if false:)
[[#pitsentry]]
(:template first:)
||width=*
(:template each:)
||[-[[{=$FullName}]]-] ||[-''{=$:Status}''-] ||[-{=$LastModifiedSummary}-]
||[-{=$:Summary}-] ||
[[#pitsentryend]]
(:ifend:)
PITS.00962OpenMake >><< behave identifcally with other block formatting when [=style= is used-] ||[-Make [=>><< behave identically with other block formatting when style= is used
PITS.00957Openadd a pagePages to be added and updated in 2.2.0 beta release
PITS.00951Awaiting feedbackVote +1{$SiteAdminGroup} page variable not created
PITS.00917Openadded reference to static pagelist capability and example of creating wiki trailPage lists? to be able to create wiki trails?
PITS.00916OpenSupport honeypot block listSupport honeypot block list
PITS.00915Closed in 2.2.0 beta 56Page text variable? erroneous usage loops
PITS.00895OpenAllow multiple wiki trails? on a page with anchors
PITS.00894OpenAlternative solution, allow quotes around the file nameProvide a better means of attaching images with spaces in their names
PITS.00885OpenrestoreDefinition list marked up as Intermap Entry
PITS.00884OpenMake pagelist parameter names not case sensitive
PITS.00880OpenPage text variables change request
PITS.00866Closed - not a bugBlocklist displays error
PITS.00860Openvote for this feature requestAdd min and max width and height, clear; to table, div, block, and style directives
PITS.00850Closed, in 2.2.0-beta28closedBlocklist to optionally check Author and Summary fields, and to optionally display blocklist name
PITS.00805OpenSearch: allow button text to be specified
PITS.00799Closed - too difficult for benefit obtainedOdd behaviour of markup
PITS.00787Closed, in 2.2.0-beta32Closed, in 2.2.0-beta32(:else:) extension of Conditional Markup
PITS.00746Reopened - inconsistent with other wikisrestoreLink markup broken in 2.1.6
PITS.00741Closed - use %-escapesadd ( exampleEscape characters in URLs
PITS.00707Closed - available in 2.2.0-beta1closed - fixed/available in 2.2.0-beta1Add conditional markup to detect if text is included
PITS.00673Closed - not a bugPmWiki changes a character with a macron to a character with a circumflex on save
PITS.00665OpenCookbook.Attachtable linkAllow customization of attachlist output
PITS.00646ClosedrestoreSearch should use the page it is called from to return the result if it contains (:searchresults:)
PITS.00638Reopened, does not really existSimple table have CSS class added to facilitate customisation
PITS.00615Closed - no actionrestoreSuggested default template changes for 2.1
PITS.00489Suspended - needs votesvotes solicited pleaseclasses for Image frames and captions
PITS.00485Closed -- added to cookbooklinkInclude NewPageBox in a release
PITS.00467Closedclosed, non existent page handling now changedDescribe DummyPage? here needs forced link
PITS.00466Closed - fixed for 2.0.0Saving Approved URLs issues: Added twice; Case sensitive
PITS.00446Closed - added to documentationrestoreApprove Links tool tip
PITS.00423Closed - not a bugde-sapmTable attributes have a space added in string value
PITS.00411Openpagelist to exclude redirects
PITS.00396Confirmed, ToDoconfirmed, todoCreating uploads directory error message may require tidy
PITS.00269Closed - not a bug%right% need blank line before and after
PITS.00250ClosedProvide a "wikiright" to match the existing wikileft
PITS.00162Closed - fixed for 2.0.beta1Move formatting of $PageLogoFmt into template

Watch list

(:pagelist trail={$FullName} fmt={$FullName}#watchlist order=-time:)

(:if false:)
[[#watchlist]]
(:template first:)
||width=*
(:template each:)
||[-[[{=$FullName}?action=diff | {=$LastModified}]]-] ||[-''[[{=$FullName}
| {=$Groupspaced}.{=$Namespaced}]]''-] ||[-[[~{=$LastModifiedBy}]]-]
||[-{=$LastModifiedSummary}-]||
[[#watchlistend]]
(:ifend:)
August 29, 2008, at 10:39 PMGroup.Name?Profiles
August 29, 2008, at 11:02 AMPm Wiki.Uploads AdminAndrew Bulmer?Answered question
August 23, 2008, at 05:35 AMPm Wiki.Upload Variablesjb
August 21, 2008, at 03:23 PMPm Wiki.TroubleshootingPeter Bowersadded fix for session problems - worked for me. ymmv.
August 20, 2008, at 05:21 AMPm Wiki.Available Actionssimonclear right
August 19, 2008, at 11:13 PMPm Wiki.Wiki Trailssimonclear right
August 19, 2008, at 11:10 PMPm Wiki.Page Text Variablessimonclear right
August 19, 2008, at 11:10 PMPm Wiki.Page Text Variablessimonclear right
August 19, 2008, at 10:06 PMPm Wiki.Url Approvalssimontrail
August 19, 2008, at 10:06 PMSite Admin.Blocklistsimonremove blockspot (used on page PmWiki/UrlApprovals)
August 19, 2008, at 10:01 PMPm Wiki.Notifysimontrail
August 19, 2008, at 10:01 PMPm Wiki.Blocklistsimontrail
August 15, 2008, at 03:12 AMPm Wiki.Page List Templatessimonadd redirect from email list
August 14, 2008, at 08:58 AMPm Wiki.Include Other PagesPeter Bowers
August 13, 2008, at 08:10 PMPm Wiki.SecuritysimonAnswer to read only wiki
July 28, 2008, at 03:35 PMPm Wiki.Page Listsovertones99link to custom pagelist sort order
July 10, 2008, at 08:00 AMPm Wiki.CategoriesNucleos?
July 07, 2008, at 04:18 PMPm Wiki.Conditional Markupsimonif may be nested
June 23, 2008, at 03:55 PMPm Wiki.Comment MarkupSimonanchor and refactor, questions
June 20, 2008, at 09:55 AMCookbook.Web AdminJeff Muday
June 13, 2008, at 05:04 PMPm Wiki.UploadsJoel Taylor?Corrected typo
May 09, 2008, at 02:44 AMPm Wiki.Wiki Farmskevin?
April 25, 2008, at 06:36 AMCookbook.Clean UrlsPeter Bowers
April 25, 2008, at 06:18 AMCookbook.Install On IISPeter Bowers
April 15, 2008, at 05:53 PMCookbook.Wiki GalleryPetkoCustomPageStore
April 14, 2008, at 03:41 PMPm Wiki.File Permissionssimonsee also Cookbook/DirectoryAndFilePermissions
March 18, 2008, at 04:49 AMPm Wiki.Deleting PagesBartolinmoved question to FAQ area
March 13, 2008, at 05:39 AMPm Wiki.Site Analyzerjdd
February 19, 2008, at 01:01 PMPm Wiki.Analyze Resultssimoncorrect reference
January 26, 2008, at 10:24 AMPm Wiki.Special PagesDaveGAdded wikilib.d info from Tegan
January 03, 2008, at 08:14 PMPm Wiki.Mail Postssimonsummary
December 28, 2007, at 04:40 AMCookbook.Chord ProNH?Restore
November 28, 2007, at 06:53 AMCookbook.Login LogoutJoseph Kynaston Reeves?
October 27, 2007, at 08:46 PMCookbook.Auth List ShortFernando Gutiérrez?
October 09, 2007, at 10:58 AMCookbook.Faviconpjv
August 20, 2007, at 03:48 AMCookbook.PHPsimon
May 25, 2007, at 09:58 AMCookbook.ROS Patternsstirlingwestrup
May 22, 2007, at 05:41 PMCookbook.Watch Listssimonupdate single page option

Last modified by me

(thanks Pico for the pagelist)

[[#lastmodbyme]]
(:if false:)
(:template defaults order=-time:)
(:template each:)
(:if equal {=$LastModifiedBy} {$Name}:)
# [[{=$Group}.{=$Name}]] [-{=$LastModifiedHost}-] [-{=$LastModified}-]
&nbsp; ''[-{=$LastModifiedSummary}-]'' &nbsp; [-{=$:Summary}-]
(:ifend:)
(:ifend:)
[[#lastmodbymeend]] 

Pages that were [[{$Name}?action=search&q=fmt={$Name}#lastmodbyme|last
modified by {$Name}]]
(:pagelist fmt={$Name}#lastmodbyme group=PmWiki,Cookbook,PITS:)

Pages that were last modified by Simon

  1. Cookbook.WikiTrails 202.37.32.2 June 30, 2008, at 10:47 PM   ifend   Ways to use and create WikiTrails along with extensions to enhance them
  2. Cookbook.RecipeList 202.37.32.2 June 30, 2008, at 10:46 PM   remove return to text   The 'RecipeList' page list template
  3. Cookbook.Administration 202.37.32.2 June 30, 2008, at 10:40 PM   change summary   Recipes for Wiki Administration and Administrators
  4. PmWiki.CommentMarkup 202.37.32.2 June 23, 2008, at 03:55 PM   anchor and refactor, questions   various forms of comments and how to achieve them for wiki pages
  5. Cookbook.CommentsSplit 203.97.214.12 April 18, 2008, at 12:57 AM   some other simon   A simple way to have publically-editable comments section at the bottom of your pages
  6. PITS.01005 203.97.214.12 March 29, 2008, at 11:55 PM   Simon, try another non de plume, Simon   Publish button disabled if Drafts and PageTextVar() is used
  7. PITS.00489 202.37.32.2 May 02, 2007, at 05:56 PM   votes solicited please   classes for Image frames and captions
  8. PITS.00775 202.37.32.2 May 02, 2007, at 05:53 PM   fix From   Login -> 500 Internal Server Error
  9. Cookbook.OutlineLists 202.37.32.2 April 30, 2007, at 04:26 PM   summary   Deprecated, see WikiStylesPlus
  10. PITS.00916 202.37.32.2 April 26, 2007, at 06:30 PM   Support honeypot block list   Support honeypot block list
  11. Cookbook.DivisionsExplained 203.97.214.12 April 20, 2007, at 07:11 PM   link to existing documentation   Explanation of (:div:) and >>..<< markup for creating page sections (divisions)
  12. PITS.00787 202.37.32.2 April 10, 2007, at 05:32 PM   Closed, in 2.2.0-beta32   (:else:) extension of Conditional Markup
  13. PITS.00088 203.97.214.12 December 29, 2006, at 12:24 AM   I'd like it   RecentUploads don't exists
  14. PmWiki.AuthorTracking 202.37.34.4 November 30, 2006, at 03:32 PM   link to AllRecentChangesPerAuthor  
  15. PITS.00485 202.37.32.2 November 05, 2006, at 06:16 PM   link   Include NewPageBox in a release
  16. PITS.00741 202.37.32.2 November 05, 2006, at 06:09 PM   add ( example   Escape characters in URLs
  17. PITS.00673 203.97.214.12 April 03, 2006, at 03:41 AM     PmWiki changes a character with a macron to a character with a circumflex on save
  18. PITS.00467 210.246.16.135 February 24, 2006, at 03:21 AM   closed, non existent page handling now changed   Describe DummyPage? here needs forced link
Edit - History - Print - Recent Changes - Search
Page last modified on August 29, 2008, at 08:50 PM