Last modified: 2012-04-12 13:54:04 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 T28372, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26372 - Search box producing error when searching Project namespace pages
Search box producing error when searching Project namespace pages
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.16.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-20 04:08 UTC by Thor Malmjursson
Modified: 2012-04-12 13:54 UTC (History)
4 users (show)

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


Attachments

Description Thor Malmjursson 2010-12-20 04:08:47 UTC
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.
Comment 1 Hydriz Scholz 2010-12-20 10:38:25 UTC
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.

2) The wiki is currently using 1.16wmf4 (r78443). Wikimedia just updated all its wikis to this new version.

Hope this suggestion helps!
Comment 2 Thor Malmjursson 2010-12-20 12:57:20 UTC
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.
Comment 3 Thor Malmjursson 2010-12-20 13:01:16 UTC
Please strike the above comment, I was reading the wrong Wiki :)

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

Sorry :)
Comment 4 db [inactive,noenotif] 2010-12-20 19:28:50 UTC
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 ...
Comment 5 Hydriz Scholz 2010-12-21 03:15:51 UTC
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.
Comment 6 Bawolff (Brian Wolff) 2010-12-21 05:27:31 UTC
(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
Comment 7 p858snake 2010-12-21 05:33:14 UTC
(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.
Comment 8 Hydriz Scholz 2010-12-21 06:49:52 UTC
(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...
Comment 9 Hydriz Scholz 2010-12-22 03:21:24 UTC
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.
Comment 10 Bawolff (Brian Wolff) 2010-12-22 07:09:06 UTC
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)
Comment 11 Brion Vibber 2010-12-27 02:54:06 UTC
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.

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


Navigation
Links