Thread:Project:Support desk/Duplicate Page Entries/reply

Your question is kind of confusing, and I think you're mixing up the role of a few of MediaWiki's db fields.

Each page in mediawiki has a unique id, which is a number. In a url (Where it very rarely appears) it is called the curid. Other places call it either article id, or page id. To use project:Support desk as an example, it has a page_id of 49433 (and hence can be accessed at https://www.mediawiki.org/w/index.php?curid=49433 ).

The page_title is not the full name of the page, but only the part after the colon. Thus Project:Support desk has a page_title of Support_desk. It would also have a page_namespace of 4 (4 = Project. Other common ones are 0 for main (no prefix) namespace, 1 for talk. See help:Namespaces for more info)

>I have noticed that there are a few entries in the Page table that have the same Page Title.

Provided they are in different namespace (page_namespace field), that's normal. If two pages have the same page_title, and the same page_namespace, something is wrong.

>How do I resolve a PageLink Record that is pointing to a Page Title with a duplicate Page ID

There should only be 1 page_id for each (page_namespace, page_title) pair, so there should be no duplication.

See also manual:Page table and manual:pagelinks table