User talk:Cneubauer
From MediaWiki.org
[edit] $iswatch by default
Hi,
I'm having a hard time trying to put the $iswatch check box checked by default whenever i insert a new article or edit an existing one.
I know that is something to do with this:
$wgHooks['ArticleSaveComplete'][] = array($iswatch=true); $wgHooks['ArticleSave'][] = array($iswatch=true); $wgHooks['ArticleInsertComplete'][] = array($iswatch=true);
Could you help me?
Thanks
Carlos Ramalhete
- So you want to always watch pages that you edit? If you just want to do this for yourself, you can go to "My Preferences" up in the top right of the wiki, then click "Watchlist", then check the boxes to add all pages you edit or create to your watchlist. If you run your own wiki and want this to happen for every user, you can edit your wiki's LocalSettings.php file and set the Manual:$wgDefaultUserOptions variable.
- I don't think you can force this to happen every time a page is edited using an extension. In the hooks you listed above, the $iswatch variable isn't actually used for anything. See Manual:Hooks/ArticleSave for more details. --Cneubauer 14:09, 11 March 2008 (UTC)
something like this?
$wgDefaultUserOptions['watchdefault'] = 1;
- Yeah, that should do it. --Cneubauer 13:03, 25 March 2008 (UTC)
[edit] SourceForge access
Hello,
I try german, since your name looks german.
Hallo,
gebe Dir gerne Zugriff auf SourceForge, bin gerade aus dem urlaub zurück.
Gruß Gunter
- Thanks! --Cneubauer 19:09, 30 May 2008 (UTC)
[edit] Editing ACLs
Hello,
I`m a trainee at Sun Microsystems in Munich. I`ve downloaded and installed the Extension:Configuration to configure the LocalSettings.php. Now I`ve some trouble because I need some more features to edit.
I need a option to edit ACLs.
For Example:
$wgPermissionACL[] = array(
'group' => 'sc1admin',
'namespace' => array(101, -1),
'action' => '*',
'operation' => 'permit');
I want to create some new ACLs, delete ACLs and edit ACLs like this ACL.
How can I make this ACL editable?
greetz, Marcus
Und noch einmal auf Deutsch, wenn das Englische doch nicht so versändlich war ;)
Ich habe das Problem, dass meine ACL Listen editierbar sein müssen. Ich habe den Verdacht, dass man das nicht so ohne weiteres hinbiegen kann, weil die ACLs Arrays sind. Gibt es dennoch eine Möglichkeit die ACLs, von denen ich einige in meiner LocalSettings.php habe, über die Weboberfläche abrufbar und editierbar zu machen?
Grüße, Marcus
- Sorry Marcus, I'm probably not going to update it any time soon. I was using the extension as part of a project I was working on that I'm not really working on any more. You might try modifying the code yourself. It basically just does regular expression replacements. --Cneubauer 13:44, 25 August 2008 (UTC)
-
- Thanks for your reply, I`ll do my best and now I`ve something to go on (regular expression replacements).
- -Marcus

