-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Description
In some of the files, the word ‘Expand’ appears in the text flow, from a former fold-out button. We would like to delete this word in the following cases:
Method
Regex
Observed in Wiki
- The word "Expand" (always uppercase) followed by a space and the words "Links to longer report". Possible regex to detect:
\bExpand\b\s+Links to longer report - The word "Expand "(always uppercase) followed by a space and then a linked figure, like "
[[#figure-spm-2|Figure SPM.2]]". Possible regex to detect:\bExpand\b \[\[
Expected in Wikitext
- Get rid of "Expand", just keep "Links to longer report"
- Get rid of "Expand", just the following link
Example file
- From Gatsby Scrape
- https://test.kewl.org/wiki/IPCC:Syr
- https://www.kewl.org/IPCC/Gatsby/www.ipcc.ch/report/ar6/syr/summary-for-policymakers.clean.wiki
Additional information
(This problem only occurs in one or two Gatsby files, but the fix should't affect the Wordpress files.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
Status
Todo