Last modified: 2010-03-29 10:35:19 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 T23818, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21818 - garbage padded values returned from api.php for interwikimaps
garbage padded values returned from api.php for interwikimaps
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
: schema-change, shell
: 22242 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-11 09:49 UTC by Ralf Schmitt
Modified: 2010-03-29 10:35 UTC (History)
8 users (show)

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


Attachments

Description Ralf Schmitt 2009-12-11 09:49:52 UTC
http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap returns:

      <iw prefix="aa������������������������������" local="" url="http://aa.wikipedia.org/wiki/$1������������������������������������������������������������������������������������������������" />
      <iw prefix="ab������������������������������" local="" url="http://ab.wikipedia.org/wiki/$1������������������������������������������������������������������������������������������������" />
      <iw prefix="abbenormal����������������������" url="http://ourpla.net/cgi/pikie?$1�������������������������������������������������������������������������������������������������" />
Comment 1 Alex Z. 2009-12-15 06:24:40 UTC
This only seems to be an issue on enwiki, http://fr.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap works fine for me
Comment 2 Brion Vibber 2009-12-20 22:56:38 UTC
enwiki.interwiki table has iw_prefix and iw_url as binary columns; behavior change from 4.0 to 5.1 server will be causing the extra null padding.

They should be changed to varbinary(32) and blob respectively to match current schema settings; recommend double-checking other tables and other databases to see if any other tables were similarly affected.
Comment 3 p858snake 2009-12-20 23:26:18 UTC
Changed Keywords: (N/A) → shell, schema-change
Comment 4 Sam Reed (reedy) 2010-01-16 21:35:52 UTC
Shouldn't this component probably be reassigned to site requests or something?
Comment 5 Bryan Tong Minh 2010-01-23 15:43:52 UTC
*** Bug 22242 has been marked as a duplicate of this bug. ***
Comment 6 Bernard Burette 2010-03-29 10:08:25 UTC
Looks like this one has been fixed?
Comment 7 Sam Reed (reedy) 2010-03-29 10:35:19 UTC
Looks like it

Closing

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


Navigation
Links