Last modified: 2014-10-10 21:42:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53013, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51013 - VisualEditor: OpenSearch results aren't perfect for checking for page existence
VisualEditor: OpenSearch results aren't perfect for checking for page existence
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Technical Debt (Other open bugs)
unspecified
All All
: Normal enhancement
: VE-deploy-2014-10-16
Assigned To: Krinkle
:
: 52596 54361 65927 (view as bug list)
Depends on: 70958
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-09 07:50 UTC by This, that and the other (TTO)
Modified: 2014-10-10 21:42 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description This, that and the other (TTO) 2013-07-09 07:50:38 UTC
Unpopular pages with short titles, e.g. [[Sop]], [[Topo]], do not appear in the top 10 opensearch suggestions, so VE thinks the pages don't exist. However, they definitely do exist.

This, along with bug 50898, suggests that the VE team might need to implement its own wrapper web API for link suggestions.
Comment 1 Chris McKenna 2013-08-29 19:01:35 UTC
This looks the same as bug 52596 which contains more details of which pages are believed to exist and which are not
Comment 2 James Forrester 2013-08-29 20:40:59 UTC
*** Bug 52596 has been marked as a duplicate of this bug. ***
Comment 3 James Forrester 2014-06-06 00:58:25 UTC
*** Bug 65927 has been marked as a duplicate of this bug. ***
Comment 4 Krinkle 2014-07-29 18:30:45 UTC
Right now MediaWiki search has a bug where one searches "Foo" and a page by that name exists, it might not be included in the search results (or at least not in the first 10). Or sometimes it's in there but on #3.

While fixing the order is harder, we can easily work around the case where it is absent by running an additional api query simply checking whether a page by the title of "Foo" exists.
Comment 5 Krinkle 2014-07-29 18:33:49 UTC
Action item: When using search in a way that the user input should be used as first hit if it exists[1], our code should always do an additional query for the literal input against the pageinfo API. At least until the upstream bug in MediaWiki search is fixed (do we have a report for that?).


[1] e.g. mediawiki link input widget, and transclusion dialog template name input, but not media dialog probably.
Comment 6 James Forrester 2014-09-17 20:26:08 UTC
*** Bug 54361 has been marked as a duplicate of this bug. ***
Comment 7 James Forrester 2014-10-10 21:42:22 UTC
FIXED by dint of bug 70958 being fixed. Thanks, Timo!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links