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

Brion Vibber <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Brion Vibber <[email protected]> 2010-04-16 01:42:00 UTC ---
Fixed in r65104.


Added iwlinks table to track inline interwiki link usage.

Like langlinks, this stores the interwiki prefix (as iwl_prefix) and full page
title (as iwl_title), attached to the page doing the liking (as iwl_from ->
page_id).
Unlike langlinks, there can be multiple entries stored per interwiki prefix.

Updater to add the table confirmed on MySQL, untested on SQLite but should
work.
Someone may still need to add and test a PostgreSQL updater.

Refactored makeWhereFrom2d() out of LinkBatch to Database so it could be
re-used for the similar mapping for the interwiki links, which need a string
prefix rather than an int namespace key.
Also cleaned it up internally to reuse existing code for building where clauses
from arrays. (Tim & Domas -- if the previous more verbose code was there to
reduce function call and array processing overhead on very large link lists,
feel free to unroll it again if the difference is measurable. Just swap the var
names around from the old LinkBatch code and escape the base key value if it's
not an integer, it'll be functionally equivalent.)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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