Guys,
I've updated Widgets extension to support latest version of FlaggedRevisions, but no longer have repo access as MW moved to Git.
If somebody can patch the extension for me, I'll really appreciate that - here's the diff (not much work):
Index: extensions/Widgets/WidgetRenderer.php =================================================================== --- extensions/Widgets/WidgetRenderer.php (revision 114929) +++ extensions/Widgets/WidgetRenderer.php (working copy) @@ -137,7 +137,7 @@
if ( $widgetTitle && $widgetTitle->exists() ) { if ( $wgWidgetsUseFlaggedRevs ) { - $flaggedWidgetArticle = FlaggedArticle::getTitleInstance( $widgetTitle ); + $flaggedWidgetArticle = FlaggableWikiPage::getTitleInstance( $widgetTitle ); $flaggedWidgetArticleRevision = $flaggedWidgetArticle->getStableRev();
if ( $flaggedWidgetArticleRevision ) {
Thank you,
Sergey
-- Sergey Chernyshev http://www.sergeychernyshev.com/ http://www.meetup.com/Web-Performance-NY/ http://www.showslow.com/
It doesn't look like this extension is in Git. You should be able to commit to it in Subversion.
Alex
On 16/04/12 21:25, Sergey Chernyshev wrote:
Guys,
I've updated Widgets extension to support latest version of FlaggedRevisions, but no longer have repo access as MW moved to Git.
If somebody can patch the extension for me, I'll really appreciate that - here's the diff (not much work):
Index: extensions/Widgets/WidgetRenderer.php
--- extensions/Widgets/WidgetRenderer.php (revision 114929) +++ extensions/Widgets/WidgetRenderer.php (working copy) @@ -137,7 +137,7 @@
if ( $widgetTitle&& $widgetTitle->exists() ) { if ( $wgWidgetsUseFlaggedRevs ) {
$flaggedWidgetArticle = FlaggedArticle::getTitleInstance( $widgetTitle );
$flaggedWidgetArticle = FlaggableWikiPage::getTitleInstance(
$widgetTitle ); $flaggedWidgetArticleRevision = $flaggedWidgetArticle->getStableRev();
if ( $flaggedWidgetArticleRevision ) {
Thank you,
Sergey
-- Sergey Chernyshev http://www.sergeychernyshev.com/ http://www.meetup.com/Web-Performance-NY/ http://www.showslow.com/ _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hey,
I added a request to migrate the extension to the list: https://www.mediawiki.org/wiki/Git/Conversion/Extensions_queue#The_list
And I'll apply the patch once this is done if no one else applied it before then :)
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. --
wikitech-l@lists.wikimedia.org