Skip to content

Commit 35cc679

Browse files
committed
Add transcoded Wikipedia videos to the global ignore set
MediaWiki automatically transcodes uploaded videos (and audio files) into several different formats. We don't need to save these transcoded versions (which are often reduced resolutions), only the original one, similar to how we already ignore image thumbnails.
1 parent 04d0935 commit 35cc679

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

db/ignore_patterns/global.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"^https?://archive\\.is/",
6161
"^https?://www\\.google\\.((com|ad|ae|al|am|as|at|az|ba|be|bf|bg|bi|bj|bs|bt|by|ca|cd|cf|cg|ch|ci|cl|cm|cn|cv|cz|de|dj|dk|dm|dz|ee|es|fi|fm|fr|ga|ge|gg|gl|gm|gp|gr|gy|hn|hr|ht|hu|ie|im|iq|is|it|je|jo|ki|kg|kz|la|li|lk|lt|lu|lv|md|me|mg|mk|ml|mn|ms|mu|mv|mw|ne|nl|no|nr|nu|pl|pn|ps|pt|ro|ru|rw|sc|se|sh|si|sk|sn|so|sm|sr|st|td|tg|tk|tl|tm|tn|to|tt|vg|vu|ws|rs|cat)|(com\\.(af|ag|ai|ar|au|bd|bh|bn|bo|br|bz|co|cu|cy|do|ec|eg|et|fj|gh|gi|gt|hk|jm|kh|kw|lb|ly|mm|mt|mx|my|na|nf|ng|ni|np|om|pa|pe|pg|ph|pk|pr|py|qa|sa|sb|sg|sl|sv|tj|tr|tw|ua|uy|vc|vn))|(co\\.(ao|bw|ck|cr|id|il|in|jp|ke|kr|ls|ma|mz|nz|th|tz|ug|uk|uz|ve|vi|za|zm|zw)))/finance\\?noIL=1&q=[^&]+&ei=",
6262
"^https?://upload\\.wikimedia\\.org/wikipedia/[^/]+/thumb/",
63+
"^https?://upload\\.wikimedia\\.org/wikipedia/[^/]+/transcoded/",
6364
"^https?://s?b\\.scorecardresearch\\.com/",
6465
"^http://i\\.dev\\.cdn\\.turner\\.com/",
6566
"^https?://video-subtitle\\.tedcdn\\.com/",

0 commit comments

Comments
 (0)