tips:recent_changes_by_user_2009-02-14
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tips:recent_changes_by_user_2009-02-14 [2009-04-09 06:03] – 221.222.230.141 | tips:recent_changes_by_user_2009-02-14 [2024-04-19 09:56] (current) – Chris75 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Filter recent changes ====== | ||
+ | |||
+ | ===== Negatively filter recent changes by (private) namespace ===== | ||
+ | |||
+ | Suppose your wiki has a private namespace like the namespace '' | ||
+ | |||
+ | |||
+ | // ********* hide private namespace from the list of recent changes ********* | ||
+ | if ( explode(':', | ||
+ | |||
+ | |||
+ | |||
+ | ===== Filter recent changes by user ===== | ||
+ | |||
+ | My < | ||
+ | |||
+ | I ( l u r c h (at) d u r g e (dot) o r g ) wanted to be able to filter the list of recent changes by username (the wiki installation I've setup is only accessible by registered users), and I found it surprisingly easy :-) | ||
+ | |||
+ | Before making the changes below, make a backup copy in case it doesn' | ||
+ | |||
+ | - Edit '' | ||
+ | if (($user) && ($recent[' | ||
+ | - Still in '' | ||
+ | - Still in '' | ||
+ | - Now we need to edit '' | ||
+ | |||
+ | That's it! Now you can filter the list of recent changes page by appending a user=//< | ||