Index: trunk/phase3/includes/parser/ParserOutput.php |
— | — | @@ -94,6 +94,9 @@ |
95 | 95 | // We don't record Special: links currently |
96 | 96 | // It might actually be wise to, but we'd need to do some normalization. |
97 | 97 | return; |
| 98 | + } elseif( $dbk === '' ) { |
| 99 | + // Don't record self links - [[#Foo]] |
| 100 | + return; |
98 | 101 | } |
99 | 102 | if ( !isset( $this->mLinks[$ns] ) ) { |
100 | 103 | $this->mLinks[$ns] = array(); |