Q - thanks for replying. Yes, I meant wikilinks.
All the wikilinks in my Wiki have references to the Wiki server IP address (see example below), which now needs to be changed. So I 'm still trying to figure out:
1. How do I do this? Where is all this text stored?
2. Is a global find-and-replace the best solution, or is there an alternative?
Many thanks!
V.
Message: 3 Date: Mon, 12 Jul 2010 19:55:10 -0500 From: Q overlordq@gmail.com Subject: Re: [Mediawiki-l] Changing the server IP in Wiki pages To: MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org Message-ID: 4C3BB96E.2090507@gmail.com Content-Type: text/plain; charset=ISO-8859-1
On 7/12/2010 7:38 PM, Varnit Suri wrote:
Happy Tuesday everyone,
This is really the first time I 'm posting to this list since I figured
this
to be the best forum after reading http://www.mediawiki.org/wiki/Mailing_lists.
So I 've been using MediaWiki for a while now, and all the links in the
Wiki
contain the IP address of the Wiki server (in red below). For instance:
Quick start document for adding/deleting circuits [[http://10.32.6.11/wiki/images/9/96/MegaVision-QuickStart.doc QuickStart]]
[[Foo]] are for wikilinks, IE: to pages on the wiki. [http://www.foo.com] are for urls. Do you mean [http://10.32.6.11/wiki/images/9/96/MegaVision-QuickStart.doc QuickStart]?
- How do I do this? Where is all this text stored?
Depends, see above.
- Is a global find-and-replace the best solution, or is there an
alternative?
Depends, see above.
- Was there a way I could 've avoided using the server IP in these
links?
[[Media:Filename.doc]] will give a direct link to uploaded files and not take you to the description page.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
End of MediaWiki-l Digest, Vol 82, Issue 14
On Tue, Jul 13, 2010 at 10:22 AM, Varnit Suri varnit.suri@gmail.com wrote:
Q - thanks for replying. Yes, I meant wikilinks.
All the wikilinks in my Wiki have references to the Wiki server IP address (see example below), which now needs to be changed. So I 'm still trying to figure out:
- How do I do this? Where is all this text stored?
Well, since they're external links, you're going to have to edit every page that has a link. It's stored in the database, but mucking about in the database by hand is a Bad Idea™ so use the API.
- Is a global find-and-replace the best solution, or is there an
alternative?
Not really no, but I'd suggest to use the [[Media:]] syntax[1] so you wont run into this problem again in the future.
mediawiki-l@lists.wikimedia.org