Alex Monk has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/209209

Change subject: Fix Special:Properties
......................................................................

Fix Special:Properties

This was calling a function removed in I26d8dec1

Bug: T98284
Change-Id: I456769046f93926a2be885ab59bb8f3d7cf732ab
---
M specials/QueryPages/SMW_QueryPage.php
1 file changed, 7 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticMediaWiki 
refs/changes/09/209209/1

diff --git a/specials/QueryPages/SMW_QueryPage.php 
b/specials/QueryPages/SMW_QueryPage.php
index faa8147..66761b5 100644
--- a/specials/QueryPages/SMW_QueryPage.php
+++ b/specials/QueryPages/SMW_QueryPage.php
@@ -73,9 +73,13 @@
                // often disable 'next' link when we reach the end
                $atend = $num < $limit;
 
-               $sl = wfViewPrevNext( $offset, $limit ,
-                       $wgContLang->specialPage( $sname ),
-                       wfArrayToCGI( $this->linkParameters() ), $atend );
+               $sl = $wgContLang->viewPrevNext(
+                       Title::newFromText( $wgContLang->specialPage( $sname ) 
),
+                       $offset,
+                       $limit,
+                       $this->linkParameters(),
+                       $atend
+               );
                $wgOut->addHTML( "<br />{$sl}</p>\n" );
                        
                if ( $num > 0 ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/209209
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I456769046f93926a2be885ab59bb8f3d7cf732ab
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticMediaWiki
Gerrit-Branch: 1.8.x
Gerrit-Owner: Alex Monk <kren...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to