Différences entre versions de « Fibre.wiki/Mediawiki »

De Fibre.wiki
Sauter à la navigation Sauter à la recherche
(Page créée avec « = Sitemaps = <syntaxhighlight lang="SQL" > php maintenance/generateSitemap.php . </syntaxhighlight> category:wiki »)
 
 
(13 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 
= Sitemaps =
 
= Sitemaps =
 +
<syntaxhighlight>
 +
cd sitemaps
 +
php ../maintenance/generateSitemap.php .
 +
</syntaxhighlight>
  
<syntaxhighlight lang="SQL" >
+
== Urls ==
php maintenance/generateSitemap.php .
 
  
 +
* https://fibre.wiki/sitemaps/sitemap-index-wikidb.xml
 +
 +
= Extensions =
 +
 +
== AutoSitemap ==
 +
 +
18-janvier-2021
 +
 +
https://www.mediawiki.org/wiki/Extension:AutoSitemap
 +
 +
== LastModified ==
 +
ajoutée :
 +
12-janvier-2021
 +
require_once "$IP/extensions/LastModified/LastModified.php";
 +
 +
 +
* https://www.mediawiki.org/wiki/Extension:LastModified
 +
== Contribution Scores ==
 +
 +
31-octobre-2020
 +
https://www.mediawiki.org/wiki/Extension:Contribution_Scores
 +
 +
<syntaxhighlight lang="php" >
 +
require_once "$IP/extensions/ContributionScores/ContributionScores.php";
 +
$wgContribScoreIgnoreBots = true;          // Exclude Bots from the reporting - Can be omitted.
 +
$wgContribScoreIgnoreBlockedUsers = true;  // Exclude Blocked Users from the reporting - Can be omitted.
 +
$wgContribScoresUseRealName = true;        // Use real user names when available - Can be omitted. Only for MediaWiki 1.19 and later.
 +
$wgContribScoreDisableCache = false;      // Set to true to disable cache for parser function and inclusion of table.
 +
 +
//Each array defines a report - 7,50 is "past 7 days" and "LIMIT 50" - Can be omitted.
 +
$wgContribScoreReports = array(
 +
    array(7,50),
 +
    array(30,50),
 +
    array(0,50));
 
  </syntaxhighlight>
 
  </syntaxhighlight>
 
  
  
 
[[category:wiki]]
 
[[category:wiki]]
 +
[[category:fibre.wiki]]

Version actuelle datée du 18 janvier 2021 à 10:55

Sitemaps

 cd sitemaps
 php ../maintenance/generateSitemap.php .

Urls

Extensions

AutoSitemap

18-janvier-2021

https://www.mediawiki.org/wiki/Extension:AutoSitemap

LastModified

ajoutée : 12-janvier-2021

require_once "$IP/extensions/LastModified/LastModified.php";


Contribution Scores

31-octobre-2020 https://www.mediawiki.org/wiki/Extension:Contribution_Scores

require_once "$IP/extensions/ContributionScores/ContributionScores.php";
$wgContribScoreIgnoreBots = true;          // Exclude Bots from the reporting - Can be omitted.
$wgContribScoreIgnoreBlockedUsers = true;  // Exclude Blocked Users from the reporting - Can be omitted.
$wgContribScoresUseRealName = true;        // Use real user names when available - Can be omitted. Only for MediaWiki 1.19 and later.
$wgContribScoreDisableCache = false;       // Set to true to disable cache for parser function and inclusion of table.

//Each array defines a report - 7,50 is "past 7 days" and "LIMIT 50" - Can be omitted.
$wgContribScoreReports = array(
    array(7,50),
    array(30,50),
    array(0,50));