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:
3aeb335
)
Typo, style fix
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Fri, 23 Jul 2010 17:11:20 +0000
(17:11 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Fri, 23 Jul 2010 17:11:20 +0000
(17:11 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
1434491
..
e515783
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-2942,7
+2942,7
@@
class Title {
# (so we can undo bad moves right after they're done).
if ( 0 != $newid ) { # Target exists; check for validity
- if ( !
$this->isValidMoveTarget( $nt ) ) {
+ if ( !$this->isValidMoveTarget( $nt ) ) {
$errors[] = array( 'articleexists' );
}
} else {
@@
-3422,7
+3422,7
@@
class Title {
*/
public function isValidMoveTarget( $nt ) {
$dbw = wfGetDB( DB_MASTER );
- # Is it an exist
s
ing file?
+ # Is it an existing file?
if ( $nt->getNamespace() == NS_FILE ) {
$file = wfLocalFile( $nt );
if ( $file->exists() ) {