I can't seem to set the sitename for a mediawiki installation.
I've given a value for $wgSitename in localsettings.php, however, it doesn't add this value to the <title></title> for wiki pages. Instead something else comes up.
I grepped through the directories of the installation, but couldn't find the erroneous title. And I couldn't find it on a search of the mysql.
I'm clearly missing something obvious!
Any help appreciated.
- Darren
Maybe you have two assignments to $wgSitename in LocalSettings.php, and the second is taking precedence?
Darren Wyn Rees wrote:
I've given a value for $wgSitename in localsettings.php, however, it doesn't add this value to the <title></title> for wiki pages. Instead something else comes up.
Make sure the location of the line setting $wgSitename is after the line that includes the default settings (require_once( "includes/DefaultSettings.php" );)
Mike
On Thu, 2008-07-31 at 13:23 -0400, Michael Daly wrote:
Make sure the location of the line setting $wgSitename is after the line that includes the default settings (require_once( "includes/DefaultSettings.php" );)
Tried this, but it does not make a difference in my case.
Darren
You DID reload the cache, didn't you? B.
On 31-Jul-08, at 3:05 PM, Darren Wyn Rees wrote:
On Thu, 2008-07-31 at 13:23 -0400, Michael Daly wrote:
Make sure the location of the line setting $wgSitename is after the line that includes the default settings (require_once( "includes/DefaultSettings.php" );)
Tried this, but it does not make a difference in my case.
Darren
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Darren Wyn Rees wrote:
Make sure the location of the line setting $wgSitename is after the line that includes the default settings (require_once( "includes/DefaultSettings.php" );)
Tried this, but it does not make a difference in my case.
Don't return the line above the default settings. This *must* be below regardless of other problems.
Are you sure you're editing the correct LocalSettings.php file? There should be only one in the wiki's root - if you left a copy in the /wiki/config/ directory, delete it and the entire /config/ directory - it is only needed for initial installation.
Mike
On Thu, 2008-07-31 at 17:31 -0400, Michael Daly wrote:
Don't return the line above the default settings. This *must* be below regardless of other problems.
Yes.
Are you sure you're editing the correct LocalSettings.php file? There should be only one in the wiki's root - if you left a copy in the /wiki/config/ directory, delete it and the entire /config/ directory - it is only needed for initial installation.
I am sure.
What I do not understand is why I can't find a reference to the erroneous sitename in (a) the filesystem (which I've grepped), or (b) the mysql database (which I've searched using phpmyadmin) ?
Darren
On Thu, Jul 31, 2008 at 9:46 AM, Darren Wyn Rees darren@cymraeg.org wrote:
I can't seem to set the sitename for a mediawiki installation.
I've given a value for $wgSitename in localsettings.php, however, it doesn't add this value to the <title></title> for wiki pages. Instead something else comes up.
I grepped through the directories of the installation, but couldn't find the erroneous title. And I couldn't find it on a search of the mysql.
I'm clearly missing something obvious!
Any help appreciated.
- Darren
What is the title that's coming up? It might give us a hint as to the problem.
Also, what do you see in MediaWiki:pagetitle
~Daniel Friesen(Dantman, Nadir-Seen-Fire) of: -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --The ElectronicMe project (http://electronic-me.org) --Games-G.P.S. (http://ggps.org) -And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) --Animepedia (http://anime.wikia.com) --Narutopedia (http://naruto.wikia.com)
Benjamin Lees wrote:
On Thu, Jul 31, 2008 at 9:46 AM, Darren Wyn Rees darren@cymraeg.org wrote:
I can't seem to set the sitename for a mediawiki installation.
I've given a value for $wgSitename in localsettings.php, however, it doesn't add this value to the <title></title> for wiki pages. Instead something else comes up.
I grepped through the directories of the installation, but couldn't find the erroneous title. And I couldn't find it on a search of the mysql.
I'm clearly missing something obvious!
Any help appreciated.
- Darren
What is the title that's coming up? It might give us a hint as to the problem.
mediawiki-l@lists.wikimedia.org