Kipcool has uploaded a new change for review.
https://gerrit.wikimedia.org/r/250049
Change subject: fixed bug undefined method WikidataPageHistory::history
......................................................................
fixed bug undefined method WikidataPageHistory::history
Change-Id: I4d8e5f3ddc9a84e7329ab33f0ec45c3c0bac04ff
---
M Wikidata.hooks.php
1 file changed, 3 insertions(+), 4 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiLexicalData
refs/changes/49/250049/1
diff --git a/Wikidata.hooks.php b/Wikidata.hooks.php
index 998cca4..5eb597a 100644
--- a/Wikidata.hooks.php
+++ b/Wikidata.hooks.php
@@ -42,9 +42,8 @@
return array_key_exists( $title->getNamespace(),
$wdHandlerClasses );
}
- /**
- * FIXME: This does not seem to do anything, need to check whether the
- * preferences are still being detected.
+ /** @brief OmegaWiki-specific preferences
+ *
*/
public static function onGetPreferences( $user, &$preferences ) {
/*
@@ -111,7 +110,7 @@
$action = $request->getVal( 'action' );
if ( $action === 'history' && self::isWikidataNs( $title ) ) {
$history = new WikidataPageHistory( $article );
- $history->history();
+ $history->onView();
return false;
}
return true;
--
To view, visit https://gerrit.wikimedia.org/r/250049
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4d8e5f3ddc9a84e7329ab33f0ec45c3c0bac04ff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiLexicalData
Gerrit-Branch: master
Gerrit-Owner: Kipcool <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits