Manual:LinksUpdate.php

MW 1.35:

LinksUpdate.php is the updater for link tracking tables (,, , , , , , ) after a page edit.

Members

 * - Pagelinks, in the format $mLinks[$namespace][$dbkey]. E.g. $mInterwikis['wikipedia']['Project:Foo_bar']. Each element will be set to the, which if the target page exists will be a positive integer.
 * - generated by
 * - generated by
 * - Interwiki links, in the format $mInterwikis[$prefix][$dbkey]. E.g. $mInterwikis['wikipedia']['Project:Foo_bar']. Each element will always be set to the integer 1.
 * - generated by
 * - generated by
 * - Interwiki links, in the format $mInterwikis[$prefix][$dbkey]. E.g. $mInterwikis['wikipedia']['Project:Foo_bar']. Each element will always be set to the integer 1.
 * - generated by
 * - generated by
 * - Interwiki links, in the format $mInterwikis[$prefix][$dbkey]. E.g. $mInterwikis['wikipedia']['Project:Foo_bar']. Each element will always be set to the integer 1.
 * - generated by
 * - generated by
 * - Interwiki links, in the format $mInterwikis[$prefix][$dbkey]. E.g. $mInterwikis['wikipedia']['Project:Foo_bar']. Each element will always be set to the integer 1.
 * - generated by
 * - generated by
 * - Interwiki links, in the format $mInterwikis[$prefix][$dbkey]. E.g. $mInterwikis['wikipedia']['Project:Foo_bar']. Each element will always be set to the integer 1.
 * - Interwiki links, in the format $mInterwikis[$prefix][$dbkey]. E.g. $mInterwikis['wikipedia']['Project:Foo_bar']. Each element will always be set to the integer 1.

Methods

 * - Update link tables with outgoing links from an updated article
 * - Get an array of existing inline interwiki links, as a 2-D array.
 * - Get an array of existing links, as a 2-D array.
 * - Given an array of existing interwiki links, returns those links which are not in $this and thus should be deleted.
 * - Get an array of interwiki insertions for passing to the DB. Skips the titles specified by the 2-D array $existing.
 * - Given an array of existing links, returns those links which are not in $this and thus should be deleted.
 * - Get an array of pagelinks insertions for passing to the DB Skips the titles specified by the 2-D array $existing.

Hooks

 * (from )
 * (from )
 * (from )
 * (from )