OK, I haven't installed MW since 1.4 or 1.5. 1.10 isn't all that different, but I don;'t recall having this issue. I tried to make the shorter/prettier URL stuff work and it seems to have eaten my Logo (which is still the default).
I backed out the URL related changes in LocalSettings.php and httpd.conf, but still no logo.
Speaking of the shorter URL stuff, how would I know if I had "PHP as CGI"? Is there a command I can run or file I can cat?
I'll ask about the URL stuff later once I understand where my logo went. :-)
* MediaWiki: 1.10.1 * PHP: 5.1.6 (apache2handler) * MySQL: 5.0.22
All running on RHEL 5.
Peter Laws wrote:
OK, I haven't installed MW since 1.4 or 1.5. 1.10 isn't all that different, but I don;'t recall having this issue. I tried to make the shorter/prettier URL stuff work and it seems to have eaten my Logo (which is still the default).
I backed out the URL related changes in LocalSettings.php and httpd.conf, but still no logo.
Speaking of the shorter URL stuff, how would I know if I had "PHP as CGI"? Is there a command I can run or file I can cat?
I'll ask about the URL stuff later once I understand where my logo went. :-)
* MediaWiki: 1.10.1 * PHP: 5.1.6 (apache2handler) * MySQL: 5.0.22All running on RHEL 5.
What have you set $wgLogo to? What happens when you point your browser to that URL?
Platonides wrote:
Peter Laws wrote:
* MediaWiki: 1.10.1 * PHP: 5.1.6 (apache2handler) * MySQL: 5.0.22All running on RHEL 5.
What have you set $wgLogo to? What happens when you point your browser to that URL?
Initially, the default. I went to the site URL today and, lo and behold it was there. Phew! Not. I go in and add to and edit $wgLogo in LocalSettings.php to point to my custom PNG. I can see the PNG when I point the browser to it, but not when I view the page. I did have the path wrong at first, but Apache's error log clued me in.
Now I've got it set to
$wgLogo = "{$wgStylePath}/{$wgScriptPath}images/mylogo.png";
.. which, I thought translated to
http://myhost/wiki/images/it-nwc-logo.png
Maybe not? It's blank on the wiki page - no broken icon. Is there another log I should look at?
Peter Laws wrote:
Now I've got it set to
$wgLogo = "{$wgStylePath}/{$wgScriptPath}images/mylogo.png";
.. which, I thought translated to
http://myhost/wiki/images/it-nwc-logo.png
Maybe not? It's blank on the wiki page - no broken icon. Is there another log I should look at?
Using both {$wgStylePath}/{$wgScriptPath} won't make that URL. You can view the actual URL you're pointing at in the page source (search for 'background-image').
Platonides wrote:
Using both {$wgStylePath}/{$wgScriptPath} won't make that URL. You can view the actual URL you're pointing at in the page source (search for 'background-image').
You're right! That works much better now. :-)
So the variables for the path are for MW's use only and not mine? I have to put the full path to stuff?
Peter Laws wrote:
Platonides wrote:
Using both {$wgStylePath}/{$wgScriptPath} won't make that URL. You can view the actual URL you're pointing at in the page source (search for 'background-image').
You're right! That works much better now. :-)
So the variables for the path are for MW's use only and not mine? I have to put the full path to stuff?
$wgStylePath and $wgScriptPath are both full paths. Combining them won't work. Unless you know at what is each of them pointing in your install, you're better with full paths.
mediawiki-l@lists.wikimedia.org