Wiki restriction in progress

2006-11-23

in Daily updates, Geek stuff, Internet matters, Oxford

The wiki came under discussion in today’s seminar. As such, it is offline until such a time as I can come up with a robust way to restrict access to seminar notes, while leaving all the material that I have been producing myself available.

Ideally, I would like to either make specific pages of the wiki require a password to access or, alternatively, restrict certain pages to specific user accounts. If anyone knows how to do this elegantly, please let me know.

I expect that I should have my portions available again by Monday. If you care to report any bugs on the blog between now and then, feel free to do so as a comment to this post.

[Update: 4:30pm] Much more quickly than expected, I have been able to establish a content management system for the wiki that allows certain pages to be restricted from public access. This treatment has now been applied to seminar notes from the thesis seminar and the Developing World seminar. It has not been applied to my reading notes, notes related to public lectures, or other such pages. As with any such change (one that requires me to edit PHP script and MySQL database settings), please report any bugs that you encounter.

Once again, I must say that I am impressed with MediaWiki as a platform. All I did was backup the MySQL database and the /images/ folder, erase the old install (except for LocalSettings.php), install a patched version of MediaWiki, run the installer, throw out the config file it generated, add the restriction patch code to the old config file, and then configure user accounts to have access to restriction features. That may sound very tricky to a lot of people, but it was actually a breeze. The whole thing was done in half an hour, with no hiccups discovered so far. Now that it is publicly known, the Lecture and Seminar Notes section of the wiki has graduated out of the experimental grouping.

Report a typo or inaccuracy

{ 7 comments… read them below or add one }

Milan November 23, 2006 at 3:11 pm

I am going to try this patch from CRI, to begin with. If it works, it should solve all my (limited) access control problems.

Milan November 23, 2006 at 6:00 pm

It’s only things that people said in quasi-private settings that have been restricted. The vast majority of the content is still open for access and editing…

It remains a wiki!

R.K. November 23, 2006 at 5:53 pm

Viva la CryptoWiki!

Anonymous November 24, 2006 at 6:36 pm

Being able to restrict pages should really be built into MediaWiki. Ideally, it should be possible to have multiple levels and categories of restriction (ie. faculty, people in a particular class, etc).

Anonymous March 8, 2007 at 1:29 am

All I did was backup the MySQL database and the /images/ folder, erase the old install (except for LocalSettings.php), install a patched version of MediaWiki, run the installer, throw out the config file it generated, add the restriction patch code to the old config file, and then configure user accounts to have access to restriction features.

Are you a god?

Milan March 8, 2007 at 2:00 am

Gozer: [Evil voice] Are you a God?
Dr Ray Stantz: [Looks at Peter, Peter nods] No.
Gozer: Then… DIE!
[Electrocutes the Ghostbusters; pushing them to the edge of the apartment building; people below scream]
Winston Zeddemore: Ray, when someone asks you if you’re a *God*, you say “YES”!

Milan June 21, 2012 at 7:57 am

The wiki has been temporarily taken offline, due to a possibles malware problem.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Previous post:

Next post: