GWiki:Fichier modifié
Révision datée du 16 août 2008 à 10:36 par Ouroboros (discussion | contributions)
Liste des fichiers modifiés
/includes/Skin.php
if ( !empty( $allCats['normal'] ) ) { $t = $embed . implode ( "{$pop} {$sep} {$embed}" , $allCats['normal'] ) . $pop; ##### HACK GWiki (Catégories contenant des parenthèses cachées) ##### //echo $t; $t = preg_replace('% \\| <span[^>]*>([^\\(\\)>]*?)\\s\\((.*?)(Drop|Collection|Recyclage|Vente)\\)</a></span>%s', '', $t); ##### FIN HACK ##### $msg = wfMsgExt( 'pagecategories', array( 'parsemag', 'escapenoentities' ), count( $allCats['normal'] ) ); $s .= '<div id="mw-normal-catlinks">' . $this->makeLinkObj( Title::newFromText( wfMsgForContent('pagecategorieslink') ), $msg ) . $colon . $t . '</div>'; }
function getPoweredBy() { global $wgStylePath; ##### HACK GWiki (Modification chemin du logo) ##### //$url = htmlspecialchars( "$wgStylePath/common/images/poweredby_mediawiki_88x31.png" ); $url = htmlspecialchars( "$wgStylePath/monobook/copyright/mediawiki.png" ); ##### END HACK ##### $img = '<a href="http://www.mediawiki.org/"><img src="'.$url.'" alt="Powered by MediaWiki" /></a>'; return $img; }
/includes/SquidUpdate.php
} else { $msg = 'PURGE ' . $firsturl . " HTTP/1.0\r\n". "Connection: Keep-Alive\r\n\r\n"; #$this->debug($msg); @fputs($socket,$msg); #$this->debug("..."); # HACK GWiki : @fread est trop lent, le test qui en découle est supprimé, on part du principe que Squid ne répondra que par des codes 200 et 404 # $res = @fread($socket,512); #$this->debug("\n"); /* Squid only returns http headers with 200 or 404 status, if there's more returned something's wrong */ # if (strlen($res) > 250) { # fclose($socket); # $failed = true; # $totalsockets -= $sockspersq; # } else { @stream_set_blocking($socket,false); $sockets[] = $socket; # } } } else { /* open the remaining sockets for this server */
Liste des fichiers intègres
/skins/common/wikibits.js
→ le JS est dans gwiki.js maintenant.
/skins/monobook/main.css
→ le CSS est dans gwiki.css maintenant.