Last modified: 2011-02-03 11:21:55 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 T26129, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24129 - update db table langlinks to new format (because of problem with zh-classical)
update db table langlinks to new format (because of problem with zh-classical)
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Interwiki links (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks: 26611
  Show dependency treegraph
 
Reported: 2010-06-26 15:17 UTC by merl
Modified: 2011-02-03 11:21 UTC (History)
4 users (show)

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


Attachments

Description merl 2010-06-26 15:17:05 UTC
In db table langlinks ll_lang still has type varchar(10). since Mediawiki 1.10 this has changed to varbinary(20) (http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/maintenance/tables.sql?view=markup / http://www.mediawiki.org/wiki/Manual:Langlinks_table)

Every bot framework using API must use a workaround because of different values of zh-classical.

On the sitematrix and in sourcecode zh-classcial must be used and this value is shown at http://de.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap

The langlinks table cut this after ten characters. Therefore zh-classic (without -al) is shown at all results from langlinks table (e.g. http://de.wikipedia.org/w/api.php?action=query&prop=langlinks&titles=Kategorie:User_zh&redirects&lllimit=max)
Comment 1 Sam Reed (reedy) 2011-02-01 18:24:03 UTC
Adding blocking bug 26611

This really needs fixing up, it was changed in r23239

Need to see if there is a schema patch, and if not, one creating
Comment 2 Sam Reed (reedy) 2011-02-01 18:36:16 UTC
r81311 commited a patch to take care of that....
Comment 3 Mark A. Hershberger 2011-02-02 20:00:03 UTC
r81311 is tagged for 1.17 but not in yet.  Roan?
Comment 4 Roan Kattouw 2011-02-03 11:21:55 UTC
(In reply to comment #3)
> r81311 is tagged for 1.17 but not in yet.  Roan?
Merged in now.

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


Navigation
Links