Alex Monk has uploaded a new change for review.
https://gerrit.wikimedia.org/r/209208
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/08/209208/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/209208
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: master
Gerrit-Owner: Alex Monk <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits