Kevin Cole | 3 Jun 2002 18:40
Picon
Picon
Favicon

Renaming files...


Hi,

Suppose I've chosen a less-than-satisfactory name for a page.  Can I fix 
it simply by renaming the file and then making sure any links I've 
created have the new name of the file?  (That *SEEMS* logical and 
straightforward, but I figured I'd ask first, in case there was 
something subtle that would mess up.)

--

-- 
 Kevin Cole, RHCE, Linux Admin  |  E-mail:  kjcole <at> gri.gallaudet.edu
 Gallaudet Research Institute   |  WWW:     http://gri.gallaudet.edu/~kjcole/
 Hall Memorial Bldg  S-419      |  Voice:   (202) 651-5135
 Washington, D.C.  20002-3695   |  FAX:     (202) 651-5746
Juergen Hermann | 3 Jun 2002 20:23
Picon

Re: Renaming files...

On Mon, 3 Jun 2002 12:40:52 -0400 (EDT), Kevin Cole wrote:

>Suppose I've chosen a less-than-satisfactory name for a page.  Can I fix 
>it simply by renaming the file and then making sure any links I've 
>created have the new name of the file? 

Actually, you should have it the other way 'round. First use the backlinks 
feature (click on title) to find&fix any links, then rename the file. 

The only thing you have to remember is that you lose any attachments and the 
backup versions if you don't rename those, too.

Ciao, Jürgen

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Charles Medcoff | 5 Jun 2002 16:18
Picon
Favicon

Re: External file links

What about paths with spaces in them?  For example

"file:\\somemachine\some department name\Development\J2EE Development Study
Group"

Doens't work.

----- Original Message -----
From: "Adam Shand" <adam <at> personaltelco.net>
To: "Charles Medcoff" <cmedcoff <at> hotmail.com>
Cc: <moin-user <at> lists.sourceforge.net>
Sent: Thursday, April 11, 2002 8:14 PM
Subject: Re: [Moin-user] External file links

> On Thu, 2002-04-11 at 16:07, Charles Medcoff wrote:
> > How does one created  a link to a file on an external file system such
as a file on a shared network drive.  I couldn'd find anything in the help
and my experiementation found no success.
>
> Just like in a browser. :-)
>
> file://path/to/file.txt
>
> Adam.
>
>
> _______________________________________________
> Moin-user mailing list
> Moin-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
(Continue reading)

Jeff Kunce | 5 Jun 2002 16:44

Re: External file links


>What about paths with spaces in them? For example
>"file:\\somemachine\some department name\Development\J2EE Development Study
>Group"

"file:\\somemachine\some%20department%20name\Development\J2EE%20Development%20Study%20Group"

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Kevin Cole | 5 Jun 2002 17:38
Picon
Picon
Favicon

Q: Protecting Help* and other pages


Hi,

This is probably covered somewhere, but I didn't see it somewhere 
obvious.  I have a closed wiki (intranet?) that is being used for an 
internal project.  The folks using it are VERY new to the idea and I'm 
worried that they'll mess up stuff that I really don't want to rewind 
from the backups.  I want them to edit anything else, and am 
encouraging them to play around.

So, I'm wondering if there's a way to make the Help* files (and any
other critical ones) immutable.

One ugly way that I can do it is with "chattr +i", but then the Python 
code needs to be kinder when responding to such a situation.  Is there a 
better way?

--

-- 
 Kevin Cole, RHCE, Linux Admin  |  E-mail:  kjcole <at> gri.gallaudet.edu
 Gallaudet Research Institute   |  WWW:     http://gri.gallaudet.edu/~kjcole/
 Hall Memorial Bldg  S-419      |  Voice:   (202) 651-5135
 Washington, D.C.  20002-3695   |  FAX:     (202) 651-5746

Juergen Hermann | 5 Jun 2002 20:32
Picon

Re: Q: Protecting Help* and other pages

>So, I'm wondering if there's a way to make the Help* files (and any
>other critical ones) immutable.

I see no immediate solution, but will make a TODO entry regarding this. 
Do you run the CVS version?

Ciao, Jürgen

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Juergen Hermann | 5 Jun 2002 20:43
Picon

Re: Q: Protecting Help* and other pages

On Wed, 5 Jun 2002 11:38:08 -0400 (EDT), Kevin Cole wrote:

>So, I'm wondering if there's a way to make the Help* files (and any
>other critical ones) immutable.

Get the CVS version, and chmod a-w them.

Ciao, Jürgen

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Kevin Cole | 5 Jun 2002 20:18
Picon
Picon
Favicon

Re: Q: Protecting Help* and other pages


> >So, I'm wondering if there's a way to make the Help* files (and any
> >other critical ones) immutable.
> 
> I see no immediate solution, but will make a TODO entry regarding this. 
> Do you run the CVS version?

Nope.  I'm using whatever's considered stable.  (I don't use CVS enough
to be fluent.  I think the only time I've ever retrieved anything was
when I grabbed Boa Constructor.)

From my point of view, the simplest fix would be to screw with how
it handles the exception resulting from trying to change a "chattr'd" 
file, but that wouldn't be a very cross-platform solution.  

No hurry.  I can warn people that it'll blow up if they try to change 
things that I don't let them change.  Or they can figure it out the hard 
way. ;-)

--

-- 
 Kevin Cole, RHCE, Linux Admin  |  E-mail:  kjcole <at> gri.gallaudet.edu
 Gallaudet Research Institute   |  WWW:     http://gri.gallaudet.edu/~kjcole/
 Hall Memorial Bldg  S-419      |  Voice:   (202) 651-5135
 Washington, D.C.  20002-3695   |  FAX:     (202) 651-5746

Juergen Hermann | 5 Jun 2002 22:13
Picon

Re: Q: Protecting Help* and other pages

On Wed, 5 Jun 2002 14:18:45 -0400 (EDT), Kevin Cole wrote:

>Nope.  I'm using whatever's considered stable.  (I don't use CVS enough
>to be fluent.  I think the only time I've ever retrieved anything was
>when I grabbed Boa Constructor.)

For moin, CVS is considered more stable than releases, most of the time. ;)

All my public wikis run on CVS, as is the company's.

Ciao, Jürgen

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Charles Medcoff | 6 Jun 2002 15:37
Picon
Favicon

Fw: External file links

Well that creates the right link but for some reason this doesn't work on
windows.  Any clues?

>>What about paths with spaces in them? For example
>>"file:\somemachine\some department name\Development\J2EE Development Study
>>Group"
>"file:\somemachine\some%20department%20name\Development\J2EE%20Development%
20Study%20Group"

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

Gmane