Last modified: 2009-12-12 06:35:00 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 4501 - Portal test tool is broken
Portal test tool is broken
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-01-06 07:42 UTC by Minh Nguyễn
Modified: 2009-12-12 06:35 UTC (History)
1 user (show)

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


Description Minh Nguyễn 2006-01-06 07:42:04 UTC
The portal test tool at now returns a warning and a
fatal error, instead of a rendering of the Meta-Wiki entry given by the
"template" parameter. The result:

Warning: main(./includes/ProfilerStub.php): failed to open stream: No such file
or directory in /home/wikipedia/common/php-1.5/CommonSettings.php on line 22

Fatal error: main(): Failed opening required './includes/ProfilerStub.php'
(include_path='.:/usr/share/pear') in
/home/wikipedia/common/php-1.5/CommonSettings.php on line 22

This tool is necessary to test changes to the main Wikipedia portal before they
are made live.
Comment 1 Brion Vibber 2006-01-06 21:43:51 UTC
I've fixed the problem, however I've also disabled it entirely for the moment as it 
appears to be a big fat open security hole.
Comment 2 Minh Nguyễn 2006-03-06 00:20:04 UTC
Right now a workaround is to copy the contents of [[
template/temp]] to <>, click
"Generate", and click on the link that is generated. This script simply creates
a data: URL that is local to the user's web browser; Wikimedia's server would
not be affected by any malicious code. Unfortunately, it won't work in Internet
Explorer. It might be possible to create a trimmed-down version of this script
in JavaScript (since we don't need the file upload option), host it at as a replacement for the portal-test tool, and close this bug.
Comment 3 Chad H. 2009-12-11 14:39:34 UTC
Closing INVALID. Whatever portal-test was, it seems to be long since gone. The place to update the Wikimedia project portals is on Meta.
Comment 4 Minh Nguyễn 2009-12-12 06:35:00 UTC
portal-test was for actually updating the portals. It rendered the contents of [[ template/temp]] as HTML. That way non-sysops could test changes before Meta sysops pushed the changes live (at [[ template]]).

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