Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -1248,6 +1248,7 @@ |
1249 | 1249 | 'sp-contributions-search', |
1250 | 1250 | 'sp-contributions-username', |
1251 | 1251 | 'sp-contributions-submit', |
| 1252 | + 'sp-contributions-explain', |
1252 | 1253 | 'sp-contributions-footer', |
1253 | 1254 | 'sp-contributions-footer-anon', |
1254 | 1255 | ), |
Index: trunk/phase3/maintenance/language/messageTypes.inc |
— | — | @@ -193,6 +193,7 @@ |
194 | 194 | 'exif-filesource-3', |
195 | 195 | 'booksources-isbn', |
196 | 196 | 'isbn', |
| 197 | + 'sp-contributions-explain', |
197 | 198 | ); |
198 | 199 | |
199 | 200 | /** EXIF messages, which may be set as optional in several checks, but are generally mandatory */ |
Index: trunk/phase3/includes/SpecialContributions.php |
— | — | @@ -431,8 +431,13 @@ |
432 | 432 | Xml::label( wfMsg( 'month' ), 'month' ) . ' '. |
433 | 433 | Xml::monthSelector( $options['month'], -1 ) . ' '. |
434 | 434 | Xml::submitButton( wfMsg( 'sp-contributions-submit' ) ) . |
435 | | - Xml::closeElement( 'p' ) . |
436 | | - '</fieldset>' . |
| 435 | + Xml::closeElement( 'p' ); |
| 436 | + |
| 437 | + $explain = wfMsgExt( 'sp-contributions-explain', 'parseinline' ); |
| 438 | + if( !wfEmptyMsg( 'sp-contributions-explain', $explain ) ) |
| 439 | + $f .= "<p>{$explain}</p>"; |
| 440 | + |
| 441 | + $f .= '</fieldset>' . |
437 | 442 | Xml::closeElement( 'form' ); |
438 | 443 | return $f; |
439 | 444 | } |
\ No newline at end of file |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -134,8 +134,9 @@ |
135 | 135 | * Link to user logs in toolbox when viewing a user page |
136 | 136 | * (bug 10508) Allow HTML attributes on <gallery> |
137 | 137 | * (bug 1962) Allow HTML attributes on <math> |
| 138 | +* (bug 10530) Introduce optional "sp-contributions-explain" message for |
| 139 | + additional explanation in Special:Contributions |
138 | 140 | |
139 | | - |
140 | 141 | == Bugfixes since 1.10 == |
141 | 142 | |
142 | 143 | * (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi |