[Bug 22773] [PrefixSearch] Namespace name part of prefix search query should not override given namespace id(s)
https://bugzilla.wikimedia.org/show_bug.cgi?id=22773 Matthew Flaschen changed: What|Removed |Added See Also||https://bugzilla.wikimedia. ||org/show_bug.cgi?id=52610 -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22773] [PrefixSearch] Namespace name part of prefix search query should not override given namespace id(s)
https://bugzilla.wikimedia.org/show_bug.cgi?id=22773 Mark A. Hershberger changed: What|Removed |Added CC||m...@everybody.org Target Milestone|1.20.0 release |Future release --- Comment #6 from Mark A. Hershberger 2012-09-28 19:01:56 UTC --- no work done and release is coming -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22773] [PrefixSearch] Namespace name part of prefix search query should not override given namespace id(s)
https://bugzilla.wikimedia.org/show_bug.cgi?id=22773 Sam Reed (reedy) changed: What|Removed |Added Target Milestone|1.19.0 release |1.20.0 release -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22773] [PrefixSearch] Namespace name part of prefix search query should not override given namespace id(s)
https://bugzilla.wikimedia.org/show_bug.cgi?id=22773 Mark A. Hershberger changed: What|Removed |Added Blocks|29097 | Target Milestone|1.19wmf deployment |1.19.0 release --- Comment #5 from Mark A. Hershberger 2012-01-23 15:46:25 UTC --- switch to milestone, remove release tracking dep -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22773] [PrefixSearch] Namespace name part of prefix search query should not override given namespace id(s)
https://bugzilla.wikimedia.org/show_bug.cgi?id=22773 Mark A. Hershberger changed: What|Removed |Added CC||m...@everybody.org Target Milestone|--- |1.19wmf deployment -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22773] [PrefixSearch] Namespace name part of prefix search query should not override given namespace id(s)
https://bugzilla.wikimedia.org/show_bug.cgi?id=22773 --- Comment #4 from Krinkle 2011-08-14 13:57:00 UTC --- Just brought this up on IRC. Seems it's not possible due to performance to query multiple namespaces in the same query because the index is on page_namespace,page_title. So that would mean that searching for "Foo" in namespace 0, 5 and 10 would likely only give results for the namespace 0 since it's ordered by namespace and then by page_title. For it to make sense we'd have to do multiple queries (one for each of the wanted namespaces). Then in PHP combine them and sort them by page_title and then by namespacename (not namespace-id). So prefix "Foo", with namespaces=0|2|4 would give: ['Foo', 'Abbawiki:Foo', 'User:Foobar'] -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22773] [PrefixSearch] Namespace name part of prefix search query should not override given namespace id(s)
https://bugzilla.wikimedia.org/show_bug.cgi?id=22773 Krinkle changed: What|Removed |Added CC||krinklem...@gmail.com Component|API |Search Blocks||29097 Summary|OpenSearch: Namespace name |[PrefixSearch] Namespace |part of prefix should not |name part of prefix search |override given namespace|query should not override |id(s) |given namespace id(s) --- Comment #3 from Krinkle 2011-08-11 10:57:16 UTC --- Renaming and moving bug. Steps to reproduce: * Get a wiki with pages like "Category:Template:Foo" (namespace=14, title="Template:Foo") * Query open search namespace=14&prefix=Template:F * ApiOpenSearch detects "Template:" as a prefix and searches in that namespace, ignoring 14. Source code to confirm: * ApiOpenSearch calls PrefixSearch [1] * PrefixSearch creates a Title object from search query, and calls getNamespace(). If it does not return NS_MAIN, it uses the namespace of that title object, thus overriding and ignoring the given namespace id to search in (line 29 of PrefixSearch.php) See also bug 30323. -- Krinkle [1] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/api/ApiOpenSearch.php?revision=92400&view=markup#l45 [2] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/PrefixSearch.php?revision=86255&view=markup#l24 -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l