Re: [Mediawiki-l] A call for skins

2011-02-08 Thread Laurent Savaete
Hi Daniel, I've built this skin (http://www.wiki-babel.org/en/Main_Page) based on the MonoBook that came with mw 1.15. It works ok with firefox 3.6 but is a bit off with other browsers unfortunately. The code is here: https://www.assembla.com/spaces/wikibabel I can't claim it's a work of art and i

Re: [Mediawiki-l] Mediawiki Help,thanks!

2010-12-08 Thread Laurent Savaete
hewenliang : > 你好, >   > 我在使用mediawiki的时候,在编辑文件的界面,我想在文本输入后同时增加一张图片到此文本区,也就是想在编辑界面工具栏上增加一个按钮,这个按钮的作用就是上传本地图片。请问你是否知道怎么修改? >  感谢! > > Laurent Savaete 在 Tue, 7 Dec 2010 17:39:47 > 写道: >>Hello, >> >>if I understand correctly, you want to add an extra button in t

Re: [Mediawiki-l] Mediawiki Help,thanks!

2010-12-07 Thread Laurent Savaete
Hello, if I understand correctly, you want to add an extra button in the edit toolbar. When clicking that button, you want to open the file upload page. As far as I understand, mwCustomEditButton only works to add buttons that will insert text in the editor. The javascript you included below shoul

Re: [Mediawiki-l] Managing uploads for a cluster of Wiki servers

2010-11-25 Thread Laurent Savaete
Hi Jani, I think you'll find what you're after here: http://www.mediawiki.org/wiki/Manual:Wiki_family#Upload cheers, Laurent 2010/11/25 Jani Patokallio : > Greetings, > > I'm managing a two-node cluster of Wikis, and I'd like to enable uploads. > Only problem is, since uploads are stored locally

Re: [Mediawiki-l] modify page title when displaying an article

2010-10-07 Thread Laurent Savaete
to setHTMLTitle don't seem to have any effect. Is this the expected behaviour? thanks again for your help, Laurent 2010/10/5 Platonides : > Laurent Savaete wrote: >> Hello, >> >> I am trying to change the way the title of pages in a specific >> namespace are displayed. >

[Mediawiki-l] modify page title when displaying an article

2010-10-04 Thread Laurent Savaete
Hello, I am trying to change the way the title of pages in a specific namespace are displayed. All pages in this namespace (Lesson:) contain a tag, which I've registered with the parser using $wgParser->setHook( 'wikibabel', 'efWikiBabelRender' ); I'm also using the ParserAfterTidy hook to preve

Re: [Mediawiki-l] Wiki page without furnishing

2010-07-05 Thread Laurent Savaete
Have you tried creating a very basic skin that displays only what you want, and then include the content by getting the content via something like http://yourwiki.com/wiki/The_page_you_want?useskin=thesimpleskin this allows you to preserve you normal access to the site, and also include it with th

Re: [Mediawiki-l] Uploading video files

2010-05-31 Thread Laurent Savaete
You may want to look at the ogghandler extension, it works for sure with free formats like ogg theora, not sure for others though. It's used on wikipedia, so stable enough. Cheers, Laurent On 6/1/10, Ekompute .info wrote: > Hi, I have never uploaded any video files because it is rather big, comp

Re: [Mediawiki-l] Edit Page modifications

2010-05-28 Thread Laurent Savaete
Samuel, I believe you could have a look at hooks, and in particular at ArticleSave. You could write a hook function that would take the values from checkboxes (or any input) that you will find in $wgRequest->myvalue and amend the $text parameter which is the new content of the article that is abou

Re: [Mediawiki-l] multi-client capability?

2010-05-17 Thread Laurent Savaete
Hi Moove, I'm not sure what you mean by a "multi-client capability", but if you want multiple wikis from one installation, you may want to look at this page: http://www.mediawiki.org/wiki/Manual:Wiki_family There are several setups described there, hopefully one of them should meet your requiremen