I was doing a little bit of fiddling around with my site's layout this
evening, and I had an idea that someone more involved in the MediaWiki
development might be interested -- a couple of little "powered by"
badges that people can add to their site layout to show their support
for this excellent software.
I've quickly tossed together some ideas based on a couple of images I
"borrowed" from the MediaWiki SourceForge page -- they're just a rough
idea, so if anyone wants to develop the idea further, they're welcome
to it. I can pass on the original Fireworks .png files, though it
might be better to use the original source files, 'specially since I
don't have the exact font used for the word "MediaWiki" and had to
approximate to create the "Powered By" part.
Let me know what you think!
Dan Carlson
IE for Windows doesn't support 24-bit transparent PNGs normally, but
with some hacking you can use a roundabout method to display them on
IE5.5+:
http://support.microsoft.com/default.aspx?scid=kb;en-us;294714
I managed to get the logo in MonoBook displaying with transparency by
sticking this hack into the IEFixes.css:
#portlet-logo a,
#portlet-logo a:hover {
background-image: none;
cursor: hand;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/
~brion/rel1.3/stylesheets/monobook/wiki.png',sizingMethod='crop');
}
Unfortunately it seems to want a URL relative to the HTML page, not the
stylesheet, so we can't hard-code it in the file. It could perhapsbe
hacked in at runtime by JavaScript (yuck!), or by a <style> block
embedded in every page with a conditional comment (yuck!)
For <img>s in the page, there's a very nice JavaScript fragment which
will walk through the page and replace them with hacked up <span>s at
load time without much other effort. May be worth looking at:
http://homepage.ntlworld.com/bobosola/pngtestfixed.htm
-- brion vibber (brion @ pobox.com)
Hi Bernhard,
it's very arguable what exactly is meant by "more professional".
Generally speaking, speed is MySQL's forte, and is also what MediaWiki
has a great need for (particularly with Wikipedia). The magazine
articles you've read were probably referring to some of the more
"enterprise" features (MySQL for a long time did not support
transactions, and replication was dubious at best) which MediaWiki
doesn't really need. I don't personally think there is much benefit in
letting the code use Postgres, but if you're willing to put in the
effort - hey, great, send a patch.
As for the MediaWiki table structure, while I'm sure we can help with
problems you might encounter, it might be easier for you to install,
temporarily, MySQL on one of your machines. MySQL binaries are available
for a slew of operating systems and architectures, so it shouldn't take
very long.
Cheers,
Ivan
>>> Bernhard.Naegele(a)t-online.de 03/27/04 12:02 PM >>>
[...]
In every article about Open Databases I read, that Postgres is a more
professional database than MySQL, so I wonder that there is no interrest
in suporting also Postgresql, or is there also interrest?
However, I have a running Postgres database and I want to run also a
Wiki
Wiki. The question for me is now if I should take PHPWiki which has
Postgres
support or if I should spend some time in enhancing MediaWiki.
At the moment, it seams that MediaWiki has more interesting features
than
PHPWiki.......
So my first question: Was there a demand for Postgres in the past?
Second: Is there anyone who can suport me if I have some question about
MySQL
(table-structure of MediaWiki) support of MediaWiki? I don't want to
install
also MySQL on some of my computers......
Best regards,
Bernhard
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)Wikipedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l
On Apr 10, 2004, at 03:46, Erik Moeller wrote:
> ! $state["strong"] = $state["em"] = $token["pos"];
> ! $state["strong"] = $state["em"] = isset($token["pos"]) ?
> $token["pos"] : true;
Maybe it's just because it's late, but those don't look like they do
the same thing to me. An unset variable evaluates to boolean false, not
true.
-- brion vibber (brion @ pobox.com)
Hi,
See http://en.wikipedia.org/w/wiki.phtml?title=User:Arvindn/Chess&oldid=3122727
The footer is displaced to the right (in Gecko; haven't checked anything else).
At the same time the indents in the discussion to the right of
the image at the bottom are not showing. I think the two might
be related.
Arvind
--
Its all GNU to me
Just a warning; Special:Preferences in cvs head is currently a bit
messy. I'm partway through reorganizing it into more sensible groupings
of options, but this ain't totally done yet.
It may also be worth dumping a few of the toggles that do useless or
undesireable things.
I'll also mention before I forget it again that the sidebar position
option doesn't work on MonoBook. In addition to the prominent user
preference for it, right-to-left languages (Arabic, Hebrew, Farsi,
Urdu, etc) use a right-hand sidebar by default, so we need to at least
have that ability to maintain user interface handedness.
-- brion vibber (brion @ pobox.com)
Going under the assumption that we will be buying a new db server to
replace geoffrin, please everyone take a look at:
http://www.siliconmechanics.com/
and help me decide on a suitable configuration. Assume a budget of
$9,000-$10,000, but don't hesitate to go under (of course!) or over
(if for a good reason!).
There have been several requests (from more than one person, or just
from one person) for 15k spindle drives. Is that a universal
consensus? I find it hard to imagine that faster drives is really
pertinent, because just about any problem that can be solved with
faster drives can be solved better with more ram?
But, that's a very simplistic view on my part, so I could easily be
convinced otherwise.
RAID 10? That's what geoffrin had, and it was sweet. But RAID 5
would give more disk space, right?
What are our disk requirements for the db server? Let's be generous
with ourselves here. But, also let's think about whether disk space
needs might in some cases be better handled by a big slow cheap SATA
storage server?
If we're in need of other new hardware, now is a good time to order
that as well.
We have a crucial responsibility to be good stewards of our donor's
money. That means two things -- first, we don't buy hardware just
because it sounds cool, but to meet specific needs. But second, the
money wasn't given to us to sit in the bank forever, it's to give the
donors what they want -- a fast fast wikipedia. So we should not be
cheapskates, either.
--Jimbo
p.s. Quotes or recommendations for other vendors are welcome, but I'd
like to take action quickly, so it would be good to talk about
configurations from a single site (siliconmechanics) and then also look
around for better pricing or service or ??? elsewhere.
On Apr 8, 2004, at 14:08, Gabriel Wicke wrote:
> removed an apparently complicated way to trim whitespace off, also
> threw php notices
...
> ! $t = preg_replace( "/[\\s_]+/", "_", trim($this->mDbkeyform) );
This now fails given something like "_blah_".
-- brion vibber (brion @ pobox.com)
On Apr 8, 2004, at 13:50, Andre Engels wrote:
> --- 1,111 ----
> ! -- Based more or less on the public interwiki map from
> MeatballWiki
Please don't check in files with a byte-order mark (created by some
Windows utilities such as Notepad). These can confuse programs that
expect actual data in their data.
Also, please don't add a blank space to the end of every line. It makes
the diffs illegible.
-- brion vibber (brion @ pobox.com)
<JeLuF> brion: Coronelli is currently offline.
02:02 brion: goody
<JeLuF> brion: Jimbo replaced the 512MB chip with a 1GB one since he assumed the memory
- might not be the right one for that board and might be the cause of the
- occassional trouble we've got
<JeLuF> starting squid, the machine died within approximately 6 seconds.
<JeLuF> currently, the box is running memtest
<JeLuF> the memtest floppy has been removed from the disk drive, so if you power cycle
- coronelli using the APC, it will start linux.
02:05 brion: JeLuF: ok. could you fwd that to wikitech?
<JeLuF> In case of emergency, Jimbo has allowed wikipedia to make use of curly.bomis.com.
- Remote root login is enabled and the password is "the standard wikipedia one".