Jump to content

Wikipedia:Dead-end pages/How to update

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Topbanana (talk | contribs) at 11:29, 6 July 2004 (Instructions on regenerating the dead-end list). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Download and install the MySQL database engine from the MySQL web site. Download the latest en database dump from the Wikipedia database download site. Unzip the database dump and load the resulting file into MySQL with the source command.

Now issue the SQL statement:

    select cur_title
    from cur
    where locate( '[[', cur_text ) = 0
    and cur_namespace = 0;

This will return a list of all articles that do not contain at least one '"[["' - this means they're almost certainly not wikified. Open the list into a text editor (you may find it helpful to save it using MySQL's tee command), tidy it up and cut and paste it into Wikipedia:Deadend pages.