Can someone help me install mwsearch in Windows.
I currently have the source from svn. I have dotLucene installed. But I have no idea how to install mwsearch.
Thanks
kent sin wrote:
Can someone help me install mwsearch in Windows.
I currently have the source from svn. I have dotLucene installed. But I have no idea how to install mwsearch.
I can guarantee you you don't want to try; even in the unlikely event it works on Windows at all it's not ready for third-party use.
-- brion vibber (brion @ pobox.com)
Hello,
How can I allow 'special characters listed under the edit box' to show up?
Right now I am still using the wiki 1.5.3. I know.. I know... I will up grade.
Thanks for now, mauro.
Hi,
I need some help:
Can I chande the name of my namespace 'template' for some thing like 'temp'?
If I can, where should I change it?
Thanks a lot,
mauro.
Hello,
I need some help:
I want to take off the [edit] link on the right part of every title or subtitle in me 'bodytext'. But I have no clue where I should go.
Any help is going to be must appreciated.
Thanks a lot, mauro.
Mauro do Carmo wrote:
I want to take off the [edit] link on the right part of every title or subtitle in me 'bodytext'. But I have no clue where I should go.
Please, have a look at http://meta.wikimedia.org/wiki/Help:User_rights
Swen
Thanks Swen,
I have my group permission for edinting = false as you can see bellow: ############################################################# Block anonimous edits $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createaccount'] = false; #############################################################
So, anonymous people can not edit, but they still see the [edit] link.
I want to take off the [edit] link on the right part of every title or subtitle of my pages. I think that those links are added to the 'bodytext' in some .php file in some place. I just don't have a clue where this place is located at.:)
Please, any help is going to be must appreciated.
Thanks again, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Swen |Wacker |Sent: Monday, October 09, 2006 3:00 PM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] [edit] link | |Mauro do Carmo wrote: |> I want to take off the [edit] link on the right part of every title or subtitle in me 'bodytext'. |But I have no clue where I should |> go. |> |> |Please, have a look at http://meta.wikimedia.org/wiki/Help:User_rights | | |Swen | |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.407 / Virus Database: 268.13.1/466 - Release Date: 10/7/2006 |
I want to take off the [edit] link on the right part of every title or subtitle of my pages. I think that those links are added to the 'bodytext' in some .php file in some place. I just don't have a clue where this place is located at.:)
Always check DefaultSettings.php for guidance... at least for me, it's almost always in there...
# grep -i editsection includes/DefaultSettings.php * $wgDefaultUserOptions ['editsection'] = 0;
So, just put '$wgDefaultUserOptions ['editsection'] = 0;' into LocalSettings.php, and you should be good to go.
Dan
Dan,
Thanks a lot. That is what I was looking for. However I get one more question. I've tried to use this expression at localSetting.php: ------------ if ($this->data['loggedin']) { $wgDefaultUserOptions ['editsection'] = 0; } else { $wgDefaultUserOptions ['editsection'] = 1; } ------------ And unfortunately it is not working. Could you give me one idea how I should do for make this expression work.
Thanks again for all your help,
Hope hear from you soon, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Dan |Davis |Sent: Monday, October 09, 2006 9:31 PM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] [edit] link | |> I want to take off the [edit] link on the right part of every title or subtitle of my pages. I |think that those links are added to the 'bodytext' in some .php file in some place. I just don't have |a clue where this place is located at.:) | |Always check DefaultSettings.php for guidance... at least for me, it's |almost always in there... | |# grep -i editsection includes/DefaultSettings.php | * $wgDefaultUserOptions ['editsection'] = 0; | |So, just put '$wgDefaultUserOptions ['editsection'] = 0;' into |LocalSettings.php, and you should be good to go. | |Dan |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.407 / Virus Database: 268.13.1/466 - Release Date: 10/7/2006 |
On 10/10/06, Mauro do Carmo mauro@carmo.info wrote:
if ($this->data['loggedin']) { $wgDefaultUserOptions ['editsection'] = 0;
I thought you wanted to prevent anonymous users from seeing the links? While I don't know whether your code snippet will work in LocalSettings or not, it would have had the opposite of what you hope to accomplish.
Also, that setting only affects anonymous users and new users. If existing users want to see the section edit links, they can go to Preferences, Editing and set the 'Enable section editing via [edit] links' option.
Dan
Dan,
Thanks... you are completely right.
I got confused by page caching, so I thought in using some code to enforce what I wanted.
Thanks again... []'s mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Dan |Davis |Sent: Tuesday, October 10, 2006 5:09 AM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] [edit] link | |On 10/10/06, Mauro do Carmo mauro@carmo.info wrote: |> if ($this->data['loggedin']) { |> $wgDefaultUserOptions ['editsection'] = 0; | |I thought you wanted to prevent anonymous users from seeing the links? |While I don't know whether your code snippet will work in |LocalSettings or not, it would have had the opposite of what you hope |to accomplish. | |Also, that setting only affects anonymous users and new users. If |existing users want to see the section edit links, they can go to |Preferences, Editing and set the 'Enable section editing via [edit] |links' option. | |Dan |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.407 / Virus Database: 268.13.1/466 - Release Date: 10/7/2006 |
Hi,
I would like to use any (preferable the best) External Editor for wikis.
My client machine is running in a Win XP, so...
Please, any suggestion is more than welcoming.
Thanks, mauro.
Hi, I would like to use any (preferable the best) External Editor for
wikis.
My client machine is running in a Win XP, so... Please, any suggestion is more than welcoming. Thanks, mauro.
Take a look at http://eclipsewiki.sourceforge.net/
-Justin
PRIVACY NOTICE
This email and any attachments may be confidential and/or privileged. Use of the information contained in this email by anyone other than the intended recipient is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and delete this email.
Thanks Justin,
I have the Eclipse SDK Version: 3.1.1 in my Win XP with a Wikipedia Editor.
So I have created a new projet named PRO. A folder called PRO opened and inside this folder 2 other folders named 'wpbin' and 'wpsrc'. Inside 'wpsrc' I have 3 files export.vm, main.css, and main.vm.
Unfortunately, I can't go further than this. What I should do in order to import my wiki page and edit it with Eclipse?
Thanks a lot, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |Justin Morgan |Sent: Tuesday, October 10, 2006 12:41 PM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] External Editor | |>Hi, |>I would like to use any (preferable the best) External Editor for |wikis. |>My client machine is running in a Win XP, so... |>Please, any suggestion is more than welcoming. |>Thanks, |>mauro. | |Take a look at http://eclipsewiki.sourceforge.net/ | |-Justin | | |PRIVACY NOTICE | |This email and any attachments may be confidential and/or privileged. Use of the information |contained in this email by anyone other than the intended recipient is strictly prohibited. If you |have received this email in error, please notify the sender by replying to this message and delete |this email. |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.407 / Virus Database: 268.13.1/466 - Release Date: 10/7/2006 |
Opz...
I forgot to mention about any WYSIWYG.
Why there isn't any offline WYSIWYG editor for wikipedia?
I think this would be a great help... We need a good WYSIWYG for the basic default markups.
Again, I am running on Win XP, so does anyone know about a WYSIWYG offline program for windows XP?
Thanks again, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Mauro |do Carmo |Sent: Tuesday, October 10, 2006 12:25 PM |To: 'MediaWiki announcements and site admin list' |Subject: [Mediawiki-l] External Editor | |Hi, | |I would like to use any (preferable the best) External Editor for wikis. | |My client machine is running in a Win XP, so... | |Please, any suggestion is more than welcoming. | |Thanks, |mauro. |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.407 / Virus Database: 268.13.1/466 - Release Date: 10/7/2006 |
On 10/10/06, Mauro do Carmo mauro@carmo.info wrote:
I would like to use any (preferable the best) External Editor for wikis.
My client machine is running in a Win XP, so...
Please, any suggestion is more than welcoming.
Well... if you use Firefox, you can take a look at MozEx (http://mozex.mozdev.org/). Among all the things this extension can do, it will allow you to edit the contents of a textbox in an editor of your choice.
Dan
Swen Wacker schrieb:
Mauro do Carmo wrote:
I want to take off the [edit] link on the right part of every title or subtitle in me 'bodytext'. But I have no clue where I should go.
Please, have a look at http://meta.wikimedia.org/wiki/Help:User_rights
Swen
have a look on:
[Wikitech-l] disabling editsection does not work (MW 1.71)
http://mail.wikipedia.org/pipermail/wikitech-l/2006-October/039213.html
There was a bug:
http://bugzilla.wikimedia.org/show_bug.cgi?id=7526
HeinzJ
Hi,
Which would be the newer version of mediawiki that would run in the php 4.3.11 (apache)?
And where I would be able to download it?
Thanks a lot. mauro.
I get my unswer, thanks guys...
[]'s mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Mauro |do Carmo |Sent: Friday, October 13, 2006 5:25 PM |To: 'MediaWiki announcements and site admin list' |Subject: [Mediawiki-l] upgrade | |Hi, | |Which would be the newer version of mediawiki that would run in the php 4.3.11 (apache)? | |And where I would be able to download it? | |Thanks a lot. |mauro. | |-- |No virus found in this outgoing message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.1/470 - Release Date: 10/10/2006 | |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.1/470 - Release Date: 10/10/2006 |
Hi everyone,
Let me put in another way:
Every body knows the namespace 'template', right?
My question is: can I change this name 'template' to something else? Like 'example'...
Thanks a lot, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Mauro |do Carmo |Sent: Saturday, October 07, 2006 10:29 PM |To: 'MediaWiki announcements and site admin list' |Subject: [Mediawiki-l] template | |Hi, | |I need some help: | |Can I chande the name of my namespace 'template' for some thing like 'temp'? | |If I can, where should I change it? | |Thanks a lot, | |mauro. | |-- |No virus found in this outgoing message. |Checked by AVG Free Edition. |Version: 7.1.407 / Virus Database: 268.13.0/465 - Release Date: 10/6/2006 | |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.407 / Virus Database: 268.13.0/465 - Release Date: 10/6/2006 |
There is a Namespace Editor I believe.
On 10/17/06, Mauro do Carmo mauro@carmo.info wrote:
Hi everyone,
Let me put in another way:
Every body knows the namespace 'template', right?
My question is: can I change this name 'template' to something else? Like 'example'...
Thanks a lot, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Mauro |do Carmo |Sent: Saturday, October 07, 2006 10:29 PM |To: 'MediaWiki announcements and site admin list' |Subject: [Mediawiki-l] template | |Hi, | |I need some help: | |Can I chande the name of my namespace 'template' for some thing like 'temp'? | |If I can, where should I change it? | |Thanks a lot, | |mauro. | |-- |No virus found in this outgoing message. |Checked by AVG Free Edition. |Version: 7.1.407 / Virus Database: 268.13.0/465 - Release Date: 10/6/2006 | |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.407 / Virus Database: 268.13.0/465 - Release Date: 10/6/2006 |
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/2006
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Gary Kirk wrote:
There is a Namespace Editor I believe.
Not yet.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Mauro do Carmo wrote:
Hi everyone,
Let me put in another way:
Every body knows the namespace 'template', right?
My question is: can I change this name 'template' to something else? Like 'example'...
Thanks a lot, mauro.
If you use version 1.8.x or trunk, edit the value of NS_TEMPLATE in the array $namespaceNames in languages/messages/MessagesEn.php - change 'Template' to 'Example', 'Temp', etc..
If you have version 1.7.x or below, edit the value of NS_TEMPLATE in the array $wgNamespaceNamesEn in languages/Language.php ? change 'Template' to 'Example', 'Temp', etc.
Note: edit *only* the value ? leave NS_TEMPLATE itself as it is, and don't touch anything else in the file.
Thanks,
My wiki is version 1.6.8. And my problem is this:
I use a Portuguese version of wikimeadia. In this version whenever I type the namespace 'template', it changes to 'Predefinição'. And that is what I want to change this word 'Predefinição'.
I've checked in language/Language.php, and in this file I've not found the word 'predefinição', so I think there is another setup to change it.
I will really appreciate if you or someone give a clue...
Thanks again, mauro.
But might be another way.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Rotem |Liss |Sent: Wednesday, October 18, 2006 6:23 AM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] template | |-----BEGIN PGP SIGNED MESSAGE----- |Hash: SHA1 | |Mauro do Carmo wrote: |> Hi everyone, |> |> Let me put in another way: |> |> Every body knows the namespace 'template', right? |> |> My question is: can I change this name 'template' to something else? Like 'example'... |> |> Thanks a lot, |> mauro. |> | |If you use version 1.8.x or trunk, edit the value of NS_TEMPLATE in the array |$namespaceNames in languages/messages/MessagesEn.php - change 'Template' to |'Example', 'Temp', etc.. | |If you have version 1.7.x or below, edit the value of NS_TEMPLATE in the array |$wgNamespaceNamesEn in languages/Language.php ? change 'Template' to 'Example', |'Temp', etc. | |Note: edit *only* the value ? leave NS_TEMPLATE itself as it is, and don't touch |anything else in the file. | |-----BEGIN PGP SIGNATURE----- |Version: GnuPG v1.4.2.2 (GNU/Linux) |Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org | |iD8DBQFFNiq6qahN/0dU8mcRAjZfAKCnGAJPizLCDrRRsRWyw/tJEBbYCwCgxWIc |MIicr7AVbFV1JhKlp0fIC/U= |=vVXL |-----END PGP SIGNATURE----- |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Mauro do Carmo wrote:
Thanks,
My wiki is version 1.6.8. And my problem is this:
I use a Portuguese version of wikimeadia. In this version whenever I type the namespace 'template', it changes to 'Predefinição'. And that is what I want to change this word 'Predefinição'.
I've checked in language/Language.php, and in this file I've not found the word 'predefinição', so I think there is another setup to change it.
I will really appreciate if you or someone give a clue...
Thanks again, mauro.
Change in languages/LanguagePt.php, then. The array name is $wgNamespaceNamesPt.
Great... that worked beautiful
Thanks a lot, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Rotem |Liss |Sent: Wednesday, October 18, 2006 10:43 AM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] template | |-----BEGIN PGP SIGNED MESSAGE----- |Hash: SHA1 | |Mauro do Carmo wrote: |> Thanks, |> |> My wiki is version 1.6.8. And my problem is this: |> |> I use a Portuguese version of wikimeadia. In this version whenever I type the namespace 'template', |it changes to 'Predefinição'. |> And that is what I want to change this word 'Predefinição'. |> |> I've checked in language/Language.php, and in this file I've not found the word 'predefinição', so |I think there is another setup to |> change it. |> |> I will really appreciate if you or someone give a clue... |> |> Thanks again, |> mauro. |> | |Change in languages/LanguagePt.php, then. The array name is $wgNamespaceNamesPt. | |-----BEGIN PGP SIGNATURE----- |Version: GnuPG v1.4.2.2 (GNU/Linux) |Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org | |iD8DBQFFNmeSqahN/0dU8mcRAvJQAKCFMkkub9WikBcEJQRkQOYqgbYNxACggzOC |OKMRrZRE2ti3QVPFScMa0rE= |=aqQs |-----END PGP SIGNATURE----- |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |
Hi folks,
I've installed in my windows XP Wikipedia Tool Bar 0.8.0 and FireFox version 1.5.0.7.
Every thing seems work. I've seen the changes in the firefox like the option on the drop menu by right clicking, etc.
However, when I try to edit some page, the action just doesn't go through.
Anyone has had this kind of odd symptoms? So, any clue in orde to solve that?
Thank a lot, mauro.
-------------- |-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Rotem |Liss |Sent: Wednesday, October 18, 2006 10:43 AM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] template | |-----BEGIN PGP SIGNED MESSAGE----- |Hash: SHA1 | |Mauro do Carmo wrote: |> Thanks, |> |> My wiki is version 1.6.8. And my problem is this: |> |> I use a Portuguese version of wikimeadia. In this version whenever I type the namespace 'template', |it changes to 'Predefinição'. |> And that is what I want to change this word 'Predefinição'. |> |> I've checked in language/Language.php, and in this file I've not found the word 'predefinição', so |I think there is another setup to |> change it. |> |> I will really appreciate if you or someone give a clue... |> |> Thanks again, |> mauro. |> | |Change in languages/LanguagePt.php, then. The array name is $wgNamespaceNamesPt. | |-----BEGIN PGP SIGNATURE----- |Version: GnuPG v1.4.2.2 (GNU/Linux) |Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org | |iD8DBQFFNmeSqahN/0dU8mcRAvJQAKCFMkkub9WikBcEJQRkQOYqgbYNxACggzOC |OKMRrZRE2ti3QVPFScMa0rE= |=aqQs |-----END PGP SIGNATURE----- |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |
Hello,
I would like to create a copy of my wiki in a diferent address. Today this is my situation:
Http://www.mydomain.com (problem 1) DB_mydomain ___________(problem 2) Files of mydomain in my host (easy to download and upload in my new folder)
_______Problem 1 It is going to be a different domain, so how can I adjust this change in my wiki? It is automatic?
_______Problem 2 All the time I try to upload my DB_mydomain, I get a massage telling me that there is already a Databank with this name. I just don't know what to do...
Thanks a lot, mauro.
Let me tray in another way:
I have a site located at www.domain.com.
I want a real copy of all content of my site accessible in a different address like www.test.domain.com.
That is very important to me, so if someone could give some hints, I will really appreciate that, thanks again, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Mauro |do Carmo |Sent: Wednesday, October 18, 2006 3:27 PM |To: 'MediaWiki announcements and site admin list' |Subject: [Mediawiki-l] Site mirror or copy | |Hello, | |I would like to create a copy of my wiki in a diferent address. Today this is my situation: | |Http://www.mydomain.com (problem 1) |DB_mydomain ___________(problem 2) |Files of mydomain in my host (easy to download and upload in my new folder) | |_______Problem 1 |It is going to be a different domain, so how can I adjust this change in my wiki? It is automatic? | |_______Problem 2 |All the time I try to upload my DB_mydomain, I get a massage telling me that there is already a |Databank with this name. I just |don't know what to do... | |Thanks a lot, |mauro. | |-- |No virus found in this outgoing message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 | |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |
Hello Mauro do Carmo,
I am doing the same thing on my wiki, and here is how I have it set up.
In Apache I have both of the websites configured to use the same document root. Because I have different settings on the different wikis, I have
========== $wiki1 = strpos($_SERVER['HTTP_HOST'],"wiki1.domain.com"); if ($wiki1 === false) { // Wiki 1 stuff here } else { // Wiki 2 stuff here } ==========
in my LocalSettings.php file.
I hope that this helps, Kasimir Gabert
On 10/19/06, Mauro do Carmo mauro@carmo.info wrote:
Let me tray in another way:
I have a site located at www.domain.com.
I want a real copy of all content of my site accessible in a different address like www.test.domain.com.
That is very important to me, so if someone could give some hints, I will really appreciate that, thanks again, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Mauro |do Carmo |Sent: Wednesday, October 18, 2006 3:27 PM |To: 'MediaWiki announcements and site admin list' |Subject: [Mediawiki-l] Site mirror or copy | |Hello, | |I would like to create a copy of my wiki in a diferent address. Today this is my situation: | |Http://www.mydomain.com (problem 1) |DB_mydomain ___________(problem 2) |Files of mydomain in my host (easy to download and upload in my new folder) | |_______Problem 1 |It is going to be a different domain, so how can I adjust this change in my wiki? It is automatic? | |_______Problem 2 |All the time I try to upload my DB_mydomain, I get a massage telling me that there is already a |Databank with this name. I just |don't know what to do... | |Thanks a lot, |mauro. | |-- |No virus found in this outgoing message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 | |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Thanks Kasimir,
That is great, but I looking for something simpler.
Basically, I want two different wikis. One completely copy. Since my host is a linux account I have no problem in creating two folders like:
domain.com; and, test.domain.com;
There are three I have to do:
1) copy all folder wiki from domain.com to test.domain.com; 2) copy the db_domain and creat a second db_test_domain; 3) make sure the new address www.test.domain.com is going to work with the new copied information from www.domain.com;
The first step is easy, but for the other two I need some help.
Thanks again, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |Kasimir Gabert |Sent: Thursday, October 19, 2006 4:05 PM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] Site mirror or copy | |Hello Mauro do Carmo, | |I am doing the same thing on my wiki, and here is how I have it set up. | |In Apache I have both of the websites configured to use the same |document root. Because I have different settings on the different |wikis, I have | |========== |$wiki1 = strpos($_SERVER['HTTP_HOST'],"wiki1.domain.com"); |if ($wiki1 === false) |{ |// Wiki 1 stuff here |} |else |{ |// Wiki 2 stuff here |} |========== | |in my LocalSettings.php file. | |I hope that this helps, |Kasimir Gabert | |On 10/19/06, Mauro do Carmo mauro@carmo.info wrote: |> Let me tray in another way: |> |> I have a site located at www.domain.com. |> |> I want a real copy of all content of my site accessible in a different address like |www.test.domain.com. |> |> That is very important to me, |> so if someone could give some hints, |> I will really appreciate that, |> thanks again, |> mauro. |> |> |> |> |-----Original Message----- |> |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |Mauro |> |do Carmo |> |Sent: Wednesday, October 18, 2006 3:27 PM |> |To: 'MediaWiki announcements and site admin list' |> |Subject: [Mediawiki-l] Site mirror or copy |> | |> |Hello, |> | |> |I would like to create a copy of my wiki in a diferent address. Today this is my situation: |> | |> |Http://www.mydomain.com (problem 1) |> |DB_mydomain ___________(problem 2) |> |Files of mydomain in my host (easy to download and upload in my new folder) |> | |> |_______Problem 1 |> |It is going to be a different domain, so how can I adjust this change in my wiki? It is automatic? |> | |> |_______Problem 2 |> |All the time I try to upload my DB_mydomain, I get a massage telling me that there is already a |> |Databank with this name. I just |> |don't know what to do... |> | |> |Thanks a lot, |> |mauro. |> | |> |-- |> |No virus found in this outgoing message. |> |Checked by AVG Free Edition. |> |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |> | |> |_______________________________________________ |> |MediaWiki-l mailing list |> |MediaWiki-l@Wikimedia.org |> |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l |> | |> |-- |> |No virus found in this incoming message. |> |Checked by AVG Free Edition. |> |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |> | |> |> -- |> No virus found in this outgoing message. |> Checked by AVG Free Edition. |> Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |> |> _______________________________________________ |> MediaWiki-l mailing list |> MediaWiki-l@Wikimedia.org |> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l |> | | |-- |Kasimir Gabert |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |
Hello Mauro do Carmo,
Do you want this wiki to have the same information, and have it work so that if one user edits something on wiki A then the edit will appear on wiki B? If you do, then all that you need to do is create a symlink (using ln -s) to the wiki A folder.
If you want to create a copy of the wiki and use the same database (same edits, maybe different skins or settings), then you should keep the same database, and just copy the files from one folder to another.
If you want to create two completely independent wikis but have one based on the other (a copy right now, changes will be made to each and they will soon become different), then you need to download the entire database to a file (use the command mysqldump) and upload all of the tables into a new database (if you have only one database available then just change all of the table names). You will then need to go into LocalSettings.php for your new wiki and change all of the database information so it is correct for either your new database or different table names.
I hope that this helps, Kasimir Gabert
On 10/20/06, Mauro do Carmo mauro@carmo.info wrote:
Thanks Kasimir,
That is great, but I looking for something simpler.
Basically, I want two different wikis. One completely copy. Since my host is a linux account I have no problem in creating two folders like:
domain.com; and, test.domain.com;
There are three I have to do:
- copy all folder wiki from domain.com to test.domain.com;
- copy the db_domain and creat a second db_test_domain;
- make sure the new address www.test.domain.com is going to work with the new copied information from www.domain.com;
The first step is easy, but for the other two I need some help.
Thanks again, mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |Kasimir Gabert |Sent: Thursday, October 19, 2006 4:05 PM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] Site mirror or copy | |Hello Mauro do Carmo, | |I am doing the same thing on my wiki, and here is how I have it set up. | |In Apache I have both of the websites configured to use the same |document root. Because I have different settings on the different |wikis, I have | |========== |$wiki1 = strpos($_SERVER['HTTP_HOST'],"wiki1.domain.com"); |if ($wiki1 === false) |{ |// Wiki 1 stuff here |} |else |{ |// Wiki 2 stuff here |} |========== | |in my LocalSettings.php file. | |I hope that this helps, |Kasimir Gabert | |On 10/19/06, Mauro do Carmo mauro@carmo.info wrote: |> Let me tray in another way: |> |> I have a site located at www.domain.com. |> |> I want a real copy of all content of my site accessible in a different address like |www.test.domain.com. |> |> That is very important to me, |> so if someone could give some hints, |> I will really appreciate that, |> thanks again, |> mauro. |> |> |> |> |-----Original Message----- |> |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |Mauro |> |do Carmo |> |Sent: Wednesday, October 18, 2006 3:27 PM |> |To: 'MediaWiki announcements and site admin list' |> |Subject: [Mediawiki-l] Site mirror or copy |> | |> |Hello, |> | |> |I would like to create a copy of my wiki in a diferent address. Today this is my situation: |> | |> |Http://www.mydomain.com (problem 1) |> |DB_mydomain ___________(problem 2) |> |Files of mydomain in my host (easy to download and upload in my new folder) |> | |> |_______Problem 1 |> |It is going to be a different domain, so how can I adjust this change in my wiki? It is automatic? |> | |> |_______Problem 2 |> |All the time I try to upload my DB_mydomain, I get a massage telling me that there is already a |> |Databank with this name. I just |> |don't know what to do... |> | |> |Thanks a lot, |> |mauro. |> | |> |-- |> |No virus found in this outgoing message. |> |Checked by AVG Free Edition. |> |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |> | |> |_______________________________________________ |> |MediaWiki-l mailing list |> |MediaWiki-l@Wikimedia.org |> |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l |> | |> |-- |> |No virus found in this incoming message. |> |Checked by AVG Free Edition. |> |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |> | |> |> -- |> No virus found in this outgoing message. |> Checked by AVG Free Edition. |> Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |> |> _______________________________________________ |> MediaWiki-l mailing list |> MediaWiki-l@Wikimedia.org |> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l |> | | |-- |Kasimir Gabert |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Thank you so much Kasimir,
I've learned a lot from your words... My case is the last one. I get it. And I've tried it, but I have this problems:
1) I've dumped my db_domain, but when I tried to up load it in order to creat my second db_tes_domain, I've got the following massage from phpMyAdmin: 'bd_domain already exist';
Any clue?
Thanks a lot, mauro.
___________________________________________________________________________ My wiki is based in the following configuration: Host: MediaWiki: 1.6.8 PHP: 4.3.11 (apache) MySQL: 4.1.20-max-log phpMyAdmin - 2.8.0.1
Client: Win XP
___________________________________________ |-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |Kasimir Gabert |Sent: Friday, October 20, 2006 1:28 PM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] Site mirror or copy | |Hello Mauro do Carmo, | |Do you want this wiki to have the same information, and have it work |so that if one user edits something on wiki A then the edit will |appear on wiki B? If you do, then all that you need to do is create a |symlink (using ln -s) to the wiki A folder. | |If you want to create a copy of the wiki and use the same database |(same edits, maybe different skins or settings), then you should keep |the same database, and just copy the files from one folder to another. | |If you want to create two completely independent wikis but have one |based on the other (a copy right now, changes will be made to each and |they will soon become different), then you need to download the entire |database to a file (use the command mysqldump) and upload all of the |tables into a new database (if you have only one database available |then just change all of the table names). You will then need to go |into LocalSettings.php for your new wiki and change all of the |database information so it is correct for either your new database or |different table names. | |I hope that this helps, |Kasimir Gabert | |On 10/20/06, Mauro do Carmo mauro@carmo.info wrote: |> Thanks Kasimir, |> |> That is great, but I looking for something simpler. |> |> Basically, I want two different wikis. One completely copy. Since my host is a linux account I have |no problem in creating two |> folders like: |> |> domain.com; |> and, test.domain.com; |> |> There are three I have to do: |> |> 1) copy all folder wiki from domain.com to test.domain.com; |> 2) copy the db_domain and creat a second db_test_domain; |> 3) make sure the new address www.test.domain.com is going to work with the new copied information |from www.domain.com; |> |> The first step is easy, but for the other two I need some help. |> |> Thanks again, |> mauro. |> |> |> |> |-----Original Message----- |> |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |> |Kasimir Gabert |> |Sent: Thursday, October 19, 2006 4:05 PM |> |To: MediaWiki announcements and site admin list |> |Subject: Re: [Mediawiki-l] Site mirror or copy |> | |> |Hello Mauro do Carmo, |> | |> |I am doing the same thing on my wiki, and here is how I have it set up. |> | |> |In Apache I have both of the websites configured to use the same |> |document root. Because I have different settings on the different |> |wikis, I have |> | |> |========== |> |$wiki1 = strpos($_SERVER['HTTP_HOST'],"wiki1.domain.com"); |> |if ($wiki1 === false) |> |{ |> |// Wiki 1 stuff here |> |} |> |else |> |{ |> |// Wiki 2 stuff here |> |} |> |========== |> | |> |in my LocalSettings.php file. |> | |> |I hope that this helps, |> |Kasimir Gabert |> | |> |On 10/19/06, Mauro do Carmo mauro@carmo.info wrote: |> |> Let me tray in another way: |> |> |> |> I have a site located at www.domain.com. |> |> |> |> I want a real copy of all content of my site accessible in a different address like |> |www.test.domain.com. |> |> |> |> That is very important to me, |> |> so if someone could give some hints, |> |> I will really appreciate that, |> |> thanks again, |> |> mauro. |> |> |> |> |> |> |> |> |-----Original Message----- |> |> |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |> |Mauro |> |> |do Carmo |> |> |Sent: Wednesday, October 18, 2006 3:27 PM |> |> |To: 'MediaWiki announcements and site admin list' |> |> |Subject: [Mediawiki-l] Site mirror or copy |> |> | |> |> |Hello, |> |> | |> |> |I would like to create a copy of my wiki in a diferent address. Today this is my situation: |> |> | |> |> |Http://www.mydomain.com (problem 1) |> |> |DB_mydomain ___________(problem 2) |> |> |Files of mydomain in my host (easy to download and upload in my new folder) |> |> | |> |> |_______Problem 1 |> |> |It is going to be a different domain, so how can I adjust this change in my wiki? It is |automatic? |> |> | |> |> |_______Problem 2 |> |> |All the time I try to upload my DB_mydomain, I get a massage telling me that there is already a |> |> |Databank with this name. I just |> |> |don't know what to do... |> |> | |> |> |Thanks a lot, |> |> |mauro.
Hello Mauro do Carmo,
Try to edit the actualy SQL file and change any reference from db_domain to db_tes_domain. This should fix your problems.
I hope that this helps,
Kasimir Gabert
On 10/20/06, Mauro do Carmo mauro@carmo.info wrote:
Thank you so much Kasimir,
I've learned a lot from your words... My case is the last one. I get it. And I've tried it, but I have this problems:
- I've dumped my db_domain, but when I tried to up load it in order to creat my second db_tes_domain, I've got the following
massage from phpMyAdmin: 'bd_domain already exist';
Any clue?
Thanks a lot, mauro.
My wiki is based in the following configuration: Host: MediaWiki: 1.6.8 PHP: 4.3.11 (apache) MySQL: 4.1.20-max-log phpMyAdmin - 2.8.0.1
Client: Win XP
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |Kasimir Gabert |Sent: Friday, October 20, 2006 1:28 PM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] Site mirror or copy | |Hello Mauro do Carmo, | |Do you want this wiki to have the same information, and have it work |so that if one user edits something on wiki A then the edit will |appear on wiki B? If you do, then all that you need to do is create a |symlink (using ln -s) to the wiki A folder. | |If you want to create a copy of the wiki and use the same database |(same edits, maybe different skins or settings), then you should keep |the same database, and just copy the files from one folder to another. | |If you want to create two completely independent wikis but have one |based on the other (a copy right now, changes will be made to each and |they will soon become different), then you need to download the entire |database to a file (use the command mysqldump) and upload all of the |tables into a new database (if you have only one database available |then just change all of the table names). You will then need to go |into LocalSettings.php for your new wiki and change all of the |database information so it is correct for either your new database or |different table names. | |I hope that this helps, |Kasimir Gabert | |On 10/20/06, Mauro do Carmo mauro@carmo.info wrote: |> Thanks Kasimir, |> |> That is great, but I looking for something simpler. |> |> Basically, I want two different wikis. One completely copy. Since my host is a linux account I have |no problem in creating two |> folders like: |> |> domain.com; |> and, test.domain.com; |> |> There are three I have to do: |> |> 1) copy all folder wiki from domain.com to test.domain.com; |> 2) copy the db_domain and creat a second db_test_domain; |> 3) make sure the new address www.test.domain.com is going to work with the new copied information |from www.domain.com; |> |> The first step is easy, but for the other two I need some help. |> |> Thanks again, |> mauro. |> |> |> |> |-----Original Message----- |> |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |> |Kasimir Gabert |> |Sent: Thursday, October 19, 2006 4:05 PM |> |To: MediaWiki announcements and site admin list |> |Subject: Re: [Mediawiki-l] Site mirror or copy |> | |> |Hello Mauro do Carmo, |> | |> |I am doing the same thing on my wiki, and here is how I have it set up. |> | |> |In Apache I have both of the websites configured to use the same |> |document root. Because I have different settings on the different |> |wikis, I have |> | |> |========== |> |$wiki1 = strpos($_SERVER['HTTP_HOST'],"wiki1.domain.com"); |> |if ($wiki1 === false) |> |{ |> |// Wiki 1 stuff here |> |} |> |else |> |{ |> |// Wiki 2 stuff here |> |} |> |========== |> | |> |in my LocalSettings.php file. |> | |> |I hope that this helps, |> |Kasimir Gabert |> | |> |On 10/19/06, Mauro do Carmo mauro@carmo.info wrote: |> |> Let me tray in another way: |> |> |> |> I have a site located at www.domain.com. |> |> |> |> I want a real copy of all content of my site accessible in a different address like |> |www.test.domain.com. |> |> |> |> That is very important to me, |> |> so if someone could give some hints, |> |> I will really appreciate that, |> |> thanks again, |> |> mauro. |> |> |> |> |> |> |> |> |-----Original Message----- |> |> |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |> |Mauro |> |> |do Carmo |> |> |Sent: Wednesday, October 18, 2006 3:27 PM |> |> |To: 'MediaWiki announcements and site admin list' |> |> |Subject: [Mediawiki-l] Site mirror or copy |> |> | |> |> |Hello, |> |> | |> |> |I would like to create a copy of my wiki in a diferent address. Today this is my situation: |> |> | |> |> |Http://www.mydomain.com (problem 1) |> |> |DB_mydomain ___________(problem 2) |> |> |Files of mydomain in my host (easy to download and upload in my new folder) |> |> | |> |> |_______Problem 1 |> |> |It is going to be a different domain, so how can I adjust this change in my wiki? It is |automatic? |> |> | |> |> |_______Problem 2 |> |> |All the time I try to upload my DB_mydomain, I get a massage telling me that there is already a |> |> |Databank with this name. I just |> |> |don't know what to do... |> |> | |> |> |Thanks a lot, |> |> |mauro. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Thanks Kasimir Gabert,
Anyone could assure me that this would work? Or perhaps, there is another way I could set my phpMyAdmin to generate a db_domain with another name when I dump it.
Thanks mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |Kasimir Gabert |Sent: Friday, October 20, 2006 2:24 PM |To: MediaWiki announcements and site admin list |Subject: Re: [Mediawiki-l] Site mirror or copy | |Hello Mauro do Carmo, | |Try to edit the actualy SQL file and change any reference from |db_domain to db_tes_domain. This should fix your problems. | |I hope that this helps, | |Kasimir Gabert | |On 10/20/06, Mauro do Carmo mauro@carmo.info wrote: |> Thank you so much Kasimir, |> |> I've learned a lot from your words... My case is the last one. I get it. And I've tried it, but I |have this problems: |> |> 1) I've dumped my db_domain, but when I tried to up load it in order to creat my second |db_tes_domain, I've got the following |> massage from phpMyAdmin: 'bd_domain already exist'; |> |> Any clue? |> |> Thanks a lot, |> mauro. |> |> ___________________________________________________________________________ |> My wiki is based in the following configuration: |> Host: |> MediaWiki: 1.6.8 |> PHP: 4.3.11 (apache) |> MySQL: 4.1.20-max-log |> phpMyAdmin - 2.8.0.1 |> |> Client: |> Win XP |> |> |> |> ___________________________________________ |> |-----Original Message----- |> |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |> |Kasimir Gabert |> |Sent: Friday, October 20, 2006 1:28 PM |> |To: MediaWiki announcements and site admin list |> |Subject: Re: [Mediawiki-l] Site mirror or copy |> | |> |Hello Mauro do Carmo, |> | |> |Do you want this wiki to have the same information, and have it work |> |so that if one user edits something on wiki A then the edit will |> |appear on wiki B? If you do, then all that you need to do is create a |> |symlink (using ln -s) to the wiki A folder. |> | |> |If you want to create a copy of the wiki and use the same database |> |(same edits, maybe different skins or settings), then you should keep |> |the same database, and just copy the files from one folder to another. |> | |> |If you want to create two completely independent wikis but have one |> |based on the other (a copy right now, changes will be made to each and |> |they will soon become different), then you need to download the entire |> |database to a file (use the command mysqldump) and upload all of the |> |tables into a new database (if you have only one database available |> |then just change all of the table names). You will then need to go |> |into LocalSettings.php for your new wiki and change all of the |> |database information so it is correct for either your new database or |> |different table names. |> | |> |I hope that this helps, |> |Kasimir Gabert |> | |> |On 10/20/06, Mauro do Carmo mauro@carmo.info wrote: |> |> Thanks Kasimir, |> |> |> |> That is great, but I looking for something simpler. |> |> |> |> Basically, I want two different wikis. One completely copy. Since my host is a linux account I |have |> |no problem in creating two |> |> folders like: |> |> |> |> domain.com; |> |> and, test.domain.com; |> |> |> |> There are three I have to do: |> |> |> |> 1) copy all folder wiki from domain.com to test.domain.com; |> |> 2) copy the db_domain and creat a second db_test_domain; |> |> 3) make sure the new address www.test.domain.com is going to work with the new copied |information |> |from www.domain.com; |> |> |> |> The first step is easy, but for the other two I need some help. |> |> |> |> Thanks again, |> |> mauro. |> |> |> |> |> |> |> |> |-----Original Message----- |> |> |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of |> |> |Kasimir Gabert |> |> |Sent: Thursday, October 19, 2006 4:05 PM |> |> |To: MediaWiki announcements and site admin list |> |> |Subject: Re: [Mediawiki-l] Site mirror or copy |> |> | |> |> |Hello Mauro do Carmo, |> |> | |> |> |I am doing the same thing on my wiki, and here is how I have it set up. |> |> | |> |> |In Apache I have both of the websites configured to use the same |> |> |document root. Because I have different settings on the different |> |> |wikis, I have |> |> | |> |> |========== |> |> |$wiki1 = strpos($_SERVER['HTTP_HOST'],"wiki1.domain.com"); |> |> |if ($wiki1 === false) |> |> |{ |> |> |// Wiki 1 stuff here |> |> |} |> |> |else |> |> |{ |> |> |// Wiki 2 stuff here |> |> |} |> |> |========== |> |> | |> |> |in my LocalSettings.php file. |> |> | |> |> |I hope that this helps, |> |> |Kasimir Gabert |> |> | |> |> |On 10/19/06, Mauro do Carmo mauro@carmo.info wrote: |> |> |> Let me tray in another way: |> |> |> |> |> |> I have a site located at www.domain.com. |> |> |> |> |> |> I want a real copy of all content of my site accessible in a different address like |> |> |www.test.domain.com. |> |> |> |> |> |> That is very important to me, |> |> |> so if someone could give some hints, |> |> |> I will really appreciate that, |> |> |> thanks again, |> |> |> mauro. |> |> |> |> |> |> |> |> |> |> |> |> |-----Original Message----- |> |> |> |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf |Of |> |> |Mauro |> |> |> |do Carmo |> |> |> |Sent: Wednesday, October 18, 2006 3:27 PM |> |> |> |To: 'MediaWiki announcements and site admin list' |> |> |> |Subject: [Mediawiki-l] Site mirror or copy |> |> |> | |> |> |> |Hello, |> |> |> | |> |> |> |I would like to create a copy of my wiki in a diferent address. Today this is my situation: |> |> |> | |> |> |> |Http://www.mydomain.com (problem 1) |> |> |> |DB_mydomain ___________(problem 2) |> |> |> |Files of mydomain in my host (easy to download and upload in my new folder) |> |> |> | |> |> |> |_______Problem 1 |> |> |> |It is going to be a different domain, so how can I adjust this change in my wiki? It is |> |automatic? |> |> |> | |> |> |> |_______Problem 2 |> |> |> |All the time I try to upload my DB_mydomain, I get a massage telling me that there is |already a |> |> |> |Databank with this name. I just |> |> |> |don't know what to do... |> |> |> | |> |> |> |Thanks a lot, |> |> |> |mauro. |> _______________________________________________ |> MediaWiki-l mailing list |> MediaWiki-l@Wikimedia.org |> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l |> | | |-- |Kasimir Gabert |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006 |
Hi, I am writing an extension to add WAV files to Wiki pages. I am allowing people to upload WAV files to the media library by adding this to LocalSettings.php
$wgFileExtensions = array('gif','png','jpg','jpeg','swf','wav');
My extension is very simple, I want to embed a WAV file and add a caption under it. This is what I have:
<?php
$wgExtensionFunctions[] = "wfwavExtension";
function wfwavExtension() { global $wgParser; $wgParser->setHook( "wav", "WavInput" ); }
# The callback function for converting the input text to HTML output function WavInput( $input, $argv, &$parser ) { $output = '<table bgcolor="#efefef" cellpadding="5" border="1" bordercolor="#CCCCCC"><tr><td><EMBED SRC="'. $argv["file"]. '" CONTROLS="console" WIDTH=200 HEIGHT=260 AUTOSTART=false></EMBED><br />'. $input . '</td></tr></table>'; return $output; } ?>
To call the extension I plan to use: <wav file="file.wav">Caption</wav> but I am stuck trying to access the wav file in the library. I was wondering if someone can point me in the right direction or help me out.
Thanks, Kim http://www.mediaforchange.org
On 10/18/06, Grinfeder, Kim grinfeder@miami.edu wrote:
To call the extension I plan to use: <wav file="file.wav">Caption</wav>
but I am stuck trying to
access the wav file in the library. I was wondering if someone can point
me in the right
direction or help me out.
Not 100%, but try this:
function WavInput( $input, $argv, &$parser ) { $wav = Image::newFromName($argv["file"]); if ($wav->exists()) { $url = $wav->getURL(); $output = '<table bgcolor="#efefef" cellpadding="5" border="1" bordercolor="#CCCCCC"><tr><td><EMBED SRC="'. $url. '" CONTROLS="console" WIDTH=200 HEIGHT=260 AUTOSTART=false></EMBED><br />'. $input . '</td></tr></table>'; } else { // perhaps check and see if argv[file] is an http/https/ftp link and embed that source. $output = 'Useful error messaage'; } return $output; }
Dan
Mauro do Carmo schrieb:
Hello,
How can I allow 'special characters listed under the edit box' to show up?
look here: http://de.wikipedia.org/wiki/MediaWiki:Onlyifediting.js
Right now I am still using the wiki 1.5.3. I know.. I know... I will up grade.
I think that you will have (or: are having) problems with newer extensions when driving such an old car :-) Greets
Swen
Hello,
I have made the upgrading to 1.6.8.
I have installed the lest version of <poem> by Brion too located at http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Poem/Poem.php?rev....
Now I've gotten this message for my <poem> extension: UNIQ60a0560e4b5c8020-poem-dc3ab06591d599400000001-QINU.
Anyone have an idea of what is that about?
Thanks, mauro.
Hey guys...
<poem> extension is clear...
After the update, was just necessary on purge... thanks..
[]'s mauro.
|-----Original Message----- |From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Mauro |do Carmo |Sent: Tuesday, October 17, 2006 1:43 PM |To: 'MediaWiki announcements and site admin list' |Subject: [Mediawiki-l] <poem> extension | |Hello, | |I have made the upgrading to 1.6.8. | |I have installed the lest version of <poem> by Brion too located at |http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Poem/Poem.php?rev.... | |Now I've gotten this message for my <poem> extension: |UNIQ60a0560e4b5c8020-poem-dc3ab06591d599400000001-QINU. | |Anyone have an idea of what is that about? | |Thanks, |mauro. | | | |-- |No virus found in this outgoing message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/2006 | |_______________________________________________ |MediaWiki-l mailing list |MediaWiki-l@Wikimedia.org |http://mail.wikipedia.org/mailman/listinfo/mediawiki-l | |-- |No virus found in this incoming message. |Checked by AVG Free Edition. |Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/2006 |
mediawiki-l@lists.wikimedia.org