Wiki: Difference between revisions

From NURDspace
No edit summary
Line 11: Line 11:
* Use http://www.mediawiki.org/wiki/Extension:Include to get rid of the iframe on [[Infra#Which_hosts_are_online.3F]], and maybe turn certain lines into hyperlinks to pages describing the hosts? (use "protect page" to prevent fuckery?)
* Use http://www.mediawiki.org/wiki/Extension:Include to get rid of the iframe on [[Infra#Which_hosts_are_online.3F]], and maybe turn certain lines into hyperlinks to pages describing the hosts? (use "protect page" to prevent fuckery?)
* "Watch"-link on pages does nothing: pages don't appear on the [[Special:Watchlist]]. (it does work when you open the "watch" link in another tab/window)
* "Watch"-link on pages does nothing: pages don't appear on the [[Special:Watchlist]]. (it does work when you open the "watch" link in another tab/window)
* CSS tweaking so H2 (==) doesn't look bigger than H1 (=). Same for H3 vs H2.


== Todo ==
== Todo ==

Revision as of 23:43, 3 June 2013

This page is about the very wiki you're currently reading. It can hold ideas, thoughts, discussions, and feature requests.

Tips

Feature requests

Todo

  • SSL
  • Migrate current users to LDAP (including password if possible and use LDAP for authentication from then on.
  • Build a todo scraper to summarize all todo's on different pages

Status

The wiki can read information from the LDAP through the External Data extension. This is in the LocalSettings.php:

#LDAP lookups
$edgLDAPServer['ldap.nurdspace.nl'] = "ldaps://ldap.nurdspace.nl/";
$edgLDAPBaseDN['ldap.nurdspace.nl'] = "dc=nurdspace,dc=lan";
$edgLDAPUser['ldap.nurdspace.nl'] = "cn=read-user,ou=systems,dc=nurdspace,dc=lan";
$edgLDAPPass['ldap.nurdspace.nl'] = "xxxxxxx";

You can list information from a single entry like so:

{{#get_ldap_data:
domain=ldap.nurdspace.nl
|filter=(uid=username)
|data=CommonName=cn
}}

{{#external_value:CommonName}}

Here "cn" is the name of the attribute in the LDAP for the entry where attribute "uid" has value "username". This gives the attribute the local variable name "CommonName" which is then displayed by the template.