Jump to content

Extension talk:StructuredDiscussions/2019

Add topic
From mediawiki.org

Any questions about the StructuredDiscussions extension.

New threads cannot be filtered as "new pages" in recent changes

[edit]

Issue:

When using recentchanges new threads cannot be filtered as "new pages" and are instead only shown when "page edits" is selected.


Steps to reproduce:

  1. Go to Special:Recentchanges
  2. Add the "topic" namespace
  3. Remove "page creations" as a filter
  4. The URL should look something like "https://www.mediawiki.org/wiki/Special:RecentChanges?hidebots=1&translations=filter&hidenewpages=1&hidecategorization=1&hideWikibase=1&hidelog=1&namespace=2600&limit=500&days=30&urlversion=2"

Expected

Threads created less than 30 days being shown in the list.

Actual

No threads are shown.


Notes:

When all changes are shown each entry is noted with a "N" symbol that shows it is like a new page. If this behaviour is intentional at least that should be fixed. 197.218.85.101 (talk) 20:39, 5 January 2019 (UTC)Reply

I've followed your steps and I see new threads. Same happens when I copy your URL.
Concerning the N symbol, I only have it attached to new topics.
It is wired to have so many differences between what you see and what I see. Trizek_(WMF) (talk) 09:25, 7 January 2019 (UTC)Reply
Oh yes, step 3 was wrong. It was meant to be :
3. Remove "page edits" as a filter
The URL is actually this: https://www.mediawiki.org/wiki/Special:RecentChanges?hidebots=1&translations=filter&hidepageedits=1&hidecategorization=1&hideWikibase=1&hidelog=1&namespace=2600&limit=500&days=30&urlversion=2 197.218.93.89 (talk) 15:35, 7 January 2019 (UTC)Reply
To clarify the note on the first post above, all new threads are marked with "N" , edits or replies to existing threads and such are correctly noted as "page edits". The point was that if these should new threads are considered page edits then "N" should not appear next to any of them.
Example: (https://www.mediawiki.org/wiki/Topic:Urtyra7v7xr9dw1d)
(diff | hist) . . N Project:Support desk — Mediawiki Installations fails: Die Hauptseite konnte nicht erstellt werden: Failed to update page row to use new revision.; 09:35 . . +1,060‎ . . 2a02:8071:b5ac:1d00:f94f:16fd:fd19:c643 (talk)
197.218.93.89 (talk) 15:47, 7 January 2019 (UTC)Reply

custom namespaces

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I have tried to configure flow for the additional namespaces like this:

$ wgNamespaceContentModels [Movie_discussion] = 'flow-board';

$ wgNamespaceContentModels [NS_Pilm_discussion] = 'flow-board';

But it does not work in any of those 2 configurations, either:

$ wgNamespaceContentModels [TALK_ Movie] = 'flow-board';

how can I make it to put flow in additional (custom) namespaces Uvas magicas (talk) 22:15, 17 February 2019 (UTC)Reply

Have you run the scripts mentioned in Extension:StructuredDiscussions#Enabling or disabling StructuredDiscussions? Tacsipacsi (talk) 23:00, 17 February 2019 (UTC)Reply
yes Uvas magicas (talk) 23:10, 17 February 2019 (UTC)Reply
And do you experience any other unexpected behavior apart from seeing wikitext talk pages? Tacsipacsi (talk) 23:34, 17 February 2019 (UTC)Reply
no, nothing Uvas magicas (talk) 23:43, 17 February 2019 (UTC)Reply
In the places where you have "Movie_discussion", "NS_Pilm_discussion", etc., try replacing those with the namespace numbers for those namespaces. You've probably created these namespaces with $wgExtraNamespaces[1235] = 'Movie_discussion'; where 1235 is some number; use that number to then set $wgNamespaceContentModels[1235] = 'flow-board'; Roan Kattouw (WMF) (talk) 22:09, 19 February 2019 (UTC)Reply
I ALREADY WORK THIS WAS WHAT I DID
define("NS_MĂşsica", 50000); // This MUST be even.
define("NS_Música_DISCUSIÓN", 50001); // This MUST be the following odd integer.
$wgExtraNamespaces[NS_MĂşsica] = "MĂşsica";
$wgExtraNamespaces[NS_Música_DISCUSIÓN] = "Música_discusión";
$wgNamespaceProtection[NS_MĂşsica] = array( 'editMĂşsica' ); // permission "editfoo" required to edit the foo namespace
$wgNamespacesWithSubpages[NS_MĂşsica] = true;            // subpages enabled for the foo namespace
$wgGroupPermissions['*']['editMĂşsica'] = true;      // permission "editfoo" granted to users in the "sysop" group
AND TO PUT FLOW IN THAT SPACE OF NAMES PUSE:
$wgNamespaceContentModels[50001] = 'flow-board';
and then the result was that in the discussion pages of the music namespace, flow was active. Uvas magicas (talk) 02:07, 23 February 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

The Flow Discussion is broken on Miraheze.

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Please help? Mar9122 (talk) 23:50, 22 February 2019 (UTC)Reply

Have you tried Miraheze's help center? https://meta.miraheze.org/wiki/Help_center Ciencia Al Poder (talk) 11:38, 24 February 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Disable Flow on my talkpage

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


How can I disable Flow on my mediawiki.org user talkpage? Please ping when replying (unless you don't have to do that in Flow to notify me). ~ — pythoncoder  (talk | contribs) 02:46, 1 March 2019 (UTC)Reply

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

StructuredDiscussions won't save or switch to wikitext

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I'm not sure what's happening here, but the console in my browser was reporting this.

Uncaught TypeError: this.surfaces[i].setReadOnly is not a function

    at FlowVeTarget.mw.flow.ve.Target.setDisabled (mw.flow.ve.Target.js?def68:104)

    at mwFlowUiEditorWidget.mw.flow.ui.EditorWidget.setDisabled (mw.flow.ui.EditorWidget.js?1a3b1:617)

    at mwFlowUiEditorWidget.OO.ui.Widget.updateDisabled (Widget.js:103)

    at mwFlowUiEditorWidget.mw.flow.ui.EditorWidget.pushPending (mw.flow.ui.EditorWidget.js?1a3b1:626)

    at mwFlowUiEditorWidget.mw.flow.ui.EditorWidget.onTargetSwitchMode (mw.flow.ui.EditorWidget.js?1a3b1:520)

    at FlowVeTarget.oo.EventEmitter.emit (oojs.jquery.js?b1631:54)

    at FlowVeTarget.mw.flow.ve.Target.switchMode (mw.flow.ve.Target.js?def68:136)

    at MwFlowUiMWEditModeSourceTool.mw.flow.ve.ui.MWEditModeSourceTool.switch (mw.flow.ve.ui.MWEditModeTool.js?ae834:51)

    at MwFlowUiMWEditModeSourceTool.mw.libs.ve.MWEditModeTool.onSelect (ve.init.MWEditModeTool.js?32d76:80)

    at OoUiListToolGroup.OO.ui.ToolGroup.onMouseKeyUp (ToolGroup.js:240)


As always, my MediaWiki Version.

Product Version
MediaWiki

1.33.0-alpha (9b4461c)

21:00, 28 February 2019

PHP 7.3.2-3+ubuntu18.10.1+deb.sury.org+1 (fpm-fcgi)
MariaDB 10.2.22-MariaDB-1:10.2.22+maria~bionic
ICU 60.2
Lua 5.1.5
TheROFL98 (talk) 00:25, 8 March 2019 (UTC)Reply
It looks like you're using a very recent version of MediaWiki core, and possibly also a very recent version of Flow. Please make sure you're using an equally recent version of VisualEditor. The VE people recently added a new interface and changed Flow to use it, so if you're using the new Flow with the old VE, it'll break. This error message looks exactly like what I got on my own test wiki earlier this week when I updated Flow but forgot to update VE. Roan Kattouw (WMF) (talk) 17:45, 8 March 2019 (UTC)Reply
Updating both Flow and VE fixed the problem. TheROFL98 (talk) 21:31, 8 March 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Error

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I installed Flow, Echo and Thanks. I runned the update script, but when I come to special page I see error:

Błąd wewnętrzny

[ce755e94246287f796e05a0a] 2019-05-13 17:09:57: Krytyczny wyjątek typu "Error" (you can translate polish-english).

And I loging to my wiki and I see this:

MediaWiki internal error.

Original exception: [817066f8b8ea4818f1bdb15b] 2019-05-13 17:12:20: Fatal exception of type "Error"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

Please you help. I would be very grateful. Sorry for English, but I learning this. 37.47.170.129 (talk) 17:18, 13 May 2019 (UTC)Reply

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information. Ciencia Al Poder (talk) 20:05, 13 May 2019 (UTC)Reply
I setted it and when I come to special page I see:

=Błąd wewnętrzny=
[bb6882cf7d70023a0d890131] /Wiki/index.php/Specjalna:Strony_specjalne Error from line 5 of C:\xampp\htdocs\Wiki\extensions\Flow\includes\Container.php: Class 'Pimple\Container' not found
Backtrace:
#0 C:\xampp\htdocs\Wiki\includes\AutoLoader.php(109): require()
#1 [internal function]: AutoLoader::autoload(string)
#2 C:\xampp\htdocs\Wiki\extensions\Flow\includes\Specials\SpecialEnableStructuredDiscussions.php(37): spl_autoload_call(string)
#3 C:\xampp\htdocs\Wiki\includes\specialpage\SpecialPageFactory.php(402): Flow\Specials\SpecialEnableStructuredDiscussions->__construct()
#4 C:\xampp\htdocs\Wiki\includes\specialpage\SpecialPageFactory.php(432): MediaWiki\Special\SpecialPageFactory->getPage(string)
#5 C:\xampp\htdocs\Wiki\includes\specials\SpecialSpecialpages.php(56): MediaWiki\Special\SpecialPageFactory->getUsablePages(User)
#6 C:\xampp\htdocs\Wiki\includes\specials\SpecialSpecialpages.php(44): SpecialSpecialpages->getPageGroups()
#7 C:\xampp\htdocs\Wiki\includes\specialpage\SpecialPage.php(569): SpecialSpecialpages->execute(NULL)
#8 C:\xampp\htdocs\Wiki\includes\specialpage\SpecialPageFactory.php(568): SpecialPage->run(NULL)
#9 C:\xampp\htdocs\Wiki\includes\MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#10 C:\xampp\htdocs\Wiki\includes\MediaWiki.php(860): MediaWiki->performRequest()
#11 C:\xampp\htdocs\Wiki\includes\MediaWiki.php(517): MediaWiki->main()
#12 C:\xampp\htdocs\Wiki\index.php(42): MediaWiki->run()
#13 {main}
And when I logging to my wiki:
MediaWiki internal error.
Original exception: [881ae964ce3fa5d461681fa5] /Wiki/index.php/Specjalna:Strony_specjalne Error from line 5 of C:\xampp\htdocs\Wiki\extensions\Flow\includes\Container.php: Class 'Pimple\Container' not found
Backtrace:
#0 C:\xampp\htdocs\Wiki\includes\AutoLoader.php(109): require()
#1 [internal function]: AutoLoader::autoload(string)
#2 C:\xampp\htdocs\Wiki\extensions\Flow\includes\Specials\SpecialEnableStructuredDiscussions.php(37): spl_autoload_call(string)
#3 C:\xampp\htdocs\Wiki\includes\specialpage\SpecialPageFactory.php(402): Flow\Specials\SpecialEnableStructuredDiscussions->__construct()
#4 C:\xampp\htdocs\Wiki\includes\specialpage\SpecialPageFactory.php(432): MediaWiki\Special\SpecialPageFactory->getPage(string)
#5 C:\xampp\htdocs\Wiki\includes\specials\SpecialSpecialpages.php(56): MediaWiki\Special\SpecialPageFactory->getUsablePages(User)
#6 C:\xampp\htdocs\Wiki\includes\specials\SpecialSpecialpages.php(44): SpecialSpecialpages->getPageGroups()
#7 C:\xampp\htdocs\Wiki\includes\specialpage\SpecialPage.php(569): SpecialSpecialpages->execute(NULL)
#8 C:\xampp\htdocs\Wiki\includes\specialpage\SpecialPageFactory.php(568): SpecialPage->run(NULL)
#9 C:\xampp\htdocs\Wiki\includes\MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#10 C:\xampp\htdocs\Wiki\includes\MediaWiki.php(860): MediaWiki->performRequest()
#11 C:\xampp\htdocs\Wiki\includes\MediaWiki.php(517): MediaWiki->main()
#12 C:\xampp\htdocs\Wiki\index.php(42): MediaWiki->run()
#13 {main}
Exception caught inside exception handler: [881ae964ce3fa5d461681fa5] /Wiki/index.php/Specjalna:Strony_specjalne Wikimedia\Rdbms\DBQueryError from line 1506 of C:\xampp\htdocs\Wiki\includes\libs\rdbms\database\Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: SELECT COUNT(*) AS `rowcount` FROM (SELECT 1 FROM `echo_notification` LEFT JOIN `echo_event` ON ((notification_event=event_id)) WHERE notification_user = '2' AND notification_read_timestamp IS NULL AND event_deleted = '0' AND event_type IN ('edit-user-talk','reverted','mention','mention-summary','mention-failure','mention-failure-too-many','mention-success','user-rights','emailuser','foreign','wiki-creation','flowusertalk-new-topic','flowusertalk-post-reply','flow-post-edited','flowusertalk-post-edited','flowusertalk-topic-renamed','flowusertalk-summary-edited','flowusertalk-description-edited','flow-mention','flowusertalk-topic-resolved','flow-mention-failure-too-many') LIMIT 100 ) `tmp_count`
Function: EchoUserNotificationGateway::getCappedNotificationCount
Error: 1146 Table 'db_wiki.echo_notification' doesn't exist (localhost)
Backtrace:
#0 C:\xampp\htdocs\Wiki\includes\libs\rdbms\database\Database.php(1476): Wikimedia\Rdbms\Database->makeQueryException(string, integer, string, string)
#1 C:\xampp\htdocs\Wiki\includes\libs\rdbms\database\Database.php(1236): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#2 C:\xampp\htdocs\Wiki\includes\libs\rdbms\database\Database.php(1703): Wikimedia\Rdbms\Database->query(string, string)
#3 C:\xampp\htdocs\Wiki\includes\libs\rdbms\database\Database.php(1837): Wikimedia\Rdbms\Database->select(array, array, array, string)
#4 C:\xampp\htdocs\Wiki\extensions\Echo\includes\gateway\UserNotificationGateway.php(169): Wikimedia\Rdbms\Database->selectRowCount(array, array, array, string, array, array)
#5 C:\xampp\htdocs\Wiki\extensions\Echo\includes\NotifUser.php(543): EchoUserNotificationGateway->getCappedNotificationCount(integer, array, integer)
#6 C:\xampp\htdocs\Wiki\extensions\Echo\includes\NotifUser.php(502): MWEchoNotifUser->computeLocalCountsAndTimestamps()
#7 C:\xampp\htdocs\Wiki\includes\libs\objectcache\WANObjectCache.php(1277): MWEchoNotifUser->{closure}(boolean, integer, array, NULL)
#8 C:\xampp\htdocs\Wiki\includes\libs\objectcache\WANObjectCache.php(1150): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
#9 C:\xampp\htdocs\Wiki\extensions\Echo\includes\NotifUser.php(503): WANObjectCache->getWithSetCallback(string, integer, Closure)
#10 C:\xampp\htdocs\Wiki\extensions\Echo\includes\NotifUser.php(181): MWEchoNotifUser->getCountsAndTimestamps(boolean)
#11 C:\xampp\htdocs\Wiki\extensions\Echo\includes\NotifUser.php(133): MWEchoNotifUser->getNotificationCount(string)
#12 C:\xampp\htdocs\Wiki\extensions\Echo\includes\EchoHooks.php(943): MWEchoNotifUser->getMessageCount()
#13 C:\xampp\htdocs\Wiki\includes\Hooks.php(174): EchoHooks::onPersonalUrls(array, Title, SkinVector)
#14 C:\xampp\htdocs\Wiki\includes\Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)
#15 C:\xampp\htdocs\Wiki\includes\skins\SkinTemplate.php(753): Hooks::runWithoutAbort(string, array)
#16 C:\xampp\htdocs\Wiki\includes\skins\SkinTemplate.php(459): SkinTemplate->buildPersonalUrls()
#17 C:\xampp\htdocs\Wiki\includes\skins\SkinTemplate.php(225): SkinTemplate->prepareQuickTemplate()
#18 C:\xampp\htdocs\Wiki\includes\OutputPage.php(2706): SkinTemplate->outputPage()
#19 C:\xampp\htdocs\Wiki\includes\exception\MWExceptionRenderer.php(136): OutputPage->output()
#20 C:\xampp\htdocs\Wiki\includes\exception\MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML(Error)
#21 C:\xampp\htdocs\Wiki\includes\exception\MWExceptionHandler.php(98): MWExceptionRenderer::output(Error, integer)
#22 C:\xampp\htdocs\Wiki\includes\exception\MWExceptionHandler.php(172): MWExceptionHandler::report(Error)
#23 C:\xampp\htdocs\Wiki\includes\MediaWiki.php(547): MWExceptionHandler::handleException(Error)
#24 C:\xampp\htdocs\Wiki\index.php(42): MediaWiki->run()
#25 {main} 37.47.170.129 (talk) 08:33, 14 May 2019 (UTC)Reply
I think you'll need to run composer update --no-dev from inside the extensions\Flow folder.
Also, it shows an error about the table echo_notification missing in your database. Are you sure you ran update.php? Ciencia Al Poder (talk) 09:14, 14 May 2019 (UTC)Reply
I runned php composer update --no-dev and:
# php composer update --no-dev
PHP Warning:  Module 'curl' already loaded in Unknown on line 0
Warning: Module 'curl' already loaded in Unknown on line 0
PHP Warning:  Module 'openssl' already loaded in Unknown on line 0
Warning: Module 'openssl' already loaded in Unknown on line 0
Could not open input file: composer
HP@KOMPUTER-2 c:\xampp\htdocs\Wiki\extensions\Flow
# php composer update --no-dev
PHP Warning:  Module 'curl' already loaded in Unknown on line 0
Warning: Module 'curl' already loaded in Unknown on line 0
PHP Warning:  Module 'openssl' already loaded in Unknown on line 0
Warning: Module 'openssl' already loaded in Unknown on line 0
Could not open input file: composer
I runned update script and:
Turning off Content Handler DB fields for this part of upgrade.
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...already have interwiki table
...indexes seem up to 20031107 standards.
...have rc_type field in recentchanges table.
...index new_name_timestamp already set on recentchanges table.
...have user_real_name field in user table.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...have pagelinks; skipping old links table updates
...il_from OK
...have rc_ip field in recentchanges table.
...index PRIMARY already set on image table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...logging table already exists.
...have user_token field in user table.
...have wl_notificationtimestamp field in watchlist table.
...watchlist talk page rows already present.
...user table does not contain user_emailauthenticationtimestamp field.
...page table already exists.
...have log_params field in logging table.
...logging table has correct log_title encoding.
...have ar_rev_id field in archive table.
...have page_len field in page table.
...revision table does not contain inverse_timestamp field.
...have rev_text_id field in revision table.
...have rev_deleted field in revision table.
...have img_width field in image table.
...have img_metadata field in image table.
...have user_email_token field in user table.
...have ar_text_id field in archive table.
...page_namespace is already a full int (int(11)).
...ar_namespace is already a full int (int(11)).
...rc_namespace is already a full int (int(11)).
...wl_namespace is already a full int (int(11)).
...qc_namespace is already a full int (int(11)).
...log_namespace is already a full int (int(11)).
...have img_media_type field in image table.
...already have pagelinks table.
...image table does not contain img_type field.
...already have unique user_name index.
...user_groups table exists and is in current format.
...have ss_total_pages field in site_stats table.
...user_newtalk table already exists.
...have iw_trans field in interwiki table.
...wl_notificationtimestamp is already nullable.
...index times already set on logging table.
...have ipb_range_start field in ipblocks table.
...no page_random rows needed to be set
...have user_registration field in user table.
...templatelinks table already exists
...externallinks table already exists.
...job table already exists.
...have ss_images field in site_stats table.
...langlinks table already exists.
...querycache_info table already exists.
...filearchive table already exists.
...have ipb_anon_only field in ipblocks table.
...index rc_ns_usertext already set on recentchanges table.
...index rc_user_text already set on recentchanges table.
...have user_newpass_time field in user table.
...redirect table already exists.
...querycachetwo table already exists.
...have ipb_enable_autoblock field in ipblocks table.
...index pl_namespace on table pagelinks includes field pl_from.
...index tl_namespace on table templatelinks includes field tl_from.
...index il_to on table imagelinks includes field il_from.
...have rc_old_len field in recentchanges table.
...have user_editcount field in user table.
...page_restrictions table already exists.
...have log_id field in logging table.
...have rev_parent_id field in revision table.
...have pr_id field in page_restrictions table.
...have rev_len field in revision table.
...have rc_deleted field in recentchanges table.
...have log_deleted field in logging table.
...have ar_deleted field in archive table.
...have ipb_deleted field in ipblocks table.
...have fa_deleted field in filearchive table.
...have ar_len field in archive table.
...have ipb_block_email field in ipblocks table.
...index cl_sortkey on table categorylinks includes field cl_from.
...have oi_metadata field in oldimage table.
...index usertext_timestamp already set on archive table.
...index img_usertext_timestamp already set on image table.
...index oi_usertext_timestamp already set on oldimage table.
...have ar_page_id field in archive table.
...have img_sha1 field in image table.
...protected_titles table already exists.
...have ipb_by_text field in ipblocks table.
...page_props table already exists.
...updatelog table already exists.
...category table already exists.
...category table already populated.
...have ar_parent_id field in archive table.
...have user_last_timestamp field in user_newtalk table.
...protected_titles table has correct pt_title encoding.
...have ss_active_users field in site_stats table.
...ss_active_users user count set...
...have ipb_allow_usertalk field in ipblocks table.
...change_tag table already exists.
...tag_summary table already exists.
...valid_tag table already exists.
...user_properties table already exists.
...log_search table already exists.
...have log_user_text field in logging table.
...l10n_cache table already exists.
...index tag_summary_rc_id already set on tag_summary table.
...have rd_interwiki field in redirect table.
...*_mime_minor fields are already long enough.
...iwlinks table already exists.
...index iwl_prefix_title_from already set on iwlinks table.
...have ul_value field in updatelog table.
...have iw_api field in interwiki table.
...iwl_prefix key doesn't exist.
...have cl_collation field in categorylinks table.
...categorylinks up-to-date.
...module_deps table already exists.
...ar_page_revid key doesn't exist.
...skipping index ar_revid because index ar_revid_uniq already set on archive table.
...ll_lang is up-to-date.
...user_last_timestamp is already nullable.
...index user_email already set on user table.
...up_property in table user_properties already modified by patch patch-up_property.sql.
...uploadstash table already exists.
...user_former_groups table already exists.
...have rev_sha1 field in revision table.
...batch conversion of user_options: nothing to migrate. done.
...user table does not contain user_options field.
...have ar_sha1 field in archive table.
...index page_redirect_namespace_len already set on page table.
...have us_chunk_inx field in uploadstash table.
...have job_timestamp field in job table.
...index page_user_timestamp already set on revision table.
...have ipb_parent_block_id field in ipblocks table.
...index ipb_parent_block_id already set on ipblocks table.
...category table does not contain cat_hidden field.
...have rev_content_format field in revision table.
...have rev_content_model field in revision table.
...have ar_content_format field in archive table.
...have ar_content_model field in archive table.
...have page_content_model field in page table.
Content Handler DB fields should be usable now.
...site_stats table does not contain ss_admins field.
...recentchanges table does not contain rc_moved_to_title field.
...sites table already exists.
...have fa_sha1 field in filearchive table.
...have job_token field in job table.
...have job_attempts field in job table.
...have us_props field in uploadstash table.
...ug_group in table user_groups already modified by patch patch-ug_group-length-increase-255.sql.
...ufg_group in table user_former_groups already modified by patch patch-ufg_group-length-increase-255.sql.
...index pp_propname_page already set on page_props table.
...index img_media_mime already set on image table.
...iwl_prefix_title_from index is already non-UNIQUE.
...index iwl_prefix_from_title already set on iwlinks table.
...have ar_id field in archive table.
...have el_id field in externallinks table.
...have rc_source field in recentchanges table.
...index log_user_text_type_time already set on logging table.
...index log_user_text_time already set on logging table.
...have page_links_updated field in page table.
...have user_password_expires field in user table.
...have pp_sortkey field in page_props table.
...recentchanges table does not contain rc_cur_time field.
...index wl_user_notificationtimestamp already set on watchlist table.
...have page_lang field in page table.
...have pl_from_namespace field in pagelinks table.
...have tl_from_namespace field in templatelinks table.
...have il_from_namespace field in imagelinks table.
...img_major_mime in table image already modified by patch patch-img_major_mime-chemical.sql.
...oi_major_mime in table oldimage already modified by patch patch-oi_major_mime-chemical.sql.
...fa_major_mime in table filearchive already modified by patch patch-fa_major_mime-chemical.sql.
...comment fields are up to date.
...hitcounter doesn't exist.
...site_stats table does not contain ss_total_views field.
...page table does not contain page_counter field.
...msg_resource_links doesn't exist.
...msg_resource doesn't exist.
...bot_passwords table already exists.
...have wl_id field in watchlist table.
...cl_collation key doesn't exist.
...index cl_collation_ext already set on categorylinks table.
...collations up-to-date.
...index rc_name_type_patrolled_timestamp already set on recentchanges table.
...rev_page_id index already non-unique.
...pl_namespace, tl_namespace, il_to indices are already non-UNIQUE.
...have ct_id field in change_tag table.
...have ts_id field in tag_summary table.
...rc_ip in table recentchanges already modified by patch patch-rc_ip_modify.sql.
...index usertext_timestamp already set on archive table.
...have el_index_60 field in externallinks table.
...ug_user_group key doesn't exist.
...have ug_expiry field in user_groups table.
...index img_user_timestamp already set on image table.
...img_media_type in table image already modified by patch patch-add-3d.sql.
...ip_changes table already exists.
...index PRIMARY already set on categorylinks table.
...index PRIMARY already set on templatelinks table.
...index PRIMARY already set on pagelinks table.
...index PRIMARY already set on text table.
...index PRIMARY already set on imagelinks table.
...index PRIMARY already set on iwlinks table.
...index PRIMARY already set on langlinks table.
...index PRIMARY already set on log_search table.
...index PRIMARY already set on module_deps table.
...index PRIMARY already set on objectcache table.
...index PRIMARY already set on querycache_info table.
...index PRIMARY already set on site_stats table.
...index PRIMARY already set on user_former_groups table.
...index PRIMARY already set on user_properties table.
...comment table already exists.
...have img_description_id field in image table.
...index PRIMARY already set on l10n_cache table.
...bot_passwords.bp_user is already unsigned int.
...change_tag.ct_log_id is already unsigned int.
...change_tag.ct_rev_id is already unsigned int.
...page_restrictions.pr_user is already unsigned int.
...tag_summary.ts_log_id is already unsigned int.
...tag_summary.ts_rev_id is already unsigned int.
...user_newtalk.user_id is already unsigned int.
...user_properties.up_user is already unsigned int.
...slots table already exists.
...have slot_origin field in slots table.
...content table already exists.
...slot_roles table already exists.
...content_models table already exists.
...actor table already exists.
...rev_text_id in table revision already modified by patch patch-rev_text_id-default.sql.
...table site_stats already modified by patch patch-site_stats-modify.sql.
...index rc_namespace_title_timestamp already set on recentchanges table.
...change_tag_def table already exists.
...el_index_60 in table externallinks already modified by patch patch-externallinks-el_index_60-drop-default.sql.
Running maintenance/deduplicateArchiveRevId.php...
...Update 'DeduplicateArchiveRevId' already logged as completed.
done.
...have ct_tag_id field in change_tag table.
...index ar_revid_uniq already set on archive table.
...index log_type_action already set on logging table.
...type_action key doesn't exist.
...index PRIMARY already set on interwiki table.
...index PRIMARY already set on page_props table.
...index PRIMARY already set on protected_titles table.
...index PRIMARY already set on site_identifiers table.
...index rc_this_oldid already set on recentchanges table.
...transcache doesn't exist.
Running maintenance/populateChangeTagDef.php...
...Update 'PopulateChangeTagDef' already logged as completed.
done.
...index change_tag_rc_tag_id already set on change_tag table.
...have ipb_sitewide field in ipblocks table.
...ipblocks_restrictions table already exists.
...oathauth_users table already exists.
...oathauth_users table does not contain secret_reset field.
...ajaxpoll_info table already exists.
...have poll_show_results_before_voting field in ajaxpoll_info table.
...ajaxpoll_vote table already exists.
...flow_revision table already exists.
...have rev_last_edit_id field in flow_revision table.
...have rev_mod_reason field in flow_revision table.
...flow_summary_revision table does not exist, skipping modify field patch.
...rev_comment field does not exist in flow_revision table, skipping modify field patch.
...workflow_id in table flow_workflow already modified by patch C:\xampp\htdocs\Wiki\extensions\Flow/db_patches/patch-88bit_uuids.sql.
...have workflow_type field in flow_workflow table.
...workflow_user_id field does not exist in flow_workflow table, skipping modify field patch.
...workflow_wiki in table flow_workflow already modified by patch C:\xampp\htdocs\Wiki\extensions\Flow/db_patches/patch-increase_width_wiki_fields.sql.
...index flow_workflow_lookup already set on flow_workflow table.
...index flow_topic_list_topic_id already set on flow_topic_list table.
...rev_change_type in table flow_revision already modified by patch C:\xampp\htdocs\Wiki\extensions\Flow/db_patches/patch-rev_change_type_update.sql.
...rc_source in table recentchanges already modified by patch C:\xampp\htdocs\Wiki\extensions\Flow/db_patches/patch-rc_source.sql.
...rev_change_type in table flow_revision already modified by patch C:\xampp\htdocs\Wiki\extensions\Flow/db_patches/patch-censor_to_suppress.sql.
...have rev_user_ip field in flow_revision table.
...have rev_user_wiki field in flow_revision table.
...index flow_tree_descendant_rev_id already set on flow_tree_revision table.
...flow_tree_revision table does not contain tree_orig_create_time field.
...index flow_revision_user already set on flow_revision table.
...rev_user_ip in table flow_revision already modified by patch C:\xampp\htdocs\Wiki\extensions\Flow/db_patches/patch-revision_user_ip.sql.
...have rev_type_id field in flow_revision table.
...flow_ext_ref table already exists.
...flow_definition doesn't exist.
...flow_workflow table does not contain workflow_user_ip field.
...have rev_content_length field in flow_revision table.
...flow_ext_ref_pk key doesn't exist.
...index flow_workflow_update_timestamp already set on flow_workflow table.
...have ref_src_wiki field in flow_wiki_ref table.
...have ref_id field in flow_wiki_ref table.
...flow_ext_ref_idx_v2 key doesn't exist.
...ref_target in table flow_ext_ref already modified by patch C:\xampp\htdocs\Wiki\extensions\Flow/db_patches/patch-ref_target_not_null.sql.
...index flow_ext_ref_idx_v3 already set on flow_ext_ref table.
...flow_topic_list_pk key doesn't exist.
...flow_subscription doesn't exist.
...betafeatures_user_counts table already exists.
...chat table already exists.
...chat_users table already exists.
...have cu_away field in chat_users table.
...cu_away in table chat_users already modified by patch C:\xampp\htdocs\Wiki\extensions\MediaWikiChat\includes/../sql/cu_away_new.sql.
...wikiforum_category table already exists.
...wikiforum_forums table already exists.
...wikiforum_threads table already exists.
...wikiforum_replies table already exists.
...site_stats is populated...done.
Purging caches...done.

37.47.170.129 (talk) 09:44, 14 May 2019 (UTC)Reply
> Could not open input file: composer
You either don't have composer installed, or you need to provide the full path to the composer bat
https://getcomposer.org/doc/00-intro.md#installation-windows Ciencia Al Poder (talk) 09:26, 15 May 2019 (UTC)Reply
Flow it works, but Echo when I logging still crashes. 37.47.170.129 (talk) 17:00, 15 May 2019 (UTC)Reply
That's strange, but you can try to run the echo.sql file from the Echo extension directory. Ciencia Al Poder (talk) 19:48, 15 May 2019 (UTC)Reply
Run this with console, composer? 37.47.170.129 (talk) 13:23, 16 May 2019 (UTC)Reply
No, sql files should be run with the mysql client or phpmyadmin Ciencia Al Poder (talk) 09:14, 17 May 2019 (UTC)Reply
Thank you, extensions works, but wiki is slow, it's normal? 37.47.170.129 (talk) 09:41, 17 May 2019 (UTC)Reply
Articles is good, but userpage is slow. 37.47.170.129 (talk) 09:44, 17 May 2019 (UTC)Reply
It depends on how powerful is the server, what types of caching are enabled, etc Ciencia Al Poder (talk) 18:02, 17 May 2019 (UTC)Reply
Okay, thank you. 37.47.170.129 (talk) 10:08, 18 May 2019 (UTC)Reply
Can somebody please guide/assist me regarding Flow extension please ?
I am getting an error message--
( ! ) Fatal error: Class 'Pimple\Container' not found in C:\wamp64\www\wiki\extensions\Flow\includes\Container.php on line 5
Call Stack#TimeMemoryFunctionLocation10.0010402872{main}( )...\index.php:020.14403088632MediaWiki->run( )...\index.php:4230.17863301776MediaWiki->main( )...\MediaWiki.php:51740.18023305264MediaWiki->performRequest( )...\MediaWiki.php:86050.19283482736MediaWiki\Special\SpecialPageFactory->executePath( )...\MediaWiki.php:28860.19343485224SpecialSpecialpages->run( )...\SpecialPageFactory.php:56870.19343485224SpecialSpecialpages->execute( )...\SpecialPage.php:56980.35685124856SpecialSpecialpages->getPageGroups( )...\SpecialSpecialpages.php:4490.35685124856MediaWiki\Special\SpecialPageFactory->getUsablePages( )...\SpecialSpecialpages.php:56100.44986999040MediaWiki\Special\SpecialPageFactory->getPage( )...\SpecialPageFactory.php:432110.47507008488Flow\Specials\SpecialEnableStructuredDiscussions->__construct( )...\SpecialPageFactory.php:402120.47507008488spl_autoload_call ( )...\SpecialEnableStructuredDiscussions.php:37130.47507008528AutoLoader::autoload( )...\SpecialEnableStructuredDiscussions.php:37140.50777009512require( 'C:\wamp64\www\wiki\extensions\Flow\includes\Container.php' )...\AutoLoader.php:109 Falcopragati (talk) 17:49, 16 June 2019 (UTC)Reply
Try running composer update in the Flow directory Roan Kattouw (WMF) (talk) 23:39, 24 June 2019 (UTC)Reply
I did that..6 days ago and it worked.
Thanks though ! :) Falcopragati (talk) 16:19, 26 June 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Grammatical errors in the Croatian translation of dates

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi, the dates in this extension's Croatian translation have a grammatical error. The names of the months are in the wrong grammatical case. They are in nominative, but they need to be in genitive. Where can I fix this? Hmxhmx (talk) 22:08, 20 May 2019 (UTC)Reply

I think this may need to be handled as a bugreport Ciencia Al Poder (talk) 09:17, 21 May 2019 (UTC)Reply
I filed a bug report on Phabricator: phab:T223988 Hmxhmx (talk) 11:37, 21 May 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

I want to add Structured Discussions Extension to my wiki..

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


My MediaWiki version is - 1.32.2 .

I have installed the 'Extension:Flow' to my wiki, it appears in the 'Installed Extensions' section on my Wiki too.

But it is not running properly, instead this error is occurring-->

Fatal error: Class 'Pimple\Container' not found in C:\wamp64\www\wiki\extensions\Flow\includes\Container.php on line 5

Can somebody guide me ?


The Extension-Distributor for this Extension is bugged at the moment also. Falcopragati (talk) 13:24, 17 June 2019 (UTC)Reply

Have you run Composer? (If you could use ExtensionDistributor, it wouldn’t be needed, but Git repositories don’t contain the dependencies.) Tacsipacsi (talk) 13:46, 17 June 2019 (UTC)Reply
These is a really silly question but may I please ask--
  1. I have installed Composer now, but what should i do next ? Falcopragati (talk) 14:03, 17 June 2019 (UTC)Reply
Run composer update --no-dev from a command prompt or PowerShell window in the folder of the extension (if you have Windows 8.1 or 10, you can open at one of them by right-clicking on the Start button, on Win7 you can just type cmd in the Start menu’s search bar and press enter; then issue cd C:\wamp64\www\wiki\extensions\Flow, then issue the above Composer command). Tacsipacsi (talk) 15:26, 17 June 2019 (UTC)Reply
I can't thank you enough Mr. Tacsipacsi !
The error got resolved totally, my wiki is again running smoothly.
But ,there seems to be some problem because the 'Discussion' pages on my wiki are still the same ...
what am i missing now ?
Please guide me.

Falcopragati (talk) 16:13, 17 June 2019 (UTC)Reply
Have you followed #Configuration? It won’t be enabled by itself—it doesn’t know what namespaces you want it to be enabled in… Tacsipacsi (talk) 17:31, 17 June 2019 (UTC)Reply
It is now working successfully !
Thanks ! :D Falcopragati (talk) 05:29, 18 June 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Is there any Extension available in MediaWiki by which 'upvote' & 'downvote' facility can be added to the replies in 'Structured Discussions' ?

[edit]

i.e like in Reddit or stackexchange .... Falcopragati (talk) 07:15, 18 June 2019 (UTC)Reply

Extension:Comments has voting but that's not Structured Discussions. Ciencia Al Poder (talk) 09:21, 18 June 2019 (UTC)Reply
But the comments are also threaded right ?
Thanks. Falcopragati (talk) 12:25, 18 June 2019 (UTC)Reply
Yes. Here's an example Ciencia Al Poder (talk) 09:20, 19 June 2019 (UTC)Reply

Regarding integration of voting feature in 'Extension:StructuredDiscussion' .

[edit]

I wanted to know if there is any simple way in which a voting feature can be added to 'Extension:StructuredDiscussion' ...

One way can be to somehow integrate 'Extension:VoteNY' with 'Extension:StructuredDiscussion'. Is this possible ?

(I dont want the replies to move up and down like reddit..I just want to add a functionality so that user can vote replies given by other users)

please guide me.. Falcopragati (talk) 06:33, 21 June 2019 (UTC)Reply

Hook to process StructuredDiscussions text before display

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hello,

I'm working on a small extension that uses $wgHooks['ParserAfterTidy'][] in order to hyphenate the text. The extension works great, despite I'm having lot of work to do on it.

Today I noticed the StructuredDiscussions pages are not processed and there are no hyphens (­), so my question is:

Whether there is a suitable Hook where I can process the content of the StructuredDiscussions pages before they are displayed? Spas.Z.Spasov (talk) 09:38, 30 June 2019 (UTC)Reply
It doesn't look like such a hook exists, sorry. It wouldn't be that easy to add, either, because SD content can be stored as either wikitext or HTML, and it's stored per-comment rather than as one page. Roan Kattouw (WMF) (talk) 19:47, 5 July 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

'Internal Server Error' on starting a new topic or replying in StructuredDiscussions

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I installed Extension:StructuredDiscussions just a month ago, and it was working successfully.

Users were able to add topics and reply. But now, any of these actions is resulting in a pink banner above the page which says-Internal Server Error.

All the previously added topics & replies are intact and are appearing at their places without any error.

I have also configured --> $wgShowExceptionDetails = true; But nothing more is appearing, just the pink banner

Version info-->
MediaWiki  1.32.2
PHP	   7.2.18 (apache2handler)
MySQL	   5.7.26
ICU	   63.1

@Ciencia Al Poder@Tacsipacsi Falcopragati (talk) 09:40, 14 July 2019 (UTC)Reply

I have done absolutely nothing and it is working again...

Falcopragati (talk) 10:31, 14 July 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Catch events outside of JS base

[edit]

Hello,

I was wondering if it was possible to catch certain JS events. For example; when a new topic, or reply was created. You can write something in common.js like: $(document).on('flow-reply-added', function())..

This enables us to record user events to Matomo.

Thanks in advance. YOUR1 (talk) 14:03, 23 September 2019 (UTC)Reply

Pimple\Container not found after installation

[edit]

My conf:

Product Version
MediaWiki 1.32.5
PHP 7.2.17-0ubuntu0.18.04.1 (apache2handler)
MariaDB 10.1.38-MariaDB-0ubuntu0.18.04.1
ICU 60.2
Elasticsearch 5.6.16
Lua 5.1.5

Running php maintenance/update.php, after Flow installation, I get this error message:

PHP Fatal error:  Class 'Pimple\Container' not found in /var/www/w/extensions/Flow/includes/Container.php on line 5

In .../extensions/Flow/composer.json everything seems ok

"require": {

                "pimple/pimple": "3.0.2"

        },


Is this a bug?
Silkwood (talk) 18:27, 10 December 2019 (UTC)Reply

Try running "composer update --no-dev", even if not downloading from git Ciencia Al Poder (talk) 10:23, 11 December 2019 (UTC)Reply
Thank you so much @Ciencia Al Poder.
It seems to work now.
...Update 'FlowUpdateRecentChanges' already logged as completed.
Populating links tables...
Completed
Updated 0  workflows
Warnings: 0
Array
(
)
Failed: 0
Array
(
)
Removed 0 links to special pages.
Completed
Completed
Set the local repo temp zone container to be private.
Purging caches...done.
Yesterday I got a 500 Server error trying to use Special:SpecialPages.
;) Silkwood (talk) 16:55, 11 December 2019 (UTC)Reply
Hey, did you get this to work i am getting the pimple error.
Fatal error: Class 'Pimple\Container' not found in /home/dennisgo/public_html/extensions/Flow/includes/Container.php on line 5 AlgorithmGG (talk) 18:43, 4 January 2020 (UTC)Reply
Yes I did, following @Ciencia Al Poder suggestion:
Try running "composer update --no-dev", even if not downloading from git Silkwood (talk) 18:46, 4 January 2020 (UTC)Reply
the git version is not compatible, with my version did you just add the relevant files? AlgorithmGG (talk) 19:37, 4 January 2020 (UTC)Reply
i ran composer but it didn't create the files, did you download it from git? is there a link please AlgorithmGG (talk) 18:51, 4 January 2020 (UTC)Reply
You can find the link at: Extension:StructuredDiscussions and clone the repo with: git clone ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
or download the master at https://github.com/wikimedia/mediawiki-extensions-Flow/archive/master.tar.gz or, finally download your release at the same place Silkwood (talk) 19:40, 4 January 2020 (UTC)Reply