Module:NewsLanding/MostViewed: Revision history

From TwogPedia

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

16 April 2024

12 February 2024

  • curprev 14:3714:37, 12 February 2024Couchor talk contribs 2,182 bytes +2,182 Created page with "local getArgs = require('Module:Arguments').getArgs local cargo = mw.ext.cargo local p = {} function p.main(frame) local args = getArgs(frame) local pageTitles = {} for title in mw.ustring.gmatch(args.news, "%[%[([^\]]+)%]%]") do table.insert(pageTitles, mw.text.split(title, '|')[1]) end local hotItems = mw.html.create('div'):addClass('news-hot-items') local container = mw.html.create('div'):addClass('news-hot'):node(mw.html.create('h3'):wikitext(..."