Differences between revisions 3 and 20 (spanning 17 versions)
Revision 3 as of 2005-02-07 16:17:04
Size: 723
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 3: Line 3:
Create an anchor.
{{{[[Anchor(myAnchorLabel)]]}}}
== Deleting wiki pages ==
Line 6: Line 5:
Linking to anchors on another page:: you must use an "interwiki" style link. 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 8: Line 14:
[wiki:Self/SomePage/SomeSubPage#someBookmark bookmarkDisplayText] #acl AdminGroup:read,delete
}}}
 * 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)]]
Line 11: Line 28:
Force a new page (aka arbitrary page name).[[BR]]
{{{["/mynewpage"]}}}
 *Linking to anchors on another page:: you must use an "interwiki" style link.
{{{
[wiki:Self:SomePage/SomeSubPage#someBookmark bookmarkDisplayText]
}}}
Line 14: Line 33:
Prevent a New``Page.[[BR]]
{{{Py``System``State}}}
 *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.
}}}
Line 17: Line 39:
Embedding python (one way--there's [wiki:Self/HelpOnFormatting#codeDisplay others]).[[BR]]  *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]]
Line 25: Line 66:
Or ticks for `print "jython rocks!"`.[[BR]]
{{{`print "jython rocks!"`}}}
 *Or ticks for `print "jython rocks!"`.[[BR]]
{{{
`print "jython rocks!"`
}}}
Line 28: Line 71:
Inserting "new lines" into a paragraph.[[BR]]
{{{[[BR]]}}}
 *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]]