Hello all,
I want to install mediawiki on a site I manage. I am pretty sure about
most of the steps but I really want to ask a few questions and get some
guidance before I break things.
As I understand it, there is only one mysql database on the site I can
use and it currently has a wordpress blog installation.
I have mediawiki-1.13.3.tar.gz downloaded to the server but not yet
unzipped. I also have a sql dump from a old mediawiki install that
existed on another server. I cannot tell the version of mediawiki
from the dump, as far as I can tell. Perhaps someone can tell me
where to look. I know it is old as it would be impossible for me to
install on the old server because of the php version (4.x).
The versions of php and mysql on the new server are as follows:
PHP 5.2.1 (cli) (built: Jul 23 2008 05:57:56)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
mysql Ver 14.12 Distrib 5.0.38, for pc-linux-gnu (i486) using readline 5.2
I am not certain, but as I mentioned before I believe I have to use
the one db I currently have. Having only a little db experience, I
might be mistaken about databases and tables. As I understand it, I
have one db and can create more tables in that db.
Here are the steps I know about concerning the install:
* unpack the tarball to
$HOME/public_html/<MediaWiki-folder>
then
chmod 755 $HOME/public_html/<MediaWiki-folder>/config
* run the browser-based script at
http://www.example.com/<MediaWiki-folder>/
* fill in the fields in the form
Database host: localhost
Database name: same as account name
DB username: same as account name
DB password: see host-details.txt on HDD
Superuser details: leave as-is
DB Table Prefix: <wikiname_>
DB Port: leave as-is
Schema: leave as-is
DB Character set: UTF-8
* Move files
mv LocalSettings.php $HOME/public_html/<MediaWiki-folder>/
chmod 600 LocalSettings.php
chown is unnecessary, I believe, since the creator/owner of the site
are the same person. Am I wrong?
rm -rf config/
* restore old DB
This is really where I have some problems. I know the commands
necessary to restore the db
mysql -p <dbname> < dump.sql
but the names of the tables and the db are not the same as they need
to be on the new installation. Changing the name of the db in the
dump file should not b a problem as far as I can see, but the table
names could be problematic. Will I have to do a search and replace of
the table names in the dump file to make them correspond to what I
need them to be e.g. <wikiname_><tablename>? Considering this is a
75MB file with over 90K lines, surely there must be a better way.
Sorry this has been so long and thanks for reading this far. Any more
information I'll be happy to provide. Links to relevant documentation
is always appreciated.
Thanks for your help,
rdc
--
Robert D. Crawford robdcraw(a)gmail.com
Only a fool fights in a burning house.
-- Kank the Klingon, "Day of the Dove", stardate unknown
Hello all
a have a copy of wikipedia in may local intranet for user offline reading.
i;t work fine whith formula ect.ect..
i need if is possible show the images of original wikipedia to my users and
cache they for future use and reduce my internet access maybe trougth my
proxi server, if some one has made that please telme how
regards
sorry abaut my english
I'm trying to setup external authentication with MediaWiki. I've gone over
http://wiki.case.edu/CaseWiki:External_Authentication time and time again
but it's not exactly clear.
Here's how our company authentication for web access works.
- I check to see if a cookie exists. If so, decrypt it and get user info.
- If cookie doesn't exist, redirect to the company authentication URL. In
that redirect, I specify a "return to" URL so after the user authenticates,
it knows where to send the user back to.
- Go back to first step. Since the cookie should now exist, I have user
info.
I figured I would use mod_rewrite in .htaccess to redirect
index.php?title=Special:UserLogin to say index2.php. index2.php would get
the cookie and be the return point for the redirection if needed. But now
that index2.php has the user info, I need it to login, creating the userid
if needed, to mediawiki. This is where I'm totally lost. Any help would be
greatly appreciated!
Hi, Is there a way to embed ListServe archives into a wiki? Someone asked me to check that out.
Thanks again
http://www.twitter.com/LainieH
_____________________________________________
From: Lainie Hoverstad
Sent: Monday, January 26, 2009 8:13 AM
To: 'mediawiki-l(a)lists.wikimedia.org'
Subject: Voting/Polling/Survey tool for Wikis?
Does anyone have a suggestion for a voting/polling/survey functionality within a wiki? I'd like to be able to have users rate ideas or take a small survey.. any advice on extensions or methods appreciated. Thanks!
Does anyone have a suggestion for a voting/polling/survey functionality within a wiki? I'd like to be able to have users rate ideas or take a small survey.. any advice on extensions or methods appreciated. Thanks!
Hi, I am trying to have 2 sitenotices, one for the main namespace and one
for ALL the rest. I tried:
{{#if: {{ns:0}} |
xxxxxxxxxxxx
xxxxxxxxxxxx
}}
{{#if: !{{ns:0}} |
xxxxxxxxxxxx
xxxxxxxxxxxx
}}
but it is not working. Your assistance is deeply appreciated.
PM Poon
Hey Guys,
My server can't access files with paths with dots in their names and returns
404. So I can't see thumbnails for images with dots in their names, which
are placed into folders like "image.jpg". Is there a way to prevent using
"." and probably other punctuation in paths?
Thanks
Onur
Hello list,
I've been trying to find out how to set up a shared user table using
Postgres. The references to $wgSharedDB and $wgSharedPrefix that I've
found seem specific to a MySQL solution. Any pointers would be greatly
appreciated.
Thanks,
Tim
--
Tim Larson
Thanks Poon.
Ajay
On Wed, Jan 21, 2009 at 5:30 PM, <mediawiki-l-request(a)lists.wikimedia.org>wrote:
> Send MediaWiki-l mailing list submissions to
> mediawiki-l(a)lists.wikimedia.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> or, via email, send a message with subject or body 'help' to
> mediawiki-l-request(a)lists.wikimedia.org
>
> You can reach the person managing the list at
> mediawiki-l-owner(a)lists.wikimedia.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MediaWiki-l digest..."
>
>
> Today's Topics:
>
> 1. Re: Method to remove history of reverted revisions? (Jeff Lane)
> 2. Re: Trouble Building texvc on RHEL 5 (Joshua C. Lerner)
> 3. Re: Method to remove history of reverted revisions? (Platonides)
> 4. Re: Method to remove history of reverted revisions? (Jeff Lane)
> 5. Re: Deleting images/files (Jim Sutton)
> 6. Customizing the main page of Mediawiki. (Ajay Dalal)
> 7. Re: Customizing the main page of Mediawiki. (Ekompute .info)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 20 Jan 2009 15:14:37 -0800 (PST)
> From: Jeff Lane <jeffl(a)valvesoftware.com>
> Subject: Re: [Mediawiki-l] Method to remove history of reverted
> revisions?
> To: mediawiki-l(a)lists.wikimedia.org
> Message-ID: <21573851.post(a)talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
>
> Platonides wrote:
> >
> >> http://www.mediawiki.org/wiki/Extension:Oversight ?
> >
>
> As I understand it, Oversight only removes the revision from viewing, it
> doesn't actually remove it from the database, or hide the summary entry
> from
> the revision history. Is that not the case?
>
> -Jeff
> --
> View this message in context:
> http://www.nabble.com/Method-to-remove-history-of-reverted-revisions--tp215…
> Sent from the WikiMedia General mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 20 Jan 2009 18:36:11 -0500
> From: "Joshua C. Lerner" <jlerner(a)gmail.com>
> Subject: Re: [Mediawiki-l] Trouble Building texvc on RHEL 5
> To: "MediaWiki announcements and site admin list"
> <mediawiki-l(a)lists.wikimedia.org>
> Message-ID:
> <24a58cbd0901201536yf3eb008u2e8bc2cbfdef8fb0(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Jan 20, 2009 at 4:23 PM, Nathaniel Frissell <nafrissell(a)vt.edu>
> wrote:
> > Hi, Joshua. That didn't seem to work for me. Were you running a 32
> > bit or 64 bit version of Red Hat?
>
> Centos 5 running on Opteron (64-bit). Maybe try adding
>
> http://dl.atrpms.net/el5-x86_64/atrpms/stable/
>
> to your yum.conf?
>
> Joshua
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 21 Jan 2009 01:19:15 +0100
> From: Platonides <Platonides(a)gmail.com>
> Subject: Re: [Mediawiki-l] Method to remove history of reverted
> revisions?
> To: mediawiki-l(a)lists.wikimedia.org
> Message-ID: <gl5pm3$t66$1(a)ger.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Jeff Lane wrote:
> >
> > Platonides wrote:
> >>> http://www.mediawiki.org/wiki/Extension:Oversight ?
> >
> > As I understand it, Oversight only removes the revision from viewing, it
> > doesn't actually remove it from the database, or hide the summary entry
> from
> > the revision history. Is that not the case?
> >
> > -Jeff
>
> It isn't removed from the database, but it can, for all effects, make it
> disappear. No entry on history, no page to view...
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 20 Jan 2009 16:32:04 -0800 (PST)
> From: Jeff Lane <jeffl(a)valvesoftware.com>
> Subject: Re: [Mediawiki-l] Method to remove history of reverted
> revisions?
> To: mediawiki-l(a)lists.wikimedia.org
> Message-ID: <21574873.post(a)talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
>
> Platonides wrote:
> >
> > Jeff Lane wrote:
> >> As I understand it, Oversight only removes the revision from viewing, it
> >> doesn't actually remove it from the database, or hide the summary entry
> >> from
> >> the revision history. Is that not the case?
> >
> > It isn't removed from the database, but it can, for all effects, make it
> > disappear. No entry on history, no page to view...
> >
>
> OK, thanks. I must have misunderstood it based on the description, and this
> (apparently mistaken) discussion page comment:
>
> http://www.mediawiki.org/wiki/Extension_talk:Oversight#Hiding_the_revision_…
>
> We'll look into modifying Oversight or Oversight2 to automate the process
> based on a given set of rev_id numbers.
>
> -Jeff
> --
> View this message in context:
> http://www.nabble.com/Method-to-remove-history-of-reverted-revisions--tp215…
> Sent from the WikiMedia General mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 21 Jan 2009 09:41:28 +0000
> From: Jim Sutton <jimsuttonuk(a)googlemail.com>
> Subject: Re: [Mediawiki-l] Deleting images/files
> To: MediaWiki <mediawiki-l(a)lists.wikimedia.org>
> Message-ID:
> <18e87a7e0901210141p2024dd5cx3f6606ba34937c9e(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi there
>
> Does anyone know how to permanently delete images/files from MediaWiki. I'm
> running version 1.13.1 . The files are taking up space on the server and I
> need to free this space up. Is it just a case of adding a line of code to
> the LocalSettings.php file? I won't need the images/files after they are
> deleted so will not need to undelete them. Can anyone help me or recommed a
> possible solution? Thanks.
>
> Jim
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 21 Jan 2009 15:36:19 +0530
> From: Ajay Dalal <ajay.bojam(a)gmail.com>
> Subject: [Mediawiki-l] Customizing the main page of Mediawiki.
> To: mediawiki-l(a)lists.wikimedia.org
> Message-ID:
> <30f56b8d0901210206q56ee1b33qff962795d782bd1f(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Friends,
>
> I want to change the main page of Mediawiki to my customized page thats
> totally different in look and feel to that of the wiki main page. I am
> having the html page and I want to extract that page out of Mediwiki.
>
> How should I start? where I can find the html or php file representing the
> main page so that I may alter it.
>
> Friends, any type of help is highly appreciated. Please provide me any link
> for such material on web.
>
> Thanks in advance.
>
> Regards,
> Ajay
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 21 Jan 2009 19:00:31 +0800
> From: "Ekompute .info" <ekompute(a)gmail.com>
> Subject: Re: [Mediawiki-l] Customizing the main page of Mediawiki.
> To: MediaWiki announcements and site admin list
> <mediawiki-l(a)lists.wikimedia.org>
> Message-ID:
> <1c13c3ab0901210300v460709f7s7624f002f2746e8b(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Ajay, try this HTML to Wiki
> Converter<http://diberri.dyndns.org/wikipedia/html2wiki/>and see if it
> helps.
>
> PM Poon
>
> On Wed, Jan 21, 2009 at 6:06 PM, Ajay Dalal <ajay.bojam(a)gmail.com> wrote:
>
> > Hi Friends,
> >
> > I want to change the main page of Mediawiki to my customized page thats
> > totally different in look and feel to that of the wiki main page. I am
> > having the html page and I want to extract that page out of Mediwiki.
> >
> > How should I start? where I can find the html or php file representing
> the
> > main page so that I may alter it.
> >
> > Friends, any type of help is highly appreciated. Please provide me any
> link
> > for such material on web.
> >
> > Thanks in advance.
> >
> > Regards,
> > Ajay
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
>
>
> ------------------------------
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> End of MediaWiki-l Digest, Vol 64, Issue 30
> *******************************************
>
Hi everyone on the list,
I contribute to the Skoffer project, and like to point you to my Skoffer
MediaWiki plugin (GPL).
Skoffer is a free uncommercial project which lets you build in a
screencast recorder into your website. Since MediaWiki is great to make
sofware documentations, the ability to to record screencasts (in
unlimited resolutions and lengths) without installing a software (it´s
Java based) could be interesting for some of you.
If your website could make use of it, please have a look at
http://www.skoffer.com and/or on my blog post
http://www.stefanschulzesteinmann.com/skoffer-mediawiki-plugin/
If you want to see a demo: There are two screencasts in my blog post
which I recorded as a demonstration. The one shows how I create the other.
A happy 3. advent,
Stefan Schulze Steinmann
PS: By the way, you are the first persons who know about Skoffer. This
mail is the project´s starting shot.