|
Re: 1.4.0 doesn't seem to work...: msg#00491org.wikimedia.mediawiki
Jason Davies wrote: After some detective work, I think I'm on the trail. In function date() It might "make sense" if PHP's built-in functions are malfunctioning and the functioning of wfTimestamp() is therefore broken. :) Take that function in isolation (and the constant definitions it uses, right above it in GlobalSettings.php) and see if you can figure out how it's misbehaving. Check that: * the format constants have the correct values * the correct preg_match calls match given input * the matches in $da contain the correct substrings * the result of gmmktime is a sensible Unix timestamp * nothing is overriding that timestamp * the correct output format is selected in the switch() * gmdate is returning sensible values -- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l-T31ubCBy5U6GglJvpFV4uA@xxxxxxxxxxxxxxxx http://mail.wikipedia.org/mailman/listinfo/mediawiki-l |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Index.php does not redirect to Main_Page: 00491, Brion Vibber |
|---|---|
| Next by Date: | Re: 1.4.0 doesn't seem to work...: 00491, Jason Davies |
| Previous by Thread: | Re: 1.4.0 doesn't seem to work...i: 00491, Jason Davies |
| Next by Thread: | Re: 1.4.0 doesn't seem to work...: 00491, Jason Davies |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |