What is the best way to put my own image in place of the "wiki.png" image? I presume that I can edit all the .css files for the skins, but is there a global setting?
James Birkholz admin, Posen-L mailing list and website http://www.Posen-L.com
On 12/31/04 12:23 AM, "=James Birkholz=" j.birchwood@verizon.net wrote:
What is the best way to put my own image in place of the "wiki.png" image? I presume that I can edit all the .css files for the skins, but is there a global setting?
James Birkholz admin, Posen-L mailing list and website http://www.Posen-L.com
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Wouldn't it be easier just to create a new image and name it wiki.png and replace the original png file?
1) look up the upload path of the picture you want to set by
"Special - Imagelist" select your picture, click on the picture --> it re-opens in the browser window and you can just copy the path from the adress-field of the browser
2) edit localsettings.php "wglogo" this is how my localsettings look, I have commented the original line out and put the new picture in
#$wgLogo = "$wgStylePath/common/images/wiki.png"; $wgLogo = "/wiki/images/f/fa/Hahnemann.gif";
-----Ursprungliche Nachricht----- Von: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org]Im Auftrag von David Cruz Gesendet: Freitag, 31. Dezember 2004 09:00 An: MediaWiki announcements and site admin list; =James Birkholz= Betreff: Re: [Mediawiki-l] Change wiki.png image?
On 12/31/04 12:23 AM, "=James Birkholz=" j.birchwood@verizon.net wrote:
What is the best way to put my own image in place of the
"wiki.png" image?
I presume that I can edit all the .css files for the skins, but
is there a
global setting?
James Birkholz admin, Posen-L mailing list and website http://www.Posen-L.com
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Wouldn't it be easier just to create a new image and name it wiki.png and replace the original png file?
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Is it possible to insert a dynamic data retrieval function into the middle of an article? In other words, to allow user edits, but have something in the text that calls a query/table building routine. I have some articles that need to display data from tables in the same database that I installed WikiMedia into. Rather than editing that data into tables by hand, it would be so much easier to have a routine build the tables, and have any changes to the database reflected in the article automatically.
Alternate ideas might include: 1) putting the logic in the overall page display logic (as part of a Special: page?), but would prefer to have it in the main article text, not as a footer 2) using links to point to non-wiki pages that display the tables (again, prefer to have the data in the main article text, not hidden on other pages
Ideas?
James Birkholz admin, Posen-L mailing list and website http://www.Posen-L.com
Write an extension. This allows you to insert the text as HTML style (<foo></foo>) tags. Meta has an article on it: http://meta.wikimedia.org/wiki/Write_your_own_MediaWiki_extension
All you need to know is PHP and SQL for the DB queries. You probably should not use MySQL functions directly, but use the MediaWiki wrappers (Whithin the Database class). Look at some of the source code of your version for an idea of how to use it.
On Sat, 01 Jan 2005 09:05:19 -0600, =James Birkholz= j.birchwood@verizon.net wrote:
Is it possible to insert a dynamic data retrieval function into the middle of an article? In other words, to allow user edits, but have something in the text that calls a query/table building routine. I have some articles that need to display data from tables in the same database that I installed WikiMedia into. Rather than editing that data into tables by hand, it would be so much easier to have a routine build the tables, and have any changes to the database reflected in the article automatically.
Alternate ideas might include:
- putting the logic in the overall page display logic (as part of a
Special: page?), but would prefer to have it in the main article text, not as a footer 2) using links to point to non-wiki pages that display the tables (again, prefer to have the data in the main article text, not hidden on other pages
Ideas?
James Birkholz admin, Posen-L mailing list and website http://www.Posen-L.com
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
At 01:23 AM 12/31/2004 -0600, =James Birkholz= wrote:
What is the best way to put my own image in place of the "wiki.png" image? I presume that I can edit all the .css files for the skins, but is there a global setting?
You could try changing the value of "$wgLogo" in LocalSettings.php. You could also just overwrite the file at .../skins/common/images/wiki.png.
WARNING: This is the *quick* answer that arrives within 15 minutes of you sending your message. The *authoritative* answer may be along shortly to override it. :)
-Erik
Erik Hermansen wrote:
At 01:23 AM 12/31/2004 -0600, =James Birkholz= wrote:
What is the best way to put my own image in place of the "wiki.png" image? I presume that I can edit all the .css files for the skins, but is there a global setting?
You could try changing the value of "$wgLogo" in LocalSettings.php. You could also just overwrite the file at .../skins/common/images/wiki.png.
I'd change $wgLogo. Overwriting wiki.png might cause problems (your logo being overwritten) when you upgrade the software.
Tobin.
mediawiki-l@lists.wikimedia.org