Extension:RemoveRedlinks

Quick and dirty extension I whipped up to remove redlinks from page output. Note, this runs on _all_ links run through Linker::link, not only page content. Thus, redlinks in messages, special pages, etc will all be rendered as plaintext too.

Remove redlinks for unregistered users only
Adding the following code will remove redlinks for unregistered users only. Registered users will see redlinks as before. [To be added after function efRemoveRedlinks(...)]

global $wgUser; # always show for logged in users if ( $wgUser->isLoggedIn) { return true; }