[Pkg-mediawiki-devel] RFH: more Apache warnings
Thorsten Glaser
t.glaser at tarent.de
Wed Jun 30 15:41:41 UTC 2010
[Wed Jun 30 17:14:22 2010] [error] [client 172.16.0.58] PHP Notice:
Undefined offset: -1 in /usr/share/mediawiki/languages/Language.php on
line 431, referer:
https://[…]/plugins/mediawiki/wiki/teilchenbeschle/index.php?title=Main_Page&action=edit
This is:
430 function getMonthName( $key ) {
431 return $this->getMessageFromDB( self::$mMonthMsgs[$key-1] );
432 }
Apparently, something calls getMonthName(0) – maybe from some
kind of “struct tm” style date. I have no idea whether this is
from mediawiki (1:1.15.4-1tarent1 which is the same as 1.15.4-1
for all purposes here) or mw-extensions (probably the latter and
some of them). Anyone who knows PHP and maybe the MW code well
is welcome to fix them…
bye,
//mirabilos
--
tarent Gesellschaft für Softwareentwicklung und IT-Beratung mbH
Geschäftsführer: Boris Esser, Elmar Geese
HRB AG Bonn 5168 - USt-ID (VAT): DE122264941
Heilsbachstraße 24, 53123 Bonn, Telefon: +49 228 52675-93
Weigandufer 45, 12059 Berlin, Telefon: +49 30 5682943-30
Internet: http://www.tarent.de/ • Telefax: +49 228 52675-25
More information about the Pkg-mediawiki-devel
mailing list