Page MenuHomePhabricator

Special:Imagelist error
Closed, ResolvedPublic

Description

Author: harding.ian

Description:

  1. : 1.8.2
  2. PHP: 5.0.5-2ubuntu1.6 (apache2handler)
  3. 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


Version: 1.8.x
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz8558

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.
StatusSubtypeAssignedTask
InvalidNone
ResolvedNone

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:31 PM
bzimport set Reference to bz8558.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Is this a fresh install or an upgrade from a previous version?

harding.ian wrote:

(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.

Related to the timestamps-as-text problem. We're looking into it; there is no
quick and easy solution yet.

Fixed in r20558, thanks for the report.

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()).

Brion is right: fixed again in r20786.

Jdforrester-WMF subscribed.

Migrating from the old tracking task to a tag for PostgreSQL-related tasks.