Extension:SearchRealnames

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
SearchRealnames

Release status: experimental

Implementation Special page
Description Adds real names to Search results
Author(s) John Erling Blad
Last version 0.2 (2009-12-17)
License GPL
Download SearchRealnames.php, SearchRealnames.i18n.php
Hooks used
SpecialSearchResults

BeforePageDisplay

Check usage (experimental)

SearchRealnames is an extension for MediaWiki that adds real names for the editors to search results for pages in the user space, if the user has defined a real name.

Contents

[edit] Installation

  1. Download SearchRealnames.php and SearchRealnames.i18n.php, and save them in extensions/SearchRealnames directory on your wiki.
  2. Insert this line in the LocalSettings.php file:
    include_once('extensions/SearchRealnames/SearchRealnames.php');
    
  3. Optionally add a line for how to present he search result:
    $wgSearchRealnamesInline = true;
    

[edit] Usage

No additional action is necessary to use this extension

[edit] Alternatives

Not known

[edit] Security

This extension show personal information that the user may expect to be hidden from general view. Make sure it is according to established policy before you use it on any existing wiki.

[edit] Todo

  • It should be possible to search for the real names, probably during the title lookup
  • Real names should be added to subpages, not only the user root page itself
  • Should use ShowSearchHitTitle but its new and the extension must run on an old version - update later
  • Should use a better strategy on doing user lookup

[edit] Feedback

Use the discussion page for feedback, questions, feature requests and bug reports.

[edit] See also

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox