diff --git a/wikiteam3/dumpgenerator/dump/image/html_regexs.py b/wikiteam3/dumpgenerator/dump/image/html_regexs.py index af0e4585..fccf03da 100644 --- a/wikiteam3/dumpgenerator/dump/image/html_regexs.py +++ b/wikiteam3/dumpgenerator/dump/image/html_regexs.py @@ -29,6 +29,6 @@ r'(?im)\s*]*?>(?P[^>]+)[^<]*?[^<]*?[^<]*?\s*' r'[^\n\r]*?\s*' r'[^<]*?\s*' - r'\s*()?(?P[^<]+?)()?\s*' + r'\s*(?:)?(?:)?(?P[^<]+?)(?:)?(?:)?\s*(?:(?:(?!)(?!).)*?)?' ), ] diff --git a/wikiteam3/dumpgenerator/test/data/html_regexs/mediawiki.org-20240923.html b/wikiteam3/dumpgenerator/test/data/html_regexs/mediawiki.org-20240923.html new file mode 100644 index 00000000..f7dc02e6 --- /dev/null +++ b/wikiteam3/dumpgenerator/test/data/html_regexs/mediawiki.org-20240923.html @@ -0,0 +1,612 @@ + + + + +File list - MediaWiki + + + + + + + + + + + + + + + + + + + + + + + + + +Jump to content +
+
+
+ + + + +
+
+ + + + + +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+

File list

+
+ +
+
+
+
+
+ +
+
+ + + +
+
+
+
+
+ + +
+
+
+
+ + +
+
+ + +
+

This special page shows all uploaded files. +

+
File list
+
+
+
First pagePrevious pageNext pageLast page + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DateNameThumbnailSizeUserDescription
10:33, 2 December 2006Example.jpg (file)60 KBBdk (talk | contribs)smaller version
21:00, 24 February 2007BadImageList.png (file)51 KBRobchurch (talk | contribs)Crop whitespace from the right of the screenshot
10:36, 30 April 2007M-fi-recentchanges.png (file)130 KBCimon Avaro (talk | contribs)screencapture for the PD-helpfiles
14:54, 14 May 2007NiceCategoryList2 extension example.jpg (file)28 KBJohanTheGhost (talk | contribs)Example image (partial screenshot) demonstrating the NiceCategoryList2 extension. Made by me, JohanTheGhost, 14 May, 2007.
15:56, 15 May 2007NiceCategoryList2 extension default.jpg (file)23 KBJohanTheGhost (talk | contribs)== Summary == Example image (partial screenshot) demonstrating the NiceCategoryList2 extension in its default mode. Made by me, JohanTheGhost, 15 May, 2007. == Licensing == {{GFDL}}
15:57, 15 May 2007NiceCategoryList2 extension full.jpg (file)20 KBJohanTheGhost (talk | contribs)== Summary == Example image (partial screenshot) demonstrating the NiceCategoryList2 extension used to generate a full listing. Made by me, JohanTheGhost, 15 May, 2007. == Licensing == {{GFDL}}
03:06, 24 June 2007TinyMCE MW.PNG (file)124 KBJoeSox (talk | contribs)TinyMCE_MW extension Screenshots
+First pagePrevious pageNext pageLast page +
+ +
+
+ +
+ +
+
+
+ +
+ +