Perhaps a simpler question would be how to change a link color inline.
This code does not work:
<font color='#XXXXXX'>[[wiki link]]</font>
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Bass, Joshua L
Sent: Sunday, April 23, 2006 8:32 AM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] Inline link color change? (Wikipedia Portals)
Ok, I am trying to duplicate the Portal usage as seen on Wikipedia. I
have successfully created the templates needed, and altered them for my
site. I am having a few minor problems.
1. When using Firefox, the heading colors change with the template as
they should. The header text remains black under IE.
2. I cannot change the 'edit' link color. It appears they are using a
<span> with an inline font color change, but it is not working on my
site for the links, only the text.
Link to Portal: http://www.350z-tech.com/zwiki/Portal:350Z
The layout code looks like this:
<!-- BEGIN -->
__NOEDITSECTION__ __NOTOC__
<!-- THIS IS TO SEPARATE SECTIONS -->
<div style="clear: both;"></div>
<!-- BEGIN THE TITLE BLOCK -->
<div style="position: relative;<!--
-->border: 1px solid
{{{titleborder|{{{border|#ababab}}}}}};<!--
-->background: {{{titlebackground|#bcbcbc}}};<!--
-->color: {{{titleforeground|#000000}}};<!--
-->padding: .1em;<!--
-->text-align: center;<!--
-->font-weight: bold;<!--
-->font-size: 100%;<!--
-->margin-bottom: 0px;<!--
-->border-bottom: none;<!--
-->-moz-border-radius-topleft:.7em;<!--
-->-moz-border-radius-topright:.7em;"><!--
--><span class="plainlinks" <!--
-->style="position: absolute;<!--
-->top: 1px;<!--
-->right: 1px;<!--
-->background: transparent;<!--
-->border: 0px;<!--
-->margin-bottom:0em;<!--
-->font-size:80%;<!--
-->font-weight: normal;"><!--
--><font
color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|/}}}|action
=edit}} edit]</font> <!--
--></span ><!--
--><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0;
padding:0; padding-bottom:.1em;"><font
color="{{{titleforeground|#000000}}}">{{{title}}}</font></h2><!--
--></div>
<!-- END THE TITLE BLOCK -->
<!-- BEGIN THE CONTENT BLOCK -->
<div style="display: block;<!--
-->position: relative;<!--
-->border: 1px solid {{{border|#ababab}}};<!--
-->vertical-align: top;<!--
-->background: {{{background|#fefeef}}};<!--
-->color: {{{foreground|#000000}}};<!--
-->margin-bottom: 10px;<!--
-->padding: .3em;<!--
-->margin-top: 0em;<!--
-->padding-top: 0em;<!--
-->-moz-border-radius-bottomleft:.7em;<!--
-->-moz-border-radius-bottomright:.7em;"><!--
-->
<!-- CONTENT GOES HERE -->
<div style="clear:both;"></div>
</div>
<!-- END THE CONTENT BLOCK -->
<!-- END -->
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Ok, I am trying to duplicate the Portal usage as seen on Wikipedia. I
have successfully created the templates needed, and altered them for my
site. I am having a few minor problems.
1. When using Firefox, the heading colors change with the template as
they should. The header text remains black under IE.
2. I cannot change the 'edit' link color. It appears they are using a
<span> with an inline font color change, but it is not working on my
site for the links, only the text.
Link to Portal: http://www.350z-tech.com/zwiki/Portal:350Z
The layout code looks like this:
<!-- BEGIN -->
__NOEDITSECTION__ __NOTOC__
<!-- THIS IS TO SEPARATE SECTIONS -->
<div style="clear: both;"></div>
<!-- BEGIN THE TITLE BLOCK -->
<div style="position: relative;<!--
-->border: 1px solid
{{{titleborder|{{{border|#ababab}}}}}};<!--
-->background: {{{titlebackground|#bcbcbc}}};<!--
-->color: {{{titleforeground|#000000}}};<!--
-->padding: .1em;<!--
-->text-align: center;<!--
-->font-weight: bold;<!--
-->font-size: 100%;<!--
-->margin-bottom: 0px;<!--
-->border-bottom: none;<!--
-->-moz-border-radius-topleft:.7em;<!--
-->-moz-border-radius-topright:.7em;"><!--
--><span class="plainlinks" <!--
-->style="position: absolute;<!--
-->top: 1px;<!--
-->right: 1px;<!--
-->background: transparent;<!--
-->border: 0px;<!--
-->margin-bottom:0em;<!--
-->font-size:80%;<!--
-->font-weight: normal;"><!--
--><font
color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|/}}}|action
=edit}} edit]</font> <!--
--></span ><!--
--><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0;
padding:0; padding-bottom:.1em;"><font
color="{{{titleforeground|#000000}}}">{{{title}}}</font></h2><!--
--></div>
<!-- END THE TITLE BLOCK -->
<!-- BEGIN THE CONTENT BLOCK -->
<div style="display: block;<!--
-->position: relative;<!--
-->border: 1px solid {{{border|#ababab}}};<!--
-->vertical-align: top;<!--
-->background: {{{background|#fefeef}}};<!--
-->color: {{{foreground|#000000}}};<!--
-->margin-bottom: 10px;<!--
-->padding: .3em;<!--
-->margin-top: 0em;<!--
-->padding-top: 0em;<!--
-->-moz-border-radius-bottomleft:.7em;<!--
-->-moz-border-radius-bottomright:.7em;"><!--
-->
<!-- CONTENT GOES HERE -->
<div style="clear:both;"></div>
</div>
<!-- END THE CONTENT BLOCK -->
<!-- END -->
How to display the characters "•" in wiki instead of a dot.
I tried <nowiki> and <pre>, and always got a dot. How to just display the
six characters.
thanks
Roy
We're trying to switch hosting of our wiki to a provider that doesn't
limit the max_questions resource (Lunarpages). We've got everything
working, but not until I switched LocalSettings.php from 'pretty' to
ugly URL's.
First, is there an intelligent way for me to ask Lunarpages why their
php is installed this way and if something simple can be changed?
Second, I've read http://meta.wikimedia.org/wiki/
Eliminating_index.php_from_the_url but I'm not sure if the .htaccess
suggestions will work for the case of keeping index.php but changing
to the pretty URL, especially since we're running from a subdomain.
Has anyone done that?
Michelle
> From: "Gary Kirk" <gary.kirk(a)gmail.com>
>
> On,
> for example, Wikipedia, I can include the contents of one page on
> another - i.e. on my userpage, add {{User:Garykirk/ArticlesIStarted}}
> . However, on my wiki, doing this simply produces red links.
You need to start with a colon for any namespace other than Template.
In your example, you should put:
{{:User:Garykirk/ArticlesIStarted}}
to include that page on another page.
We do this all the time, and have done a coop incorporation by
splitting up the bylaws into sections that different people worked on.
:::: We are like tenant farmers chopping down the fence around our
house for fuel when we should be using nature's inexhaustible sources
of energy - sun, wind and tide. I'd put my money on the sun and solar
energy. What a source of power! I hope we don't have to wait until
oil and coal run out before we tackle that.
-- Thomas Alva Edison (1847-1931)
:::: Jan Steinman <mailto:Jan@Bytesmiths.com/Item/80BF02>
Okay, after playing around a bit, I've been able to determine that one of the scripts (I think upgrade1_5.php) didn't convert table _old to _text. The problem I'm having now, is I can't seem to re-run the script, it just tells me it's been run all ready. Can anyone give me an idea of how I can force it to rerun? Or some other way to convert that table? Thanks,
Ed
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Hello.
Basically the question I have is standard, but having read
the doc I still have some questions.
I have a running mediawiki server on SUSE Linux 9.0 and want
to setup a new SUSE Linux 10.0 server (on the same machine)
the old server runs mysql 12.21-4.0.15 (I don't really
understand why there are so many numers), php 4.3.3 and
mediawiki 1.5.8
the new one runs mysql 14.7-4.1.13, & php 4.4 & hopefully
mediawiki 1.6.3
the first try failed with a wikiuser passwd problem. but it
was made quite roughly, as a test, so no more on this.
for the good proceding, may I install all the new things and
try to import the backed-up database, or may I first import
the backup to a mediawiki 1.5.8 install and upgrade
mediawiki afterward?
thanks
jdd
--
http://www.dodin.nethttp://dodin.org/galerie_photo_web/expo/index.htmlhttp://lucien.dodin.nethttp://fr.susewiki.org/index.php?title=Gérer_ses_photos
I don't run my own MediaWiki server, but I use a wikifarm service. On,
for example, Wikipedia, I can include the contents of one page on
another - i.e. on my userpage, add {{User:Garykirk/ArticlesIStarted}}
. However, on my wiki, doing this simply produces red links. I have to
create, for example, {{Template:User:Garykirk/ArticlesIStarted}},
which moves it all into the Template namespace. It's very silly, and I
don't why this is necessary. Is it some extension, hook or whatever
running on Wikimedia Foundation servers? The wikifarm I use is
currently running MediaWiki 1.5.
Any help would be much appreciated!
--
Gary Kirk
Hi
I updated from 1.5.8 to 1.6.3 without any obvious errors.
But now i see that my old and new math-pngs are no longer there
i get the following error:
**"Can't write to or create math output directory"
but i already chmoded all possible dirs to 0777 and the error still
occurs....
math/
images/math
images/tmp
so i activated the debugfile and found this hint.
TeX: getHashPath, hash is: 5bf47f8c9e5d845a3bb424ab6d1d087b, path is:
bla/w/images/math/5/b/f
so i looked for the designated dir and it didnt exist...so it looks like
mw cant create this dir
how can i fix this ?
it is strange because 1.5.8 didnt seperate the pngs but 1.6.3 does...
LocalSettings.php is exactly the same...
thanks in advance for any hint
.robert
**
**
**