Morning!
I am building a web site for a family member who is in the process
of completing a PhD and MediaWiki looks like the ideal CMS to use
as they will be able to update their own web site (delegation is
always important :-)
Two questions:
1) There may be a need to have certain pages in multiple languages.
Is the best way to do this for a small site is to add a language
identifier to the page title eg:
here is the CV in [[CV.en|English]] or in [[CV.nl|Dutch]].
Is there a way to do this and still have a more readable title eg
"English CV" rathern than "CV.en"?
2) I see from the LocalSettings.php that it is possible to prevent
access to certain pages for users who are not logged in. Do I
need to list all the pages I want blocked or is it possible
to do wildcards eg internal*
TIA
James
The advice in the subject line is correct. Users should never be
deleted from the table for another reason; you leave a lot of messy
references to them lurking about which really does confuse the hell
out of the software.
MediaWiki does not support the deletion of users, and likely never will.
Rob Church
Thanks to the helpful comment of another group user, I tried placing the
following in the "main.css" file of the monobook skin folder:
#privacy { display: none; }
My skin is definitely set to monobook, and my browser is Firefox 1.5.0.4
on OS X. From viewing the page source and reading my CSS book, I've
concluded that this should indeed hide the "display" link--but it
doesn't. Anyone know what might be going wrong?
Thanks,
Ken
Hi,
For some time I've been using the following syntax successfuly on
Mediawiki 1.5.x:
[[Image:document-xyz.pdf | My document XYZ]] which used to produce the
following output as a link to the "Image:" page:
My document XYZ
Now this doesn't work anymore, at least with mediawiki 1.5.6 and 1.5.7
and for the same syntax I just see this link as if no alias had been
given after the pipe:
Image:document-xyz.pdf
Is there any reason why I should observe that ? I have noticed that the
following alternative syntax works as I want it to work but I wonder if
this is the right way to do it (I added a colon at the beginning):
[[:Image:document-xyz.pdf | My document XYZ]]
Thanks for your help,
Regards,
--
Nicolas STRANSKY
Équipe Oncologie Moléculaire
Institut Curie - UMR 144 - CNRS Tel : +33 1 42 34 63 40
26, rue d'Ulm - 75248 Paris Cedex 5 - FRANCE Fax : +33 1 42 34 63 49
Hi,
I tried to delete a file that was uploaded on my Wiki and got the
following error:
A database query syntax error has occurred. This may indicate a bug in
the software. The last attempted database query was:
(SQL query hidden)
from within function "Article::doDeleteArticle". MySQL returned error
"1364: Field 'ar_text' doesn't have a default value (localhost)".
Any idea what is causing this? That DB was originally running on MySQL 4
so maybe I forgot to do something when I imported it to version 5. But
everything else is working fine on the Wiki.
I'm running:
MediaWiki: 1.6.6
PHP: 5.0.5 (cgi-fcgi)
MySQL: 5.0.22-community-nt
Will update to 1.7 soon :)
Thanks!
Simon
Sorry, I pushed send on that last email a little too quickly ... i
should have dug a little deeper before posting here.
I now realize that getParentCategoryTree() is in fact retreiving the
data i expected. It looks like it is storing the tree in a
multidimensional array. Each parent category is stored in a key and
its value is an array of its own parent categories.
So my question is ...
Is there a built in mediawiki function that can take the results from
getParentCategoryTree() and produce a list or do i need to do this
manually?
And ... is getParentCategoryTree() the most efficient way (maybe it's
the only way?) to retrieve the category tree for an article?
thanks again
> I disabled all extensions and the FCKeditor
> worked. I reactivated the extensions step by step and found out that
> there is a conflict with the semantic mediawiki extension. How can I
> make sure that both are working properly? Is there a way that the
> FCKeditor and the semantic mediawiki can use different hooks?
I had a quick look on the sourcecode of the semantic mediawiki (current
version). The semantic mediawiki and the FCKeditor extension use one
parser hook in common which in itself is no problem.
However, there are more hook calls involved and here we are all in all
in trouble as FCKeditor extension bypasses the parser and the semantic
mediawiki uses parser hooks for modifying the output text.
Your initial problem was that you did not see any output text when using
both extensions. Here I am still lost. Although the extensions cannot
work correctly you should see at least something. Provided that this
issue could be solved, it might be possible to adapt the FCKeditor
extension in such a way that both extension can coexists - at least
until the next software update. Hence, sooner or later you will be
again in trouble.
Sorry, there is no easy solution to your problem Markus
My config:
Windows XP
HYPERLINK "http://www.mediawiki.org/"MediaWiki: 1.6.7
HYPERLINK "http://www.php.net/"PHP: 5.1.4
HYPERLINK "http://www.mysql.com/"MySQL: 5.0.21-community-nt-log
Apache 2.2.2
I get the error:
[Thu Jul 27 22:45:52 2006] [error] [client x.x.x.x] (20024)The given path
misformatted or contained invalid characters: Cannot map GET
/XYZ_Wiki/index.php/Special:Specialpages HTTP/1.1 to file, referer: ...
[Thu Jul 27 23:28:53 2006] [notice] Parent: child process exited with status
3221225477 -- Restarting.
+ a crash report from windows about Apache...
I have read the following thread: HYPERLINK
"http://mail.wikipedia.org/pipermail/mediawiki-l/2006-April/011156.html"http
://mail.wikipedia.org/pipermail/mediawiki-l/2006-April/011156.html
but can't seem to find an answer.
Any hint?
There problems started soon after I edited "MediaWiki:Sidebar" but I can't
tell for sure if there is a correlation.
jld.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 26/07/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 27/07/2006
I am trying to set read only permissions for a all except sysops on a
custom namespace I use in my wiki.
First I tried to use the extension for that
(http://meta.wikimedia.org/wiki/Talk:NamespacePermissions_Extension)
but it doesn't seem to work. I'm using mediawiki 1.5.6 -does that
extension require a newer version?
Anyway, I found this link
(http://meta.wikimedia.org/wiki/Preventing_Access#Setting_permissions_for_a_…)
that explains how to do that manually, but I don't really get it:
I managed to restrict read access, but thats not what I wanted.
Here's what I've done so far:
-----------------------------------
in includes/Title.php
if( $wgUser->isAllowed('edit') ) {
if( $this->getNamespace() == 106 ) {
if( $wgUser->isAllowed('editforbidden') ) {
return true;
}
else {
return false;
}
} else {
return true;
}
} else {
global $wgWhitelistRead;
in Localsettings.php
$wgGroupPermissions['sysop']['editforbidden'] = true;
-------------------------------------
I hope someone can give advice, thanx.
--
Cedric Weber, cedric.weber(a)gmail.com
http://m.zung.us / http://zungu.NET