aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordvs12025-03-15 18:37:39 +1000
committerdvs12025-03-15 18:37:39 +1000
commita8cbb18bc14657af13e4d06f18d4bd19cb52dc29 (patch)
treed206dce7d49bf886ec2c00c6ede5e8b25ad06d7a
parentImplement page history for Fos and Pm, and clean up the edit line. (diff)
downloadnotYetAnotherWiki-a8cbb18bc14657af13e4d06f18d4bd19cb52dc29.zip
notYetAnotherWiki-a8cbb18bc14657af13e4d06f18d4bd19cb52dc29.tar.gz
notYetAnotherWiki-a8cbb18bc14657af13e4d06f18d4bd19cb52dc29.tar.bz2
notYetAnotherWiki-a8cbb18bc14657af13e4d06f18d4bd19cb52dc29.tar.xz
Combine the first two columns of the everything page.
-rwxr-xr-xnotYetAnotherWiki.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index 4cf091e..e84e9b0 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -531,7 +531,7 @@ end
531-- More of this actually doing things nonsense. 531-- More of this actually doing things nonsense.
532 532
533-- Create an "everything" page, for URL links to every file.HTML. 533-- Create an "everything" page, for URL links to every file.HTML.
534local Bdy = '# All the pages\n\n| page | converted | original page | last edited UTC | \n| ---- | --------- | ------- | --------------- | ' 534local Bdy = '# All the pages\n\n| page | original page | last edited UTC | \n| --------- | ------- | --------------- | '
535Pages = {} 535Pages = {}
536for name, file in pairs(Files) do 536for name, file in pairs(Files) do
537 local metadata = derefTable(Files[name].metadata, true) 537 local metadata = derefTable(Files[name].metadata, true)
@@ -544,7 +544,7 @@ for name, file in pairs(Files) do
544 if nil ~= metadata.timestamp then ts = metadata.timestamp end 544 if nil ~= metadata.timestamp then ts = metadata.timestamp end
545 if nil ~= file.bit then ln = file.bit 545 if nil ~= file.bit then ln = file.bit
546 end 546 end
547 table.insert(Pages, '\n| ' .. name .. ' | [' .. ln .. '](<' .. name .. '.HTML>) | ' .. fw .. ' ' .. pw .. ' | ' .. ts .. ' |') 547 table.insert(Pages, '\n| [' .. name .. '](<' .. name .. '.HTML>) | ' .. fw .. ' ' .. pw .. ' | ' .. ts .. ' |')
548 548
549 -- Track our external links. 549 -- Track our external links.
550 if (nil ~= metadata.ogBase) and (nil ~= metadata.ogFile) then 550 if (nil ~= metadata.ogBase) and (nil ~= metadata.ogFile) then