equal
deleted
inserted
replaced
147 } |
147 } |
148 while($r = $db->fetchrow()) |
148 while($r = $db->fetchrow()) |
149 { |
149 { |
150 |
150 |
151 $r['urlname_nons'] = $r['urlname']; |
151 $r['urlname_nons'] = $r['urlname']; |
152 $r['urlname'] = $this->nslist[$r['namespace']] . $r['urlname']; // Applies the User:/File:/etc prefixes to the URL names |
152 if ( isset($this->nslist[$r['namespace']]) ) |
|
153 { |
|
154 $r['urlname'] = $this->nslist[$r['namespace']] . $r['urlname']; // Applies the User:/File:/etc prefixes to the URL names |
|
155 } |
|
156 else |
|
157 { |
|
158 $ns_char = substr($this->nslist['Special'], -1); |
|
159 $r['urlname'] = $r['namespace'] . $ns_char . $r['urlname']; |
|
160 } |
153 |
161 |
154 if ( $r['delvotes'] == null) |
162 if ( $r['delvotes'] == null) |
155 { |
163 { |
156 $r['delvotes'] = 0; |
164 $r['delvotes'] = 0; |
157 } |
165 } |