Last modified: 2008-04-11 23:50:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T15688, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13688 - Remove file_get_contents() from StaticWiki
Remove file_get_contents() from StaticWiki
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-10 23:12 UTC by Chad H.
Modified: 2008-04-11 23:50 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch against current StaticWiki from trunk (997 bytes, patch)
2008-04-10 23:12 UTC, Chad H.
Details

Description Chad H. 2008-04-10 23:12:32 UTC
Created attachment 4801 [details]
Patch against current StaticWiki from trunk

In the StaticWiki extension, file_get_contents() is used twice, one with error messages suppressed. As file_get_contents() requires allow_url_fopen to be enabled, the attached patch replaces it with Http::get(). Tested on local install and works fine.
Comment 1 Brion Vibber 2008-04-11 23:50:38 UTC
Applied in r33153

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links