Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -92,6 +92,8 @@ |
93 | 93 | * Allowing moving the associated talk pages of subpages even if the base page |
94 | 94 | has no subpage. |
95 | 95 | * (bug 30907) Special:Unusedcategories should sort ascendingly. |
| 96 | +* (bug 18424) Special:Prefixindex and Special:Allpages paging links are |
| 97 | + really small, and somewhat inconsistent with each other. |
96 | 98 | |
97 | 99 | === API changes in 1.19 === |
98 | 100 | * (bug 19838) siprop=interwikimap can now use the interwiki cache. |
Index: trunk/phase3/includes/specials/SpecialPrefixindex.php |
— | — | @@ -197,6 +197,7 @@ |
198 | 198 | } |
199 | 199 | } |
200 | 200 | |
| 201 | + $footer = ''; |
201 | 202 | if ( $this->including() ) { |
202 | 203 | $out2 = ''; |
203 | 204 | } else { |
— | — | @@ -207,7 +208,7 @@ |
208 | 209 | <td>' . |
209 | 210 | $nsForm . |
210 | 211 | '</td> |
211 | | - <td id="mw-prefixindex-nav-form">'; |
| 212 | + <td id="mw-prefixindex-nav-form" class="mw-prefixindex-nav">'; |
212 | 213 | |
213 | 214 | if( isset( $res ) && $res && ( $n == $this->maxPerPage ) && ( $s = $res->fetchObject() ) ) { |
214 | 215 | $query = array( |
— | — | @@ -219,20 +220,21 @@ |
220 | 221 | $query['namespace'] = $namespace; |
221 | 222 | } |
222 | 223 | |
223 | | - $out2 = $this->getLang()->pipeList( array( |
224 | | - $out2, |
225 | | - Linker::linkKnown( |
| 224 | + $nextLink = Linker::linkKnown( |
226 | 225 | $self, |
227 | 226 | wfMsgHtml( 'nextpage', str_replace( '_',' ', htmlspecialchars( $s->page_title ) ) ), |
228 | 227 | array(), |
229 | 228 | $query |
230 | | - ) |
231 | | - ) ); |
| 229 | + ); |
| 230 | + $out2 .= $nextLink; |
| 231 | + |
| 232 | + $footer = "\n" . Html::element( "hr" ) |
| 233 | + . Html::rawElement( "div", array( "class" => "mw-prefixindex-nav" ), $nextLink ); |
232 | 234 | } |
233 | 235 | $out2 .= "</td></tr>" . |
234 | 236 | Xml::closeElement( 'table' ); |
235 | 237 | } |
236 | 238 | |
237 | | - $this->getOutput()->addHTML( $out2 . $out ); |
| 239 | + $this->getOutput()->addHTML( $out2 . $out . $footer ); |
238 | 240 | } |
239 | 241 | } |
Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.css |
— | — | @@ -25,7 +25,6 @@ |
26 | 26 | } |
27 | 27 | .mw-allpages-nav { |
28 | 28 | text-align: right; |
29 | | - font-size: smaller; |
30 | 29 | margin-bottom: 1em; |
31 | 30 | } |
32 | 31 | table.mw-allpages-table-form tr { |
— | — | @@ -72,11 +71,12 @@ |
73 | 72 | width: 98%; |
74 | 73 | } |
75 | 74 | td#mw-prefixindex-nav-form { |
76 | | - font-size: smaller; |
77 | 75 | margin-bottom: 1em; |
78 | | - text-align: right; |
79 | 76 | vertical-align: top; |
80 | 77 | } |
| 78 | +.mw-prefixindex-nav { |
| 79 | + text-align: right; |
| 80 | +} |
81 | 81 | |
82 | 82 | |
83 | 83 | /**** Special:Search ****/ |