LesSix, Ltm, Soleiade, Trois, Robots, Bureaucrates, Administrateurs d’interface, ltm, soleil, Modérateurs, Administrateurs, trois, Modificateurs de widgets
5 464
modifications
(Patching MediaWiki (1.10 - 1.12)) |
|||
Ligne 20 : | Ligne 20 : | ||
MediaWiki 1.10 - 1.12 users have to add this hook manually. | MediaWiki 1.10 - 1.12 users have to add this hook manually. | ||
In includes/EditPage.php, at the end of showEditForm function, find this code: | In '''includes/EditPage.php''', at the end of showEditForm function, find this code: | ||
<pre>$wgOut->addHtml( wfHidden( 'wpAutoSummary', $autosumm ) ); | <pre>$wgOut->addHtml( wfHidden( 'wpAutoSummary', $autosumm ) ); | ||
Ligne 29 : | Ligne 29 : | ||
if ( $this->isConflict && wfRunHooks( 'EditPageBeforeConflictDiff', array( &$this, &$wgOut ) )) { | if ( $this->isConflict && wfRunHooks( 'EditPageBeforeConflictDiff', array( &$this, &$wgOut ) )) { | ||
</pre> | </pre> | ||
=== SanitizerAfterFixTagAttributes === | === SanitizerAfterFixTagAttributes === | ||
modifications