Page MenuHomePhabricator

Add Index namespace to $wgNamespacesToBeSearchedDefault by default
Closed, ResolvedPublic

Description

Now that bug 37483 has been fixed, it is possible to apply some settings to the namespaces.
Most or all Wikisources add the Index namespace to the namespaces selected by default for search; it makes sense to do this directly from the extension and to handle exceptions via configuration.


Version: master
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=44320

Details

Reference
bz52708

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:04 AM
bzimport added a project: ProofreadPage.
bzimport set Reference to bz52708.
bzimport added a subscriber: Unknown Object (MLST).

Never mind that I would not have agreed with adding those namespaces to the default search-set in the first place but hasn't this request been made moot in the interim by the removal of search options from User preferences altogether? (refer to bug 52812 and bug 52817 [I think] for the change)

As a result, the now defunct [[Special:Preferences#mw-prefsection-searchoptions]] search options are now handled independently by [[Special:Search]] and are set on a per use basis - the previous settings being the "new" default for every new session if that option is selected.

If all that is indeed true, can't we close this bug?

(In reply to George Orwell III from comment #1)

hasn't this request been made moot
in the interim by the removal of search options from User preferences
altogether?

No.

are set on a per use basis -
the previous settings being the "new" default for every new session if that
option is selected.

I'm unable to grasp the meaning of this sentence, sorry. But the search preferences work exactly as before, they're just set on Special:Search rather than Special:Preferences.

If you say so....

I still don't believe forcing those one or two WS specific namespaces into the default search set - if there still is a default search set - is not warranted nor needed. The new tick box ' Remember selection for future searches ' allows Users to decide what & when to search across (or blindly ignore altogether) if the need arises (or never does).

(In reply to George Orwell III from comment #3)

The new tick box ' Remember selection for future
searches ' allows Users to decide what & when to search across (or blindly
ignore altogether) if the need arises (or never does).

It was the same before. This bug report is just about making the extension's defaults closer to what people actually use, to the benefit of wiki sysadmins and unregistered users.

I beg to disagree -
Speaking only from an en.WS point of view, I don't believe established Users search for and/or find anything useful in the Index: namespace never mind the Page namespace (unless maybe if the page has been Proofread or similar). Newbies to Wikisource aren't even clear yet on what or how the Proofreading process works so adding either one would just clutter up or confuse their search results.

Maybe its more of language specific domain thing than a Wikisource project-wide one when you make the assertion these changes are desired (if not needed)?

My experience has been the opposite - a typical search including either namespace does not help provide "more desirable" results.

(In reply to George Orwell III from comment #5)

Speaking only from an en.WS point of view, I don't believe established Users
search for and/or find anything useful in the Index: namespace

And after 5 comments we finally get to know what's the point. :-)
This can be done without affecting en.source, of course.

Does the work of T54709 in putting the Index namespace into ContentNamespace automatically add it to the default search?