Jump to: navigation, search

MDC Infrastructure

130 bytes added, 17:58, 13 December 2006
December 13, 2006
* Thanks to Erin's help, I managed to write a basic test case to test my code. However, it only tests the 'en' language - ([ demo] | [ code]). The reason is because the code obtains the language from the URL that calls it ($_SERVER['PHP_SELF']). After reading up on a lot of documention, the only way to test other languages was create install the wiki for every language and test the URL string - which isn't feasible.
* Since there is no direct way that I can test every language, I decided to write a unit test that tests the code I used SpecialNutch.php. This tests constructs a URL for every language, eg. for Korean, the URL will be Then the code (being tested) will extra out 'ko' as the language and tests to make sure that is correct ([ demo] | [ code]).
* Wrote a [[MDC_Infrastructure/Getting_Started|short guide to getting started on this project]], and avoiding the problems I had.
== Project Resources ==
* [ Mozilla Developer Centre]
* [ Nutch] - search engine used on MDC. It's written in Java, bleh.

Navigation menu