Locally I've made a page that uses a wiki search to automatically generate a IMO more useful users page. (
see it here
)
<noautolink>
%SEARCH{"TOPICPARENT.name=.TWikiUsers\"\}" web="Main" regex="on"
format="---+++ [[$web.$topic][$pattern(.*?Name:.(.*?)\n.*)]] $n
* $pattern(.*?(E.?mail.*?\n).*) $n * $pattern(.*?(Home Page.*?\n).*)"
nosearch="on" nototal="on"}%
</noautolink>
This assumes a few things about the user pages, but on our wiki, it's pretty standard to keep the basic field: value pairs intact. The one major gotcha is that old users created before the Feb '03 release needed to be updated to have
TWikiUsers as the parent (easily done at the command line).
Is this something that would be of interest to go in the TWiki core? I can see this being useful, especially if it were expanded to be configurable in an admin-friendly way, and run as a cron-job like the stats script to keep a cached copy generated every n hours.
--
MikeMaurer - 13 Apr 2003
This looks like useful for sites where TWiki manages user authentication. Many (most?) behind firewall installations use the corporate login, where the
TWikiUsers page is necessary to map from the intranet login (e.g.
pthoeny) to the
WikiName (e.g.
PeterThoeny). So your page would be an additional way to show all users. A more condensed table format is probably more suitable for sites with hundreds of users.
--
PeterThoeny - 18 Apr 2003
mmmm - why is the
WikiName to
RemoteName mapping not done on the
UserTopic (and with
MetaData)? then we could do queries on the info...
- Performance. The whole mapping is cached in hashes, needed for access control -- PeterThoeny - 12 Oct 2004
- Wouldn't it also cause security problems if you could modify yours or others mappings? Isn't that why TWikiUsers is only editable by TWikiAdminGroup? -- SamHasler - 12 Oct 2004
--
SvenDowideit - 01 Jan 2004
The
RegisterCgiScriptRewrite moves form data into a form if there is one defined on the
NewUserTemplate.
--
MartinCleaver - 11 Oct 2004
See also
GetRidOfTWikiUsersPage
--
MartinCleaver - 02 Mar 2006