r94737 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94736‎ | r94737 | r94738 >
Date:09:50, 17 August 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Amend the documention of search profile, fu r86714
Modified paths:
  • /trunk/phase3/includes/specials/SpecialSearch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialSearch.php
@@ -28,7 +28,14 @@
2929 * @ingroup SpecialPage
3030 */
3131 class SpecialSearch extends SpecialPage {
32 - /// Current search profile
 32+ /**
 33+ * Current search profile. Search profile is just a name that identifies
 34+ * the active search tab on the search page (content, help, discussions...)
 35+ * For users tt replaces the set of enabled namespaces from the query
 36+ * string when applicable. Extensions can add new profiles with hooks
 37+ * with custom search options just for that profile.
 38+ * null|string
 39+ */
3340 protected $profile;
3441
3542 /// Search engine

Follow-up revisions

RevisionCommit summaryAuthorDate
r964751.18: MFT r94737, r94990, r95000, r95001, r95002, r95006, r95007, r95010, r95...catrope19:37, 7 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86714Allow extensions to customize the search forms. This required some cleanup an...nikerabbit16:13, 22 April 2011

Status & tagging log