dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdb5c2b
)
give the correct error message when an article doesn't exist
author
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 19 Jan 2006 17:10:57 +0000
(17:10 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 19 Jan 2006 17:10:57 +0000
(17:10 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
a528321
..
e05fb89
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-816,8
+816,10
@@
class Article {
$t = $this->mTitle->getPrefixedText();
if( $oldid ) {
$t .= ',oldid='.$oldid;
+ $text = wfMsg( 'missingarticle', $t );
+ } else {
+ $text = wfMsg( 'noarticletext', $t );
}
- $text = wfMsg( 'missingarticle', $t );
}
# Another whitelist check in case oldid is altering the title