dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* (bug 1850) Additional fixes so existing local and remote images
[lhc/web/wiklou.git]
/
includes
/
Namespace.php
diff --git
a/includes/Namespace.php
b/includes/Namespace.php
index
a95b7cc
..
f1341cc
100644
(file)
--- a/
includes/Namespace.php
+++ b/
includes/Namespace.php
@@
-62,6
+62,14
@@
class Namespace {
return true;
}
+ /**
+ * Check if the given namespace is not a talk page
+ * @return bool
+ */
+ function isMain( $index ) {
+ return ! Namespace::isTalk( $index );
+ }
+
/**
* Check if the give namespace is a talk page
* @return bool