Jump to content

Module:Number of works: Revision history

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.

13 March 2025

  • curprev 02:0002:00, 13 March 2025 Thehighwayman talk contribs m 431 bytes 0 Protected "Module:Number of works" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
  • curprev 02:0002:00, 13 March 2025 Thehighwayman talk contribs 431 bytes +431 Created page with "-- This module is DEPRECATED. We turned to using DPL lists to count numbers of works in a library card. local p = {} function p.getWorkCount(frame) local category = frame.args.category or '' local pages = mw.site.stats.pagesInCategory(category) if tonumber(pages) == 1 then return "1 work" else return pages .. " works" end end function p.main(frame) return p.getWorkCount(frame) end"