Hi Nico,

If you don't mind, let us move this more bug/feature-specific discussion to Phabricator by filing bugs where appropriate. Or, we can have discussions on-wiki at https://www.mediawiki.org/wiki/Help_talk:Extension:Linter. I'll copy your query to the talk page there and we can discuss it there.

Subbu.


On 07/17/2017 04:10 AM, Nicolas Vervelle wrote:
On Thu, Jul 13, 2017 at 9:18 AM, Nicolas Vervelle <[email protected]>
wrote:


On Tue, Jul 11, 2017 at 5:05 PM, Subramanya Sastry <[email protected]>
wrote:

On 07/11/2017 05:13 AM, Nicolas Vervelle wrote:

     - In the page dedicated to a category, there's a column telling if the
     problem is due to one template (and which one) or by several
templates, but
     I don't get this information in the REST API for Linter. Is it
possible to
     have it in the API result or should I deduce it myself where the
offset
     given by the API matches a call to a template?

Look for this in the template response.

|"templateInfo": { "multiPartTemplateBlock": true }|

Thanks ! I have updated WPCleaner to display the information about the
template (template name or multiple templates).

I've started adding a detection in WPCleaner (error #532) for the
missing-end-tag error reported by Linter (I'm starting with easy ones).

Is it normal that errrors inside a gallery tag are reported as being an
error in a "multiPartTemplateBlock" while it's directly inside the page
wikitext ?
Examples on frwiki : Manali
<https://fr.wikipedia.org/w/index.php?title=Manali&action=edit&lintid=4555235>,
Zillis-Reischen
<https://fr.wikipedia.org/w/index.php?title=Zillis-Reischen&action=edit&lintid=4555585>
...

Nico
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to