Anomen

i'm using/running several pmwikis

  • for my private notes
  • at work
  • for several software projects

Some of issues i had to address while using PmWiki (i will add code as soon as i have some time):

git repository
https://github.com/anomen-s/pmwiki-recipes

configuration tricks

# forms: allow target to open in new window
function MyWikiAddTargetIntoInputAttrs(){
  global $InputAttrs;
  $InputAttrs[] = "target";
}
$PostConfig['MyWikiAddTargetIntoInputAttrs'] = 500;

# upload: increase size of upload filename field
function MyWikiResizeUploadForm(){
  global $PageUploadFmt;
  $PageUploadFmt[0] = str_replace("'upname'", "'upname' size='40'", $PageUploadFmt[0]);
}
$PostConfig['MyWikiResizeUploadForm'] = 501;