Module:Resolve: 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.

11 November 2022

27 July 2022

  • curprev 22:5522:55, 27 July 2022MediaWIki>Krinkle 446 bytes +446 Created page with "-- Test: -- mw.log(p._resolve('Sandbox')) -> "Project:Sandbox" -- mw.log(p._resolve(':how___to_contribute')) -> "How to contribute" local function resolve(titletext) local title = mw.title.new(titletext) if not title then return '' end local target = title.redirectTarget if target then title = target end return title.prefixedText end return { _resolve = resolve, resolve = function(frame) return resolve(frame.args.title) end }"