thomas Armstrong wrote:
I've just downloaded MediaWiki v1.5.6, and found
out that
/includes/LinksUpdate.php has been modifified and 'fixBrokenLinks'
function removed.
I used this function to hack every new page created.
You'd probably be better off using a hook function; see docs/hooks.txt
How is now this function implemented?
In the old schema, we had two different tables to represent the set of
page-to-page wiki links:
* links listed links to pages that did exist
* brokenlinks listed links to pages that didn't exist
The two separate tables were problematic and created performance problems:
* When you created or deleted a page, you had to switch records between the two
tables. On an often-linked page this could be tens of thousands of records,
which is painful for a large, busy database.
* When you renamed a page, you had to switch around the entries for both the old
and new names. Again, very painful for an often-linked page title.
Since 1.5, we've combined these into a single pagelinks table, which doesn't
have to be updated that way.
-- brion vibber (brion @
pobox.com)