Re: [Wikitech-l] MW test infrastructure architecture

2009-08-11 Thread Alexandre Emsenhuber
and syntaxChecker.php). Porting tests such as parser to PHPUnit is a pain, since it has no native way to write a test suite that has a unknow number of tests to run. Alexandre Emsenhuber (ialex) ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

Re: [Wikitech-l] MW test infrastructure architecture

2009-08-11 Thread Alexandre Emsenhuber
Le 11 août 09 à 22:51, dan nessett a écrit : --- On Tue, 8/11/09, Alexandre Emsenhuber alex.emsenhu...@bluewin.ch wrote: +1, we could maybe write our own test system that can be based on the new Maintenance class, since we already some test scripts in / maintenance/ (cdb-test.php, fuzz

Re: [Wikitech-l] Is there any evidence that the tests in phase3/maintenance/Tests ever worked? (errata)

2009-08-03 Thread Alexandre Emsenhuber
The code that starts the tests is in PHPUnit (which is required to run these tests) and is triggered by the line require( 'PHPUnit/TextUI/ Command.php' ); in run-tests.php. Cheers! Alexandre Emsenhuber Le 3 août 09 à 20:06, dan nessett a écrit : That is, the tests in ../phase3/tests

Re: [Wikitech-l] $this-html('bodytext')

2009-05-29 Thread Alexandre Emsenhuber
This is OutputPage::$mBodytext from OutputPage.php ($out is generally $wgOut in this context). cheers, Alexandre Emsenhuber (ialex) Le 29 mai 09 à 11:32, magggus a écrit : Hi @all, Could someone please tell me how the value of 'bodytext' in MonoBook.php page content is set? Seems

Re: [Wikitech-l] New preferences system

2009-04-24 Thread Alexandre Emsenhuber
Le 24 avr. 09 à 16:15, John Doe a écrit : thanks, I take this as the first step in creating global preferences? Global preferences were added with this rewrite. There is just a checkbox saying use these preferences on all projects at the bottom of Special:Preferences. Alexandre Emsenhuber

Re: [Wikitech-l] Serving as xhtml+xml

2009-03-19 Thread Alexandre Emsenhuber
type. This seems to work fine with the existing MW XHTML pages. Can't you set $wgMimeType = 'application/xhtml+xml'; in LocalSettings.php to serve pages with application/xhtml+xml content type? Alexandre Emsenhuber (ialex) ___ Wikitech-l mailing list