https://bugzilla.wikimedia.org/show_bug.cgi?id=32760

--- Comment #2 from Chad H. <[email protected]> 2011-12-02 02:08:56 UTC 
---
(In reply to comment #1)
> - Update the profiler docs so it stops using outdated docs that use
> require_once lines and properly use the autoloader instead.

Profiler already uses AutoLoader and no require()s are necessary.
StartProfiler.sample *was* updated when I refactored all of this.

> - In the next 1.18 release include a includes/ProfilerStub.php that contains
> something like `<?php  require_once( "$IP/includes/profiler/ProfilerStub.php"
> );`. Though, to be honest we could probably get away with a completely empty
> file or just `<?php` with a comment on why the file exists. (This would fix 
> the
> issue by overwriting the 1.17 files and providing a no-op file so that the
> require_once's don't fail)

This is a good idea.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to