I haven't been following the thread, but I can see many situations where mediaWiki is useful for a few editors (even just one), because it is so easy to use as an editor. I even use it for situations where I'm the only viewer. (complex notes that I can access from any computer.)
At 09:56 PM 5/18/05, you wrote:
er...if you want a site that only a handful of people can edit, why use a wiki?
James Birkholz admin, Posen mailing list and website http://www.birchy.com/GenWiki/index.php?title=Kreis_Wongrowitz
Hi,
there is a Random article page in mediaWiki. Is there any way to prevent particular articles from being displayed in such way? Or maybe even every article from a particular category, that would be even better.
thanks
On 19/05/05, Nomad nomad@nic-nac-project.de wrote:
there is a Random article page in mediaWiki. Is there any way to prevent particular articles from being displayed in such way? Or maybe even every article from a particular category, that would be even better.
Short answer: no. As far as I can think, the only way of introducing such a feature would be to do some filtering after the page had been picked, and pick another one if necessary. Which means it would be almost as efficient to just look at it yourself (or botself?) and click again...
Well then....
AFAIK articles under the System namespace are not displayed. May I "hide" my own articles under the System in any way?
On 19/05/05, Nomad nomad@nic-nac-project.de wrote:
there is a Random article page in mediaWiki. Is there any way to prevent particular articles from being displayed in such way? Or maybe even every article from a particular category, that would be even better.
Short answer: no. As far as I can think, the only way of introducing such a feature would be to do some filtering after the page had been picked, and pick another one if necessary. Which means it would be almost as efficient to just look at it yourself (or botself?) and click again...
On 19/05/05, Nomad nomad@nic-nac-project.de wrote:
Well then....
AFAIK articles under the System namespace are not displayed. May I "hide" my own articles under the System in any way?
By the "System" namespace, I presume you mean the "Project" one ("Wikipedia:" on Wikipedia; it generally has the name of the project). In fact, looking at includes/SpecialRandompage.php I am reminded that it only includes pages in the "main"/"article" namespace (the one with no prefix) - that's what the "cur_namespace=0" in the SQL query does. So, yes, any page that's not in that namespace will be excluded by default.
It looks like 1.5 (currently in early Alpha testing) will allow you to select a namespace - so you could have a random "Project" page, or a random "Discussion" (Talk:) one, or whatever. Note that that's nice and easy because the (numeric) namespace is stored seperately from the (textual) title - so it's still a long way from the flexibility implied in your original question.
There does seem to be a "$wgExtraRandompageSQL" option, though - possibly to facilitate the much-demanded exception on en.wikipedia for the thousands of US town stubs added by "Rambot" - so I guess you could play with that if you can think of a suitable criterion (categories would be harder, because it would require looking in the seperate 'categorylinks' table).
As a last resort, I think it may be possible to hack things by setting the "cur_random" field in the database to '0' - the query uses a ">" comparison, so a value of '0' would never be retrieved.
So, maybe I was hasty in saying (or implying) it was impossible or unfeasible; happy hacking...
On 5/18/05, =James Birkholz= j.birchwood@verizon.net wrote:
I haven't been following the thread, but I can see many situations where mediaWiki is useful for a few editors (even just one), because it is so easy to use as an editor. I even use it for situations where I'm the only viewer. (complex notes that I can access from any computer.)
Indeed. It is a combination CMS, versioning, and "glue" system in one. Plus, you don't have to learn HTML to use it. If it wasn't so resource intensive, I would use it myself for my site.
I would also love to see the developement of a layer to allow the use of the MW parser in other places (with all the extras of that site).
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.
mediawiki-l@lists.wikimedia.org