https://bugzilla.wikimedia.org/show_bug.cgi?id=15018


[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Severity|enhancement                 |minor
            Version|1.12.0                      |1.16-svn




--- Comment #3 from [email protected]  2009-06-07 00:35:28 UTC ---
Offline, I discovered the same bug, and wrote the following:

==Search namespaces hardwired==

Below I'm not talking about which namespaces the user can have checked
by default, but instead what namespaces he will see visible at all on 
Special:Search and Special:Preferences in the first place.

SearchEngine.php's searchableNamespaces() is hardwired and
doesn't let anybody e.g., take NS_FILE, NS_FILE_TALK off the list, for
sites with $wgEnableUploads = false; meaning they show up in
Special:Search, though useless.
What's worse is in Preferences.php, the namespaces are again hardwired:
  foreach( $wgContLang->getNamespaces() as $ns => $name ) {
    if ($ns < 0) continue;
Sure, searchableNamespaces() is seen in several places in
Preferences.php, apparently left behind detached.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to