Ticket #2543: 2543.patch
File 2543.patch, 940 bytes (added by , 15 years ago) |
---|
-
FCKeditor.body.php
59 59 } 60 60 61 61 private function getExcludedNamespaces() { 62 global $wgUser ;62 global $wgUser, $wgFCKexcludedNamespaces; 63 63 64 64 if ( is_null( $this->excludedNamespaces ) ) { 65 65 $this->excludedNamespaces = array(); … … 68 68 $this->excludedNamespaces[] = constant(strtoupper(str_replace("riched_disable_", "", $toggle))); 69 69 } 70 70 } 71 /* 72 If this site's LocalSettings.php defines Namespaces that shouldn't use the FCKEditor (in the #wgFCKexcludedNamespaces array), those excluded 73 namespaces should be combined with those excluded in the user's preferences. 74 */ 75 $this->excludedNamespaces = array_merge((array)$wgFCKexcludedNamespaces, $this->excludedNamespaces); 71 76 } 72 77 73 78 return $this->excludedNamespaces;