Differences between revisions 1 and 20 (spanning 19 versions)
Revision 1 as of 2005-02-06 23:45:37
Size: 170
Editor: ClarkUpdike
Comment:
Revision 20 as of 2005-02-11 14:26:40
Size: 2489
Editor: ClarkUpdike
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Wiki Tips =
 Linking to anchors on another page:: you must use an "interwiki" style link
= Wiki Tidbits =

== Deleting wiki pages ==

These are the directions I use for deleting pages on an intranet moinmoin wiki I administer. These directions assume you have a login on the host machine, allowing you to temporarily turn on a flag in a config file that let's you delete a page and then turn it off (making it safe since it's only temporarily enabled).

First of all, if you aren't in the MoinPagesEditorGroup, you'll need to contact an admin, and remind them to follow the directions on this page.

To delete a wiki page:
 * make sure that Moin``Moin acl is activated in moin_config.py (it should be left on)
 * turn on the Delete``Page action in moin_config.py (look for the 'security critical actions' section towards the bottom of the file and set the "if 0:" to "if 1:" )
 * put an acl entry on the page:
Line 4: Line 14:
[wiki:Self/SomePage/SomeSubPage#someBookmark bookmarkDisplayText] #acl AdminGroup:read,delete
Line 6: Line 16:
 * edit the page and look for the Delet``Page action at the very bottom
 * follow the steps to delete the page
 * turn off the Delete``Page action in moin_config.py

Note: moin_config.py is probably here, /web/local/share/moin/rmiswiki

== Misc ==
 *Create an anchor.
{{{
[[Anchor(myAnchorLabel)]]
}}}

 *Linking to anchors on another page:: you must use an "interwiki" style link.
{{{
[wiki:Self:SomePage/SomeSubPage#someBookmark bookmarkDisplayText]
}}}

 *Footnotes macro[[FootNote(This is a sample footnote [look for it at the bottom of the page].)]]
{{{
[[FootNote(This is a sample footnote [look for it at the bottom of the page].)]]
Must be separated from the prior word by a space.
}}}

 *Force a new page (aka arbitrary page name).[[BR]]
{{{
["/mynewpage"]
}}}

 *Link to a subpage (there several ways to do [wiki:Self:HelpOnEditing/SubPages this])[[BR]]
[wiki:Self:JythonDeveloperGuide/EclipseNotes Eclipse notes] [[BR]]
JythonDeveloperGuide/EclipseNotes
{{{
[wiki:Self:JythonDeveloperGuide/EclipseNotes Eclipse notes] <- link on arbitrary text
JythonDeveloperGuide/EclipseNotes <- wiki style link
}}}


 *Prevent a New``Page.[[BR]]
{{{
Py``System``State
}}}

 *Embedding python (one way--there's [wiki:Self/HelpOnFormatting#codeDisplay others]).[[BR]]
{{{
{{{
#!python
print "jython rocks!"
} } } <-- don't include these spaces (it's just to escape them)
}}}

 *Or ticks for `print "jython rocks!"`.[[BR]]
{{{
`print "jython rocks!"`
}}}

 *Inserting "new lines" into a paragraph.[[BR]]
{{{
[[BR]]
}}}

Wiki Tidbits

Deleting wiki pages

These are the directions I use for deleting pages on an intranet moinmoin wiki I administer. These directions assume you have a login on the host machine, allowing you to temporarily turn on a flag in a config file that let's you delete a page and then turn it off (making it safe since it's only temporarily enabled).

First of all, if you aren't in the MoinPagesEditorGroup, you'll need to contact an admin, and remind them to follow the directions on this page.

To delete a wiki page:

  • make sure that MoinMoin acl is activated in moin_config.py (it should be left on)

  • turn on the DeletePage action in moin_config.py (look for the 'security critical actions' section towards the bottom of the file and set the "if 0:" to "if 1:" )

  • put an acl entry on the page:

#acl AdminGroup:read,delete
  • edit the page and look for the DeletPage action at the very bottom

  • follow the steps to delete the page
  • turn off the DeletePage action in moin_config.py

Note: moin_config.py is probably here, /web/local/share/moin/rmiswiki

Misc

  • Create an anchor.

[[Anchor(myAnchorLabel)]]
*Linking to anchors on another page
you must use an "interwiki" style link.

[wiki:Self:SomePage/SomeSubPage#someBookmark bookmarkDisplayText]

[[FootNote(This is a sample footnote [look for it at the bottom of the page].)]]
Must be separated from the prior word by a space.
  • Force a new page (aka arbitrary page name).BR

["/mynewpage"]

[wiki:JythonDeveloperGuide/EclipseNotes Eclipse notes] BR JythonDeveloperGuide/EclipseNotes

[wiki:Self:JythonDeveloperGuide/EclipseNotes Eclipse notes] <- link on arbitrary text
JythonDeveloperGuide/EclipseNotes                           <- wiki style link
  • Prevent a NewPage.BR

Py``System``State
  • Embedding python (one way--there's [wiki:Self/HelpOnFormatting#codeDisplay others]).BR

{{{
#!python
print "jython rocks!"                
} } } <-- don't include these spaces (it's just to escape them)
  • Or ticks for print "jython rocks!".BR

`print "jython rocks!"`
  • Inserting "new lines" into a paragraph.BR

[[BR]]