Index: trunk/extensions/ExtensionDistributor/ExtensionDistributor_body.php |
— | — | @@ -199,12 +199,16 @@ |
200 | 200 | Xml::submitButton( wfMsg( 'extdist-submit-version' ), array( 'name' => 'extdist_submit' ) ) . |
201 | 201 | Xml::closeElement( 'form' ) . "\n" |
202 | 202 | ); |
| 203 | + |
| 204 | + $wgOut->addHtml( '<span style="color:darkred">' . wfMsgExt( 'extdist-trunk-warning', 'parse' ) . '</span>' ); |
203 | 205 | } |
204 | 206 | |
205 | 207 | protected function doDownload( $extension, $version ) { |
206 | 208 | global $wgExtDistWorkingCopy, $wgExtDistTarDir, $wgExtDistBranches, |
207 | 209 | $wgOut, $wgExtDistTarUrl, $wgExtDistRemoteClient; |
208 | 210 | |
| 211 | + $wgOut->addHtml( '<span style="color:darkred">' . wfMsgExt( 'extdist-trunk-warning', 'parse' ) . '</span>' ); |
| 212 | + |
209 | 213 | if ( $wgExtDistRemoteClient ) { |
210 | 214 | $rev = $this->updateAndGetRevisionRemote( $extension, $version ); |
211 | 215 | } else { |
Index: trunk/extensions/ExtensionDistributor/ExtensionDistributor.i18n.php |
— | — | @@ -47,6 +47,7 @@ |
48 | 48 | |
49 | 49 | If you have any questions about this extension distribution system, please go to [[Extension talk:ExtensionDistributor]].", |
50 | 50 | 'extdist-want-more' => 'Get another extension', |
| 51 | + 'extdist-trunk-warning' => "'''Warning''': this tool will get you a development snapshot that might very well '''not work''' with the MediaWiki version you selected or be broken altogether and is likely to be '''out of date'''.", |
51 | 52 | ); |
52 | 53 | |
53 | 54 | /** Message documentation (Message documentation) |