Improvements of imagelinks regex

regex match now:

<gallery position="center">
File:something.jpg|
</gallery>

patch submitted by ce2014

Change-Id: Ifb66c2676016486deef56f574676e2e723cd62c1
Merge "Improvements of imagelinks regex"