Re: [Mediawiki-l] Right hook to use for head html element?

2011-05-01 Thread Dorem - Jérémie Bouillon
On 30/04/2011 22:37, Daniel Friesen wrote: Use the BeforePageDisplay hook and $out-addHeadItem if there is no more specific method for what you're trying to insert (ie: alink,meta, script,style, etc...) http://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay Just what I was looking for,

[Mediawiki-l] Vector skin, html xmlns disappeared

2011-05-01 Thread Dorem - Jérémie Bouillon
Help me Obi, you're my last hope ^^ I got a strange thing, and can't find why. I got no xmlns attribute anymore on my regular pages (1.16.4, Vector, no source hacking). My HTML sources start as : !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

Re: [Mediawiki-l] Right hook to use for head html element?

2011-05-01 Thread Krinkle
Dorem - Jérémie Bouillon wrote: On 30/04/2011 22:37, Daniel Friesen wrote: Use the BeforePageDisplay hook and $out-addHeadItem if there is no more specific method for what you're trying to insert (ie: alink,meta, script,style, etc...)

Re: [Mediawiki-l] Using Ajax for single single sign on. How bad of an idea is this?

2011-05-01 Thread Adam Meyer
I have successfully created a true single sign on plugin for mediawiki and phpbb. Works on phpbb sessions and does not use curl or anything of the sort. It authenticates using the AuthPlugin same as the LDAP extension for mediawiki. I am having my users test it to make sure it works correctly.

Re: [Mediawiki-l] Using Ajax for single single sign on. How bad of an idea is this?

2011-05-01 Thread Dorem - Jérémie Bouillon
On 01/05/2011 17:32, Adam Meyer wrote: I have successfully created a true single sign on plugin for mediawiki and phpbb. Works on phpbb sessions and does not use curl or anything of the sort. It authenticates using the AuthPlugin same as the LDAP extension for mediawiki. I'm interested in

Re: [Mediawiki-l] Right hook to use for head html element?

2011-05-01 Thread Dorem - Jérémie Bouillon
On 01/05/2011 13:31, Krinkle wrote: Just out of curiousity, to avoid or perhaps solve a less-than-ideal construction, why does it have to be at the end per se ? What is it you want to insert there ? Two things. First, I'm starting to seriously use MW, so it helps me learning it :-) Second

Re: [Mediawiki-l] Using Ajax for single single sign on. How bad of an idea is this?

2011-05-01 Thread Adam Meyer
I broke the code up into 2 parts so it is abstracted so it will be really easy to make work for any forum software... As long as you can get access to the forum session data for Username Email address and a clean version of the username (may not be needed) And lastly some way of knowing if

Re: [Mediawiki-l] Vector skin, html xmlns disappeared

2011-05-01 Thread Platonides
Dorem - Jérémie Bouillon wrote: Help me Obi, you're my last hope ^^ I got a strange thing, and can't find why. I got no xmlns attribute anymore on my regular pages (1.16.4, Vector, no source hacking). My HTML sources start as : !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

Re: [Mediawiki-l] Right hook to use for head html element?

2011-05-01 Thread Platonides
Dorem - Jérémie Bouillon wrote: On 01/05/2011 13:31, Krinkle wrote: Just out of curiousity, to avoid or perhaps solve a less-than-ideal construction, why does it have to be at the end per se ? What is it you want to insert there ? Two things. First, I'm starting to seriously use MW, so it

Re: [Mediawiki-l] Using Ajax for single single sign on. How bad of an idea is this?

2011-05-01 Thread Platonides
Adam Meyer wrote: I broke the code up into 2 parts so it is abstracted so it will be really easy to make work for any forum software... As long as you can get access to the forum session data for Username Email address and a clean version of the username (may not be needed) And

[Mediawiki-l] phpbb Single Sign-On extension - Working beta

2011-05-01 Thread Adam Meyer
It is a true beta, and needs any work you can do to it. Feel free to make edits as needed. Let me know if you have any issue following the directions or it not working. I did this pretty quickly. http://www.mediawiki.org/wiki/Extension:Phpbb_Single_Sign-On I hope this helps many of you who

Re: [Mediawiki-l] phpbb Single Sign-On extension - Working beta

2011-05-01 Thread Curulan Angelicos
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-05-01 19:02, Adam Meyer wrote: It is a true beta, and needs any work you can do to it. Feel free to make edits as needed. Let me know if you have any issue following the directions or it not working. I did this pretty quickly.

Re: [Mediawiki-l] phpbb Single Sign-On extension - Working beta

2011-05-01 Thread Adam Meyer
Id does all for separate DBs. There is no database usage at all in this plugin. On May 1, 2011, at 7:17 PM, Curulan Angelicos wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-05-01 19:02, Adam Meyer wrote: It is a true beta, and needs any work you can do to it. Feel free to

Re: [Mediawiki-l] Vector skin, html xmlns disappeared

2011-05-01 Thread Dorem - Jérémie Bouillon
On 02/05/2011 00:48, Platonides wrote: You seem to be using $wgHtml5 with $wgWellFormedXml $wgHtml5 = false; should give you back all to full XHTML. Thanks a lot, that did the trick. Strange thing, I had no $wgHtml5 in Localsettings, and I did not edit Default settings conf file.

Re: [Mediawiki-l] Random page

2011-05-01 Thread Q
On 5/1/2011 10:42 PM, Ekompute .info wrote: Hi, how do I exclude pages that start with a number from being included in the random search feature? I am worried that all the date articles (e.g. 1924, 2008) will overwhelm the random search and render it almost useless.