Différences entre les versions de « Fichier:FCKeditor.zip »

114 octets ajoutés ,  31 août 2008 à 13:45
aucun résumé de modification
(Patching MediaWiki (1.10 - 1.12))
 
(2 versions intermédiaires par le même utilisateur non affichées)
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 <span style="background-color: rgb(255, 255, 0);">includes/EditPage.php</span>, at the end of showEditForm function, find this code:  
<pre>$wgOut-&gt;addHtml( wfHidden( 'wpAutoSummary', $autosumm ) );
<pre>$wgOut-&gt;addHtml( wfHidden( 'wpAutoSummary', $autosumm ) );


Ligne 29 : Ligne 29 :


if ( $this-&gt;isConflict &amp;&amp; wfRunHooks( 'EditPageBeforeConflictDiff', array( &amp;$this, &amp;$wgOut ) )) {
if ( $this-&gt;isConflict &amp;&amp; wfRunHooks( 'EditPageBeforeConflictDiff', array( &amp;$this, &amp;$wgOut ) )) {
</pre>  
</pre>
 
=== SanitizerAfterFixTagAttributes  ===
=== SanitizerAfterFixTagAttributes  ===


Ligne 36 : Ligne 37 :
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/Sanitizer.php, at the end of fixTagAttributes function, find this code:  
In <span style="background-color: rgb(255, 255, 0);">includes/Sanitizer.php</span>, at the end of fixTagAttributes function, find this code:  
<pre>return count( $attribs )&nbsp;? ' ' . implode( ' ', $attribs )&nbsp;: '';
<pre>return count( $attribs )&nbsp;? ' ' . implode( ' ', $attribs )&nbsp;: '';
</pre>  
</pre>  
5 464

modifications