Deprecated: Use of MediaWiki\Parser\ParserOutput::getText was deprecated in MediaWiki 1.42. [Called from SMW\MediaWiki\Hooks\OutputPageParserOutput::getParserOutput in /home/jltryoen/www/MediaWiki/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/OutputPageParserOutput.php at line 161] in /home/jltryoen/www/MediaWiki/includes/debug/MWDebug.php on line 386
« MediaWiki/Mes Extensions » : différence entre les versions — La FAQ de JLT

« MediaWiki/Mes Extensions » : différence entre les versions

Aucun résumé des modifications
Balise : Révocation manuelle
 
(40 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
{{sommaire à droite}}
{{sommaire à droite}}
<keywords content="MediaWiki,extensions" />
{{#seo:
|keywords=MediaWiki,extensions
|description=MEdiaWiki extensions
|translated=unmaintained
}}


== Mon Template ==
== Mon Template ==
Ligne 9 : Ligne 13 :


== Bilan de mes extensions à ce jour ==
== Bilan de mes extensions à ce jour ==
: voir aussi&nbsp;{{intralink|link=Special:Version}}
Voir aussi&nbsp;{{intralink|link=Special:Version}}


{{#ask: [[Is extension::+]]
: {{#ask: [[Is extension::+]][[Is archived::0]]
|class=wikitable smwtable-clean table-bordered table border-primary
|class=wikitable smwtable-clean table-bordered table border-primary
|?=Page
|?=Page
|?Has Description=Description
|?Has Description=Description
|format=table
|?Has link=MediaWiki
|?Is translated=traduit
|?Has githublink=githublink
|format=template
|template=ExtensionFormat
|introtemplate=ExtensionHeader
|outrotemplate=ExtensionFooter
}}
}}


Ligne 21 : Ligne 31 :


== Fichier LocalSettings.php ==
== Fichier LocalSettings.php ==
:{{code|collapse=Extrait de  {{img |/images/file.jpg|width=16}}LocalSettings.php| lang=php|code=
C'est là que l'on déclare les extensions une fois qu'elles sont installées. <br>
 
Le format le plus récent utilise la fonction '''wfLoadExtension'''
require_once("$IP/extensions/SyntaxHighlight_GeSHin/SyntaxHighlight_GeSHi.php");
function wfProfileIn( $arg) {};
function wfProfileOut( $arg) {};
 
wfLoadExtension("WikiEditor" );
$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
$wgDefaultUserOptions['wikieditor-highlight'] = 1;
 
#control categories
require_once("$IP/extensions/CategoryControl2/CategoryControl.php");
require_once("$IP/extensions/CategoryControl2/config.php");
 
#ajout de code HTML
#disabled
require_once("$IP/extensions/easyaddHTML.php");
 
 
##Category Viewer
require_once("$IP/extensions/CategoryView/CategoryView.php");
//wfLoadExtension( 'CategoryTree' );


#utilisé pour le plan du site
:{{accordion |Extrait de  LocalSettings.php|text=  
wfLoadExtension('NiceCategoryList3');
<include src="./extensions.php" lang="php" nopre />
 
 
#fonctions speciales
require_once("$IP/extensions/UserFunctions/UserFunctions.php");
wfLoadExtension("ParserFunctions");
$wgPFEnableStringFunctions = true;
 
$wgUFAllowedNamespaces[NS_MAIN] = true;
# User Functions enabled in User Mainspace, but not in Main one.
$wgUFAllowedNamespaces = array(
        NS_MAIN => false,
        NS_USER => true
);
# Enable all User Functions in all NS numbered from 0 to 200
$wgUFAllowedNamespaces = array_fill(0, 200, true);
 
#UserAdmin est une extension qui permet aux administrateurs d'ajouter des utilisateurs
//require_once("$IP/extensions/UserAdmin/UserAdmin.php");
 
#piwik => matomo
wfLoadExtension("Matomo");
$wgMatomoURL = "piwik.jltryoen.fr/";
$wgMatomoIDSite = "1";
 
 
#pour ajouter des keyword
require_once('extensions/MetaKeywordsTag.php');
wfLoadExtension('WikiSEO');
#pour ajouter des favoris
wfLoadExtension("Favorites");
 
 
#pour ajouter wikipedia
require_once("$IP/extensions/Wikipedia/wikipedia.php");
require_once("$IP/extensions/Wikipedia/wikipediaparser.php");
 
 
# DeleteHistory
// $wgGroupPermissions['sysop']['DeleteHistory'] = true;
// include('extensions/DeleteHistory/DeleteHistory.php');
 
#Extension DeleteOldRevisions obsolete with version 1.24.0
// $wgGroupPermissions['sysop']['DeleteOldRevisions'] = true;
// require_once("$IP/extensions/DeleteOldRevisions2/SpecialDeleteOldRevisions2.php");
 
#Extension ExpandTemplates
#require_once("$IP/extensions/ExpandTemplates/ExpandTemplates.php");
 
#purge
wfLoadExtension( "Purge" );
$wgGroupPermissions['user']['purge'] = false;
$wgGroupPermissions['sysop']['purge'] = true;
 
#htmltags
wfLoadExtension( "HTMLTags" );
$wgHTMLTagsAttributes['a'] = array( 'href', 'class' , 'data-bs-toggle','aria-expanded', 'aria-controls');
$wgHTMLTagsAttributes['img'] = array( 'src', 'style', 'width' );
$wgHTMLTagsAttributes['i'] = array( 'class' );
$wgHTMLTagsAttributes['div'] = array( 'class' );
$wgHTMLTagsAttributes['option'] = array( 'onClick' );
$wgHTMLTagsAttributes['select'] = array( 'width','style' );
$wgHTMLTagsAttributes['embed'] = array( 'type','src','width','height','flashvars','pluginspage');
$wgHTMLTagsAttributes['iframe'] = array( 'frameborder','allowtransparency','scrolling','height', 'width','src');
 
#tabs
wfLoadExtension("Tabber");
 
 
#contactpage
wfLoadExtension("ContactPage");
$wgContactConfig['default'] = array(
'RecipientUser' => 'root', // Must be the name of a valid account which also has a verified e-mail-address added to it.
'SenderName' => 'Contact Form on ' . $wgSitename, // "Contact Form on" needs to be translated
'SenderEmail' => null, // Defaults to $wgPasswordSender, may be changed as required
'RequireDetails' => false, // Either "true" or "false" as required
'IncludeIP' => true, // Either "true" or "false" as required
'MustBeLoggedIn' => false, // Check if the user is logged in before rendering the form
'AdditionalFields' => array(
'Text' => array(
'label-message' => 'emailmessage',
'type' => 'textarea',
'rows' => 20,
'required' => true,  // Either "true" or "false" as required
),
),
        // Added in MW 1.26
'DisplayFormat' => 'table',  // See HTMLForm documentation for available values.
'RLModules' => array(),  // Resource loader modules to add to the form display page.
'RLStyleModules' => array(),  // Resource loader CSS modules to add to the form display page.
);
 
#notitle
wfLoadExtension("NoTitle");
 
#PipeEscape
require_once("$IP/extensions/PipeEscape/PipeEscape.php");
 
##CSS  CSS extension
wfLoadExtension("CSS");
 
 
 
##slideshow
require_once("$IP/extensions/SlideShow/slideshowparser.php");
 
##categorycloud
wfLoadExtension("WikiCategoryTagCloud");
 
##variables
wfLoadExtension( 'Variables' );
 
##autoincrement
require_once "$IP/extensions/Autoincrement/Autoincrement.php";
 
##
require_once "$IP/extensions/Hello/helloparser.php";
require_once "$IP/extensions/Meteo/meteoparser.php";
 
 
##
#Semanti mediawiki
wfLoadExtension( 'SemanticMediaWiki' );
enableSemantics( $semanticURL, true );
 
$GLOBALS['sespSpecialProperties'] = array('_PAGEID', '_NSID');
define('NS_DEMO' , 202);
$wgExtraNamespaces[NS_DEMO] = "Demo";
define('NS_RACE' , 203);
$wgExtraNamespaces[NS_RACE] = "Race";
define('NS_MUSIC' , 204);
$wgExtraNamespaces[NS_MUSIC] = "Music";
 
 
 
$smwgNamespacesWithSemanticLinks[NS_DEMO] = True;
$smwgNamespacesWithSemanticLinks[NS_RACE] = True;
$smwgNamespacesWithSemanticLinks[NS_MUSIC] = True;
$smwgNamespacesWithSemanticLinks[NS_TEMPLATE] = True;
 
$smwgPageSpecialProperties = array( '_CDAT' );
$wgDisableCounters = False;
wfLoadExtension( 'SemanticResultFormats' );
wfLoadExtension( 'SemanticExtraSpecialProperties' );
wfLoadExtension( 'SemanticExtraSpecialProperties' );
wfLoadExtension( 'ModernTimeline' );
$srfgFormats = array('calendar', 'broadtable','outline', 'tagcloud', 'timeline', 'eventcalendar','table', 'eventline','list', 'icalendar','sparkline');
//require_once( "$IP/extensions/SMWAskAPI/SMWAskAPI.php" );
 
##
wfLoadExtension("DataTransfer");
 
##
wfLoadExtension("DeleteBatch");
 
 
##fullcalendar
require_once("$IP/extensions/FullCalendar/fullcalendarparser.php");
 
wfLoadExtension( 'MagicNoCache' );
 
 
wfLoadExtension( 'SecureInclude' );
$wg_include_allowed_features['iframe'] = true;
 
 
wfLoadExtension( 'AutoSitemap' );
require_once("$IP/extensions/AutoSitemap/config.php");
 
wfLoadExtension('FontAwesome');




Ligne 221 : Ligne 41 :


== Comment puis-je insérer des pages HTML dans les pages wiki ==
== Comment puis-je insérer des pages HTML dans les pages wiki ==
=== Une solution : l'extension addHTML ===
Une solution : l'extension SecureInclude<br>
* disponible à cette adresse : {{weblink |link=http://www.mediawiki.org/wiki/Extension:AddHTML|text=Extension:AddHTML}}
{{Warning2|text=l'extension n'est plus compatible avec la version '''1.19.1'''
Je l'ai remplacé par <favorites like="EasyAddHTML" output="css3treeviewshort" />
}}
{{clear}}
{{Warning2|text=Cette extension n'est plus maintenue, en voilà le code
{{code|collapse=Code|code=
$wgHooks['ParserFirstCallInit'][] = "efSampleSetup";
function efSampleSetup(Parser $parser) {
    $parser->setHook( 'addhtml', 'efSampleRender' );
return true;
}


function checkPageEditRestriction( &$title )
Elle est disponible à cette adresse:{{space}} {{weblink |link=http://www.mediawiki.org/wiki/Extension:SecureInclude|text=Extension:SecureInclude}}{{Warning|L'extension est considérée comme non sécurisée}}
// v1.1 feature
<br>
// where $title is a Mediawiki Title class object instance
{
$proceed = false;
 
$state = $title->getRestrictions('edit');
foreach ($state as $index => $group )
if ( $group == 'sysop' )
$proceed = true;


return $proceed;
}
function efSampleRender( $input, $args, $parser, PPFrame $frame  ) {
    // Nothing exciting here, just escape the user-provided
    // input and throw it back out again
if (!checkPageEditRestriction( $parser->mTitle ))
return "unauthorized usage of <b>addHtml</b> extension.";
    return $input;
}
|lang=php}}
}}
<br/>
* exemple:
* exemple:
:{{syntaxhighlight| lang=html4strict|code=
::{{syntaxhighlight| lang=html4strict|code=
< addhtml>
< include iframe height="3120" src="/CRcourses/Embrunman 2016.htm" frameborder="0" />
<iframe src="http://stim.com/" width=600 height=500>
</iframe>
</ addhtml>
}}
}}
{{clear}}
{{clear}}
</br>


 
== Mes extensions ==
<div class="row">
<div class="row">
{{grebox-jck |class=col-lg-8|content=
{{grebox-jck |class=col-lg-8|content=
== Mes extensions  ==
 
{{favorites|openlevel=1|path=MediaWiki/Mes extensions}}
{{favorites|openlevel=1|path=MediaWiki/Mes extensions}}
}}
}}

Dernière version du 4 mars 2025 à 15:04

Mon Template

Voir   MediaWikiBootStrap5

Semantic Mediawiki

Voir   MediaWiki/Semantic MediaWiki

Bilan de mes extensions à ce jour

Voir aussi   Special:Version

Page Description MediaWiki Traduit Githublink
MediaWiki/Mes Extensions/AutoSitemap Cette extension permet de créer un sitemap pour les moteurs de recherche Extension:AutoSitemap/fr dolfinus/AutoSitemap
MediaWiki/Mes Extensions/CSS Inclut un ficher de style .css Extension:CSS/fr 
MediaWiki/Mes Extensions/CategoryControl2 Gérer les accès aux catégories suivant l'utilisateur Extension:CategoryControl2/fr JLTRY/CategoryControl2
MediaWiki/Mes Extensions/CategoryTree Afficher un arbre de catégories Extension:CategoryTree/fr 
MediaWiki/Mes Extensions/ContactPage Fournit un formulaire de contact pour les visiteurs Extension:ContactPage/fr 
MediaWiki/Mes Extensions/DataTransfer Import de pages CSV Extension:Data_Transfer/fr 
MediaWiki/Mes Extensions/FontAwesome affiche une icône "FontAwesome" ex: Extension:FontAwesomefalse 
MediaWiki/Mes Extensions/HTML Tags Utilisation de tags html dans un modèle Extension:HTML_Tags/fr 
MediaWiki/Mes Extensions/Interwiki L'extension Interwiki permet d'avoir des liens inter sites (mediawiki ...) Extension:Interwiki/fr 
MediaWiki/Mes Extensions/MagicNoCache L'extension MagicNoCache désactive le cache pour toute page dans laquelle se trouve le mot __NOCACHE__ Extension:MagicNoCache/fr 
MediaWiki/Mes Extensions/NiceCategoryList3 Affiche une liste de catégories Extension:NiceCategoryList3/fr JLTRY/NiceCategoryList3
MediaWiki/Mes Extensions/NoTitle masque le titre d'une page Extension:NoTitle/fr 
MediaWiki/Mes Extensions/NumerAlpha Cette extension permet (entre autres) de gérer un compteur Extension:NumerAlphabeta 
MediaWiki/Mes Extensions/ParserFunctions fonctions de parsing Extension:ParserFunctions/fr 
MediaWiki/Mes Extensions/PipeEscape masque le pipe dans un modèle Extension:PipeEscapeunmaintained 
MediaWiki/Mes Extensions/Purge ajoute une action purge pour rafraichir le contenu d'une page Extension:Purge/fr 
MediaWiki/Mes Extensions/SecureInclude permet d'afficher une page en iframe ou un fichier en mode "Syntaxhighlight" Extension:SecureIncludeexperimental edeso/SecureInclude
MediaWiki/Mes Extensions/SyntaxHighlight Mise en forme de code Extension:SyntaxHighlight/fr extensions/SyntaxHighlight GeSHi
MediaWiki/Mes Extensions/SyntaxHighlight(old version) Mise en forme de code Extension:SyntaxHighlight/frfalse JLTRY/mediawiki-extensions-SyntaxHighlight GeSHi/tree/REL1 25
MediaWiki/Mes Extensions/TabberNeue Affichage d'onglets Extension:TabberNeuefalse 
MediaWiki/Mes Extensions/UserFunctions Définition et utilisation de UserFunctions Extension:UserFunctions/fr 
MediaWiki/Mes Extensions/Variables Définition et utilisation de variables Extension:Variables/fr 
MediaWiki/Mes Extensions/WikiCategoryTagCloud Affiche une liste de catégories sous la forme d'un "cloud" Extension:WikiCategoryTagCloud/fr extensions/WikiCategoryTagCloud
MediaWiki/Mes Extensions/WikiSEO Ajoute des tags dans l'entête d'une page keywords ... Extension:WikiSEO/fr 

Fichier LocalSettings.php

C'est là que l'on déclare les extensions une fois qu'elles sont installées.
Le format le plus récent utilise la fonction wfLoadExtension

<?php
/* require_once("$IP/extensions/SyntaxHighlight_GeSHin/SyntaxHighlight_GeSHi.php");
function wfProfileIn( $arg) {};
function wfProfileOut( $arg) {}; */
wfLoadExtension( "SyntaxHighlight_GeSHi" );

if ( isWindows() ) {
	#$wgPygmentizePath = "F:\\user\\python.repo\\pygments\\dist\\__main__.exe";
	$wgPygmentizePath = "C:\\Program Files\\Python310\\Scripts\\pygmentize.exe";
	#$wgPygmentizePath = "$IP/extensions/SyntaxHighlight_GeSHi/pygments/__main__.exe";
} else {
	//$wgPygmentizePath = "/homez.913/jltryoen/www/MediaWiki/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize.sh";
	//$wgPygmentizePath = "/usr/bin/python -m pygments";
	//$wgPygmentizePath = "/homez.913/jltryoen/.local/bin/pygmentize";
	$wgPygmentizePath = "/homez.913/jltryoen/python/pygments/pygmentize";
}



wfLoadExtension( "WikiEditor" );
$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
$wgDefaultUserOptions['wikieditor-highlight'] = 1;
$wgWikiEditorRealtimePreview = true;

wfLoadExtension( 'CodeEditor' );
$wgDefaultUserOptions['usebetatoolbar'] = 1; // user option provided by WikiEditor extension

#ajout de code HTML
require_once("$IP/extensions/easyaddHTML.php");
wfLoadExtension( 'SecureInclude' );
$wg_include_allowed_features['iframe'] = true;
$wg_include_allowed_features['local'] = true;
$wg_include_allowed_features['remote'] = true;
$wg_include_allowed_features['highlight'] = true;
$wg_include_allowed_parent_paths = array("$IP");
$wg_include_allowed_url_regexp = '/https:\/\/raw\.githubusercontent\.com\/JLTRY/';


#fonctions speciales
wfLoadExtension( 'UserFunctions' );
$wgUFAllowedNamespaces[NS_MAIN] = true;
# User Functions enabled in User Mainspace, but not in Main one.
$wgUFAllowedNamespaces = array(
        NS_MAIN => false,
        NS_USER => true
);
# Enable all User Functions in all NS numbered from 0 to 200
$wgUFAllowedNamespaces = array_fill(0, 200, true);

wfLoadExtension("ParserFunctions");
$wgPFEnableStringFunctions = true;



wfLoadExtension( 'Interwiki' );
// To grant sysops permissions to edit interwiki data
$wgGroupPermissions['sysop']['interwiki'] = true;



#piwik => matomo
wfLoadExtension("Matomo");
$wgMatomoURL = "piwik.jltryoen.fr";
$wgMatomoIDSite = "1";
$wgMatomoProtocol = "https";



wfLoadExtension('WikiSEO');
$wgGoogleSiteVerificationKey = 'CODE'; 
$wgBingSiteVerificationKey = 'CODE'; 

#purge
wfLoadExtension( "Purge" );
$wgGroupPermissions['user']['purge'] = false;
$wgGroupPermissions['sysop']['purge'] = true;

#htmltags
wfLoadExtension( "HTMLTags" );
$wgHTMLTagsAttributes['a'] = array( 'href', 'class' , 'data-bs-toggle','aria-expanded', 'aria-controls');
$wgHTMLTagsAttributes['img'] = array( 'src', 'style', 'width' );
$wgHTMLTagsAttributes['i'] = array( 'class' );
$wgHTMLTagsAttributes['div'] = array( 'class' );
$wgHTMLTagsAttributes['option'] = array( 'onClick' );
$wgHTMLTagsAttributes['select'] = array( 'width','style' );
$wgHTMLTagsAttributes['embed'] = array( 'type','src','width','height','flashvars','pluginspage');
$wgHTMLTagsAttributes['iframe'] = array( 'frameborder','allowtransparency','scrolling','height', 'width','src');
$wgHTMLTagsAttributes['button'] = array( 'class' ,'id', 'data-bs-toggle', 'data-bs-target', 'type', 'role', 'aria-controls', 'aria-selected');

#tabs
wfLoadExtension("TabberNeue");
$wgTabberNeueEnableAnimation = false;

#contactpage
wfLoadExtension("ContactPage");
$wgContactConfig['default'] = array(
	'RecipientUser' => 'root', // Must be the name of a valid account which also has a verified e-mail-address added to it.
	'SenderName' => 'Contact Form on ' . $wgSitename, // "Contact Form on" needs to be translated
	'SenderEmail' => null, // Defaults to $wgPasswordSender, may be changed as required
	'RequireDetails' => false, // Either "true" or "false" as required
	'IncludeIP' => true, // Either "true" or "false" as required
	'MustBeLoggedIn' => false, // Check if the user is logged in before rendering the form
	'AdditionalFields' => array(
		'Text' => array(
			'label-message' => 'emailmessage',
			'type' => 'textarea',
			'rows' => 20,
			'required' => true,  // Either "true" or "false" as required
		),
	),
        // Added in MW 1.26
	'DisplayFormat' => 'table',  // See HTMLForm documentation for available values.
	'RLModules' => array(),  // Resource loader modules to add to the form display page.
	'RLStyleModules' => array(),  // Resource loader CSS modules to add to the form display page.
);

#notitle
wfLoadExtension("NoTitle");

#PipeEscape
wfLoadExtension("PipeEscape");

##CSS  CSS extension
wfLoadExtension("CSS");
#path relative to root
$wgCSSPath = '';


##categorycloud
wfLoadExtension("WikiCategoryTagCloud");

##variables
wfLoadExtension( 'Variables' );


##Hello
wfLoadExtension( 'Hello' );

##MEteo
wfLoadExtension( 'Meteo' );

##slideshow
wfLoadExtension( 'SlideShow' );

##
#Semanti mediawiki
$GLOBALS['sespSpecialProperties'] = array('_PAGEID', '_REVID', '_NSID');
define('NS_DEMO' , 202);
$wgExtraNamespaces[NS_DEMO] = "Demo";
define('NS_RACE' , 203);
$wgExtraNamespaces[NS_RACE] = "Race";
define('NS_MUSIC' , 204);
$wgExtraNamespaces[NS_MUSIC] = "Music";
define('NS_BOOK' , 205);
$wgExtraNamespaces[NS_BOOK] = "Book";
wfLoadExtension( 'SemanticMediaWiki' );
enableSemantics( $semanticURL, true );

$wgGroupPermissions['user']['smw-admin'] = True;
$smwgNamespacesWithSemanticLinks[NS_MAIN] = True;
$smwgNamespacesWithSemanticLinks[NS_DEMO] = True;
$smwgNamespacesWithSemanticLinks[NS_RACE] = True;
$smwgNamespacesWithSemanticLinks[NS_MUSIC] = True;
$smwgNamespacesWithSemanticLinks[NS_TEMPLATE] = True;
$smwgNamespacesWithSemanticLinks[NS_BOOK] = True;
$smwgPageSpecialProperties = array('_CDAT', '_MDAT');
$wgDisableCounters = False;
#extensions for SemanticMediaWiki
wfLoadExtension( 'SemanticResultFormats' );
$sespgEnabledPropertyList = [
	'_EUSER',
	'_CUSER',
	'_REVID',
	'_NSID'
];
wfLoadExtension( 'SemanticExtraSpecialProperties' ); 
wfLoadExtension( 'ModernTimeline' ); 
$srfgFormats = array('calendar', 'broadtable','outline', 'tagcloud', 'timeline', 'eventcalendar','table', 'eventline','list', 'icalendar','sparkline');
//require_once( "$IP/extensions/SMWAskAPI/SMWAskAPI.php" );


##
wfLoadExtension("DataTransfer");

##
wfLoadExtension("DeleteBatch");


##fullcalendar
//require_once("$IP/extensions/FullCalendar/fullcalendarparser.php");
wfLoadExtension( 'JOFullCalendar' );

wfLoadExtension( 'MagicNoCache' );


wfLoadExtension( 'AutoSitemap' );
require_once("$IP/extensions/AutoSitemap/config.php");

wfLoadExtension( 'FontAwesome' );
wfLoadExtension( 'NumerAlpha' );


##Category Viewer JLT
#require_once("$IP/extensions/CategoryView/CategoryView.php");
//wfLoadExtension( 'CategoryView' );

#control categories JLT github
wfLoadExtension( 'CategoryControl2' );
$wgCategoryPermissions['Catégories_cachées']['*'] = array('sysop'); // Sysops can do anything they want with this category.
$wgCategoryPermissions['Catégories_cachées']['read'] = array('sysop', 'family','administrators'); // Sysops can do anything they want with this category.
$wgCategoryPermissions['Private']['*'] = array('sysop', 'user', 'administrators'); // Sysops can do anything they want with this category.
$wgCategoryPermissions['Private']['edit'] = array('sysop', 'user', 'administrators'); // Sysops can do anything they want with this category.
$wgCategoryPermissions['Private']['read'] = array('sysop', 'family','administrators'); // Sysops, family can read.

#utilisé pour le plan du site JLT github
wfLoadExtension( 'NiceCategoryList3' );

#categorytree
wfLoadExtension( 'CategoryTree');

#pour ajouter des favoris JLT
#wfLoadExtension("Favorites");
wfLoadExtension("JOFavorites");
if ( isWindows() ) {
    $wgJOFavoritesuriroot="http://127.0.0.1:8080/joomla_5.0/";
} else {
    $wgJOFavoritesuriroot="http://joomla.jltryoen.fr/";
}
$wgJOFavoritesbookmarksfile = "$IP/../joomla_5.0/files/jofavorites/bookmarks.home2.json";

#pour ajouter des galleries JLT
wfLoadExtension("JGallery");


#pour ajouter wikipedia JLT
require_once("$IP/extensions/Wikipedia/wikipedia.php");
require_once("$IP/extensions/Wikipedia/wikipediaparser.php");

#configuration is done in LocalSettings.xx.php
wfLoadExtension('AuthJoomla2023');

wfLoadExtension( 'Description2' );
$wgEnableMetaDescriptionFunctions = true;



?>

Comment puis-je insérer des pages HTML dans les pages wiki

Une solution : l'extension SecureInclude

Elle est disponible à cette adresse:   Extension:SecureInclude

Warning Attention: L'extension est considérée comme non sécurisée


  • exemple:
< include iframe height="3120" src="/CRcourses/Embrunman 2016.htm" frameborder="0" />
 



Mes extensions