* (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
languages while the the text is typed as URLs.
* (bug 18535) Search tab tool-tops are corrupted
+* (bug 17614) Prev / Next links not need on ImagePage file history if less than limit
== API changes in 1.15 ==
* (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
if( count($this->mHist) ) {
$list = new ImageHistoryList( $this->mImagePage );
# Generate prev/next links
- $navLink = $this->getNavigationBar();
+ $navLink = '';
+
+ # Only add navigation links when needed
+ if ( !$this->mIsFirst && !$this->mIsLast ) {
+ $navLink = $this->getNavigationBar();
+ }
$s = $list->beginImageHistoryList($navLink);
// Skip rows there just for paging links
for( $i = $this->mRange[0]; $i <= $this->mRange[1]; $i++ ) {