[Mediawiki-l] Approval / Validation

John Moorhouse john.moorhouse at 3jays.me.uk
Thu Jan 11 20:12:44 UTC 2007


Ryan I think this will probably answer what I need, at least to start 
with and probably could add the other bits needed, do you know what 
versions of media wiki it has been tested with, we are currently on 
V1.5.8 and as we don't have php5 are trying to stay at this level, I'll 
try it anyway but was just wondering.

Thanks

John



Lane, Ryan wrote:
>> This StableVersion seems like something that could be useful 
>> in my company. Does it have any documentation about what it 
>> does, and how to use it?
>>     
>
> Not really. Magnus Manske wrote the extension, and I updated it some.
> I'm using it, but I'm not sure if anyone else is. No documentation has
> been written for it except for the slight amount of documentation
> written in the extension itself.
>
> Once I heard MediaWiki will be adding support for something similar in
> the future, I stopped making updates to this extension because I wanted
> to see if the new MediaWiki code is something I can use in my
> organization. No point in maintaining an extension that will be made
> redundant in the future.
>
> As for a quick usage guide... The extension is pretty easy to use. You
> add a table to your database (the sql to do so is in the extension
> comments). Then, you add stuff to LocalSettings.php like so:
>
> // For stable version stuff
> // Don't forget to checkout the language directory and everything in it!
> include( "extensions/StableVersion.php" );
>
> // Only give permission to change stable version info to people in the
> // docCustodian group.
> $wgGroupPermissions['*']['stableversion'] = false;
> $wgGroupPermissions['docCustodian']['stableversion'] = true;
>
> // Set this to true if you want non-logged in users to be redirected 
> // automatically to the stable version. If no stable version exists,
> // users will see the latest draft.
> #$wgStableVersionRedirectAnon = true
>
> // Used in combination with the option above. If you
> // want anonymous users to only see the stable version,
> // set this to true. Like above, if no stable version exists
> // users will see the latest draft.
> #$wgStableVersionShowDefaultToAnon = true
>
> After doing so, add users to the docCustodian group and they'll be able
> to set/unset things as stable.
>
> V/r,
>
> Ryan Lane
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>   




More information about the MediaWiki-l mailing list