So for multiple languages, one would say
$DefaultUnsetPageTextVars['AdminTasks'] =
'[[SiteAdmin.Tasks?action=login|'.XL('login to see your tasks').']]';
?
On Wed, Oct 30, 2019 at 5:56 AM Petko Yotov <5...@5ko.fr> wrote:
> I've added this for 2.2.121 (you can get the pre-release as a ZIP
Sorry, let me go all the way back to the top: what is the "preg_replace
problem" you are seeing?
--Peter
On Mon, Jul 15, 2019 at 4:54 AM Johan Bengtsson wrote:
> My employer uses several pmwikis, we are currently using pmwiki-2.2.97 and
> php 5.5.18.
>
> On one of the biggest wikis we are usin
GeSHi is abandoned? It looks like they updated 1.0.9 to avoid the
preg_replace /e problem? Or did I miss something?
--Peter
On Mon, Jul 15, 2019 at 4:54 AM Johan Bengtsson wrote:
> My employer uses several pmwikis, we are currently using pmwiki-2.2.97 and
> php 5.5.18.
>
> On one of the bigge
Can CodeMirror adjust its markup? Look for (:source...:) instead of
(:code...:)? That might be an option as well, and might be worth checking.
On Mon, Jul 15, 2019 at 9:56 AM Johan Bengtsson wrote:
> On Mon, 15 Jul 2019, Dominique Faure wrote:
>
> > Hi,
> > Feel free to have a try with the Cod
> It would be nice to know how Google Docs overcomes this problem
Probably through the liberal application of money, which can hire people to
work.
Pmwiki's markup is translated to HTML server-side by a php-based engine.
In order to have a WYSIWYG editor, you would need a way to translate
client-
I find pmwiki very easy to work with. I have every thing from a
game-related site for tracking notes (http://littlewhitemouse.net/games/hm)
to a shared shopping list with a (very) minimalist theme that's easy to use
on our phones (behind a password ;) ). Themes are easy to modify if you
can handl
One of the cookbook recipes that has that filename is "Alternate Naming
Scheme" (https://www.pmwiki.org/wiki/Cookbook/AlternateNamingScheme), which
doesn't have an up-to-date version.
--Peter
On Fri, Apr 26, 2019 at 5:17 PM Simon wrote:
> You need to ensure all your recipes are updated
>
> See
Actually, checking what skin you are using is an excellent idea.
--Peter
On Wed, Mar 20, 2019 at 12:30 PM Kevin R. Bulgrien <
kev...@systemsdesignusa.com> wrote:
> - Original Message -
> > From: "Michael Lang"
> > To: pmwiki-users@pmichaud.com
> > Sent: Wednesday, March 20, 2019 10:26:2
Are there ANY server logs you can access at all?
access.log, everything.log, whatever?
Either in the web interface the hosting provider gives you, or by using ssh
to look around?
--Peter Kay
On Wed, Mar 20, 2019 at 11:27 AM Michael Lang wrote:
> There is no error.log file!
>
> Am 1
Another thing you could do (if for whatever reason, the order is important)
is to put a breaking pattern inside the problem markup:
[-''KO''[==]-][-''OK''-]
That way, '- doesn't appear in a place where it can trigger markup.
(You could also put it in both places, just to be safe from future
prob
I believe you that the setting you are complaining about is a short session
length.
I have a similar problem and would love to hear if there is an easy
solution!
--Peter
On Wed, Nov 21, 2018, 10:29 PM ASLAN Data As I understand it there is a timeout variable for PHP that is defaulted
> to 30 mi
t I didn't look
any further.
I have a working-draft of a recipe that lets one edit small sections
of a page (a single line, a few words, etc); if that's more what you
need I could share that. I have been thinking to expand it to larger
sections, but haven't gotten there yet.
--Pete
Slim Table of Contents and Section Edit require Signal When Markup to
be present so they can check whether they are appearing in
(:markup:)(:toc:)(:markupend:)
However, if I recall correctly, php doesn't care if a global variable
is declared before checking it, so these recipes could both NOT
requ
Have you considered the option of using a Replace On Save option to
write the long s to file and then not dealing with markup? Or do you
specifically want only the display to be affected?
I recall that while I was looking at your earlier work, I was thinking
that your regular expression might ben
I would guess your server time and your local time are off by 1 hour 1
minute, then. You have a few choices I can see:
1. hardcode a timezone into the wiki
2. accept local user time for whatever user/device - I think this
would require javascript on the client and catching hiddenvariables or
som
Also, for mobile users, there is no Edit link at the bottom of the
page; there is a link in the menu at the top of the page (if I recall
correctly)
--Peter
On Tue, Feb 13, 2018 at 9:15 PM, Jim Syler wrote:
> Not sure where to report this, but the Wiki Sandbox that comes preinstalled
> with pmwik
;] = "MyRecipeROS"; // process the entire
file before saving.
Hope that helps,
--Peter
On Tue, Sep 26, 2017 at 2:15 PM, Peter Kay wrote:
> ROSPatterns accepts functions - so think "preg_replace_callback()"
> instead of "preg_replace".
>
> So something
ROSPatterns accepts functions - so think "preg_replace_callback()"
instead of "preg_replace".
So something like this might work:
$ROSPatterns[".*"] = "MyRecipeROS"; // process the entire file before saving.
function MyRecipeROS($data) {
$words=split or preg_split on whitespace, maybe even grab
It'd be fairly trivial to update themexcept for the AMmathjax.php
one, for which the author did not include any sort of licensing
agreements (GPL, etc).
Remember authors: even if you don't care, the law does, so slap a
"GPLv3" or some such in a comment.
--Peter
On Mon, Aug 7, 2017 at 10:53 A
There might also be a way to put "If this text was not located on
mysite.com, it was plagerized" text into your main text but hide it
somehow with CSS. You'd want something that screen readers would
skip, visual readers would skip, but copy-paste would capture. Then
you could do Google searches f
I uploaded a update of the AddDeleteLine2 recipe, and went ahead and
named it AddDeleteLine3.
http://www.pmwiki.org/wiki/Cookbook/AddDeleteLine3
If anyone uses it and finds any problems, please let me know!
--Peter Kay
___
pmwiki-users mailing list
I know that for me, when I was a relative newbie, I would read through
default config files and just gloss right over anything I didn't
understand. As I became more experienced, I found reading the notes
(# This setting allowsetc) very useful, especially for systems I
wasn't super familiar wit
Perhaps
$forcehttps=1;
or
$requirehttps=1;
On Tue, May 30, 2017 at 6:11 AM, Simon wrote:
> Good idea,
> having now addressed the mobile friendly issue (i.e. getting google to give
> your website credence) I agree that pmwiki.org.should move to https for
> better google ranking and importantly
>
There have been a few recent discussions on the subject:
http://www.pmichaud.com/pipermail/pmwiki-users/2017-February/063711.html
and
http://www.pmichaud.com/pipermail/pmwiki-users/2017-February/063700.html
The 2nd link is someone who used some tips from SwitchToSSLMode that
worked, so at a minim
#x27;ve done:|
>
> |https://endlessnow.com/wiki1/Test/Mp4|
>
> |This recipe hasn't been released (yet, under development).|
>
>
> |
> |
>
> |
> |
>
> |
> |
>
>
>
> On 05/17/2017 03:46 PM, Peter Kay wrote:
>>
>> Have you tried any of the
Have you tried any of the apply=div, etc options?
(http://www.pmwiki.org/wiki/PmWiki/WikiStyles) So %apply=div
max-width=200px%, and so on...
--Peter
On Wed, May 17, 2017 at 4:07 PM, Christopher Cox wrote:
> I'd like to do CSS style max-width on a div.
>
> So I have:
>
> $WikiStyleCSS[] = 'max-
if you replace your sidebar inclusion text with (:if equal
{$bi_BlogIt_Enabled} 1:)XXX(:include Site.BlogIt-SideBar:) so you see
the XXX? If not, then very likely the BlogIt code isn't loading (and
bi_BlogIt_Enabled hasn't been set to true).
Do you have access to the php/web server error logs?
e devs could participate, we may
> find a better solution.
>
> On 2017-05-03 22:09, Peter Kay wrote:
>>
>> A lot of Markup_e involves needing $pagename; I would propose having
>> MarkupToHTML call the function with both the match and $pagename:
>>
>> Markup(
next week or so.
-Peter
On Wed, May 3, 2017 at 1:48 PM, Petko Yotov <5...@5ko.fr> wrote:
> On 2017-05-03 19:19, Peter Kay wrote:
>>
>> One other problem I recently stumbled on is that the MarkupRules only
>> allow one instance of a given pattern.
>>
>> So for exam
$m[1]));});
the "use ()" syntax will probably allow us to rewrite Markup_e in a
way that - while perhaps slower - is seamless. Consider the following
code:
wrote:
> On 2017-05-03 19:19, Peter Kay wrote:
>>
>> One other problem I recently stumbled on is that the MarkupRules
ong as the names are different,
they'll both run.
--Peter
On Wed, May 3, 2017 at 1:17 PM, Peter Kay wrote:
> The current tree structure would work great, except for the fact that
> all markup that is defined as " happen in alphabetical order?).
>
> I think the approach I w
tc.
The order the "before" children of X have would be the same as
currently.
Currently, if we add 'E', ' wrote:
> On Thu, Mar 23, 2017 at 11:21:06AM -0400, Peter Kay wrote:
>> textvar: ><
>> nl0 ><
>> Sidebar
I was going to ask about the =200, but I see: if it's above 50, it
will happen after stdconfig.php is loaded, so everything you need will
be there.
I had missed the way that was called; thanks, Petko.
On Sat, Apr 29, 2017 at 12:25 PM, Petko Yotov <5...@5ko.fr> wrote:
>> From inside of config.php
Awesome work! I'm looking forward to seeing it on my mobile. On my
desktop, I see the left menu in a separate box with its own scroll
bars - neither of the scroll bars are necessary (at my resolution) and
the vertical scroll bar stops before the bottom of the page, which
looks rather weird. I ha
Adding the '@' will only mean the problem doesn't get reported, which as
Petko notes, might not be too bad. On the other hand, I've found problems
with open_basedir before: file_exists was returning false because
open_basedir wouldn't let it stat the file. The problem I had was one of
the interme
ar to run ">nl1" which
looks a bit odd, but works.
Afterthought:
If any other cookbook authors have written recipes with multiline
markup and haven't tested it on the first line of a page, my original
problem might not be isolated. Adding a newline to the end of
GroupHeaderFmt
d and then upload a QR-code for every
> video...
>
> / T.
>
> On 2017-03-10 18:25, Peter Kay wrote:
>
> http://www.pmwiki.org/wiki/PmWiki/Images#notes
>
> So using the link https://chart.googleapis.com/
> chart?chs=200x200&cht=qr&chl=http://www.pmwiki.org&
http://www.pmwiki.org/wiki/PmWiki/Images#notes
So using the link
https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=http://www.pmwiki.org&null=.png
works, for example.
Is there any reason not to go ahead and download the image and not bother
hitting google's servers every page load? Becau
It is likely, of course, that anyone with experience with this
converter is no longer on the pmwiki mailing lists
You might browse the release notes at
http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes - especially the 2.2.0
notes. There were some changes to page variables that might trip you
up
eally great, I could see renaming it, BTW)
Be well everyone,
-Peter Kay
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
nto if I entered it
directly in a page.But I'm getting one line. So...can anyone help
me with what I'm missing?
Thanks!
--Peter Kay
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
strtotime() function and the
date() function could easily give you a way to list the next 3 dates,
for example.
HTH,
--Peter Kay
On Sat, Dec 3, 2016 at 1:22 AM, jdd wrote:
> Hello,
>
> My Linux User group have pmwiki as main web site
>
> http://culte.org
>
> We have
and XL need to be aware of the difference somehow.
Thanks so much!
--Peter
On Sat, Nov 26, 2016 at 5:53 AM, Petko Yotov <5...@5ko.fr> wrote:
> On 2016-11-18 23:17, Peter Kay wrote:
>>
>> I spent a while today searching through code and I have a few bits of
>> informa
y to pose a
security problem, and there doesn't seem to be any reason to prefer it
over a function.
--Peter Kay
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
f
eating all of my HTML. I'll see if I can preserve it with Keep() or
something!
--Peter Kay
On Fri, Nov 11, 2016 at 10:21 AM, Peter Kay wrote:
> On Fri, Nov 11, 2016 at 7:35 AM, Petko Yotov <5...@5ko.fr> wrote:
>> On 2016-11-11 04:09, Peter Kay wrote:
>>> I
Sorry, code snippet might should have included:
(in main cookbook file:)
.
.
.
global $pagename;
$pn=ResolvePageName($pagename);
$fpn=FmtPageName('$[Editing {*$FullName}]', $pn);
$xl=XL('$[Editing {*$FullName}]');
SDV($EL['FormText'], "\nTest results: pn: $pn, fpn, $fpn, xl, $xl\n");
.
.
.
functi
On Fri, Nov 11, 2016 at 7:35 AM, Petko Yotov <5...@5ko.fr> wrote:
> On 2016-11-11 04:09, Peter Kay wrote:
>> I have a (block level) form I want to add (once) to a page if certain
> Inline markups are processed before block markups so it "should" work.
Sorry - I was wri
I have a (block level) form I want to add (once) to a page if certain
markup is present on the page. Adding it with the first occurrence of
the markup doesn't work - the markup is inline.
I have added code to slip it into the $HandleBrowseFmt array (right
before $PageEndFmt) (similar to the way L
If you haven't figured it out by early next week, I'll see what I can
do - it's a recipe I used some time ago and liked, and am planning to
make use of again.
I've already gotten a little practice with the old syntax no longer
allowed in php and updating things.
--Peter
On Fri, Sep 2, 2016 at 5
You might also look at the feed recipes (RSS, etc) - those might be
more convenient for you, depending on circumstances.
--Peter
On Thu, Aug 11, 2016 at 1:25 PM, Tami Hawes (PERA)
wrote:
> Yes, I can do that, but that report only lists the page that had a change,
> not the change/update itself
ping error, « (,{« mismatch, « ; » forgotten or extra. Just being
> patient
>
> Does it answer your baseline question ?
>
> Thanks
>
> Patrice
>
>
>
> Le 27 juil. 2016 à 18:27, Peter Kay a écrit :
>
> Let me ask you baseline question: how well do you underst
Let me ask you baseline question: how well do you understand the
client/server nature of webpages?
Which relates directly to the question: what exactly do you want each
one of them to be doing with the form?
--Peter
On Wed, Jul 27, 2016 at 8:52 AM, Patrice PELLE wrote:
>
> Hello,
>
> I am a tr
On Tue, Jul 12, 2016 at 2:54 AM, Petko Yotov <5...@5ko.fr> wrote:
> If your recipe has more than one file, eg. CSS+JS+icons, you can have your
> own directory in pmwiki/pub where to place them all. Then in your recipe you
> include your CSS with such a line:
>
> SDVA($HTMLHeaderFmt, array(
>'
Sorry, stupid (and incorrect) question! I should have been asking:
Is there any difference between:
SDVA($HTMLHeaderFmt, array('myrecipe'=>'abcdefg'));
and
SDV($HTMLHeaderFmt['myrecipe'], 'abcdefg');
?
(php is not my first language ;) )
On Sat, Jul 1
It seems like adding a separate file for unavoidable css (and a
separate one for javascript) is the best way to go, then, all things
being equal? (altho it would require slightly more work for admins)
--Peter Kay
On Tue, Jul 12, 2016 at 2:54 AM, Petko Yotov <5...@5ko.fr> wrote:
> O
way to go...is there some convention for naming an entry?
And it will just magically show up for me?
Sorry if these questions have been answered somewhere >< Hopefully
someone can point me in the right direction!
Thanks!
--Peter Kay
___
pmwi
hy I
kept losing all of my history...
Thanks!
--Peter Kay
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
So let me check my understanding:
If I set
HandleAuth['myaction']='edit';
And then do
function MyActionCallback($pagename, $auth) {
$page=RetrieveAuthPage($pagename, $auth, true, READPAGE_CURRENT);
#Abort if no page, etc
}
Then a user would need to have edit permissions to do 'myaction',
u
There appear to be two parameters passed to a handler set up via
$HandleActions['...']. The first is the $pagename. The second, which not
everyone uses, is $auth. The CustomActions page doesn't make it totally
clear what $auth is - is it the authorization level the user already has?
Is it $Handl
jdd wrote:
> Peter Kay a écrit :
>> Ok, this may be a stupid question, but I can't seem to find a way
>> around it...
>>
>> I have a rather wide image that I want to put in a pmwiki page. If I
>> put it in the usual way, it's too wide for my screen, and
Ok, this may be a stupid question, but I can't seem to find a way
around it...
I have a rather wide image that I want to put in a pmwiki page. If I
put it in the usual way, it's too wide for my screen, and all my text
scrolls so that it's hard to read (have to keep moving left and right
through t
Oliver Betz wrote:
> Hello All,
>
> why uses PmWiki this HTML output:
>
>
>
> foo
> bar
>
>
>
> for this markup:
> ** foo
> ** bar
>
It's a way to make all 2-deep lists have the same tabbing. I prefer it
to the alternative of using nested s (see
http://www.pmwiki.org/wiki/Cookboo
Hello all,
I'm working on a (light-weight) embedding of Gallery2 into PmWiki. I
envision a setup where the user follows a link to
"/pmwiki/Gallery/some-gallery/some-subgallery/some-picture" (assuming
using CleanURLs) & gets a page with pmwiki sidebar, header, footer, but
body replaced by embe
I know there's the action=login action, but I'd like a way to have a
page that acts as a login page. Something like
http://mycoolwebpage/login (I'm using de-pmwikified names, so
http://mycoolwebpage/ is Main/Main) I was hoping there was an obvious
way to do this within pmwiki using the (:red
Petko Yotov wrote:
> On Thursday 23 August 2007, Peter Kay wrote:
>> Can anyone tell me what element might be labeled as .frame (.frame has
>> an entry in the 'wikistyles' .css)?
>
> A div, a table or another block element, test it:
>
>>> frame<<
Can anyone tell me what element might be labeled as .frame (.frame has
an entry in the 'wikistyles' .css)?
Thanks!
--Peter
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Frank Graffagnino wrote:
> Most of my customized markup either does something in the background,
> or returns html.
>
> However, now I am in a situation where I want to have some markup that
> basically returns more (potential) markup.
ISTR there is some way to specify where your custom markup ((
Thomas Bley wrote:
> Hello,
>
> I propose two things:
> - bind the session to the remote ip address and the user agent
> - restrict a login from a remote ip address if there are more than 5 bad
> logins within the last 2 hours
>
> What do you think ?
An alternative approach is to double a "sleep
can satisfy PHP's safe_mode and still
>>> keep the maintenance/upgrade efficiency of my farm?
>
> Peter Kay wrote:
>
> ...
>> Would symbolic links work? I guess that wouldn't catch files added, but
>> it'd be a start...
>
> I'm no
Shi Sherebrin wrote:
> hi,
>
> My hosting provider just changed to using suPHP with safe mode, and this
> is causing me some grief, since I am using a wikifarm.
>
> The problem I get is that with safe mode on, PHP doesn't want to let any
> field (except one, of course) include the common (farm) p
Hello all,
I have a bunch of pages (ok, about 12) that are all in the group
BlogPages (that's right, I'm using SimpleBlog). I'd like to have some
way to automagically move all 12 pages (or all pages in the BlogPages
group, for that matter) into the OldBlogPages group (thus removing them
from
Jon Haupt wrote:
> On 8/3/07, *Peter Kay* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> wrote:
> >> $HTMLStylesFmt['pwiki'], ['diff'], etc.
> >>
>
>
> I believe this page provides the information you need. There is
DaveG wrote:
>> $HTMLStylesFmt['pwiki'], ['diff'], etc.
>>
>> Is there some way I can see what pmwiki uses as a default for each of
>> these?? These are all php variables...I'm not sure there's a way to
>> display these in the wiki; am I wrong?
> They all get rendered as CSS when you view the si
I'm working on a new skin, and I've run into all these lovely things
embedded in unexpected (by me anyway) places:
$HTMLStylesFmt['pwiki'], ['diff'], etc.
Is there some way I can see what pmwiki uses as a default for each of
these?? These are all php variables...I'm not sure there's a way to
The Editor wrote:
> On 4/29/07, Peter Kay <[EMAIL PROTECTED]> wrote:
>> Hello everyone! We've got PmWiki, and, like so many others, I find I
>> want to extend it. However, I'm a little fuzzy on where to start, and
>> I'm hoping you here can give me some
Hello everyone! We've got PmWiki, and, like so many others, I find I
want to extend it. However, I'm a little fuzzy on where to start, and
I'm hoping you here can give me some pointers.
First, a brief description of what I'd like to do: I would like to
modify the idea of the "Tabledit" to al
76 matches
Mail list logo