(bug 38351) Image alignment should follow the page content language
authorrobin <robinp.1273@gmail.com>
Wed, 1 Aug 2012 03:34:32 +0000 (05:34 +0200)
committerrobin <robinp.1273@gmail.com>
Thu, 2 Aug 2012 22:48:06 +0000 (00:48 +0200)
commite4b4bfdf9b3191ab731a1bdea3c47a49f7f55c1a
treef4050d7b628b01a56a003283c8741a8a0c510348
parent7a657188a1f436c218db754120d2c9e8437361b4
(bug 38351) Image alignment should follow the page content language

The alignment of image thumbs should follow the page content language instead of the wiki content language.
For this it needs the parser context, and because it makes sense to have it as first parameter, I renamed makeImageLink2() to makeImageLink(), the 2 seemed to be redundant anyway.
The old function name keeps the old behaviour, but can be removed quite soon since almost no extension is using it.

Change-Id: I0c35b06a85528dcc43fdd0578dc9b327c495cf4a
docs/hooks.txt
includes/Linker.php
includes/parser/Parser.php