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
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
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
> From: Billy Covington <wrcovington(a)gmail.com>
>
> I am attempting to create a template in which all anyone needs to do
> to put a Google Map on a page is use a template with 3 variables
> (longitude, latitude, and description) using Evan Miller's Google Maps
> extension (http://meta.wikimedia.org/wiki/User:Emiller/
> GoogleMapsExtension).
>
> The only problem is, Mediawiki won't read the variables if they're
> inside the <googlemap></googlemap> extension tags.
You will have to modify the extension to feed the included text
through the wiki parser.
> I am definitely no expert or even novice at php...
This would seem to be beyond your scope, then. It sounds like an
interesting project, but I have no extra time to help you right now!
Perhaps someone else with an interest will want to craft a solution.
:::: We may no longer have a free press, but it is reasonably priced.
-- John Cory
:::: Jan Steinman <http://www.Bytesmiths.com>
Anyone have much experience with the Restricted Namespaces patch?
http://meta.wikimedia.org/wiki/Hidden_pages#version_1.5http://bugzilla.wikimedia.org/show_bug.cgi?id=1924
I've got it installed and configured... works great.
When a user logs in, a list of the namespaces to which s/he has access
is presented. I would like to add that list to the sidebar between the
navigation box (MediaWiki:Sidebar) and the search box
(MediaWiki:Search).
Any thoughts on the best way to approach this?
Dan
I tried to google and read the MediaWiki FAQ, but I could not find the
answer. What's the trick to remove the <h1 class="firstHeading">Main
Page</h1> and the lines from the main page, so there's no block above
the contents, similar to the top page in wikipedia? Thx, Kent
My setup is as follows:
1) Yes you do need the PEAR thing. I'm running Gentoo so it was a simple
"emerge PEAR-Net_SMTP", and everything just dropped into the right
place.
2) My $wgSMTP is as follows:
$wgSMTP = array {
"host" => 'myMailServer',
"IDHost" => 'mycompany.com',
"port" => "25",
"auth" => false
};
In my situation I have a Linux machine running within a Windows network.
The mail server is a Microsoft mail server, myMailServer - the names
have been changed to protect the innocent, so I just pointed wgSMTP at
it. I don't need to log in to send email hence "auth" is false. If you
do need to log in then you have to provide a user name and password.
3) That's it.
Regards,
Andrew Lowe
> -----Original Message-----
> From: mediawiki-l-bounces(a)Wikimedia.org
> [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Simon Renshaw
> Sent: Wednesday, 31 May 2006 6:50 AM
> To: mediawiki-l(a)Wikimedia.org
> Subject: [Mediawiki-l] Email setup
>
> Hi,
>
> I'm trying to setup Wiki 1.6.X to use email notification.
>
> In my LocalSettings file:
>
> $wgEnableEmail = true;
> $wgEnableUserEmail = true;
> $wgEmergencyContact = "wiki(a)castortech.com";
> $wgPasswordSender = "wiki(a)castortech.com";
>
> $wgSMTP is giving me problems.
>
> I checked: http://www.mediawiki.org/wiki/Help:%24wgSMTP but
> I'm not sure how to set it up.
>
> Do I need that PEAR thing?
>
> I use an external SMTP server with my backup app and I only
> had to tell it the name and port of the server.
>
> Do I only need host and port or everything? And Must I keep
> the "" where they are?
>
> $wgSMTP = array(
> 'host' => "localhost",
> 'IDHost' => "domain for MessageID",
> 'port' => 25,
> 'auth' => false,
> 'username' => "my_user_name",
> 'password' => "my_password"
> );
>
> Thanks!
> Simon
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>