Page MenuHomePhabricator

Search box producing error when searching Project namespace pages
Closed, InvalidPublic

Description

Author: thor.malmjursson

Description:
The search box on en.wikinews.org is producing an error when searching for pages in Project namespace, anything starting with Wikinews: or Project: produces the error:

Wikinews: --error-- link target missing

Other users from en.wikinews have verified the error and confirmed it appears using either prefix.

We are currently using 1.16wmf4 (r77622) - other projects using this software revision include de.wikinews and en.wiktionary, neither of which are suffering with this error.

I am unsure as to whether this is software related, but seems unlikely given the normal functioning of the search on other projects using the same Version and revision.


Version: 1.16.x
Severity: normal

Details

Reference
bz26372

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:11 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz26372.
bzimport added a subscriber: Unknown Object (MLST).

There are two things that I have noticed:

  1. This page you specified: Wikinews: --error-- link target missing, exists. Try deleting that page and check if this error still exists.
  1. The wiki is currently using 1.16wmf4 (r78443). Wikimedia just updated all its wikis to this new version.

Hope this suggestion helps!

thor.malmjursson wrote:

Two things I need to correct then:

1: I typed the wrong page name in for the link error - the actual error reads:

Wikinews:--error: link target missing--

That page does not exist in our system, so nothing to delete.

2: According to http://en.wikinews.org/wiki/Special:Version
the current version of Mediawiki we're running is 1.16wmf4 (r77997)

I was given the version information initially by one of Wikinews's users, Amgine - upon checking it myself now, it was wrong. Either way, it still doesn't match what we're supposed to have (r78443).

Even in this revision, the error is still present.

thor.malmjursson wrote:

Please strike the above comment, I was reading the wrong Wiki :)

We ARE on (r77622), that is confirmed by the above link.

Sorry :)

The page [[wikinews:Wikinews:--error: link target missing--]] exists: http://en.wikinews.org/w/index.php?title=Wikinews:--error:_link_target_missing--&action=history and contains [[wikinews:Mediawiki:Noarticletext]], a bit confusing.

Searching for "wikinews:2" gives back a valid list. The question is, why you get only one item, when searching for "wikinews:" or "project:". That is a bug on all wmf wikis ...

I believe this bug appears due to an extension. I have a wiki, using 1.16wmf4, which is the same version as WMF wikis. r78123. But I don't have this issue. I installed most of the extensions used by WMF, except for CentralAuth, CentralNotice and LocalisationUpdate.

You guys might want to check what is the issue. Cheers.

(In reply to comment #4)

The page [[wikinews:Wikinews:--error: link target missing--]] exists:
http://en.wikinews.org/w/index.php?title=Wikinews:--error:_link_target_missing--&action=history
and contains [[wikinews:Mediawiki:Noarticletext]], a bit confusing.

Searching for "wikinews:2" gives back a valid list. The question is, why you
get only one item, when searching for "wikinews:" or "project:". That is a bug
on all wmf wikis ...

Good catch. I deleted the page (and protected it from creation. Its apparently a "spam trap" according to the history). lets see if this resolves the issue

(In reply to comment #5)

I believe this bug appears due to an extension. I have a wiki, using 1.16wmf4,
which is the same version as WMF wikis. r78123. But I don't have this issue. I
installed most of the extensions used by WMF, except for CentralAuth,
CentralNotice and LocalisationUpdate.

You guys might want to check what is the issue. Cheers.

We don't use the standard search system, we have a extension that looks into lucene to do it, that is your differnce.

(In reply to comment #7)

(In reply to comment #5)

I believe this bug appears due to an extension. I have a wiki, using 1.16wmf4,
which is the same version as WMF wikis. r78123. But I don't have this issue. I
installed most of the extensions used by WMF, except for CentralAuth,
CentralNotice and LocalisationUpdate.

You guys might want to check what is the issue. Cheers.

We don't use the standard search system, we have a extension that looks into
lucene to do it, that is your differnce.

Yes. I also installed that extension...

Many people also have this error. Should probably be an error of the extension... [[simple:Wikipedia:Simple talk#Interesting bug]].

All namespaces have this error, except for the main namespace.

I'd note that is a different bug then reported above.

In your link your complaining about the fact that typing in wikipedia: (or whatever project namespace) only gives one search suggestion.

The original report is complaining about the suggestion being "Wikinews:--error-- link target missing" (which actually isn't really a bug seeing as the page existed)

Closing this bug out as invalid; as noted above an actual page title was being correctly returned. I've broken out the 'only get one page title result for namespace search' to bug 26443; can confirm that this doesn't happen with the default search backend on a local test site.