Eric Frost | 1 Feb 2008 17:54
Favicon

upgrade successful or not? were schema changes made?

I tried to upgrade a couple Wiki's from 1.10 to 1.11.1 but it didn't go
exactly how it says... I'm not sure the database changes
were made.

How can I be sure?

I was doing these steps from
http://www.mediawiki.org/wiki/Manual:Upgrading

==============================
Alternative 2: Re-run the installer
An alternative to running the update script from the shell is to re-run the
web installer. To do this:

1. Rename LocalSettings.php to LocalSettings.old.php
2. Make the config directory writable by the web server
3. Make sure the database user has full rights to the database
4. Browse to the wiki and start the installer

Fill in the form fields with the same values as was done during the previous
version's installation. When the installation process
starts, the script will detect existing MediaWiki tables, and upgrade their
schema. When this is complete, a new LocalSettings.php
will be generated.

1. Delete the new configuration file
2. Rename LocalSettings.old.php back to LocalSettings.php
3. Restore permissions on the config directory
==============================

(Continue reading)

zaydo | 1 Feb 2008 18:07
Picon
Picon

Quiz extension


Hi,

I installed the quiz extension (1.0) on my wiki (1.1.11). It is working fine
for logged-in users.
But to users who are not logged in, it shows kind of an erratic behaviour:
it does not (always) correctly respond to clicks on the buttons
submit/reset. See http://www.t4-wiki.de/wiki/Quiz

Unfortunately, the documentation of that extension does not mention these
kind of problems. And since all my browser work well on demo-site with the
quiz extension, I assume that my wiki-setup may cause the problem. However,
except for the group permissions the wiki-setup is quite standard.
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = true;
$wgGroupPermissions['*']['talk'] = false;

Any ideas?

Thanks, Udo
--

-- 
View this message in context: http://www.nabble.com/Quiz-extension-tp15230801p15230801.html
Sent from the WikiMedia General mailing list archive at Nabble.com.
Gary Kirk | 1 Feb 2008 21:40
Picon

Re: upgrade successful or not? were schema changes made?

Navigate to Special:Version on the wiki and see what it says. It
sounds like you have not yet upgraded though.

On 2/1/08, Eric Frost <eric.frost@...> wrote:
> I tried to upgrade a couple Wiki's from 1.10 to 1.11.1 but it didn't go
> exactly how it says... I'm not sure the database changes
> were made.
>
> How can I be sure?
>
> I was doing these steps from
> http://www.mediawiki.org/wiki/Manual:Upgrading
>
>
> ==============================
> Alternative 2: Re-run the installer
> An alternative to running the update script from the shell is to re-run the
> web installer. To do this:
>
> 1. Rename LocalSettings.php to LocalSettings.old.php
> 2. Make the config directory writable by the web server
> 3. Make sure the database user has full rights to the database
> 4. Browse to the wiki and start the installer
>
> Fill in the form fields with the same values as was done during the previous
> version's installation. When the installation process
> starts, the script will detect existing MediaWiki tables, and upgrade their
> schema. When this is complete, a new LocalSettings.php
> will be generated.
>
(Continue reading)

ruud habets | 1 Feb 2008 22:16
Picon

skins

Hi,

I cannot seem to find any decent documentation on how to edit skins. I 
have been trying (on http://www.kgv.nl/) for several days to aligne  the 
< h2> "edit" tag to the right while the < h2> text itsself stays left 
aligned in the MySkin skin. The cologne skin has it by default. I just 
do not see where the difference is being made.

Can anyone point me in the right direction.

thnx

Ruud
Thomas Dalton | 1 Feb 2008 22:31
Picon

Re: skins

On 01/02/2008, ruud habets <rhabets@...> wrote:
> Hi,
>
> I cannot seem to find any decent documentation on how to edit skins. I
> have been trying (on http://www.kgv.nl/) for several days to aligne  the
> < h2> "edit" tag to the right while the < h2> text itsself stays left
> aligned in the MySkin skin. The cologne skin has it by default. I just
> do not see where the difference is being made.
>
> Can anyone point me in the right direction.

Edit the CSS for the skin in question (Mediawiki:skinname.css) and
alter what it does for the class "editsection".
"#editsection.float:right" or something like that.
ruud habets | 2 Feb 2008 06:42
Picon

Re: skins

Thomas Dalton schreef:
> On 01/02/2008, ruud habets <rhabets@...> wrote:
>   
>> Hi,
>>
>> I cannot seem to find any decent documentation on how to edit skins. I
>> have been trying (on http://www.kgv.nl/) for several days to aligne  the
>> < h2> "edit" tag to the right while the < h2> text itsself stays left
>> aligned in the MySkin skin. The cologne skin has it by default. I just
>> do not see where the difference is being made.
>>
>> Can anyone point me in the right direction.
>>     
>
> Edit the CSS for the skin in question (Mediawiki:skinname.css) and
> alter what it does for the class "editsection".
> "#editsection.float:right" or something like that.
>   

I noticed the editsection there, earlier but changes were not visible in 
IE or FF. Since your answer sounded like "there is no other answer, this 
is it" I  copied the class further up to the top of main.css: in the 
content styles section of the file. And there it worked.

Thank you
Ruud
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@...
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
(Continue reading)

The Gadget Doctor | 2 Feb 2008 08:23

Re: skins

First of all, editing CSS files can be very, very, frustrating. Doing this
within Mediawiki even more so.

Some tips (and I'd be happy to hear those of others).

1. If you edit any file in Mediawiki force your browser to do a full refresh
(Shift F5 IE I think, Cmd-R on Mac Firefox). Or turn off local caching while
you're testing.

2. If you're on a Mac (I don't know the equivalent on a PC but I'm sure
there's something) get a copy of CSSEdit from Macrabbit and read the
instructions. Your CSS world will change.

3. Use Firefox with the Firebug plug in (free). This is about 60% as good as
CSSEdit for just examining what's going on and I think this will work on PC.

4. I actually gave up (for testing purposes) editing CSS via mediawiki.
Instead I did what you have done and edited a copy of the skin files until I
had what I wanted and then uploaded the changes and replaced the skin files
back to normal.

Hope some of that helps.

On Feb 2, 2008 7:42 AM, ruud habets <rhabets@...> wrote:

> Thomas Dalton schreef:
> > On 01/02/2008, ruud habets <rhabets@...> wrote:
> >
> >> Hi,
> >>
(Continue reading)

Eric Frost | 2 Feb 2008 13:20
Favicon

Re: upgrade successful or not? were schema changes made?

>>Navigate to Special:Version on the wiki and see what it says. It
sounds like you have not yet upgraded though.<<

Actually, they do both say MediaWiki 1.11.1 e.g. 
http://www.mapelves.com/index.php/Special:Version

Is it still possible the database schema was not updated? What is an
example of a database change from 1.10 to 1.11.1 that I could
verify in MySQL?

Nothing really seems to be broken.. is there a database log I could
check to see if there have been SQL errors?

Thanks,
Eric

http://www.elfcorp.com http://www.elfmapping.com
Gary Kirk | 2 Feb 2008 13:32
Picon

Re: upgrade successful or not? were schema changes made?

OK I think this has previously happened to me. Did you rename
LocalSettings.php to something else, copy the new MediaWiki files over
and then simply rename LocalSettings.php back? I know that is what the
instructions say but my advice is to rename it, go to your wiki, hard
refresh and this should trigger the installer. Use the values in your
original LocalSettings.php to install, then move the new one as it
says and add your additions to it.

On 2/2/08, Eric Frost <eric.frost@...> wrote:
> >>Navigate to Special:Version on the wiki and see what it says. It
> sounds like you have not yet upgraded though.<<
>
> Actually, they do both say MediaWiki 1.11.1 e.g.
> http://www.mapelves.com/index.php/Special:Version
>
> Is it still possible the database schema was not updated? What is an
> example of a database change from 1.10 to 1.11.1 that I could
> verify in MySQL?
>
> Nothing really seems to be broken.. is there a database log I could
> check to see if there have been SQL errors?
>
> Thanks,
> Eric
>
> http://www.elfcorp.com http://www.elfmapping.com
>
>
>
>
(Continue reading)

Aaron Gray | 2 Feb 2008 18:25

Re: skins

> 1. If you edit any file in Mediawiki force your browser to do a full 
> refresh
> (Shift F5 IE I think, Cmd-R on Mac Firefox). Or turn off local caching 
> while
> you're testing.

Looks like Ctrl-F5 on IE.

Aaron

Gmane