Jeroen De Dauw has submitted this change and it was merged.

Change subject: Fix recursiveTagParse/getMaxIncludeSize() issue that causes a 
fatal error on Special Pages
......................................................................


Fix recursiveTagParse/getMaxIncludeSize() issue that causes a
fatal error on Special Pages

##Note
recursiveTagParse( $imgCaption ) is needed for for caption text to be p
roperly 'wiki' formed but causes a fatal on Special pages therefore using
RequestContext() to determine if a page is a special page and if it
is, recursiveTagParse will not be called.

##Patchsets
- 2 whitespaces
- 3 use $GLOBALS['wgTitle'] instead of RequestContext due to MW 1.17
limitations

Change-Id: Ic9f5e1865e9fe8d595aeeabbea03c76f7fcbe065
---
M formats/gallery/SRF_Gallery.php
1 file changed, 7 insertions(+), 8 deletions(-)

Approvals:
  Jeroen De Dauw: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/16890
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic9f5e1865e9fe8d595aeeabbea03c76f7fcbe065
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/SemanticResultFormats
Gerrit-Branch: master
Gerrit-Owner: Mwjames <jamesin.hongkon...@gmail.com>
Gerrit-Reviewer: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: Mwjames <jamesin.hongkon...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to