Index: branches/RL2/extensions/Gadgets/Gadgets.php |
— | — | @@ -103,3 +103,15 @@ |
104 | 104 | |
105 | 105 | $wgAPIListModules['gadgetcategories'] = 'ApiQueryGadgetCategories'; |
106 | 106 | $wgAPIListModules['gadgets'] = 'ApiQueryGadgets'; |
| 107 | + |
| 108 | +$wgLogTypes[] = 'gadgetman'; |
| 109 | +$wgLogNames['gadgetman'] = 'gadgets-gadgetmanlog-page'; // TODO define |
| 110 | +$wgLogHeaders['gadgetman'] = 'gadgets-gadgetmanlog-text'; // TODO define |
| 111 | +$wgLogActions['gadgetman/create'] = 'gadgets-gadgetmanlog-createentry'; |
| 112 | +$wgLogActions['gadgetman/modify'] = 'gadgets-gadgetmanlog-modifyentry'; |
| 113 | +$wgLogActions['gadgetman/delete'] = 'gadgets-gadgetmanlog-deleteentry'; |
| 114 | +// TODO add as needed |
| 115 | +// TODO: create and modify will not have a summary, figure out how well that fares. User creation also doesn't have one |
| 116 | +#$wgLogActionsHandlers['gadgetman/create'] = '...'; |
| 117 | +#$wgLogActionsHandlers['gadgetman/modify'] = '...'; |
| 118 | +#$wgLogActionsHandlers['gadgetman/delete'] = '...'; |