jayvdb added a subscriber: XZise. jayvdb added a comment. In https://phabricator.wikimedia.org/T119316#1867561, @Anomie wrote:
> In https://phabricator.wikimedia.org/T119316#1867508, @jayvdb wrote: > > > Thanks. Is that the only case where non-local pages are included in the > > results (by default)? > > > No idea, you'd have to ask someone who knows about CirrusSearch stuff. > > I do know that there's code for a feature of searches returning interwiki > results as a sidebar, and those are returned separately. > > > I checked https://phabricator.wikimedia.org/tag/globaluserpage/ , and they > > dont appear in search results. > > I wonder if they'd consider that a bug? > > > An existing example where the API and UI differ: changes in the > > $wgNamespacesToBeSearchedDefault > > <https://www.mediawiki.org/wiki/Manual:$wgNamespacesToBeSearchedDefault> > > are not reflected in the API. Search namespaces do not default to > > $wgNamespacesToBeSearchedDefault . > > Hmm. If it wouldn't be a breaking change I'd consider fixing the srnamespace > default to use that setting. Hmm. It might only be the default which is not accurate, assuming the commit message of https://phabricator.wikimedia.org/rPWBC53cd372ea9b7c8b69dbce3f8b1a13f4b0407c871 is correct. (https://gerrit.wikimedia.org/r/#/c/159477/ doesnt contain any further discussion) I do recall this being discussed on IRC with @xzise . There is probably some task which sparked that code. TASK DETAIL https://phabricator.wikimedia.org/T119316 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: XZise, Anomie, jayvdb, Aklapper, StudiesWorld, binbot, pywikibot-bugs-list, Tgr, Legoktm _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
