Generate PDFs if $wgScriptPath is empty

Authored by saper on Oct 4 2013, 12:05 AM.


Generate PDFs if $wgScriptPath is empty

For installations of MediaWiki in root folder (instead of 'w' or 'wiki'), that
are also configured for short URLs, the $wgScriptPath setting is normally
empty. Collection fails to account for this situation when setting
base_url for API use.

Bug: 37868
Change-Id: Ideebda541144ba1c8ff19b785bc4573af6a9dd7c