[Trac] Re: How can I use/insert $USERNAME in a wiki page?

2008-06-26 Thread Daevid Vincent

I'm not a python developer. I have no idea how to do that. Sad that Trac
doesn't have that built in. You would think personalizing wiki pages like
that would be useful... :-\

-Original Message-
From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Noah Kantrowitz
Sent: Tuesday, June 24, 2008 7:22 PM
To: trac-users@googlegroups.com
Subject: [Trac] Re: How can I use/insert $USERNAME in a wiki page?


On Jun 24, 2008, at 10:17 PM, Daevid Vincent wrote:

 There are many wiki pages I've setup where I'm trying to put command  
 line fragments or what not and wish to insert the current logged in  
 username in place.

 So for example if I have:

   svn co --username $USERNAME https://svn.mycompany.com/svn/trunk .

 I want it to show up as

   svn co --username daevid https://svn.mycompany.com/svn/trunk .

 In the wiki page.

 Is that possible?

You would need to make a small macro that just return req.authname

--Noah



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: How can I use/insert $USERNAME in a wiki page?

2008-06-26 Thread yoheeb

On Jun 26, 3:27 pm, Noah Kantrowitz [EMAIL PROTECTED] wrote:
 On Jun 26, 2008, at 4:06 PM, Daevid Vincent wrote:



  I'm not a python developer. I have no idea how to do that. Sad that
  Trac
  doesn't have that built in. You would think personalizing wiki pages
  like
  that would be useful... :-\
So, in other words, your using an open source tool, that doesn't do
one specific thing you think would be really useful a.k.a. cool so
it's crap.  Despite the fact it's easily extensible with a little
effort, but you don't want to take the effort to learn how, now maybe
but up a request on trac-hacks for someone to do it for you.

FYI, given the intended use (from my perspective) , I don't see
personalizing the wiki as useful.  I use it for project management.  I
have never felt a need to personalize a user manual, requirements
document, design document, defect report, source code control log, or
milestone roadmap.

however, what I think you meant to say wink was: Wow, nobody has
thought of that, here are some examples of how it might be
useful:..does anyone else think this would be useful?  I don't
think I have the skills to implement such a macro, however I would be
happy to contribute if someone else with the skill would be willing to
take this upRIGHT?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: How can I use/insert $USERNAME in a wiki page?

2008-06-24 Thread Noah Kantrowitz

On Jun 24, 2008, at 10:17 PM, Daevid Vincent wrote:

 There are many wiki pages I’ve setup where I’m trying to put command  
 line fragments or what not and wish to insert the current logged in  
 username in place…

 So for example if I have:

   svn co --username $USERNAME https://svn.mycompany.com/svn/trunk .

 I want it to show up as

   svn co --username daevid https://svn.mycompany.com/svn/trunk .

 In the wiki page.

 Is that possible?

You would need to make a small macro that just return req.authname

--Noah
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---