[Pmwiki-users] Documentation--Commented local.php

Patrick R. Michaud pmichaud at sci.tamucc.edu
Fri Mar 7 15:14:40 CST 2003


This is the intent of the sample-local.php file in the scripts directory.
I'd put it in the distribution as local.php directly, except that there's
the possibility that someone might accidentally overwrite their customized
local.php with the distribution version as part of doing a PmWiki upgrade
(which would be very bad).

My alternatives at this point seem to be:
 1. Leave the installation/upgrade process alone, and provide better
    examples, documentation, and resources for creating a local.php
 2. Develop an install/upgrade script that can automate a lot of the
    tasks necessary for doing an install.  In particular, an install/upgrade
    script could set up the wiki.d directory with appropriate permissions
    and create a default local.php only if one is not present.  
 3. Any other approach which I haven't been able to come up with yet.

So far my preference is #1, although I keep thinking about #2 from time
to time, and I keep drawing blanks on #3.  If anyone has any preferences,
opinions, or other ideas I'd be very happy to hear them.

Pm



On Fri, 7 Mar 2003, Louis Katz wrote:

> I wonder if puttting a local.php file in with the distribution  would 
> help mid level users customize their installations easier. I am 
> visualizing something with commented out global variables in their 
> default values. It would eliminate the need to open up the pmwiki.php 
> file to see how the fmt variables are broken up. It might displace lots 
> of questions.
> Louis
> 
> 
> On Friday, March 7, 2003, at 01:00  PM, 
> Pmwiki-users-request at pmichaud.com wrote:
> 
> > Send Pmwiki-users mailing list submissions to
> > 	Pmwiki-users at pmichaud.com
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > 	http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
> > or, via email, send a message with subject or body 'help' to
> > 	Pmwiki-users-request at pmichaud.com
> >
> > You can reach the person managing the list at
> > 	Pmwiki-users-admin at pmichaud.com
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Pmwiki-users digest..."
> >
> >
> > Today's Topics:
> >
> >    1. { confused } (Dawn Green)
> >    2. WikiStyle for links colors? (Glenn Blalock)
> >    3. Announcement: pmwiki-0.4.0 released (Patrick R. Michaud)
> >    4. Re: WikiStyle for links colors? (Patrick R. Michaud)
> >    5. Feature Suggestion (Jonathan Scott Duff)
> >
> > --__--__--
> >
> > Message: 1
> > Date: Fri,  7 Mar 2003 00:43:24 -0500
> > From: "Dawn Green" <green at thunderdata.com>
> > To:  <pmwiki-users at pmichaud.com>
> > Reply-To: green at thunderdata.com
> > Subject: [Pmwiki-users] { confused }
> >
> > I am working on some style sheet markup and inline replacements.  
> > Currently,
> > my syntax is as follows:
> >
> > $DoubleBrackets [=markup\\regex_series)] =
> > "<begin_HTML>$1<more>$2<more>$3<end_HTML>";
> >
> > Basically, I want to be able to call a different markup for one of the 
> > passed
> > variables.  So, is something like this possible?
> >
> > $DoubleBrackets[=same_as_above] = "<some_HTML>$1"($DoubleBrackets 
> > [=new_markup
> > and reg_ex] = "<more_HTML>$2") <end>$3";
> >
> > Thanks,
> > Dawn
> >
> > ====================
> > Thunder Data Systems
> > 719 South Shoreline
> > Suite 201
> > Corpus Christi, TX 78401
> >
> > www.thunderdata.com
> > (361) 883-6464
> >
> >
> >
> >
> >
> >
> > --__--__--
> >
> > Message: 2
> > Reply-To: <gblalock at grandecom.net>
> > From: "Glenn Blalock" <gblalock at grandecom.net>
> > To: <pmwiki-users at pmichaud.com>
> > Date: Fri, 7 Mar 2003 00:06:27 -0600
> > Subject: [Pmwiki-users] WikiStyle for links colors?
> >
> > I know this may sound greedy, especially with all the very useful
> > enhancements in 0.4, but is it possible to control the color of links?
> >
> > Glenn Blalock
> >
> >
> >
> > --__--__--
> >
> > Message: 3
> > Date: Fri, 7 Mar 2003 01:16:47 -0600 (CST)
> > From: "Patrick R. Michaud" <pmichaud at sci.tamucc.edu>
> > To: "'pmwiki-users at pmichaud.com'" <pmwiki-users at pmichaud.com>
> > Subject: [Pmwiki-users] Announcement: pmwiki-0.4.0 released
> >
> > I'm very pleased to announce that pmwiki-0.4.0 is now officially 
> > released.
> > Complete details of the improvements in pmwiki-0.4 are available via 
> > the
> > pmichaud.com web site and in the ReleaseNotes, but a brief summary of
> > 0.4 improvements include:
> >
> >    * support for FreeLinks
> >    * better configuration support for "standard" features (e.g.,
> >      WikiTrails, WikiStyles)
> >    * customizable Wiki link markup
> >    * significant improvements in documentation
> >    * addition of an EditQuickReference page to the bottom of the Edit 
> > Page
> >      form
> >    * addition of the "refcount.php" script to make it easier to find
> >      orphaned pages, links to non-existent pages, and heavily used 
> > pages.
> >
> > Note that 0.4 is a fairly major revision; some care should be taken
> > to review the ReleaseNotes and have good backups available prior to
> > upgrading to the 0.4 release.  However, except for the changes in
> > location of a few PmWiki-distributed wiki pages, most sites should be
> > able to upgrade without noticing any impact on existing configurations.
> >
> > As a development note, I plan to continue the "release early,
> > release often" philosophy of software development, and so I expect
> > there could easily be a number of frequent minor releases in the 
> > short-term
> > to address any bugs or minor modifications that may arise from this
> > release.
> >
> > Finally, my sincerest and grateful thanks to everyone who has 
> > contributed so
> > much time and effort towards this latest version of PmWiki.  PmWiki 
> > has turned
> > out much better than I had imagined it would be, both compared to when 
> > I
> > first started the program, and when I decided to make the major changes
> > leading to this 0.4 release.
> >
> > As always, if there are any questions or problems please email me or 
> > the
> > listserv and I'll address any issues as quickly as I can.
> >
> > Pm
> >
> >
> >
> > --__--__--
> >
> > Message: 4
> > Date: Fri, 7 Mar 2003 01:38:39 -0600 (CST)
> > From: "Patrick R. Michaud" <pmichaud at sci.tamucc.edu>
> > To: Glenn Blalock <gblalock at grandecom.net>
> > cc: pmwiki-users at pmichaud.com
> > Subject: Re: [Pmwiki-users] WikiStyle for links colors?
> >
> > On Fri, 7 Mar 2003, Glenn Blalock wrote:
> >
> >> I know this may sound greedy, especially with all the very useful
> >> enhancements in 0.4, but is it possible to control the color of links?
> >
> > Depends on what you mean by "control the color".  In pmwiki-0.4 the
> > text of links now honors the WikiStyles color settings, thus
> >
> >   %green% See my pop-tarts at http://www.pmichaud.com/toast
> >
> > now has the link text displayed in green (pmwiki-0.3.x would display it
> > in the browser/page's default link color, usually blue for unvisited
> > links and purple for visited links).
> >
> > However, if you're wanting to control the link, visited, active, and
> > hover "pseudo-classes" for link text, well, there's not going to be
> > an easy way for me to make this work with just WikiStyles alone.  It
> > will also require some configuration from the WikiAdministrator to set
> > up CSS style-sheet entries in the <HEAD> section of the HTML output.
> > HTML only allows link attributes to be specified in a CSS style
> > sheet specification, and not as inline attributes to the <a href...>
> > tag itself.
> >
> > So, what sort of colored links are you looking for?  If just setting
> > the color of the link text itself, that's available in 0.4.0.  If you
> > want to be able to have the link show up as different colors for 
> > visited,
> > active, and hover links, then I'll bump up the priority for setting up 
> > CSS class
> > attributes in WikiStyles to accommodate this.
> >
> > I'm hoping that pmwiki-users can have a discussion about things that 
> > need
> > to be included/standardized in WikiStyles; i.e., what predefined styles
> > would be good to make available in PmWiki distributions, and what 
> > additional
> > stylesheet attributes should PmWiki be supporting?
> >
> > Pm
> >
> >
> >
> > --__--__--
> >
> > Message: 5
> > Date: Fri, 7 Mar 2003 09:02:14 -0600
> > From: Jonathan Scott Duff <duff at cbi.tamucc.edu>
> > To: pmwiki-users at pmichaud.com
> > Reply-To: duff at pobox.com
> > Subject: [Pmwiki-users] Feature Suggestion
> >
> >
> > In the interest of favoring authors, how about a way to include
> > "intermaps" (I'll be calling these shortcuts from now on as the word
> > "intermap" doesn't make much sense to me anymore) in wiki pages?  For
> > instance, say the ISBN shortcut wasn't in the intermap.txt nor in the
> > localmap.txt or you want ISBN to be a shortcut to Barnes&Noble rather
> > than whatever the PmWikiAdmin has decided it should be a shortcut to.
> > If there were a way to specify a shortcut using PmWikiMarkup, then the
> > author of a page could define shortcuts where it makes sense.
> >
> > The only syntactic way that springs to mind right off is something
> > like (the all too line oriented):
> >
> > [%
> > Abbrev0 FullyExpandedThing0
> > Abbrev1 FullyExpandedThing1
> > %]
> >
> > s/%/<some other character>/   maybe a colon would work.
> >
> > This could also allow shortcuts for a whole group by making it part of
> > the GroupAttributes page (for instance) and have pmwiki read that page
> > for shortcuts after reading intermap.txt. The rule would be that page
> > specific shortcuts override group specific shortcuts override
> > intermap.txt.
> >
> > -Scott
> > -- 
> > Jonathan Scott Duff
> > duff at cbi.tamucc.edu
> >
> >
> >
> > --__--__--
> >
> > _______________________________________________
> > Pmwiki-users mailing list
> > Pmwiki-users at pmichaud.com
> > http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
> >
> >
> > End of Pmwiki-users Digest
> >
> 
> 
> _______________________________________________
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
> 





More information about the pmwiki-users mailing list