http://www.mediawiki.org/wiki/Special:Code/MediaWiki/55129

Revision: 55129
Author:   demon
Date:     2009-08-16 07:51:45 +0000 (Sun, 16 Aug 2009)

Log Message:
-----------
Tweak menu listings so we link to all install pages we can, was previously only 
linking the static pages. Static pages like release notes still need some 
formatting tweaking.

Modified Paths:
--------------
    branches/new-installer/phase3/includes/installer/WebInstaller.php

Modified: branches/new-installer/phase3/includes/installer/WebInstaller.php
===================================================================
--- branches/new-installer/phase3/includes/installer/WebInstaller.php   
2009-08-16 07:31:43 UTC (rev 55128)
+++ branches/new-installer/phase3/includes/installer/WebInstaller.php   
2009-08-16 07:51:45 UTC (rev 55129)
@@ -338,7 +338,8 @@
                $name = wfMsg( 'config-page-' . strtolower( $pageName ) );
                if ( $enabled ) {
                        $query = array( 'page' => $pageName );
-                       if ( !in_array( $pageName, $this->pageSequence ) ) {
+                       if ( in_array( $pageName, $this->pageSequence ) ||
+                               in_array( $pageName, $this->otherPages ) ) {
                                if ( in_array( $currentPageName, 
$this->pageSequence ) ) {
                                        $query['lastPage'] = $currentPageName;
                                }



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to