Go to file
Brian Wolff 261af50ba6 Make validation for page more strict on pdf to take only numbers
This change causes wiki syntax like
 [[File:Foo.pdf|thumb|Page 7 of document]]
to be interpreted as a caption instead, of saying select page 7
of the pdf. Previously it eventually ran intval( '7 of document' ),
so flipped to page 7.

Only possible downside I could see is this would cause things like
left-to-right marks and weird unicode spaces to no longer be ignored.
I don't think that's a big deal.

Change-Id: Ib98510a0473458fdc9cdecdb7f75676488b4c5c8
2014-05-14 21:37:14 -03:00
i18n Localisation updates from https://translatewiki.net. 2014-05-14 19:35:43 +00:00
.gitignore Add .gitignore 2012-05-21 01:41:22 +01:00
.gitreview Adding .gitreview 2012-03-23 10:32:08 -07:00
COPYING Add COPYING 2014-01-22 00:50:35 +00:00
CreatePdfThumbnailsJob.class.php Method documentation etc 2012-07-26 23:30:11 +01:00
PdfHandler.i18n.php Update i18n shim 2014-04-22 13:36:09 +00:00
PdfHandler.image.php Tidy up some documentation 2012-10-04 17:34:25 +01:00
PdfHandler.php Migrate to JSON i18n 2014-03-28 12:19:22 +01:00
PdfHandler_body.php Make validation for page more strict on pdf to take only numbers 2014-05-14 21:37:14 -03:00