Page MenuHomePhabricator

update db table langlinks to new format (because of problem with zh-classical)
Closed, ResolvedPublic

Description

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)


Version: unspecified
Severity: enhancement

Details

Reference
bz24129

Event Timeline

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

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

r81311 commited a patch to take care of that....

r81311 is tagged for 1.17 but not in yet. Roan?

(In reply to comment #3)

r81311 is tagged for 1.17 but not in yet. Roan?

Merged in now.