Last modified: 2009-01-28 21:37:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 17207 - Category Page links say "Object id" (regression on PHP 5.1)
Category Page links say "Object id" (regression on PHP 5.1)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.15.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Brion Vibber
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-28 19:34 UTC by Greg Rundlett
Modified: 2009-01-28 21:37 UTC (History)
0 users

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


Attachments
shows looping series of "Object ids" (78.87 KB, image/png)
2009-01-28 21:20 UTC, Greg Rundlett
Details

Description Greg Rundlett 2009-01-28 19:34:41 UTC
Using
MediaWiki  1.15alpha (r46458)
PHP 	5.1.6 (apache2handler)
MySQL 	5.0.45

Category Page link text displays "Object id NN" instead of the Article Title.

For example, in a Category with two members, you would see this output:

The following 2 pages are in this category, out of 2 total.
S
    * Object id #93
j
    * Object id #87

They are still alphabetized and link properly to the article, but the link text is missing/malformed
Comment 1 Greg Rundlett 2009-01-28 20:04:16 UTC
Categories with Media: members do display those image thumbnails properly.
Comment 2 Greg Rundlett 2009-01-28 21:19:43 UTC
The Object id actually loops in the series (110,115,109)

    * Object id #110
    * Object id #115
    * Object id #109
    * Object id #110
    * Object id #115
    * Object id #109
    * Object id #110
    * Object id #115

(Category Links appear to be ok in the database, so it doesn't seem like a db corruption)

screenshot attached
Comment 3 Greg Rundlett 2009-01-28 21:20:46 UTC
Created attachment 5742 [details]
shows looping series of "Object ids"
Comment 4 Brion Vibber 2009-01-28 21:34:13 UTC
Regression... r46020 added a call to $wgContLang->convert() for category article listings, but mistakenly passed the title *object* instead of the text. In PHP 5.2, this was silently converted to a string, but in older versions this would interpolate as something useless like "Object id #110".

Fixed in r46489.
Comment 5 Greg Rundlett 2009-01-28 21:37:59 UTC
Thanks -- I so want to ditch this server and/or update PHP

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


Navigation
Links