Page MenuHomePhabricator

Can't list lint errors on Wikidata, Wikimedia Commons, etc
Closed, ResolvedPublic

Event Timeline

This is also affecting English Wikisource.

More information is needed :-
*Have you disabled all user scripts and gadgets?
*Have you disabled ad-blockers and content modifer add-ons in your browser?
*Have you tried using different browsers?

If this is new in wmf.10, it should probably be fixed before everyone leaves for holiday. There has been some refactoring in Linter last week that could be the culprit.

I looked at the debug logs to compare the queries between Wikipedia (wmf.9) and Commons (wmf.10):

https://en.wikipedia.org/wiki/Special:LintErrors/deletable-table-tag

SELECT  page_id,page_namespace,page_title,page_is_redirect,page_is_new,page_latest,page_touched,page_len,page_content_model,page_namespace,page_title,linter_id,linter_params,linter_start,linter_end,linter_cat  FROM `linter` JOIN `page` ON ((page_id=linter_page))   WHERE linter_cat = 7  ORDER BY linter_id LIMIT 51

https://commons.wikimedia.org/wiki/Special:LintErrors/deletable-table-tag

SELECT  page_id,page_namespace,page_title,page_is_redirect,page_is_new,page_latest,page_touched,page_len,page_content_model,page_lang,page_namespace,page_title,linter_id,linter_params,linter_start,linter_end,linter_cat  FROM `page` LEFT JOIN `linter` ON ((page_id=linter_page))   WHERE linter_cat = 7 AND page_title = ''  ORDER BY linter_id LIMIT 51

There's an extra AND page_title = '' condition that looks wrong. It seems that it's still trying to enable the "Search for a specific page title" option even when a title is not given.

This works:
https://commons.wikimedia.org/wiki/Special:LintErrors/deletable-table-tag?exactmatch=0

Change 984806 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/Linter@master] Ignore "exact match" title when the title is not given

https://gerrit.wikimedia.org/r/984806

Change 984806 merged by jenkins-bot:

[mediawiki/extensions/Linter@master] Ignore "exact match" title when the title is not given

https://gerrit.wikimedia.org/r/984806

Change 984500 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/Linter@wmf/1.42.0-wmf.10] Ignore "exact match" title when the title is not given

https://gerrit.wikimedia.org/r/984500

Change 984500 merged by jenkins-bot:

[mediawiki/extensions/Linter@wmf/1.42.0-wmf.10] Ignore "exact match" title when the title is not given

https://gerrit.wikimedia.org/r/984500

Mentioned in SAL (#wikimedia-operations) [2023-12-21T14:18:28Z] <lucaswerkmeister-wmde@deploy2002> Started scap: Backport for [[gerrit:984500|Ignore "exact match" title when the title is not given (T353860)]]

Mentioned in SAL (#wikimedia-operations) [2023-12-21T14:19:53Z] <lucaswerkmeister-wmde@deploy2002> lucaswerkmeister-wmde and matmarex: Backport for [[gerrit:984500|Ignore "exact match" title when the title is not given (T353860)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2023-12-21T14:27:02Z] <lucaswerkmeister-wmde@deploy2002> Finished scap: Backport for [[gerrit:984500|Ignore "exact match" title when the title is not given (T353860)]] (duration: 08m 33s)