Page MenuHomePhabricator

Remove LiquidThreads from production
Closed, DuplicatePublic

Description

LiquidThreads is unmaintained software.

It’s used by < 9 pages on en.wiktionary, 8 on wikinews , 7 on hu wikipedia, 5 on wikibooks, 0 on sv wikisource. If that low usage is not an indication of an extension that should be removed from production I’m not sure what is.

I'm not sure if the pages that are using it need to be preserved and if so how that should be done (can these be imported to flow?)

https://sv.wikisource.org/w/index.php?sort=relevance&search=%23useliquidthreads&title=Special:Search&profile=advanced&fulltext=1&searchengineselect=mediawiki&advancedSearch-current=%7B%7D&ns0=1&ns1=1&ns2=1&ns3=1&ns4=1&ns5=1&ns6=1&ns7=1&ns8=1&ns9=1&ns10=1&ns11=1&ns12=1&ns13=1&ns14=1&ns15=1&ns90=1&ns91=1&ns92=1&ns93=1&ns100=1&ns101=1&ns102=1&ns103=1&ns104=1&ns105=1&ns106=1&ns107=1&ns108=1&ns109=1&ns110=1&ns111=1&ns114=1&ns115=1&ns116=1&ns117=1&ns118=1&ns119=1&ns828=1&ns829=1&ns2300=1&ns2301=1&ns2302=1&ns2303=1

https://pt.wikibooks.org/w/index.php?sort=relevance&search=%23useliquidthreads&title=Special:Search&profile=advanced&fulltext=1&searchengineselect=mediawiki&advancedSearch-current=%7B%7D&ns0=1&ns1=1&ns2=1&ns3=1&ns4=1&ns5=1&ns6=1&ns7=1&ns8=1&ns9=1&ns10=1&ns11=1&ns12=1&ns13=1&ns14=1&ns15=1&ns90=1&ns91=1&ns92=1&ns93=1&ns100=1&ns101=1&ns102=1&ns103=1&ns104=1&ns105=1&ns106=1&ns107=1&ns108=1&ns109=1&ns110=1&ns111=1&ns114=1&ns115=1&ns116=1&ns117=1&ns118=1&ns119=1&ns828=1&ns829=1&ns2300=1&ns2301=1&ns2302=1&ns2303=1

https://hu.wikipedia.org/w/index.php?sort=relevance&search=%23useliquidthreads&title=Special:Search&profile=advanced&fulltext=1&searchengineselect=mediawiki&advancedSearch-current=%7B%7D&ns0=1&ns1=1&ns2=1&ns3=1&ns4=1&ns5=1&ns6=1&ns7=1&ns8=1&ns9=1&ns10=1&ns11=1&ns12=1&ns13=1&ns14=1&ns15=1&ns90=1&ns91=1&ns92=1&ns93=1&ns100=1&ns101=1&ns102=1&ns103=1&ns104=1&ns105=1&ns106=1&ns107=1&ns108=1&ns109=1&ns110=1&ns111=1&ns114=1&ns115=1&ns116=1&ns117=1&ns118=1&ns119=1&ns828=1&ns829=1&ns2300=1&ns2301=1&ns2302=1&ns2303=1

https://en.wikinews.org/w/index.php?sort=relevance&search=%23useliquidthreads&title=Special:Search&profile=advanced&fulltext=1&searchengineselect=mediawiki&advancedSearch-current=%7B%7D&ns0=1&ns1=1&ns2=1&ns3=1&ns4=1&ns5=1&ns6=1&ns7=1&ns8=1&ns9=1&ns10=1&ns11=1&ns12=1&ns13=1&ns14=1&ns15=1&ns90=1&ns91=1&ns92=1&ns93=1&ns100=1&ns101=1&ns102=1&ns103=1&ns104=1&ns105=1&ns106=1&ns107=1&ns108=1&ns109=1&ns110=1&ns111=1&ns114=1&ns115=1&ns116=1&ns117=1&ns118=1&ns119=1&ns828=1&ns829=1&ns2300=1&ns2301=1&ns2302=1&ns2303=1

  • Current entry in mw:Developers/Maintainers:
    • Listed Code Steward:
    • Listed Maintainer:
    • Listed In-training:
  • Number, severity, and age of known and confirmed security issues:
  • Was it a cause of production outages or incidents? List them:
  • Does it have sufficient hardware resources for now and the near future (to take into account expected usage growth)?
  • Is it a frequent cause of monitoring alerts that need action, and are they addressed timely and appropriately?
  • When it was first deployed to Wikimedia production:
  • Usage statistics based on audience(s) served:
  • Code changes committed in last 1, 3, 6, and 12 months:
  • Reliance on outdated platforms (e.g. operating systems):
  • Number of developers who committed code in the last 1, 3, 6, and 12 months:
  • Number and age of open patches:
  • Number and age of open bugs:
  • Number of known dependencies:
  • Is there a replacement/alternative for the feature? Is there a plan for a replacement?
  • Submitter's recommendation (what do you propose be done?):

Event Timeline

I note your search doesn't really give accurate representations of the data. Sure, how many pages it's used on is one metric, but the amount of disussions/threads has an impact whether stuff needs migrating

It would seem we can probably just disable it on svwiki straight away.

MariaDB [svwiki]> select count(*) from page where page_namespace IN (90, 91, 92, 93);
+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.00 sec)

MariaDB [ptwikibooks]> select count(*) from page where page_namespace IN (90, 91, 92, 93);
+----------+
| count(*) |
+----------+
|    12448 |
+----------+
1 row in set (0.01 sec)

MariaDB [huwiki]> select count(*) from page where page_namespace IN (90, 91, 92, 93);
+----------+
| count(*) |
+----------+
|     2611 |
+----------+
1 row in set (0.00 sec)

MariaDB [enwikinews]> select count(*) from page where page_namespace IN (90, 91, 92, 93);
+----------+
| count(*) |
+----------+
|     9231 |
+----------+
1 row in set (0.02 sec)

And more specifically

MariaDB [enwikinews]> select count(*), page_namespace from page where page_namespace IN (90, 91, 92, 93) group by page_namespace;
+----------+----------------+
| count(*) | page_namespace |
+----------+----------------+
|     9211 |             90 |
|       20 |             92 |
+----------+----------------+
2 rows in set (0.00 sec)

MariaDB [ptwikibooks]> select count(*), page_namespace from page where page_namespace IN (90, 91, 92, 93) group by page_namespace;
+----------+----------------+
| count(*) | page_namespace |
+----------+----------------+
|    12433 |             90 |
|        1 |             91 |
|       14 |             92 |
+----------+----------------+
3 rows in set (0.00 sec)

MariaDB [huwiki]> select count(*), page_namespace from page where page_namespace IN (90, 91, 92, 93) group by page_namespace;
+----------+----------------+
| count(*) | page_namespace |
+----------+----------------+
|     2580 |             90 |
|        1 |             91 |
|       30 |             92 |
+----------+----------------+
3 rows in set (0.01 sec)

These IDs correlate with:

	"namespaces": [
		{
			"id": 90,
			"constant": "NS_LQT_THREAD",
			"name": "Thread"
		},
		{
			"id": 91,
			"constant": "NS_LQT_THREAD_TALK",
			"name": "Thread_talk"
		},
		{
			"id": 92,
			"constant": "NS_LQT_SUMMARY",
			"name": "Summary"
		},
		{
			"id": 93,
			"constant": "NS_LQT_SUMMARY_TALK",
			"name": "Summary_talk"
		}
	],

I'm not sure if the pages that are using it need to be preserved and if so how that should be done (can these be imported to flow?)

Flow has a ConvertLqtPageOnLocalWiki maintenance script. I don't know how well it works, looking at the commits, it's very possible it could be crufty and not work. Most of the changes in the last 5 years are generic drive by maintenance

Aklapper renamed this task from Remove LiquidThreads from production to Remove LiquidThreads from production.Sep 28 2020, 10:06 AM
Aklapper updated the task description. (Show Details)

I added the usual Code-Stewardship-Reviews template to the task summary just to realize that this seems to be a duplicate of T187487: LiquidThreads: code stewardship review? Can this be merged?

It’s used by < 9 pages on en.wiktionary, 8 on wikinews , 7 on hu wikipedia, 5 on wikibooks, 0 on sv wikisource. If that low usage is not an indication of an extension that should be removed from production I’m not sure what is.

This is calculated wrong. You don't normally put {{#useliquidthreads: on a page. That's only used to override the default behaviour (e.g. If you want liquid threads on a main namespace page instead of a talk page). Liquid threads is actually used on thousands of pages at wikinews.

@Aklapper this is a duplicate of T187487 in my opinion. There may be different/additional assertions being made, but those could be rolled into the other task. T187487 was moved to "Blocked" as it's fate was somewhat connected to the future of Flow if I recall correctly. Will need to revisit that discussion to see if any progress has been made.

Thanks. Boldly marking as duplicate via Edit Related Tasks...Close As Duplicate in the upper right corner.