Last modified: 2007-01-26 17:56:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7621 - AjaxSearch: add title object if not present
AjaxSearch: add title object if not present
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
All Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: 7864 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2006-10-18 10:14 UTC by Thomas Bleher
Modified: 2007-01-26 17:56 UTC (History)
1 user (show)

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

Fix the Ajax Search feature by introducing stub title (Patch) (1.42 KB, patch)
2006-10-18 10:15 UTC, Thomas Bleher

Description Thomas Bleher 2006-10-18 10:14:41 UTC
When using the Ajax search feature, no title object was created for the parser. This broke the Semantic Mediawiki extension (that 
is: with this extension installed the ajax search did no longer work) and was a "FIXME" in the code.

Attached patch creates a stub title (this is OK, I think, because it's not displayed anywhere) and also changes the style of the 
search output, because some wikipedias hide .firstHeading and #contentSub on the main page.
Comment 1 Thomas Bleher 2006-10-18 10:15:37 UTC
Created attachment 2518 [details]
Fix the Ajax Search feature by introducing stub title (Patch)
Comment 2 Brion Vibber 2007-01-17 12:04:45 UTC
*** Bug 7864 has been marked as a duplicate of this bug. ***
Comment 3 Antoine "hashar" Musso (WMF) 2007-01-26 17:56:26 UTC
I fixed it between 1.9.0 and 1.9.1 by initializing wgTitle
before loading the ajaxresponder.

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