From HandWiki
Jump to: navigation, search
Table of contents

Protecting articles from editing and viewing

HandWiki allows for protecting pages from editing and viewing. To protect a page, you need to add the following statement at the top of the page:


where "MyGroup" is a wiki page that contains a list of usernames that should have permission to edit this page. This wiki page should be created inside a special namespace "Access:" like this:


Generally, the "MyGroup" page can have any name, as long as you remember it. You should write the following lines of text in this page:

* John Smith
* Anna Corke
* Steve Locker (ro)

Each username appears as a list item. We added "(ro)" after Steve Locker. This indicates that Steve Locker can read this wiki, but not edit it. You should "accesscontrol" tag with MyGroup between to make sure that this file is protected for other non-group people.

Now you can save this page. It should look like this:

  • John Smith
  • Anna Corke
  • Steve Locker (ro)

At the top of this page, you will see the red message "page is protected". Now you can add the line with MyGroup embedded inside the tag "accesscontrol" on any page you want to protect.

Note that you can place several groups inside the "accesscontrol" tag, but you should separate them with a comma, i.e. they should look like this:

MyGroup1,MyGroup2 and create 2 pages MyGroup1 and MyGroup2 with the names inside the "Access:" namepage.

You can see all groups that have protected their pages using the access page.

Page protection for non-DataMelt members

Use "ifauth" to protect code for non-members of the DataMelt project:

As an example, for the jLearn port, it will look like this:

Grammarly Check DataMelt statistical framewwork for data scientists HandWiki ads