Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -35,6 +35,8 @@ |
36 | 36 | the user a page named [[:]] already exists. |
37 | 37 | * (bug 28960) Added more messages to Special:EmailUser. |
38 | 38 | * (bug 23002) Imagelinks table not updated after imagemove. |
| 39 | +* (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all |
| 40 | + pages. |
39 | 41 | |
40 | 42 | === API changes in 1.19 === |
41 | 43 | * (bug 27790) add query type for querymodules to action=paraminfo |
Index: trunk/phase3/CREDITS |
— | — | @@ -134,10 +134,11 @@ |
135 | 135 | * René Kijewski |
136 | 136 | * Robert Treat |
137 | 137 | * RockMFR |
138 | | -* ST47 |
| 138 | +* Salvatore Ingala |
139 | 139 | * Scott Colcord |
140 | 140 | * Simon Walker |
141 | 141 | * Solitarius |
| 142 | +* ST47 |
142 | 143 | * Stefano Codari |
143 | 144 | * Str4nd |
144 | 145 | * svip |
Index: trunk/phase3/includes/specials/SpecialPrefixindex.php |
— | — | @@ -56,7 +56,10 @@ |
57 | 57 | ); |
58 | 58 | |
59 | 59 | $showme = ''; |
60 | | - if( isset( $par ) ){ |
| 60 | + if ( $this->including() && ( $par == '' ) ) { |
| 61 | + // Bug 27864: if transcluded, show all pages instead of the form |
| 62 | + $showme = ' '; |
| 63 | + } elseif( isset( $par ) ){ |
61 | 64 | $showme = $par; |
62 | 65 | } elseif( $prefix != '' ){ |
63 | 66 | $showme = $prefix; |
— | — | @@ -201,8 +204,7 @@ |
202 | 205 | <td>' . |
203 | 206 | $nsForm . |
204 | 207 | '</td> |
205 | | - <td id="mw-prefixindex-nav-form">' . |
206 | | - $sk->linkKnown( $self, wfMsgHtml( 'allpages' ) ); |
| 208 | + <td id="mw-prefixindex-nav-form">'; |
207 | 209 | |
208 | 210 | if( isset( $res ) && $res && ( $n == $this->maxPerPage ) && ( $s = $res->fetchObject() ) ) { |
209 | 211 | $query = array( |