File talk:MediaWiki 1.24.1 database schema.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Foreign keys[edit]

why does 1.24.1 database schema.svg don't show the relationship within tables like this File:MediaWiki_1.20_(44edaa2)_database_schema.svg  ? — Preceding unsigned comment added by Cxyshine (talk • contribs) 09:04, 23 March 2015‎ (UTC)[reply]

Because it was a lot of work to maintain, couldn't be automated at the time, and made the graph very busy and full of lines. I believe the graph is more readable now without those lines. Typically, our foreign keys have a clear name that identifies the relevant table. There is also more elaborate documentation on mediawiki.org where all relationships are indicated. For example, mw:DB, on mw: Manual:imagelinks table the page_id field has a link to the page table. I hope that helps Krinkle 01:57, 7 November 2015 (UTC)[reply]