| 
														
															@@ -39,7 +39,7 @@ class Skinforeground extends SkinTemplate { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					header('X-UA-Compatible: IE=edge'); 
														 | 
														
														 | 
														
															 					header('X-UA-Compatible: IE=edge'); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				break; 
														 | 
														
														 | 
														
															 				break; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		} 
														 | 
														
														 | 
														
															 		} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		$out->addModuleStyles('skins.foreground'); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		$out->addModuleStyles('skins.foreground.styles'); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	} 
														 | 
														
														 | 
														
															 	} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	public function initPage( OutputPage $out ) { 
														 | 
														
														 | 
														
															 	public function initPage( OutputPage $out ) { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -48,7 +48,7 @@ class Skinforeground extends SkinTemplate { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		$viewport_meta = 'width=device-width, user-scalable=yes, initial-scale=1.0'; 
														 | 
														
														 | 
														
															 		$viewport_meta = 'width=device-width, user-scalable=yes, initial-scale=1.0'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	  $out->addMeta('viewport', $viewport_meta); 
														 | 
														
														 | 
														
															 	  $out->addMeta('viewport', $viewport_meta); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		$out->addModuleScripts('skins.foreground'); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		$out->addModules('skins.foreground.js'); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	} 
														 | 
														
														 | 
														
															 	} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -183,10 +183,12 @@ class foregroundTemplate extends BaseTemplate { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				<div id="p-cactions" class="large-12 columns"> 
														 | 
														
														 | 
														
															 				<div id="p-cactions" class="large-12 columns"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					<?php if ($wgUser->isLoggedIn() || $wgForegroundFeatures['showActionsForAnon']): ?> 
														 | 
														
														 | 
														
															 					<?php if ($wgUser->isLoggedIn() || $wgForegroundFeatures['showActionsForAnon']): ?> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						<a href="#" data-dropdown="drop1" class="button dropdown small secondary radius"><i class="fa fa-cog"><span class="show-for-medium-up"> <?php echo wfMessage( 'actions' )->text() ?></span></i></a> 
														 | 
														
														 | 
														
															 						<a href="#" data-dropdown="drop1" class="button dropdown small secondary radius"><i class="fa fa-cog"><span class="show-for-medium-up"> <?php echo wfMessage( 'actions' )->text() ?></span></i></a> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-						<ul id="drop1" class="views large-12 columns f-dropdown"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+						<!--RTL --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+						<ul id="drop1" class="views large-12 columns right f-dropdown"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 							<?php foreach( $this->data['content_actions'] as $key => $item ) { echo preg_replace(array('/\sprimary="1"/','/\scontext="[a-z]+"/','/\srel="archives"/'),'',$this->makeListItem($key, $item)); } ?> 
														 | 
														
														 | 
														
															 							<?php foreach( $this->data['content_actions'] as $key => $item ) { echo preg_replace(array('/\sprimary="1"/','/\scontext="[a-z]+"/','/\srel="archives"/'),'',$this->makeListItem($key, $item)); } ?> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-							<?php wfRunHooks( SkinTemplateToolboxEnd, array( &$this, true ) );  ?> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							<?php wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this, true ) );  ?> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						</ul> 
														 | 
														
														 | 
														
															 						</ul> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+						<!--RTL --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						<?php if ($wgUser->isLoggedIn()): ?> 
														 | 
														
														 | 
														
															 						<?php if ($wgUser->isLoggedIn()): ?> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 							<div id="echo-notifications"></div> 
														 | 
														
														 | 
														
															 							<div id="echo-notifications"></div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						<?php endif; ?> 
														 | 
														
														 | 
														
															 						<?php endif; ?> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -198,16 +200,18 @@ class foregroundTemplate extends BaseTemplate { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						$newtitle = str_replace($namespace.':', '', $pagetitle); 
														 | 
														
														 | 
														
															 						$newtitle = str_replace($namespace.':', '', $pagetitle); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						$displaytitle = str_replace($pagetitle, $newtitle, $displaytitle); 
														 | 
														
														 | 
														
															 						$displaytitle = str_replace($pagetitle, $newtitle, $displaytitle); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					?><h4 class="namespace label"><?php print $namespace; ?></h4><?php } ?> 
														 | 
														
														 | 
														
															 					?><h4 class="namespace label"><?php print $namespace; ?></h4><?php } ?> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					<h2 class="title"><?php print $displaytitle; ?></h2> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					<div id="content"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					<h2  id="firstHeading" class="title"><?php print $displaytitle; ?></h2> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					<?php if ( $this->data['isarticle'] ) { ?><h3 id="tagline"><?php $this->msg( 'tagline' ) ?></h3><?php } ?> 
														 | 
														
														 | 
														
															 					<?php if ( $this->data['isarticle'] ) { ?><h3 id="tagline"><?php $this->msg( 'tagline' ) ?></h3><?php } ?> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					<h5 class="subtitle"><?php $this->html('subtitle') ?></h5> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					<div class="clear_both"></div> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					<div class="mw-bodytext"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					<h5 id="siteSub" class="subtitle"><?php $this->html('subtitle') ?></h5> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					<div id="contentSub" class="clear_both"></div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					<div id="bodyContent" class="mw-bodytext"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						<?php $this->html('bodytext') ?> 
														 | 
														
														 | 
														
															 						<?php $this->html('bodytext') ?> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						<div class="clear_both"></div> 
														 | 
														
														 | 
														
															 						<div class="clear_both"></div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					</div> 
														 | 
														
														 | 
														
															 					</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		    	<div class="group"><?php $this->html('catlinks'); ?></div> 
														 | 
														
														 | 
														
															 		    	<div class="group"><?php $this->html('catlinks'); ?></div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		    	<?php $this->html('dataAfterContent'); ?> 
														 | 
														
														 | 
														
															 		    	<?php $this->html('dataAfterContent'); ?> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		    </div> 
														 | 
														
														 | 
														
															 		    </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		</div> 
														 | 
														
														 | 
														
															 		</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -253,4 +257,4 @@ class foregroundTemplate extends BaseTemplate { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		wfRestoreWarnings(); 
														 | 
														
														 | 
														
															 		wfRestoreWarnings(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	} 
														 | 
														
														 | 
														
															 	} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-?> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+?> 
														 |