Last modified: 2010-05-15 15:42:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10558, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8558 - Special:Imagelist error
Special:Imagelist error
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.8.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2007-01-09 23:59 UTC by Ian Harding
Modified: 2010-05-15 15:42 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ian Harding 2007-01-09 23:59:35 UTC
# : 1.8.2
# PHP: 5.0.5-2ubuntu1.6 (apache2handler)
# PostgreSQL: PostgreSQL 8.1.3 on i686-pc-linux-gnu, compiled by GCC gcc (GCC)
4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) 

Several lines like this before the page.  It does render fine.

Notice: Undefined offset: -1 in
/usr/local/mediawiki-1.8.2/languages/Language.php on line 354
Comment 1 Rob Church 2007-01-20 22:56:23 UTC
Is this a fresh install or an upgrade from a previous version?
Comment 2 Ian Harding 2007-01-21 05:37:54 UTC
(In reply to comment #1)
> Is this a fresh install or an upgrade from a previous version?

Fresh install.  There seems to be one line for each image.
Comment 3 Greg Sabino Mullane 2007-01-22 15:54:14 UTC
Related to the timestamps-as-text problem. We're looking into it; there is no
quick and easy solution yet.
Comment 4 Greg Sabino Mullane 2007-03-19 13:44:17 UTC
Fixed in r20558, thanks for the report.
Comment 5 Brion Vibber 2007-03-28 19:18:19 UTC
I've reverted r20558 in r20784; it seems to be treating the symptoms of
incorrect data being passed around instead of fixing the problems to pass the
right data around.

Raw timestamp values from the database should never be seen; they should get
normalized through wfTimestamp() into some value. Usually external data passing
(eg through HTML forms) should be using the TS_MW format -- as is almost all
internal processing (eg what you pass to Language::timeanddate()).
Comment 6 Greg Sabino Mullane 2007-03-29 12:30:13 UTC
Brion is right: fixed again in r20786.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links