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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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