CSIs have a lot of potential

Posted by leigerleiger on 1257231746|%A, %e %B %Y, %H:%M

CSIs should, theoretically, be able to do much of what private categories would be able to do when they are implemented — but it's not working as expected! :(

Here is my post, posted to the Wikidot.com Blog:

I tried including from a private site. I expected it to work… but it didn't.

Every time I attempted to save a page that was including from a private site, I got this message:

The ajax request failed. Please check your internet connection or
report a bug if the error repeats during your work.
code:500

Every time I attempted to save a page that was including from an open or closed site, it worked perfectly fine.

And something really strange… I changed my private site to closed, added the include (which worked), then changed the site back to private. However, after logging out, clearing cache and refreshing several times, the content still appeared there. What is up with that? :S


This would be really useful. For example, adding this to a private site:

* [# Admin]
 * [[[admin:themes|Manage theme]]]
 * [[[admin:manage|Site manager]]]

Then including that in a public site… should theoretically only show the menu to those that are also members of the private site. For example, a private site that only admins are a member of.

This could go further… by only showing a comments module on a page if it's an admin looking at the page (e.g. private admin discussion)

It could also lead to showing something completely different based on who visits the page. If you have two groups of users, both a member of WikiA, but split between WikiB and WikiC, then you could do this:

[[div class="error-block"]]
Included page "" does not exist ([//edit/true create it now])
[[/div]]

[[div class="error-block"]]
Included page "" does not exist ([//edit/true create it now])
[[/div]]

And the two groups of users would see different things (whilst anonymous users would see neither)


Any chance of getting this working? ;-)

Leave a comment

Add a New Comment
Please read the Legal Guidelines before using any of my work. In almost all circumstances, you should ask permission first.