Project Wiki Midlife Upgrade: verschil tussen versies

Uit MakerSpace Leiden
Ga naar: navigatie, zoeken
k
(94 tussenliggende versies door een andere gebruiker niet weergegeven)
Regel 1: Regel 1:
 
[[Category:Active projects]]
 
[[Category:Active projects]]
 +
{{Project
 +
|Name=Wiki Midlife Upgrade
 +
|Status=In progress
 +
|Contact=Mark
 +
}}
 
== Organize pages and titles ==
 
== Organize pages and titles ==
  
 +
* Improve the texts of the [[Makerspace Leiden|home page]], [[About Makerspace|about page]], [[Participate|participate page]] and [[Contact|contact page]].
  
* <s>Create a new page titled "Welcome to the Makerspace, what you need to know" Relevant pages for this are: [[MakerSpaceBootstrap]], [[Makerspace_Leiden]], [[Introductie-deelnemers]], [[Introducing_Tools]], [[NetworkGuidelines]], [[SAFETY]], [[SpaceClosing]], [[Opening_the_space]].</s>
+
* Improve the text of the page [[Getting started in the Makerspace]].
  
* <s>Create a new landing page and incorporate the pages from the public Wordpress website [http://makerspaceleiden.nl https://makerspaceleiden.nl] into the wiki.</s>
+
* Done: <s>Create a user-friendly [https://wiki.makerspaceleiden.nl/wiki/index.php?title=MediaWiki:Sidebar&action=edit sidebar menu].</s>
  
* Add photos to pages with tools where photos are missing; refer to [[Project add photos to all tools pages]].
+
* Done: <s>Establish a new category structure: [[Wiki category hierarchy]]</s>
  
* Implement a new category structure, as shown on the page: [[Wiki categories]].
+
* Done: <s>Ensure all project-related pages include "project" in their titles.</s>
<br>
+
 
* Create a new sidebar menu, as shown on the page: [[Wiki sidebar menu]].
+
* Done: <s>Consider including both Dutch and English terms in page titles where applicable.</s>
<br>
+
 
* Create a wiki page for each 'chore' titled with 'chore'.
+
* Done: <s>Convert titles from Pascal case to regular titles with spaces for better readability.</s>
<br>
+
 
* Include the word 'project' in the title of all pages categorized under projects.
+
* Done: <s>Create dedicated wiki pages for each chore, titled with "chore -"</s>
<br>
 
* Change titles from Pascal case to regular titles with spaces.
 
<br>
 
* Consider including both the Dutch and English words in the title.
 
  
 
== Merge pages ==
 
== Merge pages ==
* <s>Integrate all pages from the category DisplayBoardsSchiphol [[:Categorie:DisplayBoardsSchiphol]] with integrated tabs into the page "[[Radar_Boards_Schiphol_Control]]," integrating tabs in the same manner as on the "[[Lasersaur]]" page.</s>
 
* <s>Merge the pages: [[Stappen_Boor_StepDrill]], [[Stappenboor/Stepdrill]], and [[Step-drill/getrapte_boor]].</s>
 
* Merge the pages: [[3D-printen]], [[3D-printers]], [[Ultimaker2]], [[Ultimaker_onderhoud]], [[UltimakerFans]], and [[UltimakerBuildplateCamera]].
 
 
* Merge the pages: [[Lathe_or_Drive_Dog]] and [[Meenemer_met_lip]]
 
* Merge the pages: [[Lathe_or_Drive_Dog]] and [[Meenemer_met_lip]]
 +
 
* Merge the pages: [[Fire_Workplace]] and [[Instructies_Vuurwerkplaats]]
 
* Merge the pages: [[Fire_Workplace]] and [[Instructies_Vuurwerkplaats]]
* Merge the pages: [[Grote_Metaal_Knippert/Metal_Shears/Knipschaar/Peddinghaus]] and [[Metaal_Knipschaar]]
+
 
 
* Merge the pages: [[Diamond_dresser_/_Ritser]] and [[Ritser]]
 
* Merge the pages: [[Diamond_dresser_/_Ritser]] and [[Ritser]]
* Merge the pages: [[Dopsleutelset_/_Socketwrenches]] and [[Proxxon_Dopsleutelset_Socket_wrenches]]
+
 
* Merge the pages: [[PowerNode_White]] and [[PowerNode_White_-_Configuration]]
+
* Merge the pages: [[Pensleutel / Stiftsleutel / Pin spanner]] and [[Pensteeksleutel / Pin(wrench)spanner]]
* Merge the pages: [[NodeMetalMitreSaw]] and [[NodeMitresawMetal]]
+
 
* Merge the pages: [[Warmtebeeldcamera]] and [[FLIR_camera]]
+
* Merge the pages: [[Add a new tool to the wiki]] and [[Nieuwe wiki pagina aanmaken]]
 +
 
 +
* Done: <s>Merge the pages: [[Ultimaker 3D Printer]], [[3D-printers]], [[Ultimaker 2]]</s>
 +
 
 +
* Done: <s>Merge the pages: [[Node Metal Mitre Saw]] and [[Node Mitre Saw Metal]]</s>
 +
 
 +
* Done: <s>Merge the pages: [[Ventilatie]] and [[Central Air Extractor / Centrale Afzuiging Ventilatie]]</s>
 +
 
 +
* Done: <s>Merge the pages: [[Dopsleutelset_/_Socketwrenches]] and [[Proxxon_Dopsleutelset_Socket_wrenches]]</s>
 +
 
 +
* Done: <s>Merge the pages: [[Lijmtangen Houtwerkplaats]] and [[Clamps]]</s>
 +
 
 +
* Done: <s>Merge the pages: [[Warmtebeeldcamera]] and [[FLIR_camera]]</s>
 +
 
 +
* Done: <s>Merge the pages: [[Grote_Metaal_Knippert/Metal_Shears/Knipschaar/Peddinghaus]] and [[Metaal_Knipschaar]]</s>
 +
 
 +
* Done: <s>Integrate all pages from the category DisplayBoardsSchiphol [[:Categorie:DisplayBoardsSchiphol]] with integrated tabs into the page "[[Radar_Boards_Schiphol_Control]]," integrating tabs in the same manner as on the "[[Lasersaur]]" page.</s>
 +
 
 +
* Done: <s>Merge the pages: [[Stappen_Boor_StepDrill]], [[Stappenboor/Stepdrill]], and [[Step-drill/getrapte_boor]].</s>
  
 
== Extra/interesting extensions ==
 
== 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.  
+
* '''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. Also can provide an overview of all pages with a particular template/sjabloon. 
 +
 
 
* '''PageImages''' extension: allows you to automatically display thumbnails of images from pages.
 
* '''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
 
* '''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.
 
* '''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.
 +
 
* '''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.
 
* '''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
 
* '''HotCat''' extension: to be able to quickly add categories
 +
 
* '''Content Translation''' extension or alternativaly '''GoogleTranslate''' Extension to auto translate pages from Dutch to English.
 
* '''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.
 
* '''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.
 
* '''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.
 
* '''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.
 
* '''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.
 
* '''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.
 
* '''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.
 
* '''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.
 
* '''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.
 
* '''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.
 
* '''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.
 
* '''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.
  
 +
== Sidebar customizations ==
 +
 +
To customize the MediaWiki:Sidebar on a wiki, you need first to be logged in with a user that has the editinterface permission. For administrators this is enabled by default.
 +
 +
You can access MediaWiki:Sidebar by either:
 +
 +
: Going to https://wiki.makerspaceleiden.nl/wiki/index.php?title=MediaWiki:Sidebar&action=edit in your browser.
 +
 +
: Typing MediaWiki:Sidebar in search bar, and validating with Enter.
  
 
== Changes in the file LocalSettings.php ==
 
== Changes in the file LocalSettings.php ==
 +
 
* To disable the option 'this is a minor edit', change the following in 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['*']['minoredit'] = false;
** $wgGroupPermissions['autoconfirmed']['minoredit'] = false;
+
 
** $wgGroupPermissions['bot']['minoredit'] = false;
+
:- $wgGroupPermissions['user']['minoredit'] = false;
 +
 
 +
:- $wgGroupPermissions['autoconfirmed']['minoredit'] = false;
 +
 
 +
:- $wgGroupPermissions['bot']['minoredit'] = false;
 
<br>
 
<br>
  
 
* To hide the tabs 'discussion' and the 'talk', change the following in LocalSettings.php:
 
* To hide the tabs 'discussion' and the 'talk', change the following in LocalSettings.php:
** $wgNamespaceProtection[NS_TALK] = ['noedit'];
+
 
** $wgGroupPermissions['*']['noedit'] = true;
+
:- $wgNamespaceProtection[NS_TALK] = ['noedit'];
** $wgGroupPermissions['user']['noedit'] = true;
+
 
** $wgGroupPermissions['autoconfirmed']['noedit'] = true;
+
:- $wgGroupPermissions['*']['noedit'] = true;
** $wgGroupPermissions['sysop']['noedit'] = true;
+
 
 +
:- $wgGroupPermissions['user']['noedit'] = true;
 +
 
 +
:- $wgGroupPermissions['autoconfirmed']['noedit'] = true;
 +
 
 +
:- $wgGroupPermissions['sysop']['noedit'] = true;
  
 
<br>
 
<br>
Regel 82: Regel 140:
 
** $wgDPLSettings['maxresults'] = 500;
 
** $wgDPLSettings['maxresults'] = 500;
  
 +
 +
* To be able to add the Fusion 360 machine configuration file for the Large CNC cutter we can add the '.mch' file extension to the allowed file extensions:
 +
** $wgFileExtensions = [ .... ,'mch'];
 +
 +
== Changes in the file php.ini ==
 +
By default, the configuration code in php.ini limits the size of files to be uploaded to 2 megabytes (and the maximum size of a post operation to 8 megabytes). To allow uploading of larger files, edit these parameters in php.ini:
 +
 +
* post_max_size, 8 megabytes large by default
 +
* upload_max_filesize, 2 megabytes large by default
  
 
== Changes in CSS ==
 
== Changes in CSS ==
Regel 87: Regel 154:
 
<br>
 
<br>
 
<br>
 
<br>
/* To hide the "last edited" text on every page: */
+
/* To hide the "last edited" text in the footer on every page: */
 +
#footer-info-lastmod {
 +
    display: none;
 +
}
  
.page-info {
+
/* To hide the "About MakerSpace Leiden" text in the footer on every page: */
 +
#footer-places-about {
 
     display: none;
 
     display: none;
}
+
}
<br>
+
 
 +
/ * To hide the "Discussion" tab: */
 +
#ca-talk {
 +
    display: none;
 +
}
  
/* To round the border lines*/
+
/* Hide the toolbox in the sidebar */
 +
#p-tb {
 +
    display: none;
 +
  }
  
{
+
/* Optional: To round the border lines:  */
 +
{
 
     border-radius: 10px;
 
     border-radius: 10px;
}
+
}
h1, h2 {
+
h1, h2 {
 
     border-radius: 0px;
 
     border-radius: 0px;
}
+
}
<br>
 
  
/* To hide the default vector menu in the sidebar (with the links: "Main page, Recent changes, Random page, Help about MediaWikia."): */
+
/* Optional: To hide the default vector menu in the sidebar (with the links: "Main page, Recent changes, Random page, Help about MediaWikia."): */
 
+
#left-navigation .vector-menu {
#left-navigation .vector-menu {
 
 
   display: none;
 
   display: none;
}
+
}
<br>
 
  
/* To hide the default page tab: */
+
/* Optional:  To hide the default page tab: */
#ca-nstab-main {
+
#ca-nstab-main {
 
   display: none;
 
   display: none;
}
+
}
<br>
 
  
/* To increase the fontsize: */
+
/* Optional: To increase the fontsize: */
body {
+
body {
 
   font-size: 110%
 
   font-size: 110%
}
+
}
<br>
 
 
 
  
 
== Mediawiki version update ==  
 
== Mediawiki version update ==  
Regel 130: Regel 203:
 
== Skins ==
 
== Skins ==
 
Try out the following skins for a more visually appealing wiki:
 
Try out the following skins for a more visually appealing wiki:
 +
 +
* [https://www.mediawiki.org/wiki/Skin:Medik Medik] - [https://www.wikiskripta.eu/w/N%C3%A1st%C4%9Bnka:Port%C3%A1l Example]
 +
 +
* [https://github.com/b4ckspace/mediawiki-kiwi Kiwi] - [https://www.hackerspace-bamberg.de/Hauptseite Example]
 +
 +
* [https://www.mediawiki.org/wiki/Skin:Pivot Pivot] - [https://pivot.wikiproject.net/wiki/Main_Page Example]
 +
 +
* [https://www.mediawiki.org/w/index.php?title=Skin:Timeless&useskin=timeless Timeless]
 +
 +
* [https://www.mediawiki.org/wiki/Skin:Chameleon Chameleon]
 +
 
* Vector 2022
 
* Vector 2022
 +
 
* Vector
 
* Vector
* Pivot
 

Versie van 20 nov 2024 om 13:24


Project Wiki Midlife Upgrade
Status In progress
Contact Mark
Last Update 2024-11-20

Organize pages and titles

  • Done: Ensure all project-related pages include "project" in their titles.
  • Done: Consider including both Dutch and English terms in page titles where applicable.
  • Done: Convert titles from Pascal case to regular titles with spaces for better readability.
  • Done: Create dedicated wiki pages for each chore, titled with "chore -"

Merge pages

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. Also can provide an overview of all pages with a particular template/sjabloon.
  • 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.

Sidebar customizations

To customize the MediaWiki:Sidebar on a wiki, you need first to be logged in with a user that has the editinterface permission. For administrators this is enabled by default.

You can access MediaWiki:Sidebar by either:

Going to https://wiki.makerspaceleiden.nl/wiki/index.php?title=MediaWiki:Sidebar&action=edit in your browser.
Typing MediaWiki:Sidebar in search bar, and validating with Enter.

Changes in the 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;


  • To be able to add the Fusion 360 machine configuration file for the Large CNC cutter we can add the '.mch' file extension to the allowed file extensions:
    • $wgFileExtensions = [ .... ,'mch'];

Changes in the file php.ini

By default, the configuration code in php.ini limits the size of files to be uploaded to 2 megabytes (and the maximum size of a post operation to 8 megabytes). To allow uploading of larger files, edit these parameters in php.ini:

  • post_max_size, 8 megabytes large by default
  • upload_max_filesize, 2 megabytes large by default

Changes in CSS

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

/* To hide the "last edited" text in the footer on every page: */
#footer-info-lastmod {
   display: none;
}
/* To hide the "About MakerSpace Leiden" text in the footer on every page: */
#footer-places-about {
   display: none;
}
/ * To hide the "Discussion" tab: */
#ca-talk {
   display: none;
}
/* Hide the toolbox in the sidebar */
#p-tb {
   display: none;
}
/* Optional: To round the border lines:  */
{
   border-radius: 10px;
}
h1, h2 {
   border-radius: 0px;
}
/* Optional: To hide the default vector menu in the sidebar (with the links: "Main page, Recent changes, Random page, Help about MediaWikia."): */
#left-navigation .vector-menu {
 display: none;
}
/* Optional:  To hide the default page tab: */
#ca-nstab-main {
 display: none;
}
/* Optional: To increase the fontsize: */
body {
 font-size: 110%
}

Mediawiki version update

  • Update Mediawiki version from 1.31 (2018) to 1.41. Due to breaking changes, update MediaWiki in steps from version 1.31 to 1.35 and from 1.35 to 1.41.


Skins

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

  • Vector 2022
  • Vector