Module:Report/doc

This module provides functions for providing linking to users and reporting them.

Loading the module
To load this module and make its method available for use, Add this line of code to the start of your module:

All methods described below will be available under the loaded table.

Alternatively, you can use this module using the code below by using Module:LoadLib.

Depending on the settings you used in, the methods of this module may be available under their respective variables in the module this module was loaded in.

Methods
All methods are available below as fields under the required object name.

.trimWhitespace
This method trims the whitespace form the start and end of.

.trimUser
This method removes all links and other formatting used in signatures (this can include templates and URLs) from and returns just the username.

.isIp
This method checks if is an IP address.

.buildLinks
This method returns the links for. If is true, it will add some links for IP address checking.

.userLink
This method returns a basic set of links to the contributions, posts, and userpage of.

.userList
This method takes a list of users separated by commas provided by and returns the list in order with links to the provided users. Variable arguments may be used in the same fashion as commas.

._main
This method returns a report for use in the Administrator's Noticeboard for reporting users/vandals.

._delete
This method returns a page deletion request (not in use yet) similar to.