https://bugzilla.wikimedia.org/show_bug.cgi?id=24129

           Summary: update db table langlinks to new format (because of
                    problem with zh-classical)
           Product: Wikimedia
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Interwiki links
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to