diff options
author | dvs1 | 2025-03-12 20:57:53 +1000 |
---|---|---|
committer | dvs1 | 2025-03-12 20:57:53 +1000 |
commit | 7d27ef882ff2d61a571500b84f9b847b476c135d (patch) | |
tree | bc2c8ac410b48d0c84fbad8fc572db1087a6bc39 | |
parent | Give code blocks a gradient. (diff) | |
download | notYetAnotherWiki-7d27ef882ff2d61a571500b84f9b847b476c135d.zip notYetAnotherWiki-7d27ef882ff2d61a571500b84f9b847b476c135d.tar.gz notYetAnotherWiki-7d27ef882ff2d61a571500b84f9b847b476c135d.tar.bz2 notYetAnotherWiki-7d27ef882ff2d61a571500b84f9b847b476c135d.tar.xz |
Remove the "edit" link from Foswiki profiles.
-rwxr-xr-x | notYetAnotherWiki.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 29ed9fb..77903a9 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua | |||
@@ -121,6 +121,7 @@ local toFile = function(name, key, value) | |||
121 | {"-noComment-"} -> ' -- ' / | 121 | {"-noComment-"} -> ' -- ' / |
122 | {"| bgcolor=#" {([^ ])+} " " } -> "| <span style='background: #%2;'> bgcolor=#%2 </span> " / -- Deal with debdog's color table. | 122 | {"| bgcolor=#" {([^ ])+} " " } -> "| <span style='background: #%2;'> bgcolor=#%2 </span> " / -- Deal with debdog's color table. |
123 | {"{#"[A-Za-z_]+"}"} -> '' / | 123 | {"{#"[A-Za-z_]+"}"} -> '' / |
124 | {"### [[edit](/bin/edit/Main/" {([^%nl])+} } -> '' / | ||
124 | . | 125 | . |
125 | )* ~}]=], { } ):match(body) | 126 | )* ~}]=], { } ):match(body) |
126 | body = result | 127 | body = result |