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:
861f5a0
)
*Use NS_SPECIAL constant to be formal
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 30 Jun 2007 00:10:49 +0000
(
00:10
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 30 Jun 2007 00:10:49 +0000
(
00:10
+0000)
includes/Wiki.php
patch
|
blob
|
history
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
a67ec12
..
924a977
100644
(file)
--- a/
includes/Wiki.php
+++ b/
includes/Wiki.php
@@
-98,7
+98,7
@@
class MediaWiki {
$lang->findVariantLink( $title, $ret );
}
- if ( $ret->getNamespace() !=
-1
&& $oldid = $request->getInt( 'oldid' ) ) {
+ if ( $ret->getNamespace() !=
NS_SPECIAL
&& $oldid = $request->getInt( 'oldid' ) ) {
// Allow oldid to override a changed or missing title.
$rev = Revision::newFromId( $oldid );
if( $rev ) {