[pmwiki-users] Question about Attach and hyperlinks

Manish Ranade manish at thunderdata.com
Tue Mar 14 09:02:21 CST 2006


Hi,

Is there any way to add width and height for the image when you add an image 
to wiki page?

Is there any way to set 'title' and 'rel' attributes for hyperlinks in a 
wiki page?

Thanks
Manish

----- Original Message ----- 
From: <pmwiki-users-request at pmichaud.com>
To: <pmwiki-users at pmichaud.com>
Sent: Thursday, March 09, 2006 9:04 AM
Subject: pmwiki-users Digest, Vol 9, Issue 59


> Send pmwiki-users mailing list submissions to
> pmwiki-users at pmichaud.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> 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-owner 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. Re: Authorization files (Patrick R. Michaud)
>   2. Re: emty paragraph in groupheader (noskule)
>   3. Re: wildcards in conditional markup (Patrick R. Michaud)
>   4. Re: PmWiki/ConditionalMarkup (Patrick R. Michaud)
>   5. Re: 2.1-b37 Cached page (?) issue (Athan)
>   6. Re: Building the 2.1.0 documentation (Patrick R. Michaud)
>   7. Re: defining access rights per group other in seperate file
>      (Patrick R. Michaud)
>   8. Re: emty paragraph in groupheader (Patrick R. Michaud)
>   9. Re: 2.1-b37 Cached page (?) issue (Patrick R. Michaud)
>  10. Re: defining access rights per group other in seperate file
>      (Patrick R. Michaud)
>  11. HTTP 404-Browser error for version "pmwiki-2.1.beta37" - but
>      nor for "pmwiki-2.0.13" (WvL)
>  12. Re: must be doing something wrong with farm configuration
>      (Marco Ferretti)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 9 Mar 2006 07:56:39 -0600
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] Authorization files
> To: OBUTEX / Hlad?vka <admin at obutex.com>
> Cc: pmwiki-users at pmichaud.com
> Message-ID: <20060309135639.GD31073 at host.pmichaud.com>
> Content-Type: text/plain; charset=utf-8
>
> On Thu, Mar 09, 2006 at 08:56:34AM +0100, OBUTEX / Hlad?vka wrote:
>> Would someone explain what is the cooperation among authorization
>> files :
>> 1) .htpasswd
>> 2) local/config.php (the users definition part when including AuthUser
>> script )
>> 3) Site.AuthUser
>
> They're all just different ways to get the same results.
> They combine.
>
>> Must they be synchronized?
>> If no, which has the highest preference?
>
> They don't have to be synchronized.  There is no preference
> associated with them -- a username and password is checked
> against all of the sources until a match is found.  If a username
> appears multiple times or in multiple places with different
> passwords, then any of those passwords is allowed to authenticate.
>
>> Can I use *only*  the AuthUser script and the Site.AuthUser to define
>> users and pwds ?
>
> Yes.
>
>> If yes, what contents of .htpasswd should be (if any)
>
> If you're using only Site.AuthUser to define users and passwords,
> you don't need a .htpasswd file.
>
> The page http://www.pmwiki.org/wiki/PmWiki/AuthUser has the latest
> details on how to configure AuthUser.
>
> Pm
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 09 Mar 2006 14:57:00 +0100
> From: noskule <noskule at gmx.net>
> Subject: Re: [pmwiki-users] emty paragraph in groupheader
> To: "Patrick R. Michaud" <pmichaud at pobox.com>
> Cc: PmWiki Users <pmwiki-users at pmichaud.com>
> Message-ID: <4410342C.1090604 at gmx.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Patrick R. Michaud schrieb:
>
>>On Wed, Mar 08, 2006 at 07:46:07PM +0100, noskule wrote:
>>
>>
>>>hi pm
>>>If in a groupheader definitions are made, but no content, pmwiki
>>>prdouces an emty paragrap. Could this be changed so that a paragraph
>>>just will be made if content is a avalible? Otherwise it makes problems
>>>if a groupheader background isnt white.
>>>see:
>>>http://pmwiki.netstreams.org/index.php/PmWiki/PmWiki
>>>http://pmwiki.netstreams.org/index.php/PmWiki/GroupHeader?action=edit
>>>
>>>
>>
>>I didn't see an empty paragraph in the output from the
>>PmWiki/PmWiki page on that site -- can you be a bit more explicit,
>>or perhaps create an example in the Test group on pmwiki.org?
>>
>>
> http://pmwiki.org/wiki/NoskuleTestGroup/HomePage
>
> <!--PageText-->
> <div id='wikitext'>
> <p>
> </p>
> </div>
>
> it is the same on pmwiki.org. The effect of the empty paragrah is the
> box at the top of the contentsection in the example above . . ..
>
>>Pm
>>
>>
>>
>>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 9 Mar 2006 08:01:02 -0600
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] wildcards in conditional markup
> To: Hans <design at softflow.co.uk>
> Cc: Pmwiki-users at pmichaud.com
> Message-ID: <20060309140102.GE31073 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Mar 09, 2006 at 09:49:07AM +0000, Hans wrote:
>> Am I correct in thinking that I can use wildcards for markup like
>> (:if group Forum* :) but not like (:if group *Forum :) ?
>
> No, you're not correct.  (:if group *Forum:) works also -- at
> least, it's supposed to work.
> See http://www.pmwiki.org/wiki/Test/Wildcards .
>
>> $DefaultPageTextFmt = '(:if !group Forum* :)(:include 
>> $[{$SiteGroup}.PageNotFound]:)
>>     (:if group Forum* :)Compose message, add author name, and click post 
>> !!!(:if:)';
>>
>> How can I do it for groups called ChessForum, TennisForum etc?
>
> (:if !group *Forum:)(:include $[{$SiteGroup}.PageNotFound]:)
> (:if group *Forum:)Compose message, add author name, and post(:if:)
>
>> And is the above code resulting in slower performance than using a
>> conditional statement in php (which I don't have at the moment)?
>
> Yes, it's slower, but since the amount of markup to be processed
> is so small it's not significantly slower.
>
> Pm
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 9 Mar 2006 08:06:28 -0600
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] PmWiki/ConditionalMarkup
> To: Dominique Faure <dominique.faure at gmail.com>
> Cc: Pmwiki-users at pmichaud.com
> Message-ID: <20060309140628.GF31073 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Mar 09, 2006 at 11:03:55AM +0100, Dominique Faure wrote:
>> My last attempt at a more skin-friendly version of:
>>
>> http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup-Draft
>>
>> is ready for a review,...
>> ...despite this has become more author unfriendly ;-)
>
> Good, thanks.
>
> A general comment -- I don't think we need "new for
> pmwiki 2.1.betaxx" designations; for now let's just write
> the documentation assuming a 2.1.0 release.  (After that
> we can differentiate release versions in the documentation.)
>
> I'm not sure the "\" and "/" ascii art around "current page
> is NOT named 'PAGENAME'" works -- at first I thought the \ and
> / were somehow part of the (:if:) syntax.
>
> Pm
>
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 9 Mar 2006 16:13:20 +0200
> From: "Athan" <ssb at in.gr>
> Subject: Re: [pmwiki-users] 2.1-b37 Cached page (?) issue
> To: pmwiki-users at pmichaud.com
> Message-ID: <dupd60$sbc$1 at sea.gmane.org>
>
> "Patrick R. Michaud" <pmichaud at pobox.com> wrote in message
> news:20060309135307.GB31073 at host.pmichaud.com...
>> Which page did you select from the search results of your first search?
>>
>> (Yes, the page you selected makes a difference.)
>
> Hmm, it happened with a few pages I've tried but not remembered which of
> them had that problem.
>
> Just found one
> PmWiki.ChangeLog
>
> PS: I've corrected some validation and localization mistakes in print.tmpl
> and XLPageTemplate. Could you please review this entry in PITS
> http://www.pmwiki.org/wiki/PITS/00690
>
> Athan
>
>
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 9 Mar 2006 08:17:17 -0600
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] Building the 2.1.0 documentation
> To: Joachim Durchholz <jo at durchholz.org>
> Cc: pmwiki-users at pmichaud.com
> Message-ID: <20060309141717.GH31073 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Mar 09, 2006 at 11:34:57AM +0100, Joachim Durchholz wrote:
>> I just noticed that http://pmwiki.org/wiki/Cookbook/AccessKeySkin would
>> fail with:
>>    PmWiki can't process your request
>>    ?unable to find skin from list pmwiki-ak
>> (Not sure what the question mark at the beginning of the second line is.)
>
> Thanks, the AccessKeySkin is obsolete now (PmWiki's default skin
> has accesskeys built-in), so I've de-configured it from the
> Cookbook.
>
> The question markup at the beginning of the second line is just
> a programming habit of mine -- I tend to start my error messages
> with question marks so they can be quickly grepped and
> processed by other tools.
>
> Pm
>
>
>
> ------------------------------
>
> Message: 7
> Date: Thu, 9 Mar 2006 08:23:15 -0600
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] defining access rights per group other in
> seperate file
> To: Thomas Lederer <celok at gmx.net>
> Cc: PmWiki-Users <pmwiki-users at pmichaud.com>
> Message-ID: <20060309142314.GJ31073 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Mar 09, 2006 at 01:22:06PM +0100, Thomas Lederer wrote:
>> On another observation:
>>
>> On http://www.pmwiki.org/wiki/PmWiki/Cookbook/AuthUser
>>
>> the ability to manage groups is mentioned twice as existing since
>> 2.1.beta8. Could someone explain this to me a bit more? I think that
>> seems to be a step towards the solution i seek.
>
> The essence of what is in Cookbook.AuthUser has been moved
> to PmWiki.AuthUser, including support for authorization groups.
> We need to bring the Cookbook.AuthUser page up-to-date, probably
> by removing the parts that are now described in PmWiki.AuthUser and
> simply providing other examples of how to do things.
>
> I'll answer your previous message (regarding LDAP groups) in my
> next message.  :-)
>
> Pm
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Thu, 9 Mar 2006 08:25:39 -0600
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] emty paragraph in groupheader
> To: noskule <noskule at gmx.net>
> Cc: PmWiki Users <pmwiki-users at pmichaud.com>
> Message-ID: <20060309142539.GK31073 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Mar 09, 2006 at 02:57:00PM +0100, noskule wrote:
>> Patrick R. Michaud schrieb:
>>
>> >>If in a groupheader definitions are made, but no content, pmwiki
>> >>prdouces an emty paragrap. Could this be changed so that a paragraph
>> >>just will be made if content is a avalible? Otherwise it makes problems
>> >>if a groupheader background isnt white.
>> >>see:
>> >>http://pmwiki.netstreams.org/index.php/PmWiki/PmWiki
>> >>http://pmwiki.netstreams.org/index.php/PmWiki/GroupHeader?action=edit
>> >
>> >I didn't see an empty paragraph in the output from the
>> >PmWiki/PmWiki page on that site -- can you be a bit more explicit,
>> >or perhaps create an example in the Test group on pmwiki.org?
>> >
>> >
>> http://pmwiki.org/wiki/NoskuleTestGroup/HomePage
>
> Okay, thanks, this is exactly what I needed to see.  This particular bug
> was fixed at one time, but apparently some of the changes in 2.1.beta
> have brought it back.  I'll see if I can re-fix it.
>
> Thanks!
>
> Pm
>
>
>
>
> ------------------------------
>
> Message: 9
> Date: Thu, 9 Mar 2006 08:37:36 -0600
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] 2.1-b37 Cached page (?) issue
> To: Athan <ssb at in.gr>
> Cc: pmwiki-users at pmichaud.com
> Message-ID: <20060309143735.GL31073 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Mar 09, 2006 at 04:13:20PM +0200, Athan wrote:
>> "Patrick R. Michaud" <pmichaud at pobox.com> wrote in message
>> news:20060309135307.GB31073 at host.pmichaud.com...
>> > Which page did you select from the search results of your first search?
>> >
>> > (Yes, the page you selected makes a difference.)
>>
>> Hmm, it happened with a few pages I've tried but not remembered which of
>> them had that problem.
>>
>> Just found one
>> PmWiki.ChangeLog
>
> Yes, that's what is going on here.  If one does a search from any page 
> that
> has a (:searchresults:) directive on it (which PmWiki.ChangeLog does
> at the moment), then instead of getting the normal search results
> page contents we get the current page back with the (:searchresults:)
> directive replaced by the results of the search.  This allows authors
> to create custom search results pages.
>
> Unfortunately, the ?action=search code doesn't (yet) understand
> escaping of (:searchresults:), and so even the search results are
> being suppressed.
>
> I'll fix the ?action=search code to be smarter about finding
> (:searchresults:) directives, and we need to make sure that
> any instances of (:searchresults:) in the ChangeLog (and other
> pages) are properly escaped.
>
> We probably need to do a search for (:searchresults:).  Boy, does
> that sound scary.  :-)
>
>> PS: I've corrected some validation and localization mistakes in 
>> print.tmpl
>> and XLPageTemplate. Could you please review this entry in PITS
>> http://www.pmwiki.org/wiki/PITS/00690
>
> Will do.  A quick way to have a page get my attention is to
> put an [[!Update me]] category tag on it.  :-)
>
> Pm
>
>
>
> ------------------------------
>
> Message: 10
> Date: Thu, 9 Mar 2006 08:40:49 -0600
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] defining access rights per group other in
> seperate file
> To: Thomas Lederer <celok at gmx.net>
> Cc: PmWiki-Users <pmwiki-users at pmichaud.com>
> Message-ID: <20060309144049.GM31073 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Wed, Mar 08, 2006 at 06:22:04PM +0100, Thomas Lederer wrote:
>> Hello,
>>
>> maybe i miss a point, but here is the idea:
>>
>> We would like to base the access rights on the information in our ldap
>> server. For this we are able to create files in the syntax of AuthUser:
>>
>> @team1: ldapid1, ldapid2, etc...
>> @team2: ldapid1, ldapid5, etc...
>>
>> can i use such a file to define the rights? And how do i do this? (Other
>> than Site.AuthUser, cause the files would be updated nightly by a cron.)
>
> At the moment authuser.php doesn't know how to get group memberships
> from anywhere other than the Site.AuthUser page.  I'll see if I can
> update this soon.
>
>> On a second question: can i define user rights per (membership in) unix
>> groups?
>
> I might be able to come up with an option for this, assuming that
> the unix groups are being maintained in /etc/group or a similarly
> formatted file that is readable by the webserver.
>
> Pm
>
>
>
> ------------------------------
>
> Message: 11
> Date: Thu, 9 Mar 2006 15:40:50 +0100
> From: "WvL" <apollo13 at freenet.de>
> Subject: [pmwiki-users] HTTP 404-Browser error for version
> "pmwiki-2.1.beta37" - but nor for "pmwiki-2.0.13"
> To: <pmwiki-users at pmichaud.com>
> Message-ID: <000001c64387$b1788770$fe78a8c0 at JaConsultPC>
> Content-Type: text/plain; charset="iso-8859-15"
>
> Hi pm-list,
>
> i am new to pmwiki (- did i oversee an installation task?)
>
> On a local installation consisting of
> W2K Pro, PHP 5.1.2, IE 6.0/Firefox 1.5
>
> pmwiki-2.1.beta37 (same for pmwiki-2.1.beta36)
> (just a blank install without any modifications)
>
> i get the the Browser "HTTP 404 - File not found" error
> (not the wikipage "Site.PageNotFound"!)
> when trying to create a page by supplying the new pagename
> in the browser's address bar
> e.g.:
>    http://localhost/atest3/pmwiki.php?n=Main.MyNewPage
>
> (all other "create new page"-methods work!).
>
>
> But for my local pmwiki-2.0.13-install. this feature works.
> (and surely on http://www.pmwiki.org/ (pmwiki-2.1.beta37))
>
> Thanks for any advice,
> Wolfgang
>
>
>
> ------------------------------
>
> Message: 12
> Date: Thu, 9 Mar 2006 16:04:48 +0100
> From: Marco Ferretti <marco.ferretti at gmail.com>
> Subject: Re: [pmwiki-users] must be doing something wrong with farm
> configuration
> To: "PmWiki-Users" <pmwiki-users at pmichaud.com>
> Message-ID: <200603091604.51582.marco.ferretti at fermasoft.com>
> Content-Type: text/plain; charset="utf-8"
>
> I just saw something not "correct" in my explanation, so I am rewriting :
>
> I am still trying to set up wiki farms .I have tried to follow the 
> instructions @
> http://www.pmwiki.org/wiki/Cookbook/WikiFarmStepByStep .
>
> I have created 2 fields, field1 and field2. For each of theese fields I
> have created an .htpassword file and have set a skin ( pmwiki for field1 
> and
> triad for field2 ) .
> Now, field2 seems ok, but field1 doesn't show correctly. In addition to 
> this, the two
> fields seem to share the variables : if I login to field2 I see I am 
> logged
> in also in field1 even if the user i log in in field2 doesn't exists
> in .htpassword file of field1.
>
> You can see the site @ fermasoft.homeunix.net/field2 &
> fermasoft.homeunix.net/field1 .
>
> The config files are :
> farmconfig.php
> <?php if (!defined('PmWiki')) exit();
> ?? $FarmPubDirUrl = 'http://fermasoft.homeunix.net/pmwiki/pub';
> ?? $Skin = 'pmwiki';
> ?? $WikiTitle = 'My Farm';
> # ??include_once('local/config.php');
> ?>
>
> field1 config.php
>
> <?php if (!defined('PmWiki')) exit();
> $WikiTitle = 'PmWiki test box as a field of a wiki farm';
> $EnablePathInfo = 1;
>
> $Skin = 'pmwiki';
>
> $DefaultPasswords['admin'] = crypt('secret');
> $DefaultPasswords['edit'] = 'id:*';
> $EnableGUIButtons = 1;
>
> $EnableUpload = 1;
> $EnablePageListProtect = 1;
>
> $AuthUser['htpasswd'] = 'local/.htpasswd';
> include_once('scripts/authuser.php');
>
> include_once("$FarmD/scripts/author.php");
> if($AuthId && !@$_COOKIE[$AuthorCookie]) {
> ?? $Author = $AuthId; setcookie($AuthorCookie,
> ?? ?? ?? $Author, $AuthorCookieExpires, $AuthorCookieDir); }
>
> include_once('scripts/NewPage.php');
> include_once('scripts/newpageform.php');
> include_once("scripts/newpageboxplus.php");
>
> include_once('cookbook/newCategory.php');
>
> field2 config.php
>
> -sh-3.00$ cat config.php
> <?php if (!defined('PmWiki')) exit();
> $WikiTitle = 'PmWiki test box as a field of a wiki farm';
> $EnablePathInfo = 1;
>
> $Skin = 'triad';
>
> $DefaultPasswords['admin'] = crypt('secret');
> $DefaultPasswords['edit'] = 'id:*';
> $EnableGUIButtons = 1;
>
> $EnableUpload = 1;
> $EnablePageListProtect = 1;
>
> $AuthUser['htpasswd'] = 'local/.htpasswd';
> include_once('scripts/authuser.php');
>
> include_once("$FarmD/scripts/author.php");
> if($AuthId && !@$_COOKIE[$AuthorCookie]) {
> ?? $Author = $AuthId; setcookie($AuthorCookie,
> ?? ?? ?? $Author, $AuthorCookieExpires, $AuthorCookieDir); }
>
> include_once('scripts/NewPage.php');
> include_once('scripts/newpageform.php');
> include_once("scripts/newpageboxplus.php");
>
> include_once('cookbook/newCategory.php');
>
>
>
> I really have no clue on what's going on. Can somebody point me somewhere 
> ( maybe docs ) ?
>
>
> TIA
>
> Marco
> -- 
> You will always have good luck in your personal affairs.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://host.pmichaud.com/pipermail/pmwiki-users/attachments/20060309/5915b682/attachment.html
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 189 bytes
> Desc: not available
> Url : 
> http://host.pmichaud.com/pipermail/pmwiki-users/attachments/20060309/5915b682/attachment.bin
>
> ------------------------------
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
> End of pmwiki-users Digest, Vol 9, Issue 59
> *******************************************
>
> 






More information about the pmwiki-users mailing list