As an anonymous user, you can only add new data. If you would like to also modify existing data, please create an account and indicate your languages on your user page.

User talk:RobertL

From OmegaWiki
Jump to: navigation, search

Installing Omegawiki[edit]

LocalSettings[edit]

Hi, I am installing Omegawiki localy. It seems that in addition to what is indicated in Development, one has to include the content of wikidata/extensions/Wikidata/patches/LocalSettings.txt in LocalSettings.php. Is this the correct procedure, or did I miss an update?

Then, I am not sure if the best is to update Development, or to update http://omegawiki.org/downloads/LocalSettings.sample.

Now, I have a problem that when I search, it is not searching in the Expression namespace. If you came across the same problem, give me a hint, thanks ;-) --Kipcool 19:48, 23 July 2009 (UTC)

You are correct regarding the LocalSettings.txt file, over the next few days I will work to move this to LocalSettings.sample. To search the Expression namespace by default you will need to add
$wgSecondaryGoNamespaces = array( 16 );
to your LocalSettings.php file, this also requires a very recent version of MediaWiki (within around 50 revisions of HEAD at the current time). RobertL 21:25, 23 July 2009 (UTC)

user_properties[edit]

Still on my local installation, when I try to create a new user, I got:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

    SELECT * FROM `user_properties` WHERE up_user = '4' 

from within function "User::loadOptions". MySQL returned error "1146: Table 'omegawiki.user_properties' doesn't exist (localhost)".

I checked the last omegawiki-latest.sql from http://www.omegawiki.org/downloads/ , and it does not create the table for user_properties. I don't know how to fix it. Any idea? --Kipcool 20:22, 23 July 2009 (UTC)

The user.sql file has not been updated to include the new user_properties table since the upgrade to MediaWiki 1.16a. For now I suggest that you create it manually by copying the table definitions for user_properties from maintenance/tables.sql and manually applying them to your database, I will endeavour to update this file over the next few days. RobertL 21:23, 23 July 2009 (UTC)