This is an old revision of the document!


Team responsible for managing and improving the wiki.

Team

This list should be kept in sync with the Project Administration page.


Contact

Wiki Maintenance

> I am not in wiki-admin@, but every developer can add new developers to
> https://wiki.freebsd.org/DevelopersGroup

They *can*, but I was told to do things differently due to security
concerns.

I was told that I needed to:

 - create the account on the wiki jail, using WikiName and email
 - null out the account_verification line in the created entryx
 - send email to the address stating "here is the account, go
   to the home page and click 'change my password'"
 - only once they acknowledge that they have done that and received
   the email, add the account to the appropriate ACL.

This way, you make sure that whoever is claiming the account actually
has that email.  Otherwise, if you merely add a entry in the ACL list,
any random person can log in as that account and start making changes.

Note: This currently doesn't work, configuration is managed by clusteradm and auto deployed, so local changes are reverted – KubilayKocak 2020-06-21 13:40:33+1100

# cd /home/www/wiki
# cp -p wikiconfig.py wikiconfig.py.<datestamp>
# ee wikiconfig.py
make changes
# service apache24 restart

Moves deleted/trash pages to ~wiki/{trash,deleted}

# cd /home/www/wiki
# moin --config-dir=/home/www/wiki maint cleanpage > clean-<datestamp>.sh
review and verify clean-<datestamp>.sh contents
# sh clean-<datestamp>.sh

Cleans up expired sessions from ~wiki/data/cache/sessions

# cd /home/www/wiki
# moin --config-dir=/home/www/wiki maint cleansessions

Rebuilds the xapian search index (deleting the current index) in ~wiki/data/cache/xapian

Note: This must be run as User: www

# cd /home/www/wiki
# moin --config-dir=/home/www/wiki index build --mode=rebuild
# chown -R www:www data/cache/xapian

Note: The current script spits out the following errors for PDF files. This error can be ignored for now (See: Bug #44 – KubilayKocak 2020-06-21 13:56:06+1100

Filter application_pdf threw error '[Errno 1] Operation not permitted' for file /home/www/wiki/data/pages/<file>.pdf
...
    preexec_fn=None if subprocess.mswindows else os.setsid(),
OSError: [Errno 1] Operation not permitted

  • wikiadmin.1592844547.txt.gz
  • Last modified: 2020/06/22 16:49
  • by MarkLinimon