Difference between revisions of "Help:Wiki"
Jump to navigation
Jump to search
Line 72: | Line 72: | ||
:Syntax is a bit different, e.g. no <nowiki>[[]]</nowiki> for links | :Syntax is a bit different, e.g. no <nowiki>[[]]</nowiki> for links | ||
:More info on [https://www.mediawiki.org/wiki/Manual:Interface/Sidebar the MediaWiki manual] | :More info on [https://www.mediawiki.org/wiki/Manual:Interface/Sidebar the MediaWiki manual] | ||
+ | |||
+ | ==Delete page history== | ||
+ | 20180817 BEWARE, yet untested | ||
+ | # Prodecure found here [http://www.hungryfools.com/2007/04/how-to-clean-up-change-history-of.html] that just invokes <code># php deleteOldRevisions.php --delete</code> | ||
+ | # A more complex [http://www.bigsoft.co.uk/blog/2011/08/03/permanently-deleting-mediawiki-pages-and-revisions suggestion] | ||
+ | # [https://en.wikibooks.org/wiki/MediaWiki_Administrator%27s_Handbook/Page_Deletion#Restoring_some_or_all_deleted_revisions This page] advises to go to Special:Nuke, which does not exist on my wiki. |
Revision as of 16:09, 17 August 2018
Wiki formatting setting not to forget: Check Mediawiki advanced editing [1] for more.
- <syntaxhighlight lang='bash'>
- </syntaxhighlight>
- Block of code formatted for the specified language
- <nowiki>
- </nowiki>
- Do not apply wiki formatting on this block
- ; Definition list term (<dt>)
- : Definition list definition or just indent(<dd>)
- :: Indent more
- * Bullit list
- Bullit list
- # Numbered list
- Numbered list
- [[category:name]]
- Add this page to category 'name'
- [[wikipage|alt text]]
- Link to page on local wiki. When provided 'alt text' is displayed instead of the page name.
- [[wikipage#Anchor|alt text]]
- Link to anchor on local wiki page. Headings, span and div's are automatic anchors.
- <span id=Anchor1></span>
- <div id=Anchor1></div>
- =Heading=
- Create anchor (works for each heading level)
- [URL text]
- Link to URL. When text is not provided the links consecutive number is displayed.
- ''italics''
- '''bold'''
- '''''bold italics'''''
- <code>
Fixed width text
</code>
- [URL text]
- Link to URL. When text is not provided the link's consecutive number is displayed.
Tables
{| | table start, required |
|+ | table caption, optional; only between table start and table row |
|- | table row, optional on first row—wiki engine assumes the first row |
! | table header cell, optional. Consecutive table header cells may be added on same line separated by double marks (!! ) or start on new lines, each with its own single mark (! ).
|
| | table data cell, optional.> Consecutive table data cells may be added on same line separated by double marks (|| ) or start on new lines, each with its own single mark (| ).
|
|} | table end, required |
- Edit the sidebar (not the Tools section there).
- Like editing a wikipage, goto //yourwikiurl/index.php?title=MediaWiki:Sidebar
- Syntax is a bit different, e.g. no [[]] for links
- More info on the MediaWiki manual
Delete page history
20180817 BEWARE, yet untested
- Prodecure found here [2] that just invokes
# php deleteOldRevisions.php --delete
- A more complex suggestion
- This page advises to go to Special:Nuke, which does not exist on my wiki.