Page MenuHomePhabricator

Add parameters preloadtitle, editintro and preloadsummary to LiquidThreads
Open, NormalPublic

Description

On the example, only the parameter "preload" is working. The other two are not.

This should be fixed.


Version: unspecified
Severity: enhancement
URL: https://pt.wikibooks.org/wiki/Project:Diálogos_comunitários?action=edit&section=new&preloadtitle=MediaWiki:aboutsite&preload=MediaWiki:aboutsite&editintro=MediaWiki:aboutsite&uselang=en

Details

Reference
bz25441

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:13 PM
bzimport set Reference to bz25441.
bzimport added a subscriber: Unknown Object (MLST).
He7d3r created this task.Oct 7 2010, 9:36 AM

Given that the summary of the discussion in LQT has its own page and it's no longer just something written on top of a section, to complete "preload" a "preloadsummary" parameter is also needed to manage all sorts of requests pages, where often section (thread) status templates need to be used and hence preload with their initial values.

Qgil added a comment.Mar 19 2013, 4:57 PM

Could you please explain the purpose of this feature, what do you want to accomplish? The current report together with the URL provided is confusing (at least to someone like me, willing to hep triaging this report).

Thank you.

The purpose is to be able to use these URL parameters (which works on normal pages) to set the initial value of the corresponding parts of the edit interface. They are documented at [1].

In the URL above, the input field with id="lqt_subject_field" is empty, but its value should be "MediaWiki:aboutsite", as in any normal page[2]. Similarly, the div with id="mw-content-text" should have a paragraph with the text of the page [[wikibooks:pt:MediaWiki:aboutsite]] above the edit box.

[1] https://www.mediawiki.org/wiki/Manual:Parameters_to_index.php#Options_affecting_the_edit_form

[2] https://pt.wikibooks.org/wiki/TEST?action=edit&section=new&preloadtitle=MediaWiki:aboutsite&preload=MediaWiki:aboutsite&editintro=MediaWiki:aboutsite&uselang=en

Jorm removed a subscriber: Jorm.Dec 26 2015, 7:26 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 26 2015, 7:26 PM

LiquidThreads has been replaced by StructuredDiscussions on all Wikimedia production wikis (except one, which will be done soon). It is no longer under active development or maintenance, so I'm re-classifying all open LQT tasks as "Lowest" priority.

Qgil removed a subscriber: Qgil.Aug 8 2016, 8:10 AM
Nemo_bis raised the priority of this task from Lowest to Normal.Feb 24 2019, 8:38 AM

Restore information removed with now-invalid rationale.

Liuxinyu970226 lowered the priority of this task from Normal to Lowest.Mar 22 2019, 2:02 AM
Nemo_bis raised the priority of this task from Lowest to Normal.Mar 22 2019, 1:09 PM