r82726 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r82725
|
r82726
|
r82727
>
Date:
15:25, 24 February 2011
Author:
reedy
Status:
ok
Tags:
Comment:
Make sure title exists as well as being valid
Modified paths:
/trunk/extensions/Narayam/Narayam.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/Narayam/Narayam.php
—
—
@@ -153,7 +153,7 @@
154
154
155
155
$target = '';
156
156
157
- if ( $title ) {
157
+ if ( $title && $title->exists() ) {
158
158
$target = $title->getFullURL();
159
159
}
160
160
Status & tagging log
20:24, 24 February 2011
Catrope
(
talk
|
contribs
)
changed the
status
of r82726
[
removed:
new
added:
ok]