I dunno about that. You can restrict special pages to be available to certain users. E.g. the page Special:Userrights is only available to sysops.
- Lionel Yaron Koren wrote: > That might be a good idea, and you're right, it wouldn't be that hard > to create. > > My one concern is that this might be an unintended usage of the wiki > interface. For whatever reason, there isn't that much admin > functionality available through the web browser: you can manage users > and delete pages, but that's about it. All of the other admin > functionality gets put into command-line scripts in the "maintenance" > directory, both in MW and SMW. I don't know if that's by design, or > that's just how things turned out. Does anyone know? > > -Yaron > > > On 4/23/07, Lionel Brits <[EMAIL PROTECTED]> wrote: >> This is helpful, but I think the logical place to have it would be as a >> Special: page, perhaps Special:SemanticRefresh or something.... It's >> just a matter of putting the code inside the special page .php template. >> >> Regards, >> >> - Lionel >> >> Yaron Koren wrote: >> > Hi, >> > >> > Every so often someone on this list asks about the ability to refresh >> > all the semantic data in the database; it just came up again last >> > week. It's a helpful feature for anyone who uses templates for storing >> > semantic data, since currently, if you change the data in a template, >> > the pages that already use that template won't get updated unless you >> > resave. >> > >> > So, I wrote a script called, which is attached, which does exactly >> > that: it's called "SMW_recreateData.php". To use it, drop it into the >> > "maintenance" folder under the main SMW directory. You have to make >> > one other change, which is to add the following line among the >> > require_once() calls at the top of the file >> > "/includes/SMW_InlineQueries.php": >> > >> > require_once( "$IP/includes/Defines.php" ); >> > >> > The script is then called as: >> > >> > php SMW_recreateData.php >> > >> > It might be worthwhile to also create a way to call this code directly >> > from the web interface somehow, but this should be a good first step. >> > >> > Also, I don't have write access to the code in the SVN repository, but >> > it would be great if someone could add the file there, along with >> > adding that one line to SMW_InlineQueries.php. >> > >> > Yaron >> > >> ------------------------------------------------------------------------ >> > >> > >> ------------------------------------------------------------------------- >> >> > This SF.net email is sponsored by DB2 Express >> > Download DB2 Express C - the FREE version of DB2 express and take >> > control of your XML. No limits. Just data. Click to get it now. >> > http://sourceforge.net/powerbar/db2/ >> > >> ------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > Semediawiki-user mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/semediawiki-user >> > >> >> > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Semediawiki-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/semediawiki-user
