Log In | Users | Register
Edit | Attach | New | Raw | Delete | History | | Print | Tools

Question: How can I re-build my WikiUsers topic?


ALERT! Under normal circumstances, there should be no need to rebuild your WikiUsers topic.

Sometimes, the WikiUsers topic maintained by TopicUserMappingContrib may not reflect the true list of users registered on your Foswiki installation. This most commonly happens when:
  • You deleted or renamed users and forgot to edit the WikiUsers topic, or
  • You migrated a TWiki installation and accumulated new registrations on the new WikiUsers topic before you had a chance to initialise it with the old list from the old TWikiUsers topic.

Assuming your wiki is configured to use TopicUserMappingContrib, the script below should refresh your WikiUsers topic with an accurate list of users. It uses the USERINFO macro, which protects user information from ordinary users - so this topic needs to be viewed with admin privileges in order for it to be useful.

%FORMAT{"A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z" 
    format="   * $item - <a name='$item'>- - - -</a> $percentINCLUDE{

    "name=~'^%letter%.*' AND (form.name~'*UserForm')"
    format="   * $percentUSERINFO{
        format=\"$dollarwikiname - $dollarusername\"
    }$percent - $createdate"

Back to: FrequentlyAskedQuestion
Related Topics: Foswiki:Support.Faq27, TopicUserMappingContrib, WikiUsers, AdminDocumentationCategoryspacer
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
Syndicate this site RSS ATOM