1 Feb 2005 01:35
phase3/includes Skin.php,1.332,1.333
Ashar Voultoiz <hashar <at> users.sourceforge.net>
2005-02-01 00:35:31 GMT
2005-02-01 00:35:31 GMT
Update of /cvsroot/wikipedia/phase3/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18673/includes
Modified Files:
Skin.php
Log Message:
Fix #913 : Nostalgia skin no more using isSysop() and isDeveloper()
Index: Skin.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Skin.php,v
retrieving revision 1.332
retrieving revision 1.333
diff -C2 -d -r1.332 -r1.333
*** Skin.php 22 Jan 2005 06:11:10 -0000 1.332
--- Skin.php 1 Feb 2005 00:35:28 -0000 1.333
***************
*** 870,893 ****
*/
function specialPagesList() {
! global $wgUser, $wgOut, $wgContLang, $wgServer, $wgRedirectScript;
require_once('SpecialPage.php');
$a = array();
$pages = SpecialPage::getPages();
foreach ( $pages[''] as $name => $page ) {
$a[$name] = $page->getDescription();
}
! if ( $wgUser->isSysop() )
! {
(Continue reading)
RSS Feed