Page will not render when I change that.
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Joshua Oreman
Sent: Tuesday, August 30, 2005 6:33 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Image in place of [edit]
On 8/30/05, Bass, Joshua L <joshua.l.bass(a)lmco.com> wrote:
I edited [[MediaWiki:Editsection]] several ways, but
it is not
rendering the picture. It is rendering the link instead.
I tried:
Image:edit_image.gif
[[image:edit_image.gif]]
http://sitename.com/wiki/edit_image.gif
None of these work.
Hmm.
Try replacing wfMsg('editsection') with "<img
src='/images/edit.png'
border='0' />" or something, in Linker.php:editSectionLink().
-- Josh
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Joshua Oreman
Sent: Tuesday, August 30, 2005 2:11 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Image in place of [edit]
On 8/30/05, Joshua Oreman <oremanj(a)gmail.com> wrote:
On 8/30/05, Bass, Joshua L
<joshua.l.bass(a)lmco.com> wrote:
For skinning reasons, I would like to replace the
[edit] with a
small image. Where is this called out? I have not been able to
find it.
Edit the pages [[MediaWiki:Edit]] and [[MediaWiki:Editthispage]].
That's for the edit tab at the top of the page.
For the [edit] link on the right of a heading, edit
[[MediaWiki:Editsection]]. If you want to remove the brackets around
the image, edit includes/Linker.php:editSectionLink() [line 818];
remove the brackets around ".$url.".
Hope this helps.
-- Josh
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l