Hi
I'd like to use a common skin path for two different wikis to share file
resources.
Directory structure is as follows:
/DOCUMENT_ROOT/wiki1
/DOCUMENT_ROOT/wiki2
/DOCUMENT_ROOT/Common/skins
For this, I added to each LocalSettings file:
$wgStyleDirectory ="$IP/../Common/skins"
$wgStylePath ="/Common/skins"
While testing this, I got the a error like:
"Warning: require_once(/usr/local/... /Common/includes/SkinTemplate.php)
[function.require-once
<http://foundation-register.org/stf1test/index.php/function.require-once
> ]: failed to open stream: No such file or directory in
/usr/local/.../Common/skins/MonoBook.deps.php on line 12"
This is because of SkinTemplate.php is relatively referenced in
MonoBook.deps.php as "require_once ( dirname ( dirname ( __FILE__ ) ) .
'includes/SkinTemplate.php' ", which belongs to normal directory
structure.
The strange thing now is, changing the statement in MonoBook.deps.php to
"$IP/includes/SkinTemplate.php" didn't work.
It seems, $IP isn't available at this point and the statement results in
"require_once (/includes/SkinTemplate.php)" only.
Could somebody give me a hint what I'm doing wrong, please?
Or is there a better solution to that plan?
Thanks
Daniel Steiner
So I have enabled uploading pdf files on my mediawiki 1.12 installation on
Linux machine. By default, all the uploads goes into the "images" directory
which is fine.
My question:
Is it possible to change the upload path just for pdf files? For example, I
would like that all my pdf files are uploading to:
$mediawikiroot/myuploads/pdfs
i.e. /var/lib/mediawiki/myuploads/pdfs
Thanks.
I'm on shared server with no console access and it's not possible trough
the web-based file manager.
But anyway, why is $IP not working/available in MonoBook.deps.php
Thanks for help
Daniel Steiner
----------------------------------------------------------------------
Date: Wed, 29 Sep 2010 00:04:04 -0700
From: Trevor Parscal <tparscal(a)wikimedia.org>
Subject: Re: [Mediawiki-l] Problem with custom skin path
To: mediawiki-l(a)lists.wikimedia.org
Message-ID: <4CA2E4E4.1090604(a)wikimedia.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Why not just use symlinks?
- Trevor
On 9/28/10 11:07 PM, Daniel Steiner wrote:
> Hi
>
> I'd like to use a common skin path for two different wikis to share
file
> resources.
>
> Directory structure is as follows:
>
> /DOCUMENT_ROOT/wiki1
>
> /DOCUMENT_ROOT/wiki2
>
> /DOCUMENT_ROOT/Common/skins
>
>
>
> For this, I added to each LocalSettings file:
>
> $wgStyleDirectory ="$IP/../Common/skins"
>
> $wgStylePath ="/Common/skins"
>
>
>
> While testing this, I got the a error like:
>
> "Warning: require_once(/usr/local/...
/Common/includes/SkinTemplate.php)
> [function.require-once
>
<http://foundation-register.org/stf1test/index.php/function.require-once
>> ]: failed to open stream: No such file or directory in
> /usr/local/.../Common/skins/MonoBook.deps.php on line 12"
>
>
>
> This is because of SkinTemplate.php is relatively referenced in
> MonoBook.deps.php as "require_once ( dirname ( dirname ( __FILE__ ) )
.
> 'includes/SkinTemplate.php' ", which belongs to normal directory
> structure.
>
>
>
> The strange thing now is, changing the statement in MonoBook.deps.php
to
> "$IP/includes/SkinTemplate.php" didn't work.
>
> It seems, $IP isn't available at this point and the statement results
in
> "require_once (/includes/SkinTemplate.php)" only.
>
>
>
> Could somebody give me a hint what I'm doing wrong, please?
>
> Or is there a better solution to that plan?
>
> Thanks
>
>
>
> Daniel Steiner
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hello,
There is a request to have a wiki configured so that anonymous users can
read the main page & a couple of others. The registered users should
have full access. The wiki is configured for manually adding the users
via Special:Userrights(no Ldap).
The issue is, users that were added via Special:Userrights are
restricted to the same pages as anonymous users.
Here is the configuration:
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['sysop']['edit'] = true;
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['sysop']['createaccount'] = true;
$wgGroupPermissions['*']['read'] = false;
$wgWhitelistRead = array ( "Main Page", "Special:Userlogin",
"Help:Contents");
What am I missing?
Thanks
Hallo,
Ich habe heute unser Mediawiki auf die aktuelle Version (1.16.x) upgedatet.
Leider werden jetzt in der Übersichtseite die Unterkategorien anders
dargestellt:
Früher wurde eine Kategorie so dargestellt:
Administration
Jetzt wird die Kategorie so dargestellt:
Kategorie:Administration
Kann man das ganze wieder so einstellen das "Kategorie" wie ausgeblendet
wird?
Und wenn ja wie...
Danke im Vorraus
--
Mit freundlichen Grüßen
Ortwin Herbst
Gepr. Wirtschaftsinformatiker (IHK)
System-Administration
ps.media GmbH
Agentur für effiziente Kommunikation
Hermann-Glockner-Str. 4
90763 Fürth
Telefon +49 (0) 911 970 77-51
Fax +49 (0) 911 970 77-60
Mobil 01511 46 47 261
ortwin.herbst(a)psmedia.de
www.psmedia.de
Besuchen Sie uns auch auf Facebook: www.facebook.com/ps.media.GmbH
Geschäftsführer: Harald Conrad Registergericht: Amtsgericht Fürth
Registernummer: HR 5660
Umsatzsteuer-Identifikationsnummer gem. § 27 a Umsatzsteuergesetz: DE
133531732
Wichtiger Hinweis: Diese E-Mail und etwaige Anlagen können Betriebs- oder
Geschäftsgeheimnisse, dem Anwaltsgeheimnis unterliegende oder sonstige
vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich
erhalten haben, ist Ihnen der Status dieser E-Mail bekannt. Bitte
benachrichtigen Sie uns in diesem Fall sofort durch Antwort-Mail und löschen
Sie diese E-Mail nebst etwaigen Anlagen von Ihrem System. Ebenso dürfen Sie
diese E-Mail oder ihre Anlagen nicht kopieren oder an Dritte weitergeben.
Vielen Dank!
Important Note: This e-mail and any attachment are confidential and may
contain trade secrets and may well also be legally privileged or otherwise
protected from disclosure. If you have received it in error, you are on
notice of its status. Please notify us immediately by reply e-mail and then
delete this e-mail and any attachment from your system. If you are not the
intended recipient please understand that you must not copy this e-mail or
any attachment or disclose the contents to any other person. Thank you for
your cooperation!
Hi, everyone
Does anyone know how to watch all pages with email notification on
mediawiki 1.16?
My email function work correct with sendmail on CentOS 5.5.
Thank you very much.
:-)
Welcome to mediawiki-l. This mailing list exists for discussion and questions
about the MediaWiki software[0]. Important MediaWiki-related announcements
(such as new versions) are also posted to this list.
Other resources.
If you only wish to receive announcements, you should subscribe to
mediawiki-announce[1] instead.
MediaWiki development discussion, and all Wikimedia technical questions, should
be directed to the wikitech-l[2] mailing list.
Several other MediaWiki-related lists exist:
- mediawiki-api[5] for API discussions,
- mediawiki-enterprise[6] for discussion of MediaWiki in the enterprise,
- mediawiki-cvs[7] for notification of commits to the Subversion repository,
- mediawiki-i18n[8] for discussion of MediaWiki internationalisation support,
- wikibugs-l[9] for notification of changes to the bug tracker.
List administrivia (unsubscribing, list archives).
To unsubscribe from this mailing list, visit [12]. Archives of previous postings
can be found at [3].
This list is also gatewayed to the Gmane NNTP server[4], which you can use to
read and post to the list.
Posting to the list.
Before posting to this list, please read the MediaWiki FAQ[10]. Many common
questions are answered here. You may also search the list archives to see if
your question has been asked before.
Please try to ask your question in a way that enables people to answer you.
Provide all relevant details, explain your problem clearly, etc. You may
wish to read [13], which explains how to ask questions well.
To post to the list, send mail to <mediawiki-l(a)lists.wikimedia.org>. This is a
public list, so you should not include confidential information in mails you
send.
When replying to an existing thread, use the "Reply" or "Followup" feature of
your mail client, so that clients that understand threading can sort your
message properly. When quoting other messages, please use the "inline" quoting
style[11], for clarity.
When creating a new thread, do not reply to an existing message and change the
subject. This will confuse peoples' mail readers, and will result in fewer
people reading your mail. Instead, compose a new message for your post.
Messages posted to the list have the "Reply-To" header set to the mailing list,
which means that by default, replies will go to the entire list. If you are
posting a reply which is only interesting to the original poster, and not the
list in general, you should change the reply to only go to that person. This
avoids cluttering the list with irrelevant traffic.
About this message.
This message is posted to the list once per week by <river(a)wikimedia.org>.
Please contact me if you have any questions or concerns about this mailing.
References.
[0] http://www.mediawiki.org/
[1] http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
[2] http://lists.wikimedia.org/mailman/listinfo/wikitech-l
[3] http://lists.wikimedia.org/pipermail/mediawiki-l/
[4] http://dir.gmane.org/gmane.org.wikimedia.mediawiki
[5] http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
[6] http://lists.wikimedia.org/mailman/listinfo/mediawiki-enterprise
[7] http://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[8] http://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
[9] http://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[10] http://www.mediawiki.org/wiki/FAQ
[11] http://en.wikipedia.org/wiki/Posting_style#Inline_replying
[12] http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
[13] http://www.catb.org/~esr/faqs/smart-questions.html
Hello
This is a slightly different question from the one I asked
some days ago. I want to have a mobile version of a wiki and
is seems that the chick skin of 1.16.0 is a good candidate.
So the idea was to have 2 installations:
http://localhost/wiki/ (on /var/www/wiki) with the modern skin
http://localhost/wiki-mobile/ (on /var/www/wiki-mobile) with
the chick skin
Now these wikis must connect to the same database. It is
very unlikely that somebody from a mobile device would like
to edit the wiki but if he does what happens? Suppose at the
same time the page he is editing is edited by someone else
using the non-mobile version, would it be considered as
simultaneous editing?
thanks
Uwe Brauer
Hello,
good morning!
After several unsuccessful desisitndo I'm using the extension acl halo,
because the way it works.
I then intend to use the extension SimpleSecurity.
Could someone pass me a step-by-step configuration of this extension that is
functional? Because that is the site did not help me much.
Waiting in the wings.
Att
Hugo Vasques