Code Review

From MediaWiki.org

Jump to: navigation, search
First page
First page
Previous page
Previous page
Last page
Last page
Show items per page
Date Commenter Revision Status Commit summary Note
13:03, 9 May 2009 Catrope 50366 new API: (bug 18731) Show correct SVN links for extension modules in api.php?version… This also fixes the E_STRICT reported in bug 18730 comment #1
11:39, 9 May 2009 Nikerabbit 49677 fixme Apply patch for bug 13172 by Brent G <overlordq@gmail.com> with minor modificati… This causes the following for one of translatewiki.net images: [09-May-2009 11:31:48] PHP Warning: Invalid argument supplied for foreach() in /var/www/w/includes/Exif.php on line 610 [times N]
09:17, 9 May 2009 Siebrand 49898 fixme Remove unused 'timezonetext' Suggest to make use of this message again, as it is unused at the moment, and then revert, or mark this commit as OK.
14:35, 8 May 2009 Aaron Schulz 50331 new more fixes for r50316: changed StartProfiler.php to ProfilerStub.php so that it … How many places is this stuff duplicated?
14:34, 8 May 2009 Aaron Schulz 49408 fixme (bug 16607) Added convenience checkboxes for revisiondelete to history pages I would have used normal checkboxes except the the entire page is already a form for diffs, wish makes it hard to submit to two differing locations (article url and revisiondelete url)
08:56, 8 May 2009 IAlex 50316 fixme Removed StartProfiler.php from SVN control and added StartProfiler.sample file. … fixed in r50330.
08:55, 8 May 2009 IAlex 50324 resolved Followup to r50316: Fix inclusion of profiler in maintenance scripts. fixed in r50330.
08:23, 8 May 2009 Tim Starling 48837 fixme Fix url params for multi-item deletion by converting to CVS Flawed (as per my comment on r49408) but better than what's live already so I'm deploying it.
08:18, 8 May 2009 Tim Starling 49408 fixme (bug 16607) Added convenience checkboxes for revisiondelete to history pages This style of UI easily be done without any JavaScript dependency. For instance, look at the Special:Undelete code. This is not acceptable as it is.
03:43, 8 May 2009 Arash Boostani 50245 fixme Added an extension, called EditSectionHiliteLink, that highlights the appropriat… Thanks for the examples. I definitely see the issue. We're trying to decide the best way to move forward on this, which will probably take a couple of days, so I'll update this page with the plan. In the meantime, this functionality is off by default, so there shouldn't be any adverse effects.
23:03, 7 May 2009 Aaron Schulz 50316 fixme Removed StartProfiler.php from SVN control and added StartProfiler.sample file. … What script? I'm not getting that error.
22:52, 7 May 2009 Brion VIBBER 50316 fixme Removed StartProfiler.php from SVN control and added StartProfiler.sample file. … r50324 still leaves this: Fatal error: Call to undefined function wfProfileIn() in /Library/WebServer/Documents/trunk/includes/Setup.php on line 22
18:36, 7 May 2009 IAlex 50316 fixme Removed StartProfiler.php from SVN control and added StartProfiler.sample file. … This broke maintenance scripts: Fatal error: require_once() [function.require]: Failed opening required 'StartProfiler.php' (include_path='.:/usr/lib/php') in maintenance/commandLine.inc on line 47
23:35, 6 May 2009 Simetrical 50245 fixme Added an extension, called EditSectionHiliteLink, that highlights the appropriat… The following wikitext: <pre><div> ==Foo== </div> abc ==Bar== </pre> produces output like the following (omitting the edit link and other garbage in the h2 for clarity): <pre><div> <div id="section_0_container"><h2>Foo</h2> </div> <p>abc </p> </div><div id="section_1_container"><h2>Bar</h2></div> </…
22:48, 6 May 2009 Rainman 50207 fixme Redesign of the "new search UI" per Trevor's design plans from usability wiki: The result count issue fixed in r50282. As for javascript toggle, yes, looks like a good idea, I'll add it to the rest of the JS I have planned.
18:28, 6 May 2009 Arash Boostani 50245 fixme Added an extension, called EditSectionHiliteLink, that highlights the appropriat… I've tested both of the scenarios - a header within a manually entered div and a header within a table - and it works as expected. I agree that this can probably be done through DOM, but it would be slow for large and complex sections. I felt that doing it as the parser renders the output was the mo…
18:22, 6 May 2009 Raymond 50264 reverted (bug 18695) Change from wfMsg to wfMsgExt with array('parse', 'replaceafter' ) a… Per above comment reverted in r50274
16:49, 6 May 2009 Aude 50207 fixme Redesign of the "new search UI" per Trevor's design plans from usability wiki: If you want to try the advanced search on my demo, good keywords to try would be "art", "gallery", "museum", etc.
16:47, 6 May 2009 Aude 50207 fixme Redesign of the "new search UI" per Trevor's design plans from usability wiki: The new search interface looks good. Though, one thing that has long bothered me about the search page is having no toggle for mass selecting or deselecting all the namespace checkboxes when doing an "advanced" search. I know you can do that with the shift key, but it doesn't work ideally for me, …
15:57, 6 May 2009 Jan Luca 50264 reverted (bug 18695) Change from wfMsg to wfMsgExt with array('parse', 'replaceafter' ) a… I don't know the extensions, too. Maybe see the autor this problem
15:46, 6 May 2009 Simetrical 50245 fixme Added an extension, called EditSectionHiliteLink, that highlights the appropriat… Actually, I haven't tested this, but won't it create invalid XHTML in many cases? E.g., <pre><div> ==Section== </div></pre> There are likely to be many cases like this, where someone wants to mark up a header, or put headers inside tables, etc. I'm pretty sure I've seen implementations of this …
15:44, 6 May 2009 Raymond 50265 reverted (bug 18695) Fixes for r50264 Fixme per comment in r50264.
15:44, 6 May 2009 Raymond 50264 reverted (bug 18695) Change from wfMsg to wfMsgExt with array('parse', 'replaceafter' ) a… Sorry, I have not seen the following in my first review. But wfMsgExt('datasearch_match_words_lang', array( 'parse' ) , $languageName, $searchText) and wfMsgExt('datasearch_match_words', array( 'parse' ) , $searchText) cannot work because $1 in the message is a text ($languageName / $searchText)…
15:35, 6 May 2009 Jan Luca 50264 reverted (bug 18695) Change from wfMsg to wfMsgExt with array('parse', 'replaceafter' ) a… Fixed in r50265
15:30, 6 May 2009 Raymond 50264 reverted (bug 18695) Change from wfMsg to wfMsgExt with array('parse', 'replaceafter' ) a… * Why 'replaceafter'? * The English messages of the i18n file needs an update too.
15:14, 6 May 2009 Arash Boostani 50245 fixme Added an extension, called EditSectionHiliteLink, that highlights the appropriat… Good point. Fixed in r50263.
14:53, 6 May 2009 Catrope 50259 resolved Internationalisation: three messages needing PLURAL, per requests in According to wfMsgExt()'s documentation, contradictory options such as parse and parsemag shouldn't be used together.
14:21, 6 May 2009 Catrope 50130 fixme API: (bug 18533) Add readonly message to meta=siteinfo output Maybe not, but I'm not sure HTML is ideal either; also, if people really care they can always run the wikitext through action=parse
13:58, 6 May 2009 Simetrical 50245 fixme Added an extension, called EditSectionHiliteLink, that highlights the appropriat… All new globals need to be initialized in DefaultSettings.php. Otherwise you can have register_globals vulnerabilities. Also, DefaultSettings.php is used for documentation: currently $wgSectionContainers isn't documented in any central place in the code.
08:53, 6 May 2009 Rainman 50208 fixme Smarter searchall handling, don't rewrite the all prefix but have an extra argum… I've already updated the backend on all servers to the latest lucene-search version so it handles both the old and new way. So, server-wise this is ready to roll out.
08:30, 6 May 2009 ThomasV 50206 fixme scrollbar fixed in 50253
04:19, 6 May 2009 Arash Boostani 50245 fixme Added an extension, called EditSectionHiliteLink, that highlights the appropriat… Yes, it's related. I fixed it in r50251. There function call was passing references, but not indicating them properly.
03:29, 6 May 2009 Voice of All 50245 fixme Added an extension, called EditSectionHiliteLink, that highlights the appropriat… 'Warning: Call-time pass-by-reference has been deprecated in C:\WAMPServer\www\MW_alpha\includes\parser\Parser.php on line 3704' Related?
00:20, 6 May 2009 Brion VIBBER 50064 ok Add lots more information to the siteinfo query. Based on the JS variable list. + $data['lang'] = $GLOBALS['wgLanguageCode']; ^ Shouldn't this be wgContLanguageCode? It's not new though, so no rush. :)
00:10, 6 May 2009 Brion VIBBER 50121 ok Change to show the checkout revision number by default in Special:Version, per C… Perfect, thanks! :D
00:02, 6 May 2009 Brion VIBBER 50130 fixme API: (bug 18533) Add readonly message to meta=siteinfo output This seems to be passing wikitext straight out... is that ideal formatting?
23:18, 5 May 2009 Brion VIBBER 50246 ok Inadvertently committed an extension to the extension directory, so I am now rem… Fixup to r50245
23:18, 5 May 2009 Brion VIBBER 50245 fixme Added an extension, called EditSectionHiliteLink, that highlights the appropriat… In wrong dir; removed in r50246
22:34, 5 May 2009 Brion VIBBER 50126 resolved API: Add PHP and database version to meta=siteinfo output Thanks!
22:13, 5 May 2009 Brion VIBBER 50187 ok (bug 18666) Add show/hide to deleted diffs Hit fixme by mistake, looks fine. :)
21:53, 5 May 2009 ThomasV 50206 fixme scrollbar it looks like there were issues for early versions of firefox (earlier than 1.1) http://annevankesteren.nl/2004/09/overflow
21:44, 5 May 2009 Brion VIBBER 50207 fixme Redesign of the "new search UI" per Trevor's design plans from usability wiki: Looks great! One problem I noticed, using the default search backend... the total result count is wrong, giving the number of hits returned within our search limit -- eg: "Results 21 - 24 of 4 for the" for the second page of results for the word "the".
21:38, 5 May 2009 Brion VIBBER 50208 fixme Smarter searchall handling, don't rewrite the all prefix but have an extra argum… Does this require a server-side update for the new parameter? If so we need to make sure updates are coordinated.
21:37, 5 May 2009 Brion VIBBER 50206 fixme scrollbar IIRC overflow-x and overflow-y aren't universally supported. Any cross-browser issues?
21:24, 5 May 2009 Brion VIBBER 50127 reverted OpenSearchXml: (bug 18003) action=opensearch help shows "format - " Reverted in r50240. This changes the default format from json to xmlfm, breaking anything which would have attempted to use standard json search suggestions, such as when $wgEnableMWSuggest is set.
13:07, 5 May 2009 Tim Starling 50132 resolved API: Set $wgTitle to a dummy title in api.php, and introduce defined('API') as a… Defines are global and should be prefixed to avoid conflicts with PHP modules. I'll let it pass for unlikely names but "API" is a bit generic.
13:01, 5 May 2009 Tim Starling 49999 ok API: Fix list=deletedrevs paging bug pointed out by Splarka on IRC Can you explain the bug and provide a rationale for backporting?
12:53, 5 May 2009 Tim Starling 49151 new (bug 18311) Purging images via the API now works. This is why we should use arti… The bug is not severe enough for a backport.
11:09, 5 May 2009 IAlex 50192 resolved * (bug 6802) profileinfo.php now also work on other database servers than MySQL fixed in r50216.
09:48, 5 May 2009 Catrope 47473 resolved Fix regression in ForeignAPIRepo because somebody changed how the API returned d… Done in r50215
First page
First page
Previous page
Previous page
Last page
Last page
Views
Personal tools
Toolbox