From 577837c1bbbd37659976aeb45616f5c01e4c5e60 Mon Sep 17 00:00:00 2001 From: SYwaves Date: Sun, 12 May 2024 14:14:34 +0700 Subject: [PATCH 1/2] fix upload pane --- sigma.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/sigma.css b/sigma.css index 0674e399..6701178a 100644 --- a/sigma.css +++ b/sigma.css @@ -1360,4 +1360,20 @@ div#u-adult-warning > .error-block { margin-bottom: 1em; } +/* fix for adblocker accidentally blocking fileupload pane from displaying */ +/* + Details: EasyList update 2024.05.10; adding AC_OETags.js to their blocklist + + Wikidot uses AC_OETags.js to switch between the regular Ajax and the (now-defunct) Flash upload panes + Both has inline 'display: none', which is controlled by activation of AC_OETags.js + + Blockers like uBlock Origin uses EasyList, resulting in accidental breakge on the wiki + Hence the CSS below + + TODO: in the future, if no longer a problem, remove this fix +*/ +#file-upload-box-ajax { + display: block !important; +} + /* vim: set noet: */ From 23725d8f9ca38baf46825d350e159efbc6348f53 Mon Sep 17 00:00:00 2001 From: SYwaves Date: Sun, 12 May 2024 14:20:01 +0700 Subject: [PATCH 2/2] style --- sigma.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sigma.css b/sigma.css index 6701178a..a7d703e2 100644 --- a/sigma.css +++ b/sigma.css @@ -1361,6 +1361,7 @@ div#u-adult-warning > .error-block { } /* fix for adblocker accidentally blocking fileupload pane from displaying */ + /* Details: EasyList update 2024.05.10; adding AC_OETags.js to their blocklist @@ -1372,6 +1373,7 @@ div#u-adult-warning > .error-block { TODO: in the future, if no longer a problem, remove this fix */ + #file-upload-box-ajax { display: block !important; }