Extension talk:StructuredDiscussions

Jump to navigation Jump to search

About this board

Any questions about the StructuredDiscussions extension.

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

2
Summary by Falcopragati

The issue resolved itself for now.... I will ask again if it is encountered in future.

Falcopragati (talkcontribs)

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 (talkcontribs)

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


Hook to process StructuredDiscussions text before display

2
Summary by Spas.Z.Spasov

It doesn't look like such a hook exists. 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.

Spas.Z.Spasov (talkcontribs)

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?
Roan Kattouw (WMF) (talkcontribs)

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.

37.47.170.129 (talkcontribs)

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.

Ciencia Al Poder (talkcontribs)

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

37.47.170.129 (talkcontribs)

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}

Ciencia Al Poder (talkcontribs)

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?

37.47.170.129 (talkcontribs)

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.


Ciencia Al Poder (talkcontribs)
37.47.170.129 (talkcontribs)

Flow it works, but Echo when I logging still crashes.

Ciencia Al Poder (talkcontribs)

That's strange, but you can try to run the echo.sql file from the Echo extension directory.

37.47.170.129 (talkcontribs)

Run this with console, composer?

Ciencia Al Poder (talkcontribs)

No, sql files should be run with the mysql client or phpmyadmin

37.47.170.129 (talkcontribs)

Thank you, extensions works, but wiki is slow, it's normal?

37.47.170.129 (talkcontribs)

Articles is good, but userpage is slow.

Ciencia Al Poder (talkcontribs)

It depends on how powerful is the server, what types of caching are enabled, etc

37.47.170.129 (talkcontribs)

Okay, thank you.

Falcopragati (talkcontribs)

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

Roan Kattouw (WMF) (talkcontribs)

Try running composer update in the Flow directory

Falcopragati (talkcontribs)

I did that..6 days ago and it worked.

Thanks though ! :)

The Flow Discussion is broken on Miraheze.

2
Summary by AKlapper (WMF)
Mar9122 (talkcontribs)

Please help?

Ciencia Al Poder (talkcontribs)

Grammatical errors in the Croatian translation of dates

3
Summary by AKlapper (WMF)
Hmxhmx (talkcontribs)

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?

Ciencia Al Poder (talkcontribs)

I think this may need to be handled as a bugreport

Hmxhmx (talkcontribs)

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

7
Falcopragati (talkcontribs)

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.

Tacsipacsi (talkcontribs)

Have you run Composer? (If you could use ExtensionDistributor, it wouldn’t be needed, but Git repositories don’t contain the dependencies.)

Falcopragati (talkcontribs)

These is a really silly question but may I please ask--

  1. I have installed Composer now, but what should i do next ?
Tacsipacsi (talkcontribs)

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).

Falcopragati (talkcontribs)

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.


Tacsipacsi (talkcontribs)

Have you followed #Configuration? It won’t be enabled by itself—it doesn’t know what namespaces you want it to be enabled in…

Falcopragati (talkcontribs)

It is now working successfully !

Thanks ! :D

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

1
Falcopragati (talkcontribs)

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..

Reply to "Regarding integration of voting feature in 'Extension:StructuredDiscussion' ."

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

4
Falcopragati (talkcontribs)
Ciencia Al Poder (talkcontribs)
Falcopragati (talkcontribs)

But the comments are also threaded right ?

Thanks.

Ciencia Al Poder (talkcontribs)
Reply to "Is there any Extension available in MediaWiki by which 'upvote' & 'downvote' facility can be added to the replies in 'Structured Discussions' ?"

StructuredDiscussions won't save or switch to wikitext

3
TheROFL98 (talkcontribs)

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
Roan Kattouw (WMF) (talkcontribs)

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.

TheROFL98 (talkcontribs)

Updating both Flow and VE fixed the problem.

Issues with StructuredDiscussions

5
Kaldari (talkcontribs)

Mostly putting this here for my own reference... The major issues that I currently see with StructuredDiscussions being a good replacement for article talk pages are:

  • There’s no archiving system
  • It seems old topics are not in-page searchable
  • List of topics (in the "Browse topics" UI) isn’t scannable. Seems to only show a maximum of 11 topics at a time.
  • Copying and pasting is better than it used to be but still a bit wonky. For example, line break handling is buggy.
  • The UI is confusing. Some examples:
    • Does “Hide” just hide for me or everyone?
    • What is “Recently…”?
    • What’s the difference between the 2 different “Reply”s?
Myrtonos (talkcontribs)

Archiving may well be automatic and invisible. But I can't think of anything more to say on that list.

Trizek (WMF) (talkcontribs)

Thanks.

Concerning the list of topics, when you scroll it down, it will load more results.

For all your other comments, there are already requests (and tickets) made. I can link them to you of really necessary.

Kaldari (talkcontribs)

Yes, if you know ticket numbers for any of those, please post them. Thanks!

Here are a couple more I just noticed:

  • After you jump to an old topic from "Browse topics", it disappears off the screen (presumably because content above the section you jumped to loads in after).
  • The "cur" and "prev" links in the history seem to mostly not function, but when they are available they seem to do different things than they normally do.
Trizek (WMF) (talkcontribs)

Here are a few links that would fit your reports:

  • search in old topics covers some of your questions, like the list of topics not searchable and the archiving (archiving can be a status you search for).
  • copy/pasting not working properly has no specific ticket but changing the storage format may help (T174374)
  • Confusing UI
    • how hide works: add tooltips
    • what is "recently" has no ticket, but there are something about relative timestamps to improve. You can hover the date to have a better timestamp.
    • the two reply buttons are related to the threading, currently based on user selection rather than being hard-coded into the data structure as they are now. (T105438 and T108998)
  • The problem when you jump to an old topic is to be recondidered, to have, a pagination instead of infinite scrolling (:T132817). This is overall covered by reconsider how to navigate on a Flow board
  • History integration is currently poor in consistency with everything else (T85563), that impacts the "cur" and "next" links.

You can find here the most urgent improvements that have been decided last year, based on user feedback. Most of your cases are listed there.

Reply to "Issues with StructuredDiscussions"