Telescope Wiki Setup: Difference between revisions
From Telescope
Jump to navigationJump to search
No edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
== LogEntry Extension == | == LogEntry Extension == | ||
* Added [http://www.mediawiki.org/wiki/Extension:LogEntry LogEntry] extension. | |||
* Set $egDraftsMultiLine to true (non-default) | |||
* Set $egDraftsMultiLineRows to 5 | |||
* Modified the code in LogEntry.hooks.php because it didn't seem to work correctly with a multiline entry. The <textarea> tag was not being closed. See below for changes | |||
WAS: | WAS: | ||
<code> | <code> | ||
| Line 70: | Line 70: | ||
== Other Setup Information == | == Other Setup Information == | ||
* User rights management | * User rights management | ||
< | <pre> | ||
$wgGroupPermissions['*']['edit'] = false; # Don't allow anonymous editing | $wgGroupPermissions['*']['edit'] = false; # Don't allow anonymous editing | ||
$wgGroupPermissions['*']['createpage'] = false; # Anonymous users can't create pages | $wgGroupPermissions['*']['createpage'] = false; # Anonymous users can't create pages | ||
| Line 76: | Line 76: | ||
$wgGroupPermissions['*']['createtalk'] = false; | $wgGroupPermissions['*']['createtalk'] = false; | ||
$wgGroupPermissions['*']['writeapi'] =false; | $wgGroupPermissions['*']['writeapi'] =false; | ||
</ | </pre> | ||
* Enabled TeX | * Enabled TeX | ||
* Setup logo | * Setup logo | ||
Latest revision as of 18:11, 20 May 2009
Setup information for this wiki:
LogEntry Extension
- Added LogEntry extension.
- Set $egDraftsMultiLine to true (non-default)
- Set $egDraftsMultiLineRows to 5
- Modified the code in LogEntry.hooks.php because it didn't seem to work correctly with a multiline entry. The <textarea> tag was not being closed. See below for changes
WAS:
if ( $egLogEntryMultiLine ) {
$htmlResult .= Xml::element( 'textarea',
array(
'rows' => $egLogEntryMultiLineRows,
'name' => 'line',
'style' => 'width:100%;'
)
);
$htmlResult .= Xml::tags( 'div',
array(
'align' => 'right'
),
Xml::element( 'input',
array(
'type' => 'submit',
'name' => 'append',
'value' => wfMsg( 'logentry-append' )
)
)
);
CHANGED TO:
if ( $egLogEntryMultiLine ) {
$htmlResult .= Xml::element( 'textarea',
array(
'rows' => $egLogEntryMultiLineRows,
'name' => 'line',
'style' => 'width:80%;'
)
);
$htmlResult.= "</textarea>
";
# $htmlResult .= Xml::tags( 'div',
# array(
# 'align' => 'right'
# ),
$htmlResult.= Xml::element( 'input',
array(
'type' => 'submit',
'name' => 'append',
'value' => wfMsg( 'logentry-append' )
)
# )
);
E-mail notification for ALL changes
- Setup e-mail notifications for all changes. Normally, users can only receive notifications for page changes on their watch lists.
- This has to be manually updated for each user.
- The changes are made to the Local Settings file.
# E-mail notifications for all changes $wgEnotifWatchlist = true; # Declare this twice so it works for all versions $wgUsersNotifiedOnAllChanges = $wgUsersNotifedOnAllChanges = array( 'teleAdmin', 'ejensen1' );
Other Setup Information
- User rights management
$wgGroupPermissions['*']['edit'] = false; # Don't allow anonymous editing $wgGroupPermissions['*']['createpage'] = false; # Anonymous users can't create pages $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['createtalk'] = false; $wgGroupPermissions['*']['writeapi'] =false;
- Enabled TeX
- Setup logo