Tópico:Wikilivros:Diálogos comunitários/Proposta: Ativar a Extensão:ReaderFeedback/resposta (7): diferenças entre revisões

m
(geshi não funciona)
m (Desfeita a edição 189913 de Raylton P. Sousa (Usuário Discussão:Raylton P. Sousa))
;Configurações
A configuração que sugiro com base nos meus testes e nas configurações do [[:en:Wikibooks:FlaggedRevs_Extension|Wikilivros anglófono]] é a seguinte:
<span class="mw-geshi php source-php"><span class="co1">// Sets the most recent version as shown</span><br />
<span class="re0">$wgFlaggedRevsOverride</span> <span class="sy0">=</span> <span class="kw4">false</span><span class="sy0">;</span><br />
<br />
<span class="re0">$wgSimpleFlaggedRevsUI</span> <span class="sy0">=</span> <span class="kw4">false</span><span class="sy0">;</span><br />
 
<span class="re0">$wgFlaggedRevComments</span> <span class="sy0">=</span> <span class="kw4">false</span><span class="sy0">;</span><br />
<br />
<span class="re0">$wgFlaggedRevsAutopromote</span> <span class="sy0">=</span> <span class="kw3">array</span><span class="br0">(</span><br />
&#160; <span class="st_h">'days'</span> <span class="sy0">=&gt;</span> <span class="nu0">30</span><span class="sy0">,</span> <span class="co2"># days since registration<br /></span> &#160;<span class="st_h">'edits'</span> <span class="sy0">=&gt;</span> <span class="nu0">100</span><span class="sy0">,</span> <span class="co2"># total edit count<br /></span> &#160;<span class="st_h">'excludeDeleted'</span> <span class="sy0">=&gt;</span> <span class="kw4">true</span><span class="sy0">,</span> <span class="co2"># exclude deleted edits from 'edits' count above?<br /></span> &#160;<span class="st_h">'spacing'</span> <span class="sy0">=&gt;</span> <span class="nu0">2</span><span class="sy0">,</span> <span class="co2"># spacing of edit intervals<br /></span> &#160;<span class="st_h">'benchmarks'</span> <span class="sy0">=&gt;</span> <span class="nu0">8</span><span class="sy0">,</span> <span class="co2"># how many edit intervals are needed?<br /></span> &#160;<span class="st_h">'recentContentEdits'</span> <span class="sy0">=&gt;</span> <span class="nu0">5</span><span class="sy0">,</span> <span class="co2"># $wgContentNamespaces edits in recent changes<br /></span> &#160;<span class="st_h">'totalContentEdits'</span> <span class="sy0">=&gt;</span> <span class="nu0">50</span><span class="sy0">,</span> &#160;<span class="co2"># $wgContentNamespaces edits<br /></span> &#160;<span class="st_h">'uniqueContentPages'</span> <span class="sy0">=&gt;</span> <span class="nu0">10</span><span class="sy0">,</span> <span class="co2"># $wgContentNamespaces unique pages edited<br /></span> &#160;<span class="st_h">'editComments'</span> <span class="sy0">=&gt;</span> <span class="nu0">50</span><span class="sy0">,</span> <span class="co2"># how many edit comments used?<br /></span> &#160;<span class="st_h">'email'</span> <span class="sy0">=&gt;</span> <span class="kw4">true</span><span class="sy0">,</span> <span class="co2"># user must be emailconfirmed?<br /></span> &#160;<span class="st_h">'userpage'</span> <span class="sy0">=&gt;</span> <span class="kw4">false</span><span class="sy0">,</span> <span class="co2"># user must have a userpage?<br /></span> &#160;<span class="st_h">'uniqueIPAddress'</span> <span class="sy0">=&gt;</span> <span class="kw4">false</span><span class="sy0">,</span> <span class="co2"># If $wgPutIPinRC is true, users sharing IPs won't be promoted<br /></span> &#160;<span class="st_h">'neverBlocked'</span> <span class="sy0">=&gt;</span> <span class="kw4">true</span><span class="sy0">,</span> <span class="co2"># Can users that were blocked be promoted?<br /></span><span class="br0">)</span> <span class="sy0">+</span> <span class="re0">$wgFlaggedRevsAutopromote</span><span class="sy0">;</span><br />
 
<br />
<span class="re0">$wgGroupPermissions</span><span class="br0">[</span><span class="st_h">'editor'</span><span class="br0">]</span><span class="br0">[</span><span class="st_h">'rollback'</span><span class="br0">]</span> <span class="sy0">=</span> <span class="kw4">true</span><span class="sy0">;</span><br />
<span class="re0">$wgGroupPermissions</span><span class="br0">[</span><span class="st_h">'sysop'</span><span class="br0">]</span><span class="br0">[</span><span class="st_h">'review'</span><span class="br0">]</span> <span class="sy0">=</span> <span class="kw4">true</span><span class="sy0">;</span><br />
 
<span class="re0">$wgGroupPermissions</span><span class="br0">[</span><span class="st_h">'sysop'</span><span class="br0">]</span><span class="br0">[</span><span class="st_h">'stablesettings'</span><span class="br0">]</span> <span class="sy0">=</span> <span class="kw4">true</span><span class="sy0">;</span><br />
<span class="re0">$wgGroupPermissions</span><span class="br0">[</span><span class="st_h">'sysop'</span><span class="br0">]</span><span class="br0">[</span><span class="st_h">'validate'</span><span class="br0">]</span> <span class="sy0">=</span> <span class="kw4">true</span><span class="sy0">;</span></span>
<!--
<source lang="php" enclose="none">
// Sets the most recent version as shown
$wgGroupPermissions['sysop']['validate'] = true;
</source>
 
-->
A descrição de cada parâmetro é descrita na [[mw:Extension:FlaggedRevs#Configuration|página da extensão]]
 
16 394

edições