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

           Summary: Prevent searchNs collisions by distinguishing
                    different wikis' namespaces in user_properties on wiki
                    farms with a shared user table
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: User preferences
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Presently, the namespace checkboxes in the advanced search options on the
Preferences tab cause settings to be put in the user_properties table as
"searchNs100" if the user, setting preferences on Wiki2, opts to include the
"Foo" namespace in his searches and Foo's namespace index is 100. This can
cause a conflict when you have your wiki farm configured using $wgSharedDB and
the wikis share a user table. Consider, for instance, what happens if there is
a "Bar" namespace on Wiki3 with a namespace index of 100. If the user from the
example above went to Wiki3 and searched, the "Bar" namespace would be included
in his search because of how Wiki3 would interpret the "searchNs100" property.

Ultimately I am seeking to fix bug 1837 by implementing multi-wiki search, and
I need to make sure this conflict doesn't get in the way. Some wikis will want
to use CentralAuth, while others will simply want to share a user table, and
multi-wiki search functionality should be available for them all.

-- 
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