Anonymous

RECOUP/site/Help/Wiki Configuration: Difference between revisions

From OER in Education
m
→‎Extensions and modifications to the source code: - added information about modification to MonoBook.php/.css
m (→‎Extensions and modifications to the source code: - added information about modification of LocalSettings.php)
m (→‎Extensions and modifications to the source code: - added information about modification to MonoBook.php/.css)
Line 49: Line 49:
{{fullurl:Special:Userlogin|returnto={{FULLPAGENAME}}}}
{{fullurl:Special:Userlogin|returnto={{FULLPAGENAME}}}}


Customisation of LocalSettings.php:
== Customisation of LocalSettings.php ==


  # Wiki appearance:
  # Wiki appearance:
Line 83: Line 83:
  $wgDefaultUserOptions['enotifminoredits'] = 1;
  $wgDefaultUserOptions['enotifminoredits'] = 1;
  $wgDefaultUserOptions['justify'] = 1;
  $wgDefaultUserOptions['justify'] = 1;
== monobook.css ==
background: #FEFAF2 url(../../images/a/a6/Headbg.jpg) 0 0 no-repeat;
== MonoBook.php ==
foreach($this->data['content_actions'] as $key => $tab)
    if($this->data['loggedin']==1 || preg_match('/^nstab\-/',$key) || $key == "talk") {
foreach($this->data['personal_urls'] as $key => $item)
    if($this->data['loggedin']==1 || ($key != 'anontalk' && $key != 'anonuserpage') ) {
<noinclude>{{RECOUP_footer|Help:Wiki_Configuration}}</noinclude><noinclude>[[Category:RECOUP]]</noinclude>
<noinclude>{{RECOUP_footer|Help:Wiki_Configuration}}</noinclude><noinclude>[[Category:RECOUP]]</noinclude>