showing a bogus current timestamp
* Reset $wgActionPaths during parser test; corrects some false failures
in the automated test report.
-
+* (bug 4875) Define a div containing the shared image description
=== Caveats ===
$this->viewUpdates();
}
- if ($this->mExtraDescription) {
- $fol = wfMsg('shareddescriptionfollows');
- if ($fol != '-')
- $wgOut->addWikiText(wfMsg('shareddescriptionfollows'));
- $wgOut->addHTML($this->mExtraDescription);
+ # Show shared description, if needed
+ if( $this->mExtraDescription ) {
+ $fol = wfMsg( 'shareddescriptionfollows' );
+ if( $fol != '-' ) {
+ $wgOut->addWikiText( $fol );
+ }
+ $wgOut->addHTML( '<div id="shared-image-desc">' . $this->mExtraDescription . '</div>' );
}
$this->closeShowImage();