Re: [pmwiki-users] pmwiki on github

2021-05-16 Thread Patrick R. Michaud
I've been mulling the idea of switching PmWiki source to GitHub, but haven't had the time to really work on it. (Doing so involves more than simply porting the sources over, but also redesigning our release toolchain.) I may have time this summer to look into that effort. In the meantime,

Re: [pmwiki-users] page blank

2017-09-11 Thread Patrick R. Michaud
What version of PmWiki are you running? Perhaps an upgrade will fix it. What version of PHP do you have now? See also http://www.pmwiki.org/wiki/PmWiki/Troubleshooting , especially http://www.pmwiki.org/PmWiki/Troubleshooting#blank_sections . It may have some useful information there. Pm

Re: [pmwiki-users] SSL Migration & Coexistance etc.

2017-06-04 Thread Patrick R. Michaud
On Sun, Jun 04, 2017 at 04:35:58PM +0200, Walter Keller wrote: > $PubDirUrl = 'http://www.mydomain.com/path/to/pub'; >===> $PubDirUrl = '//www.mydomain.com/path/to/pub'; > By the definition of URIs, the browser use http: or https: as in the > current request and everything works like a

Re: [pmwiki-users] https with PmWiki

2017-05-30 Thread Patrick R. Michaud
PmWiki *already* responds properly to https: requests -- it detects when a request comes in via HTTPS and converts its outgoing links accordingly. This doesn't need a new variable. If you want to force all pmwiki-links to use https, then update $ScriptUrl accordingly: $ScriptUrl =

Re: [pmwiki-users] On the order of Markup

2017-03-28 Thread Patrick R. Michaud
On Thu, Mar 23, 2017 at 11:21:06AM -0400, Peter Kay wrote: > textvar: >< > nl0 >< > Sidebar >< > input+sp >< > nl1 >nl0 B>><> > [...] > I am wondering: > > Is there any particular benefit to this non-intuitive approach to > ordering

Re: [pmwiki-users] quoted text markup

2016-09-20 Thread Patrick R. Michaud
I think I'd prefer this as a recipe (or an addition to an existing recipe) rather than core for now. I'm concerned a change to core might match code display segments where a single "" represents an empty string. I also don't know how widely this feature would be used; I suspect most people

Re: [pmwiki-users] PS Embeded Web Address Characters -

2016-09-11 Thread Patrick R. Michaud
To me, this looks like a bug (or missing feature) in the IncludeSite recipe. Pm On Sat, Sep 10, 2016 at 04:31:45PM -0700, Kirk Siqveland wrote: > Addendum: > > The Code: > This works fine > (:includeSite http://en.wikipedia.org/wiki/Nikola_Tesla?printable=yes:) > > but this does not >

Re: [pmwiki-users] Upload protection not working

2016-06-06 Thread Patrick R. Michaud
essnow.com wrote: >If I remove the download parm I get the login page. I don't have any >other php involved. >Sent on the new Sprint Network >- Reply message ----- >From: "Patrick R. Michaud" <pmich...@pobox.com> >To: <c...@endl

Re: [pmwiki-users] Upload protection not working

2016-06-06 Thread Patrick R. Michaud
Out of curiosity, what happens if you attempt to access the page via incognito mode or equivalent? I'm wondering if somehow you're obtaining authorization through another path... e.g., perhaps an admin authorization that has been cached somewhere. Also, what happens if you remove the

Re: [pmwiki-users] Issue with blocklist regex (for /\bcialis\b/), blocking word spécialisé

2016-05-02 Thread Patrick R. Michaud
On Tue, May 03, 2016 at 01:16:37AM +0200, ABClf wrote: > Hello, > > Not a big issue, but a strange one : my blocklist has an entry copied > from PmWiki's : > > block:/\bcialis\b/ > > This wrongly blocks the word "spécialisé" on my website whereas > everything is fine in PmWiki, where

Re: [pmwiki-users] Pagelist conditional: One of two PTV not empty?

2016-02-28 Thread Patrick R. Michaud
On Sun, Feb 28, 2016 at 12:35:32PM -0600, Chuck G wrote: > Petko Yotov <5...@5ko.fr> Wrote in message: > > On 2016-02-27 12:55, Oliver Betz wrote: > >> how can I get a pagelist where at least one of the PTV "foo" or "bar" > >> are not empty? > > > > If the PTV are short one-line strings, you can

Re: [pmwiki-users] Too many pmwiki.php processes

2016-02-24 Thread Patrick R. Michaud
If you haven't done so already, be sure to add include_once('scripts/robots.php') to your configuration file. It does a lot of things to try to control robots flooding your website. As you might guess, the pmwiki.org site has had to deal with robot floods as well (often thousands of requests

Re: [pmwiki-users] Insert meta tag in

2016-02-11 Thread Patrick R. Michaud
On Wed, Feb 10, 2016 at 07:34:35PM +0100, Thomas Lundgren wrote: > I´ve made a cookbook from where I will share the page to Facebook. To be > more sure that Facebook grabs the page correct Facebook "require" some meta > tags in the -part of the html-page. > > How do I - from a cookbook insert

Re: [pmwiki-users] Disappearing backslashes?

2016-01-26 Thread Patrick R. Michaud
I just tried this in the WikiSandbox on pmwiki.org and the following appears to work fine: [@ openssl pkcs12 -export -in certificate.crt -inkey private.key \ -certfile int.pem -out certificate.pkcs12 @] I'm guessing there may be a recipe or local customization on your site that is causing the

Re: [pmwiki-users] Allow only one IP range at specific page.

2015-11-17 Thread Patrick R. Michaud
The Blocklist is probably not the answer you're looking for -- it's intended to prevent sites from _writing_ to pages, not to prevent them from being viewed. I think you're probably looking for http://www.pmwiki.org/wiki/Cookbook/AuthDNS . It's also possible to do per-page customizations --

Re: [pmwiki-users] after update - unable to edit

2015-10-20 Thread Patrick R. Michaud
On Tue, Oct 20, 2015 at 11:21:08AM +0200, Petko Yotov wrote: > Another way to check the permissions is to let PmWiki create a directory and > a file. Rename "wiki.d" on the server to another name, say "renamed-wiki.d", > then PmWiki will create a new 'wiki.d' and will add files in it. Visit the >

Re: [pmwiki-users] after update - unable to edit

2015-10-20 Thread Patrick R. Michaud
When you went to the pmwiki.php page, did PmWiki give you the default home page or did it give you instructions for creating wiki.d ? Normally PmWiki will create wiki.d for you, or it will tell you what needs to be changed in order to create it. You might also need to temporarily rename

Re: [pmwiki-users] Trouble with .pageindex when too much _new_ data to index (+ sqlite)

2015-01-28 Thread Patrick R. Michaud
On Wed, Jan 28, 2015 at 10:10:06PM +0100, ABClf wrote: Main issue encountered is how .pageindex is handling its indexation task. It sounds like it definitely stops working when the amount of _new_ data is too big. [...] I don't think this is quite how it works. If you're examining the code to

Re: [pmwiki-users] Trouble with .pageindex when too much _new_ data to index (+ sqlite)

2015-01-28 Thread Patrick R. Michaud
On Wed, Jan 28, 2015 at 08:11:28PM -0600, Patrick R. Michaud wrote: Lastly, you may be able to force PageIndexUpdates without doing a search at all. Create a local/Site.Site.php script with the following: [...] Actually, after reviewing the code, the Site.Site.php script I suggested probably

Re: [pmwiki-users] Trouble with .pageindex when too much _new_ data to index (+ sqlite)

2015-01-28 Thread Patrick R. Michaud
On Thu, Jan 29, 2015 at 12:45:44AM +0100, ABClf wrote: As of now, I say : after I import a big amount of new data (in sqlite recipe), pmwiki fails to start indexing and something runs out of memory before it starts indexing. You say it runs out of memory, but the error messages you're posting

Re: [pmwiki-users] preg_replace (RFC)

2014-12-05 Thread Patrick R. Michaud
On Fri, Dec 05, 2014 at 10:15:01AM -0500, DaveG wrote: On 12/4/2014 3:55 AM, Hans Bracker wrote: Could PmWiki be more specific to identify in which function call and script offending regular expressions reside? I don't see how. Agree with this sentiment, and option 3. If we could somehow

Re: [pmwiki-users] preg_replace (RFC)

2014-12-05 Thread Patrick R. Michaud
On Fri, Dec 05, 2014 at 10:22:50PM +0100, Peter Bowers wrote: On Thu, Dec 4, 2014 at 9:55 AM, Hans Bracker des...@softflow.co.uk wrote: What if pmwiki was distributed with 2 copies of pmwiki.php -- one the standard production version and the other pmwiki-debug.php. In the case of a need for

Re: [pmwiki-users] preg_replace (RFC)

2014-12-05 Thread Patrick R. Michaud
On Fri, Dec 05, 2014 at 10:26:33PM +0100, Peter Bowers wrote: On Thu, Dec 4, 2014 at 9:55 AM, Hans Bracker des...@softflow.co.uk wrote: Could PmWiki be more specific to identify in which function call and script offending regular expressions reside? It occurs to me that the

[pmwiki-users] Mailing lists working again

2014-08-18 Thread Patrick R. Michaud
Hello, all- For those who attempted to send messages to the pmwiki-users or pmwiki-devel mailing lists this past weekend, this note is to let you know that the lists are working again. The webhosting software I use did an automated update on Thursday this past week, causing nearly all of the

Re: [pmwiki-users] $MetaRobots?

2014-04-04 Thread Patrick R. Michaud
You should be seeing a change to the meta name='robots' ... / tag... Are you seeing a meta tag at all in the HTML source? Pm On Fri, Apr 04, 2014 at 08:10:24PM -0700, Matthew Wayne Selznick wrote: I've added $MetaRobots = 'noindex, nofollow'; to my config.php file, but I'm not seeing any

Re: [pmwiki-users] PmWiki.org attachments cleanup

2014-03-25 Thread Patrick R. Michaud
On Wed, Mar 26, 2014 at 12:17:42AM +0100, Petko Yotov wrote: I'd like to know Pm's opinion on migrating uploads from group based to page based, ie $UploadPrefixFmt = '/$Group/$Name'; I don't see any real advantage of page-based uploads for the Cookbook. We'd still have to check all of the pages

Re: [pmwiki-users] PmWiki.org attachments cleanup

2014-03-25 Thread Patrick R. Michaud
On 26 March 2014 12:51, Patrick R. Michaud pmich...@pobox.com wrote: Also, there might be some attachment files referenced by [[http://... ]] links instead of Attach: . ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http

Re: [pmwiki-users] Redirecting to a change group

2014-03-20 Thread Patrick R. Michaud
On Thu, Mar 20, 2014 at 08:24:32PM +1300, Simon wrote: I had the idea of adding the following to Site.PageNotFound (:if equal {$RequestedGroup} MyGroup:) (:redirect NewGroup.{$RequestedPage}:) (:ifend:) Why not just do a (:redirect:) inside of MyGroup.GroupHeader ? (:redirect

Re: [pmwiki-users] Moving pmwiki to a new server

2014-03-18 Thread Patrick R. Michaud
On Tue, Mar 18, 2014 at 09:50:48PM +0100, Petko Yotov wrote: [lots of useful tips here] [...] Other reason for the skin not displaying properly may be directory permissions on the server: both the server process and the PHP interpreter need read access to the files in the pmwiki/pub

Re: [pmwiki-users] sync local wiki with server

2014-03-15 Thread Patrick R. Michaud
FWIW, this topic also came up in November of last year -- there might be some useful ideas and suggestions in this thread: http://comments.gmane.org/gmane.comp.web.wiki.pmwiki.user/61472 It might also be worth a Cookbook page (there's one already but it's a couple of years out of date). Pm On

Re: [pmwiki-users] PHP 5.5 compatibility

2014-02-21 Thread Patrick R. Michaud
Marking PHP compatibility on recipes sounds like a really good idea if we're not doing it already. Perhaps a PageTextVariables would be easier/more flexible than category links, though. Pm On Fri, Feb 21, 2014 at 01:37:37PM +, Hans Bracker wrote: I am updating some recipes and cookbook

Re: [pmwiki-users] PHP 5.5 compatibility

2014-02-21 Thread Patrick R. Michaud
On Fri, Feb 21, 2014 at 05:31:31PM +0100, Petko Yotov wrote: Hans Bracker writes: I am updating some recipes and cookbook pages: do you want the category link [[!PHP55]] on all cookbook pages where the script is PHP5.5 compatible? There are two different notions - compatibility and

Re: [pmwiki-users] How to fix broken RSS feed and AllRecentChanges?

2014-02-18 Thread Patrick R. Michaud
It's possible that the two problems are related... the AllRecentChanges page may have gotten too large for PmWiki to update properly, and the RSS feed likes to use (All)RecentChanges to generate its content. I suggest shortening (or removing/renaming) the AllRecentChanges page and see if it

Re: [pmwiki-users] Proposed change to pmwiki.php: Markup_e

2014-02-11 Thread Patrick R. Michaud
On Tue, Feb 11, 2014 at 10:00:14AM -0500, michael paulukonis wrote: How can one contribute to the code? I'm not finding it quickly on the wiki [...] The SVN page only discusses how to pull the code, not to offer changes: http://www.pmwiki.org/wiki/PmWiki/Subversion For a while I've been

Re: [pmwiki-users] Proposed change to pmwiki.php: Markup_e

2014-02-07 Thread Patrick R. Michaud
On Fri, Feb 07, 2014 at 08:36:09AM -0700, Simon wrote: Because it could lead to confusion, where 'r' (or 'R') and 'return' may be perceived as offering differing functionality. I respectfully disagree. Unix command-line utilities have provided abbreviated and long options for decades and they

Re: [pmwiki-users] regex in (:if how to use correctly

2014-01-23 Thread Patrick R. Michaud
On Thu, Jan 23, 2014 at 08:45:42PM +0100, li...@basel-inside.ch wrote: Good evening I like to only include some pages in a pagelist, I have seen the possiblity of regexp as (:if match -Talk$:) [PmWiki/ConditionalMarkup-Talk] I'm not very familar with regexp and (:if constructions I made

Re: [pmwiki-users] maybe stupid question

2014-01-10 Thread Patrick R. Michaud
On Fri, Jan 10, 2014 at 11:06:27AM +0100, Peter Gragert wrote: How do I suppress for all pages pmwiki.php in the address field: E.g. http://www.petergragert.info/pmwiki/pmwiki.php/Blender/Blender http://www.pmwiki.org/wiki/Cookbook/CleanUrls Pm

Re: [pmwiki-users] widi.d file = 0 byte

2013-11-17 Thread Patrick R. Michaud
I might suggest checking to see if there's a quota limit in effect on the server. A quota limits the amount of space a user can use on a filesystem... with a quota in effect the operating system can refuse to write a file even if there's plenty of disk space available. Petko's description of

Re: [pmwiki-users] widi.d file = 0 byte

2013-11-17 Thread Patrick R. Michaud
On Sun, Nov 17, 2013 at 08:31:32PM +0100, marc-alexis morelle wrote: Le 17/11/2013 16:56, Patrick R. Michaud a écrit : I might suggest checking to see if there's a quota limit in effect on the server. There is a quota, but it seems we are far from : Online admin console says : Quota web

Re: [pmwiki-users] widi.d file = 0 byte

2013-11-17 Thread Patrick R. Michaud
On Sun, Nov 17, 2013 at 10:32:50PM +0100, marc-alexis morelle wrote: I looked far on Online web, and this solution is illimitée. Is that means in reasonably limits ? :-) I think that illimite may be referring to the number of files allowed (unlimited). But again, I'm just guessing. I

Re: [pmwiki-users] Markup

2013-11-13 Thread Patrick R. Michaud
By the time PmWiki reaches the block phase of Markup rules, the text has already been broken into individual lines. If you want to match a pattern against multiple lines of input, it needs to be in the fulltext phase, or at least split. Pm On Wed, Nov 13, 2013 at 09:39:48PM +, Brian Tibbels

Re: [pmwiki-users] Markup

2013-11-13 Thread Patrick R. Michaud
') ); Rgds Brian *Brian Tibbels* *IT support for small business and the individual* http://clickmarlow.co.uk/ *m*: 07804 109906* | t*: 01628 477640 On 13 November 2013 22:17, Patrick R. Michaud pmich...@pobox.com wrote: By the time PmWiki reaches the block phase of Markup rules

Re: [pmwiki-users] The Philosophy of PmWiki: adding to the core

2013-11-08 Thread Patrick R. Michaud
On Sat, Nov 09, 2013 at 12:14:38AM +0100, Eric Forgeot wrote: On 03/11/2013 22:54, Tamara Temple wrote: On the other hand, there is something I like very much on dokuwiki, and find annoying on pmwiki: it's the way data are stored. I regret all history and metadata are kept in the same files in

Re: [pmwiki-users] Getting pages created by other software to appear in category lists

2013-10-28 Thread Patrick R. Michaud
On Mon, Oct 28, 2013 at 06:06:29PM -0300, Peter Payzant wrote: I'm creating one page with a daily Perl program, and in general everything works as expected. However, I can't get this page to show up in a category list. [...] However, this page does not appear on the page

Re: [pmwiki-users] Getting pages created by other software to appear in category lists

2013-10-28 Thread Patrick R. Michaud
On Mon, Oct 28, 2013 at 10:25:58PM -0300, Peter Payzant wrote: ... and looking at the old and new versions of that file, by the way; the old one is ten times the size of the new one. Presumably there is an accepted practice for garbage collection on this file - maybe just deleting it from time

Re: [pmwiki-users] Nofollow in external URLS

2013-10-21 Thread Patrick R. Michaud
Because comment spam, wiki spam, and blog spam have been such large problems in the past, I prefer PmWiki's current default of rel=nofollow. This makes more sense given that PmWiki defaults to an open editing model (i.e., a wiki) when it is first installed. The config already makes it possible to

Re: [pmwiki-users] Nofollow in external URLS

2013-10-21 Thread Patrick R. Michaud
On Mon, Oct 21, 2013 at 08:09:54PM -0400, John Rigdon wrote: This is an important issue for me. [...] I find there are a half dozen or so references to 'nofollow' in pmwiki.php. From what I understand of the dialogue, adding the line to config.php should override these so the indexing will

Re: [pmwiki-users] Wiki maintenance

2013-08-30 Thread Patrick R. Michaud
First, I'll note that I don't see anything wrong with putting site (pmwiki.org) maintenance details into the PmWiki/ group. It won't automatically become part of the distribution. On the other hand, there is the Site/ wikigroup which is explicitly intended for site-specific documents, so

Re: [pmwiki-users] very weird - spam filter?

2013-06-17 Thread Patrick R. Michaud
On Mon, Jun 17, 2013 at 03:43:39AM -0400, adam overton wrote: i've never witnessed this before in all my time with pmwiki but while logged in either as a regular user or as admin when i try to type and save the word slot machines, slotmachines (but not the singular slotmachine), i get an

Re: [pmwiki-users] use pagelist results in function

2013-05-26 Thread Patrick R. Michaud
I think you're looking for the MakePageList() function (in pagelist.php), which will generate a list of pages according to the arguments you supply. You should be able to call it from a function to generate a list of pages you're looking for. Note that it should also be possible to use a

Re: [pmwiki-users] Relaxing htaccess in cookbook dir

2013-04-08 Thread Patrick R. Michaud
On Mon, Apr 08, 2013 at 12:38:35PM +0530, V.Krishn wrote: The default pmwiki/cookbook/.htaccess has following: Order Deny,Allow Deny from all Will this be useful/better if it were: Options All -Indexes IfModule mod_rewrite.c RewriteEngine On RewriteRule

Re: [pmwiki-users] PmWiki 2.2.49 released

2013-04-01 Thread Patrick R. Michaud
On Mon, Apr 01, 2013 at 10:10:03AM +0200, Oliver Betz wrote: another possibility is to disallow file names with more than one dot. Even more restrictive but it would repair the whitelist approach. That would eliminate things like myphoto-0.1.jpg, somefile-1.2.0.beta.txt, and

Re: [pmwiki-users] http://www.pmwiki.org/wiki server disallows download of .php recipe files

2013-03-25 Thread Patrick R. Michaud
On Mon, Mar 25, 2013 at 02:18:18PM +0100, Lukasz Stafiniak wrote: I cannot download the .php files in: http://www.pmwiki.org/pmwiki/uploads/Cookbook/ It appears Apache is configured to run them. Yes, a .htaccess file that controlled access to the php files went missing somehow; it's now been

Re: [pmwiki-users] On a page name, is there a way to take dots after the first dot and translate them automatically

2013-03-04 Thread Patrick R. Michaud
On Mon, Mar 04, 2013 at 07:31:58AM -0800, c...@endlessnow.com wrote: What I'd like to be able to do is to allow a construct like: [[Product.Release 1.0]] The first dot obviously is the Group separator... but I'd love for the next one to be ok and have it so that internally we map any

Re: [pmwiki-users] SwitchToSSLMode

2013-02-26 Thread Patrick R. Michaud
Depending on what sort of authentication system you're using, it'd be something like: include_once(scripts/authuser.php); if (@$AuthId) { $ScriptUrl = 'https://www.example.com/pmwiki/pmwiki.php'; $PubDirUrl = 'https://www.example.com/pmwiki/pub'; # ... other

Re: [pmwiki-users] 4+ links on page preventing saving

2013-02-17 Thread Patrick R. Michaud
On Sat, Feb 16, 2013 at 10:46:36AM -0800, Kyle Newton wrote: Hmm... the response seems to suggest quot;forbidden accessquot; which is strange because editing and saving the page with 3 or fewer links (or none) works. ?invalid page namep=403.Shtml, pagename=403.shtml This is almost certainly

Re: [pmwiki-users] Localisation

2013-01-15 Thread Patrick R. Michaud
On Wed, Jan 16, 2013 at 04:40:31PM +1300, Simon wrote: I have the markup [[BestPractices/Te Reo ]]Mamp;#257;ori but the linked text only shows Te Reo M (should show Te Reo Māori) How can we update the set of characters that PmWiki uses to 'extend' the link. Perhaps this is a PITS

Re: [pmwiki-users] p in advanced tables

2013-01-07 Thread Patrick R. Michaud
On Mon, Jan 07, 2013 at 12:19:02PM +0100, Petko Yotov wrote: Oliver Betz writes: thanks, I will try that (but not try to understand). It inserts a line break in the source if you havent't inserted it yourself. Do you think that everything should be wrapped in p even if there is only one

Re: [pmwiki-users] Uploaded files world readable!?

2012-12-30 Thread Patrick R. Michaud
On Mon, Dec 31, 2012 at 01:48:14AM +0100, Petko Yotov wrote: The second argument 0444 causes world read permissions always, not sometimes. No matter if the file owner and the directory owner are the same or in the same group or not. Ah, I didn't remember that. According to the SVN log, this

Re: [pmwiki-users] Uploaded files world readable!?

2012-12-27 Thread Patrick R. Michaud
On Wed, Dec 26, 2012 at 08:21:56PM +0100, Oliver Betz wrote: Hello all, upload.php uses fixperms($filepath,0444);, therefore uploaded files get world read access, correct? Why is this needed? Short answer: Fixperms only adds the minimum permissions necessary to ensure that the account

Re: [pmwiki-users] Invalid Page name when editing Site.SideBar

2012-10-27 Thread Patrick R. Michaud
On Sat, Oct 27, 2012 at 10:32:40PM +0200, Peter Bowers wrote: On Sat, Oct 27, 2012 at 10:03 PM, Sandy sa...@onebit.ca wrote: I added a debug line suggested by another user to show some page variables. That might help someone who knows the guts. I can add another line if that would help. (I

Re: [pmwiki-users] Invalid Page name when editing Site.SideBar

2012-10-27 Thread Patrick R. Michaud
If the problem is indeed mod_security rejecting posts with %'s, then upgrading PmWiki won't help at all; it's completely outside of PmWiki's control. See the question on mod_security in http://www.pmwiki.org/wiki/PmWiki/Troubleshooting for a few more details. Pm On Sat, Oct 27, 2012 at

Re: [pmwiki-users] pmwiki skin

2012-08-28 Thread Patrick R. Michaud
On Tue, Aug 28, 2012 at 01:11:06PM +0200, sh...@joshleepictures.com wrote: [...] In my email user refers to the admin, as in original/primary user of the PmWiki software, whereas CarlosAB usage of ‘user’ seems to refer to the actual editor. This is part of my continuing crusade against ever

Re: [pmwiki-users] Would the sqlite recipe gain anything in storing pages in separate tables based on group?

2012-08-24 Thread Patrick R. Michaud
On Thu, Aug 23, 2012 at 12:35:24PM +0200, Peter Bowers wrote: [...] Splitting the page-table into multiple tables would be non-standard, inefficient, and unnecessarily complicated with 0 (probably negative) performance improvement. [...] FWIW, I agree with Peter here. If the queries are

Re: [pmwiki-users] Pagelists not catching all pages

2012-05-30 Thread Patrick R. Michaud
[Resending message -- a mail problem on my end caused the message to not be sent to pmwiki-users.] I wonder if some of your pagelists are bumping up against the PHP memory_limit setting. If you have $EnableDiag set to 1, you can do ?action=phpinfo and find out what the current setting of

Re: [pmwiki-users] Fwd: using rsync for wiki sync

2012-03-27 Thread Patrick R. Michaud
On Tue, Mar 27, 2012 at 01:47:49AM -0500, tamouse mailing lists wrote: On Mon, Mar 26, 2012 at 11:05 AM, Patrick R. Michaud pmich...@pobox.com wrote: Encryptions in SiteAdmin.AuthUser should also translate across installations, as long as both installations support the same types

Re: [pmwiki-users] Fwd: using rsync for wiki sync

2012-03-26 Thread Patrick R. Michaud
On Mon, Mar 26, 2012 at 10:14:07AM -0500, tamouse mailing lists wrote: rsync should work out okay, yes. I'd like to voice one caveat: If you are using authuser.php script and protecting your pages, be aware the encryptions in SiteAdmin.AuthUser do no translate across installations (at

Re: [pmwiki-users] Tracking number of page views statistics

2012-03-26 Thread Patrick R. Michaud
On Mon, Mar 26, 2012 at 04:37:54PM -0700, wri...@creativevirtuosity.com wrote: I would like to track the number of times some of the pages in my Wiki are viewed. Is there a recipe that will allow me to do this? I can't find any specifically targeted to display reader stats in the cookbook.

Re: [pmwiki-users] Pondering adding comment ability to wiki pages, and thoughts on spam prevention

2012-03-21 Thread Patrick R. Michaud
On Wed, Mar 21, 2012 at 06:01:48PM +1300, John Rankin wrote: Have you investigated the option of a honey trap? That is, a field within a div with a class for display:none, so a human doesn't see it. The theory being that if the field is filled in, it must be a spambot, so reject the comment.

Re: [pmwiki-users] Site.SiteFooter, 1px Solid Border-Top

2012-03-15 Thread Patrick R. Michaud
On Thu, Mar 15, 2012 at 07:29:47PM -0600, Jasyn Jones wrote: Beautiful. Worked perfectly. Thank you, Kathryn. I've not been able to find this anywhere in the documentation, but based on your reply: name ...content... Makes a div with the class='name' tag? That is very helpful.

Re: [pmwiki-users] Site.SiteFooter, 1px Solid Border-Top

2012-03-15 Thread Patrick R. Michaud
On Fri, Mar 16, 2012 at 12:42:09AM -0500, Patrick R. Michaud wrote: border-top=1px solid #336633 [...] %define=hr border-top=1px solid #336633% Hmm. My closing quotes got eaten somehow. :-( Those should be border-top=1px solid #336633 and %define=hr border-top=1px

Re: [pmwiki-users] Find out users authorization in PHP when loading page

2012-02-20 Thread Patrick R. Michaud
On Tue, Feb 21, 2012 at 12:04:48AM +0100, Thomas Lundgren wrote: Help! :) I´m trying to find a way to (in PHP) check if the user that makes PmWiki load a page are authorized to edit that particular page. The CondAuth() function does what you want: if (CondAuth($pagename, 'edit')) { ...

Re: [pmwiki-users] Pagelist or Page Variable fail? bug or feature?

2012-02-06 Thread Patrick R. Michaud
On Mon, Feb 06, 2012 at 11:12:55AM -0500, Crisses wrote: Then I put a template into GroupHeader, so it would be displayed on every page. Normal text and PTVs work fine in the GroupHeader, but this failed: (:pagelist name={*$FullName} fmt=#person:) To be sure, I also attempted the stock

Re: [pmwiki-users] Session conflicts - how to handle this

2012-02-06 Thread Patrick R. Michaud
On Mon, Feb 06, 2012 at 05:28:59PM +0200, Rogutės Sparnuotos wrote: Jan Erik Moström (2012-02-06 15:57): I've got a question for how to handle a session info conflict. I use PmWiki for courses I teach, I usually just put up a quick wiki-installation and author my course pages. These pages

Re: [pmwiki-users] speeding up pages and pagelists

2012-01-05 Thread Patrick R. Michaud
On Thu, Jan 05, 2012 at 11:51:24AM -0600, Frank Graffagnino wrote: 4. Is there anything I can do to get rid of all those PageStore::ls calls? [...] 17: 00.08 FPLTemplate: FPLTemplateSliceList 18: 00.08 FPLTemplate: FPLTemplateFormat 19: 00.10 MarkupToHTML begin 20: 00.15 PageStore::ls begin

Re: [pmwiki-users] adding auth levels

2011-12-27 Thread Patrick R. Michaud
On Tue, Dec 27, 2011 at 07:26:46PM +, Hans wrote: Saturday, December 24, 2011, 12:19:05 AM, Hans wrote: is this about right, or did I miss something? Please check http://www.pmwiki.org/wiki/Cookbook/AddingAuthLevels I would appreciate some feedback on this new cookbook page. Is it

Re: [pmwiki-users] Patrick: Is the PmWiki header picture GPL'd?

2011-12-04 Thread Patrick R. Michaud
On Sun, Dec 04, 2011 at 01:53:29AM +0100, Petko Yotov wrote: Hello Patrick, The PmWiki logo on Wikipedia was nominated for deletion. Wikipedia more and more tends to accept images under a Free license such as CC-BY-SA, GNU FDL or GNU GPL. Can we assume that this file pmwiki-32.gif,

Re: [pmwiki-users] URL/host based configuration

2011-11-30 Thread Patrick R. Michaud
On Thu, Dec 01, 2011 at 07:00:16AM +1300, Simon wrote: Thanks, firstly I am currently using IIS. Secondly I can use index.php, but what difference would it make, PmWiki will still interpret the URL in the same way. If you have the index.php files for each domain in separate subdirectories,

Re: [pmwiki-users] PmWiki default upload file formats

2011-10-31 Thread Patrick R. Michaud
On Mon, Oct 31, 2011 at 04:44:03PM +0100, Eric Forgeot wrote: I'd suggest updating this list: PmWiki should be open source friendly, and therefore more open format should be added by default: I have no problem with the notion of updating the list. ogg, ogv, mp4 +1 In addition to psd,

Re: [pmwiki-users] it's time to change pmwiki default skin!

2011-09-11 Thread Patrick R. Michaud
On Sun, Sep 11, 2011 at 08:35:59PM +0100, Forgeot Eric wrote: Hello, why not proposing a new default pmwiki skin? - for the default installation - and for the http://www.pmwiki.org website? The current one is not attractive at all (blue, underlined links), it looks like it was

Re: [pmwiki-users] uploads failing

2011-07-07 Thread Patrick R. Michaud
On Thu, Jul 07, 2011 at 12:20:56PM -0700, adam overton wrote: the host admin is asking whether there's a way to get a more verbose message than the one that shows up on the upload page that says myFile.jpg: no file uploaded - they think the actual error is being masked. The error that

Re: [pmwiki-users] Lack of ability to use % in CSS directives a real pain

2011-06-11 Thread Patrick R. Michaud
On Sat, Jun 11, 2011 at 08:50:38PM -0500, Tamara Temple wrote: In http://www.pmwiki.org/wiki/PmWiki/WikiStyles , one of the Known Issues is: Percents in style definitions (like: %block width=50% %) require the use of pct instead of %. This is a REAL pain, because pct is not valid (nor

Re: [pmwiki-users] Broken (:nl:) ?

2011-06-04 Thread Patrick R. Michaud
On Sat, Jun 04, 2011 at 07:42:11PM +0200, Oliver Betz wrote: In contrast, http://www.pmwiki.org/wiki/PmWiki/MarkupMasterIndex contains a description similar to Christian Ridderström's explanation from the thread mentioned above: | [[#nl]][@(:nl:)@] - Insert a newline into the ''markup'' if

Re: [pmwiki-users] About fmt=count : does count the non existant page

2011-06-03 Thread Patrick R. Michaud
On Fri, Jun 03, 2011 at 03:38:55PM +0200, ABClf wrote: I remark that fmt=count counts the non created pages ; I'm not sure it is always the best behaviour. When writing (:pagelist trail=BibliographieDesDictionnaires fmt=count:) i'm expecting to get the number of existing pages. What do you

Re: [pmwiki-users] External editors, anyone?

2011-06-01 Thread Patrick R. Michaud
On Wed, Jun 01, 2011 at 07:59:02PM -0500, Tamara Temple wrote: I'm curious, has anyone done anything with using an external editor for editing wiki pages? I can envision a way to hook up emacs possibly to do it with some scripting on both the local and remote side, but was just curious if

Re: [pmwiki-users] Why do we need lots of vspace?

2011-05-30 Thread Patrick R. Michaud
On Mon, May 30, 2011 at 05:41:02PM +0200, Oliver Betz wrote: is there a brief explanation why PmWiki controls vertical spacing with lots of class='vspace'? PmWiki wants to be able to translate vertical space in the input markup to vertical space in the output. Trying to mimic that via straight

Re: [pmwiki-users] Syncing / migrating a wiki configuration

2011-05-27 Thread Patrick R. Michaud
On Fri, May 27, 2011 at 10:44:37AM +0300, Oguz Altun wrote: The two sites are running on linux machines, and my only access is through ftp. So, no rsync or unison to me. Furthermore, my desktop machine is a windows. So when I transfer to my desktop, e.g. by wget, permissions are lost. Big down

Re: [pmwiki-users] XHTML strict compatible replacement for [[]]

2011-05-26 Thread Patrick R. Michaud
On Thu, May 26, 2011 at 11:28:44AM +0200, Oliver Betz wrote: What's the preferred way to create such a clear:something element (a p would be useful) with PmWiki markup? For example, lfloat styled images with some related text beside them: %lfloat% Attach:image1.jpg %% some text \\ more

Re: [pmwiki-users] XHTML strict compatible replacement for [[]]

2011-05-25 Thread Patrick R. Michaud
On Wed, May 25, 2011 at 09:02:38PM +0200, Oliver Betz wrote: PmWikimarkup [[]] produces br clear='all' / in HTML, which is not allowed in XHTML 1.0 Strict. Can the output generated by [[]] generally be changed to get similar results with XHTML 1.0 Strict compatibility? If not, what is

Re: [pmwiki-users] Large ammount of articles... about 50k

2011-05-24 Thread Patrick R. Michaud
On Tue, May 24, 2011 at 07:32:42PM +0200, ABClf wrote: If not for the performance, maybe is SQLite storage format more convenient for back-up ? It could be more convenient for some people, yes. I tend to use rsync and/or tar for backups, which is extremely convenient for me, and makes it easy

Re: [pmwiki-users] Large ammount of articles... about 50k

2011-05-23 Thread Patrick R. Michaud
On Mon, May 23, 2011 at 06:20:03PM +, Jaime Sempere wrote: I have been using PMwiki for a wiki and really like its simplicity. I was thinking to use for a large amount of articles (as indicated on the subject of this mail, about 50.000 articles, and later I hope to increase the

Re: [pmwiki-users] Large ammount of articles... about 50k

2011-05-23 Thread Patrick R. Michaud
On Mon, May 23, 2011 at 08:07:29PM +, Jaime Sempere wrote: Hi Patrick, thanks a lot for your personal help. What do you think about the other suggested solution proposed, using SQLite recipe? What approach would you use? I've never used the SQLite recipe, so I can't really comment on

Re: [pmwiki-users] Funding?

2011-05-23 Thread Patrick R. Michaud
On Sun, May 22, 2011 at 12:35:48PM +0200, Oliver Betz wrote: What about commercial clients - they usually need an invoice for tax deduction. I have access to a corporate entity that can provide commercial-level support and invoices for clients that need them. Pm

Re: [pmwiki-users] Group name based $XLLangs (multilanguage Wiki)?

2011-05-22 Thread Patrick R. Michaud
On Sun, May 22, 2011 at 05:27:34PM +0200, Peter Bowers wrote: Could someone comment on the relative merit of putting this in conjunction with http://www.pmwiki.org/wiki/PmWiki/LocalCustomizations#configphp-order to try to give people an option: add to config.php towards the top:

Re: [pmwiki-users] %block...% anomaly

2011-05-22 Thread Patrick R. Michaud
On Sun, May 22, 2011 at 02:18:25AM +0100, Brian Tibbels wrote: Hi everyone, Sorry to interrupt the WYSIWYG debate... * %block id=leftmenu%line one * line two * line three Why does pmwiki produce this when all I want is the id added to the ul tag ul id='leftmenu' li

Re: [pmwiki-users] Group name based $XLLangs (multilanguage Wiki)?

2011-05-22 Thread Patrick R. Michaud
On Sun, May 22, 2011 at 09:07:43PM +0200, Peter Bowers wrote: On Sun, May 22, 2011 at 8:19 PM, Patrick R. Michaud pmich...@pobox.com wrote: The correct solution for getting/setting the group and pagename in config.php is already given at http://www.pmwiki.org/wiki/PmWiki

Re: [pmwiki-users] Group name based $XLLangs (multilanguage Wiki)?

2011-05-22 Thread Patrick R. Michaud
On Sun, May 22, 2011 at 09:23:12PM +0200, Oliver Betz wrote: Peter Bowers wrote: [...] Thus if I need $group or $name early on in my config.php I can either just to avoid misunderstandings: This is verbatim $group and $name from the HTTP request and might be different from the final

Re: [pmwiki-users] Petko's E2100/US$2, 963 bid for WYSIWYG capability

2011-05-17 Thread Patrick R. Michaud
I'm willing to set up whatever accounts etc. are needed to sure the funds all make it to the right places, whether that's through pledgie, kickstarter, etc. (I have plenty of paypal, amazon associate, etc. accounts that I can use for this.) But I don't want to start setting things up until we

Re: [pmwiki-users] self-links: Better check including action?

2011-05-15 Thread Patrick R. Michaud
On Sun, May 15, 2011 at 04:42:05PM +0200, Oliver Betz wrote: Petko Yotov wrote: http://www.pmwiki.org/wiki/Cookbook/TrackingMenu shows (at the end of the page) how to avoid self-links. But this breaks the default view action. I can add action=browse to the action link, but

Re: [pmwiki-users] self-links: Better check including action?

2011-05-15 Thread Patrick R. Michaud
On Sun, May 15, 2011 at 09:59:26AM -0500, Patrick R. Michaud wrote: I suspect there are ways to do what you're wanting to do without having to introduce a lot of changes to PmWiki's core. I would not be opposed to adding a class='action-$action' attribute to the body tag so that CSS stylings

  1   2   3   4   5   6   7   8   9   10   >