Index: trunk/phase3/includes/SpecialSpecialpages.php |
— | — | @@ -11,23 +11,23 @@ |
12 | 12 | function wfSpecialSpecialpages() { |
13 | 13 | global $wgLang, $wgOut, $wgUser; |
14 | 14 | |
15 | | - $wgOut->setRobotpolicy( "index,nofollow" ); |
| 15 | + $wgOut->setRobotpolicy( 'index,nofollow' ); |
16 | 16 | $sk = $wgUser->getSkin(); |
17 | 17 | |
18 | 18 | # Get listable pages |
19 | 19 | $pages = SpecialPage::getPages(); |
20 | 20 | |
21 | 21 | # all users special pages |
22 | | - wfSpecialSpecialpages_gen($pages[""],"spheading",$sk); |
| 22 | + wfSpecialSpecialpages_gen($pages[''],'spheading',$sk); |
23 | 23 | |
24 | 24 | # sysops only special pages |
25 | 25 | if ( $wgUser->isSysop() ) { |
26 | | - wfSpecialSpecialpages_gen($pages["sysop"],"sysopspheading",$sk); |
| 26 | + wfSpecialSpecialpages_gen($pages['sysop'],'sysopspheading',$sk); |
27 | 27 | } |
28 | 28 | |
29 | 29 | # developers only special pages |
30 | 30 | if ( $wgUser->isDeveloper() ) { |
31 | | - wfSpecialSpecialpages_gen($pages["developer"],"developerspheading",$sk); |
| 31 | + wfSpecialSpecialpages_gen($pages['developer'],'developerspheading',$sk); |
32 | 32 | |
33 | 33 | } |
34 | 34 | } |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | function wfSpecialSpecialpages_gen($pages,$heading,$sk) { |
43 | 43 | global $wgLang, $wgOut, $wgAllowSysopQueries; |
44 | 44 | |
45 | | - $wgOut->addHTML( "<h2>" . wfMsg( $heading ) . "</h2>\n<ul>" ); |
| 45 | + $wgOut->addHTML( '<h2>' . wfMsg( $heading ) . "</h2>\n<ul>" ); |
46 | 46 | foreach ( $pages as $name => $page ) { |
47 | 47 | if( !$page->isListed() ) { |
48 | 48 | continue; |