All,
Everything looks pretty good on my update from 1.7.1 to 1.8.2, except when I run update.php I get the following error: Adding ipb_anon_only field to table ipblocks...Query "DROP TABLE IF EXISTS 'ipblocks_newunique'" failed with error code "DROP command denied to user 'wikiuser'@localhost' for table 'ipblocks_newunique' (localhost)".
Up until that point the update appears to be going normally.
Thanks, Dave
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Ittay Dror Sent: Monday, January 08, 2007 2:17 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Access restrictions
Robin Faichney wrote:
Hope this isn't off-topic here.
I prefer playing with things to reading documentation, but I can't play with mediawiki just now for reasons given in another thread, so I've been looking at the docs and it seems it might be difficult to get it to do what I want.
That is: have a site a bit like a blog, in that anonymous users can read anything, people can comment on articles (ie add to talk pages) -- though maybe requiring registration/login -- but nobody can edit articles except the owner. I found the Preventing Access page on Meta but that doesn't seem to cover my case. I'm willing to copy hacks that others have developed and tested but not to do experimental hacking myself. Do I need to look elsewhere for this functionality?
check the talkright extension.
also, i posted code that lets users easily post comments (instead of editing the discussion page). search for the 'discussions questions' thread
to add a form to the page itself, i changed skins/Monobook.php. add the following just before the </div> that is before the <div id="column-one">: <div id="post-comment"> Comment on this page: <form name="commentForm" method="post" action="/mediawiki/index.php/Special:Postcomment"> <input name="target" value="<?php $this->text('title') ?>" type="hidden"/> <textarea tabindex="3" rows="5" cols="25" name="comment"></textarea> <input tabindex="4" name="do" value="Post" class="btn" type="submit"/> </form>
</div>
and in skins/monobook/main.css add the style you want mine is: #post-comment { margin: 2.8em 0 0 12.2em; padding: 1em 1em 1.5em 1em; background: white; color: black; border: 1px solid #aaa; /* border-right: none;*/ line-height: 1.5em; position: relative; z-index: 2; }
(My site is actually setup as a blog just now, see the link in the sig, but I'm not entirely happy with that because most of the content will be static, with most posts being just announcements of changes to the static content. Also, static pages can't be commented on right now, though I think that's fairly easy to fix, in the theme.)