(bug 13140) Show parent categories in category namespace
[lhc/web/wiklou.git] / includes / GlobalFunctions.php
index 8556505..286a9b8 100644 (file)
@@ -305,6 +305,11 @@ function wfReadOnly() {
        return (bool)$wgReadOnly;
 }
 
+function wfReadOnlyReason() {
+       global $wgReadOnly;
+       wfReadOnly();
+       return $wgReadOnly;
+}
 
 /**
  * Get a message from anywhere, for the current user language.