Wiki midlife upgrade: verschil tussen versies

Uit MakerSpace Leiden
Ga naar: navigatie, zoeken
Regel 18: Regel 18:
 
* '''WikiEditor''' extension: provides an improved interface wysiwyg (primarily a toolbar) for editing wikitext.
 
* '''WikiEditor''' extension: provides an improved interface wysiwyg (primarily a toolbar) for editing wikitext.
 
* '''EmailLogin''' extension allows users to use their e-mail address instead of their username when logging in, without exposing email address publicly.
 
* '''EmailLogin''' extension allows users to use their e-mail address instead of their username when logging in, without exposing email address publicly.
* '''Invitesignup extension: facilitates sending invitation emails for user signup.
+
* '''Invitesignup''' extension: facilitates sending invitation emails for user signup.
 
* '''DynamicPageList''' extension: create hierarchy with pages that show all the links to pages within a category automatically generated based on categories in sidebar.
 
* '''DynamicPageList''' extension: create hierarchy with pages that show all the links to pages within a category automatically generated based on categories in sidebar.
 
* '''Titlekey''' extension: case insensitive hoofd letter gevoelig zoek woord suggestie.
 
* '''Titlekey''' extension: case insensitive hoofd letter gevoelig zoek woord suggestie.
Regel 66: Regel 66:
 
/* To hide the default page tab: */
 
/* To hide the default page tab: */
 
#ca-nstab-main {
 
#ca-nstab-main {
display: none;
+
  display: none;
 
}
 
}
 
<br>
 
<br>
Regel 72: Regel 72:
 
/* To increase the fontsize: */
 
/* To increase the fontsize: */
 
body {
 
body {
font-size: 110%
+
  font-size: 110%
 
}
 
}
 
<br>
 
<br>

Versie van 4 jul 2024 om 18:21



Extra/interesting extensions:

  • DynamicPageList3 (DPL3) extension: to create dynamic lists of pages from categories, and include thumbnails easily. Automatically generate pages based on tags or categories added to individual tool pages without creating separate templates for each category.
  • PageImages extension: allows you to automatically display thumbnails of images from pages.
  • VisualEditor: Provides a visual editor interface for editing wiki pages, offering a more user-friendly alternative to wikitext editing
  • WikiEditor extension: provides an improved interface wysiwyg (primarily a toolbar) for editing wikitext.
  • EmailLogin extension allows users to use their e-mail address instead of their username when logging in, without exposing email address publicly.
  • Invitesignup extension: facilitates sending invitation emails for user signup.
  • DynamicPageList extension: create hierarchy with pages that show all the links to pages within a category automatically generated based on categories in sidebar.
  • Titlekey extension: case insensitive hoofd letter gevoelig zoek woord suggestie.
  • CirrusSearch extension in combination with Elasticsearch: provides more powerful search capabilities and can be configured to exclude certain types of content from the search index zoals wanneer het zoekwoord in de link naar een andere pagina voorkomt, dat zou je kunnen uitsluiten.
  • HotCat extension: to be able to quickly add categories
  • Content Translation extension or alternativaly GoogleTranslate Extension to auto translate pages from Dutch to English.
  • Semantic MediaWiki: be able to search only inside one or multiple categories, provide more refined search options, including category-specific searches.
  • MobileFrontend: Optimizes MediaWiki for mobile devices, ensuring a better user experience on smartphones and tablets.
  • CategoryTree: Enhances the display of category structures on the wiki, making it easier for users to navigate and explore content.
  • PdfHandler: Enables MediaWiki to handle PDF files, providing features like thumbnail generation and embedding of PDF documents into wiki pages.
  • MultimediaViewer: Enhances the viewing experience for multimedia files (images, videos) directly on wiki pages.
  • SecureLinkFixer: Helps automatically fix broken links caused by changes from HTTP to HTTPS, ensuring secure browsing on your wiki.
  • PageForms: Allows users to create and edit wiki pages using forms, making data entry more intuitive and structured.
  • UploadWizard: Provides a user-friendly interface for uploading files to your wiki, supporting batch uploads and metadata handling.
  • TemplateData: Enhances the usability of templates by providing metadata (such as parameters and descriptions) that can be used by VisualEditor and other tools.
  • ReplaceText: Enables administrators to perform batch replacements of text across wiki pages, helping with maintenance and content updates.
  • 3D extension: allows users to embed interactive 3D models in various formats directly within wiki pages. This extension supports formats like STL (Standard Triangle Language) and OBJ (Wavefront Object), commonly used for 3D printing and modeling.



Changes in the CSS: to change the CSS go to the page MediaWiki:Common.css: https://wiki.makerspaceleiden.nl/index.php?title=MediaWiki:Common.css in your browser:

/* To hide the "last edited" text on every page: */

.page-info {

   display: none;

}

/* To round the border lines: */

{

   border-radius: 10px;

} h1, h2 {

   border-radius: 0px;

}

/* To hide the default vector menu in the sidebar (with the links: "Main page, Recent changes, Random page, Help about MediaWikia."): */

  1. left-navigation .vector-menu {
 display: none;

}

/* To hide the default page tab: */

  1. ca-nstab-main {
 display: none;

}

/* To increase the fontsize: */ body {

 font-size: 110%

}

Changes in het file LocalSettings.php:

  • To disable the option 'this is a minor edit', change the following in LocalSettings.php:

- $wgGroupPermissions['*']['minoredit'] = false; - $wgGroupPermissions['user']['minoredit'] = false; - $wgGroupPermissions['autoconfirmed']['minoredit'] = false; - $wgGroupPermissions['bot']['minoredit'] = false;

  • To hide the tabs 'discussion' and the 'talk', change the following in LocalSettings.php:

- $wgNamespaceProtection[NS_TALK] = ['noedit']; - $wgGroupPermissions['*']['noedit'] = true; - $wgGroupPermissions['user']['noedit'] = true; - $wgGroupPermissions['autoconfirmed']['noedit'] = true; - $wgGroupPermissions['sysop']['noedit'] = true;

  • To change the maximum number of items shown per category in MediaWiki from maximum 50 to maximum 500, change the following in LocalSettings.php:

- $wgCategoryPagingLimit = 500;

  • And add similar for the for the DynamicPageList extension:

- $wgDPLSettings['maxresults'] = 500;

Mediawiki version update:

  • versie updaten van 1.31 (2018) naar 1.41, in verband met braking changes, meduawiki updaten in stappen van versie 1.31 naar 1.35 en van 1.35 naar 1.41.



Try out the following skins for a more visually appealing wiki:

  • Vector 2022
  • Vector
  • Pivot