Module:Hatnote: Revision history

Jump to navigation Jump to search

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.

21 June 2024

  • curprev 18:2518:25, 21 June 2024Evalprime talk contribs 2,197 bytes +2,197 Created page with "-- https://en.wikipedia.org/wiki/Module:Hatnote -- adapted to remove unnecessary function calls local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local p = {} local function removeInitialColon(s) -- Removes the initial colon from a string, if present. return s:match('^:?(.*)') end function p.findNamespaceId(link, removeColon) -- Finds the namespace id (namespace number) of a link or a pagename. This -- function will not work if th..."