-64,6 +64,7 |
* ''' [[JuanmaMP]] ''' : adminonly deserves to be treated in a way that remember PageIsHidden, with subtle differences. With help a "summary" when editing that automatically appends a mark when this happens, for instance "adminonly" in "summary" (or any other). GetDiff works in help, GetRc needs a change (next if ((!$all) && ($ts < $changetime{$pagename}))), requires other conditions, for instance if in DoEditPrefs, an user doesn't accept " Show all changes ", can happen that some changes in the same pages have adminonly an other haven't. DoRc have to change in the similar manner if page is hidden. At last, &ColorDiff gives the sequence (for instance, a change can be, erase one adminonly, other write an adminonly, but only the second option have to hide for users without admin role. I am working around this subject. It seems to goes well. - <small>2012-7-23 12:49 am</small> |
* ''' [[Raymundo]] ''' : The purpose of this macro was just to make 'final output' to be hidden from non-admin users. It doesn't hide any 'diff', 'rc', 'page source'. Of course it will be great if this macro hid all such things, but I thought it required so complex code. :-) - <small>2012-7-24 7:48 am</small> |
* ''' [[JuanmaMP]] ''' : You're right. Veeery complex because for instance, they appear some side-effects that require much imagination in order to see them all in advance ¬¬ - <small>2012-7-25 9:55 am</small> |
* ''' [[JuanmaMP]] ''' : For the moment, the most important stage is creating filters with automatic markup in summary (on dopostmain). Because one way to do it is take advantage from the format of this summary is employed that for spread of these filters in other subroutines. It seems I have three filters, now: added adminonly (to hide), changed inner content from one adminonly (then to hide too), or deleted adminonly: tags and contents (then hide, too; because it was an hidden content). The 4th scenario, deleted tags but not content, then visible; because it assumes one wants undo adminonly. It's all by the moment ... (a wonderful nightmare :)) - <small>2012-7-25 10:11 am</small> |
<comments(104)> |
---- |