Aaron Schulz [Mon, 20 Oct 2008 22:01:55 +0000 (22:01 +0000)]
(bug 16055) Fix duplicated ids on deleted diff view
Rotem Liss [Mon, 20 Oct 2008 16:36:27 +0000 (16:36 +0000)]
Localization fix.
Rotem Liss [Mon, 20 Oct 2008 16:28:48 +0000 (16:28 +0000)]
Localization update for he.
Siebrand Mazeland [Mon, 20 Oct 2008 15:43:04 +0000 (15:43 +0000)]
Localisation updates for core messages from Betawiki (2008-10-20 17:35 CEST)
Raimond Spekking [Mon, 20 Oct 2008 13:11:47 +0000 (13:11 +0000)]
Follow up for r41672: 'nosuchuser' is used twice
Raimond Spekking [Mon, 20 Oct 2008 11:28:12 +0000 (11:28 +0000)]
Per r42245: Document available parameters
Fran Rogers [Mon, 20 Oct 2008 06:46:09 +0000 (06:46 +0000)]
Convert literal tabs to 	 when passing them through Tidy, to prevent them from being clobbered.
Fran Rogers [Mon, 20 Oct 2008 06:14:08 +0000 (06:14 +0000)]
For consistency, make the DeletedContributions pager use (Latest | Earliest) instead of (first | last)
Fran Rogers [Mon, 20 Oct 2008 06:03:28 +0000 (06:03 +0000)]
Use the ContributionsToolLinks hook on Deleted Contributions. Patch by FunPika.
Andrew Garrett [Mon, 20 Oct 2008 04:25:19 +0000 (04:25 +0000)]
Oops, committed in includes. This has the rest of the changes.
Andrew Garrett [Mon, 20 Oct 2008 04:24:39 +0000 (04:24 +0000)]
Revert r38686, per comments on CodeReview (in brief, the backslashes and such are very annoying. This is not LaTeX!). Took quite a bit of conflict resolution.
Andrew Garrett [Mon, 20 Oct 2008 01:27:10 +0000 (01:27 +0000)]
Add revision ID to revision-info-current, revision-info messages, for diffs and stuff.
Brion Vibber [Mon, 20 Oct 2008 00:16:29 +0000 (00:16 +0000)]
Back out r42188 for now "* Disable this entirely unless curl is available so we don't blow up. Needs a-fixin
* Move the curl calls to http::request() so we can at least start to make this work for the file_get_contents() fallback"
Sticking CURL-specific options in the Http::get call seems unwise as that ties you to a specific backend, assuming Http::get won't change. Further, it seems that if it does use the backend, it just plain won't work -- the returned data will be thrown away instead of saved to the target file.
Brion Vibber [Sun, 19 Oct 2008 23:59:39 +0000 (23:59 +0000)]
Back out r42182 for now "Move UDP stuff to new UDP class"
UDP isn't a very clear name for this, especially since we use UDP protocols for multiple different things!
This class should probably be genericized a bit for _change notifications_, which there might be multiple backend implementations for, including the UDP->IRC bot gateway.
Brion Vibber [Sun, 19 Oct 2008 23:53:52 +0000 (23:53 +0000)]
Back out r42181 "(bug 6179) Actually the log for people who can't edit"
There's no link to the full log; the last entry may not always be very clear. It's also pretty long and technical, filled with crap like:
23:49, 19 October 2008 WikiSysop (Talk | contribs) changed protection level for "Main Page" [edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite) (hist)
It would probably be more user-friendly to show the comment describing the purpose of the protection... which of course might not have anything to do with the last log entry (which might be "changing expiration date" or something).
Backing out for now...
Brion Vibber [Sun, 19 Oct 2008 23:08:23 +0000 (23:08 +0000)]
Backing out r42128 for now "added 'UnwatchArticle', 'WatchArticle' and 'WatchArticleComplete' in response to code review of rev 42109"
Article::newFromId() does an individual id->title lookup in the database, making this potentially very expensive -- we could run thousands of queries in a row.
Siebrand Mazeland [Sun, 19 Oct 2008 22:17:39 +0000 (22:17 +0000)]
Localisation updates for core messages from Betawiki (2008-10-19 23:40 CEST)
Aaron Schulz [Sun, 19 Oct 2008 21:20:35 +0000 (21:20 +0000)]
Tweak message
Siebrand Mazeland [Sun, 19 Oct 2008 19:17:47 +0000 (19:17 +0000)]
Remove hard coded colon in h2 after loginerror
Siebrand Mazeland [Sun, 19 Oct 2008 14:04:41 +0000 (14:04 +0000)]
Localisation updates. Fix syntax error.
Siebrand Mazeland [Sun, 19 Oct 2008 14:00:10 +0000 (14:00 +0000)]
Localisation updates for special page aliases from Betawiki
Siebrand Mazeland [Sun, 19 Oct 2008 10:30:24 +0000 (10:30 +0000)]
Localisation updates for core messages from Betawiki (2008-10-19 12:13 CEST)
Aaron Schulz [Sun, 19 Oct 2008 06:40:00 +0000 (06:40 +0000)]
(bug 6955) RSS feed for Special:Contributions/newbies
Aaron Schulz [Sun, 19 Oct 2008 06:31:34 +0000 (06:31 +0000)]
Actually use $this->stripComment()
Tim Starling [Sun, 19 Oct 2008 06:10:53 +0000 (06:10 +0000)]
Refactored and added orphan blob search
Aaron Schulz [Sun, 19 Oct 2008 06:05:57 +0000 (06:05 +0000)]
Code style tweak
Aaron Schulz [Sun, 19 Oct 2008 05:47:23 +0000 (05:47 +0000)]
Add getVisibility()
Tim Starling [Sun, 19 Oct 2008 04:41:28 +0000 (04:41 +0000)]
Some initial work on external storage recompression. Committing now in case I accidentally destroy it in a fit of refactoring.
Nicolas Dumazet [Sun, 19 Oct 2008 04:36:50 +0000 (04:36 +0000)]
(bug 15934) spacing on WhatLinksHere
Nicolas Dumazet [Sun, 19 Oct 2008 04:11:02 +0000 (04:11 +0000)]
(bug 13701) {{NUMBEROFVIEWS}} magic word to show number of total views.
Chad Horohoe [Sun, 19 Oct 2008 02:25:10 +0000 (02:25 +0000)]
(bug 16016) Fix typo in setup function getShellLocale()
Aaron Schulz [Sat, 18 Oct 2008 23:36:41 +0000 (23:36 +0000)]
Add $conds param
Alexandre Emsenhuber [Sat, 18 Oct 2008 20:16:26 +0000 (20:16 +0000)]
Fix SQL query so that it works properly
Raimond Spekking [Sat, 18 Oct 2008 19:46:31 +0000 (19:46 +0000)]
Add 'wantedtemplates-summary' to the ignore list
Alexandre Emsenhuber [Sat, 18 Oct 2008 19:03:13 +0000 (19:03 +0000)]
Moving SpecialWantedTemplates.php to SpecialWantedtemplates.php to fix error on case sensitive file systems, will commit AutoLoader fix after this commit
Alexandre Emsenhuber [Sat, 18 Oct 2008 18:23:07 +0000 (18:23 +0000)]
svn:eol-style native
Danny B [Sat, 18 Oct 2008 18:06:20 +0000 (18:06 +0000)]
* fixing i18n of r42201
Danny B [Sat, 18 Oct 2008 17:58:51 +0000 (17:58 +0000)]
* back the UDP class accidentaly removed in r42201
Danny B [Sat, 18 Oct 2008 17:32:40 +0000 (17:32 +0000)]
* A new special page to list wanted templates
Siebrand Mazeland [Sat, 18 Oct 2008 15:20:50 +0000 (15:20 +0000)]
* set fallback to Russian
* add localised namespace, skin names, special page names, and magic words
Alexandre Emsenhuber [Sat, 18 Oct 2008 10:14:02 +0000 (10:14 +0000)]
Per Catrope's request, commiting patch on bug 16018:
* (bug 16018) Added uccontinue parameter to list=usercontribs so paging works properly when multiple users are queried or a userprefix is used
Alexandre Emsenhuber [Sat, 18 Oct 2008 10:09:19 +0000 (10:09 +0000)]
Per Catrope's request, commiting patch on bug 16017:
* (bug 16017) list=categorymembers sets invalid continue parameters for sortkeys containing pipes
Chad Horohoe [Sat, 18 Oct 2008 00:48:33 +0000 (00:48 +0000)]
* Disable this entirely unless curl is available so we don't blow up. Needs a-fixin
* Move the curl calls to http::request() so we can at least start to make this work for the file_get_contents() fallback
Aaron Schulz [Fri, 17 Oct 2008 23:52:57 +0000 (23:52 +0000)]
Code/style cleanup
Aaron Schulz [Fri, 17 Oct 2008 23:46:21 +0000 (23:46 +0000)]
Move UDP stuff to new UDP class
Aaron Schulz [Fri, 17 Oct 2008 23:25:46 +0000 (23:25 +0000)]
(bug 6179) Actually the log for people who can't edit
Brion Vibber [Fri, 17 Oct 2008 22:20:07 +0000 (22:20 +0000)]
* (bug 1306) 'Email user' link no longer shown on user page when emailing
is not available due to lack of confirmed address or disabled preference
Raimond Spekking [Fri, 17 Oct 2008 20:38:26 +0000 (20:38 +0000)]
* (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date preferences.
Raimond Spekking [Fri, 17 Oct 2008 20:06:37 +0000 (20:06 +0000)]
* (bug 15717) Set $separatorTransformTable for language 'eu'
* Fixes reference to the no longer present LanguageIs.php on Language.php
Roan Kattouw [Fri, 17 Oct 2008 14:26:56 +0000 (14:26 +0000)]
* API: (bug 15995) Added cmstartsortkey and cmendsortkey parameters to list=categorymembers, mirroring cmstart and cmend for timestamps
* Drop useless and possibly filesorting ORDER BY cl_to from list=categorymembers
* Handle ORDER BY cl_sortkey, cl_from (possibly with DESC appended to each of them) with addWhereRange() calls
Siebrand Mazeland [Fri, 17 Oct 2008 10:16:47 +0000 (10:16 +0000)]
Update 'emailpagetext'. This message is only shown if an e-mail can be sent.
Tim Starling [Fri, 17 Oct 2008 09:11:43 +0000 (09:11 +0000)]
Revert revert r41578 of r41531 and fix compressOld.php.
Aaron Schulz [Fri, 17 Oct 2008 01:35:54 +0000 (01:35 +0000)]
Refactor contribs to use the newer class extension method (about to do bug 6955)
Aaron Schulz [Fri, 17 Oct 2008 01:31:12 +0000 (01:31 +0000)]
whitespace :)
Aaron Schulz [Fri, 17 Oct 2008 01:25:31 +0000 (01:25 +0000)]
Break long line
Aaron Schulz [Fri, 17 Oct 2008 00:46:50 +0000 (00:46 +0000)]
(bug 16009) Remove extra title param
Shinjiman [Thu, 16 Oct 2008 19:26:36 +0000 (19:26 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Siebrand Mazeland [Thu, 16 Oct 2008 14:56:44 +0000 (14:56 +0000)]
Add Eastern Mari. Forgot to commit this in r42112
Siebrand Mazeland [Thu, 16 Oct 2008 14:49:12 +0000 (14:49 +0000)]
Add 'mhr'. Forgot to commit this in r42112
Roan Kattouw [Thu, 16 Oct 2008 14:28:49 +0000 (14:28 +0000)]
(bug 15985) Fix acfrom and aifrom breakage when sorting in descending order
Raimond Spekking [Thu, 16 Oct 2008 12:29:40 +0000 (12:29 +0000)]
Add class="error" for "longpageerror"
Tim Starling [Thu, 16 Oct 2008 11:32:44 +0000 (11:32 +0000)]
Use a variable for max shell time, don't use php.ini, like we do for memory and file size.
Jason Richey [Wed, 15 Oct 2008 23:53:38 +0000 (23:53 +0000)]
added 'UnwatchArticle', 'WatchArticle' and 'WatchArticleComplete' in response to code review of rev 42109
Danny B [Wed, 15 Oct 2008 22:50:14 +0000 (22:50 +0000)]
* added line-wraps to make the XHTML output easier legible
Jason Richey [Wed, 15 Oct 2008 22:12:46 +0000 (22:12 +0000)]
added a check for a null value when adding session values
Ilmari Karonen [Wed, 15 Oct 2008 21:51:21 +0000 (21:51 +0000)]
Switch order of apple-touch-icon and favicon links in HTML head section to work around a quirk in
Konqueror's handling of those links. Should not affect other browsers in any way.
Brion Vibber [Wed, 15 Oct 2008 21:35:19 +0000 (21:35 +0000)]
Back out r41630 -- merging of Nuke extension to core
Nuke started as a crappy hack, and it's still pretty crappy. ;) Needs better reversibility tools etc before we consider merging to core.
Brion Vibber [Wed, 15 Oct 2008 21:20:13 +0000 (21:20 +0000)]
Fix for r41837 -- apply HTML stripping to explicit alt text as well as implicit.
Added parser test cases to confirm.
Brion Vibber [Wed, 15 Oct 2008 21:05:39 +0000 (21:05 +0000)]
Pull out incorrect fixme comments from r42075
Brion Vibber [Wed, 15 Oct 2008 20:57:02 +0000 (20:57 +0000)]
Pulling out r42105 for now -- "Added 2 hooks. One in Parser to allow custom handling of namespace links, and one in EditPage, to allow custom output/handling when a user has no edit rights"
The namespace parsing thing feels very hacky and grabs bits out of an internal implementation function which doesn't feel like a stable interface.
Would recommend thinking about this and coming up with a more serious stable interface for it.
Siebrand Mazeland [Wed, 15 Oct 2008 20:43:48 +0000 (20:43 +0000)]
Localisation updates for core messages from Betawiki (2008-10-15 22:11 CEST)
Jason Richey [Wed, 15 Oct 2008 20:40:14 +0000 (20:40 +0000)]
updated REALEASE-NOTES following my change concerning the watchlist hook (extensions using this hook may be affected)
Chad Horohoe [Wed, 15 Oct 2008 20:38:50 +0000 (20:38 +0000)]
Let's do this again, without all the breakages... (bug 15925) Properly bold rc bytes changed in all cases. Patch by Happy-melon and FunPika.
Jason Richey [Wed, 15 Oct 2008 20:31:53 +0000 (20:31 +0000)]
added "UnwatchArticleComplete" hook to watchlisteditor so that it gets called when users use the editor rather than clicking an "unwatch" link
Jason Richey [Wed, 15 Oct 2008 19:32:59 +0000 (19:32 +0000)]
Added 2 hooks. One in Parser to allow custom handling of namespace links, and one in EditPage, to allow custom output/handling when a user has no edit rights
Aaron Schulz [Wed, 15 Oct 2008 14:23:23 +0000 (14:23 +0000)]
Bump limit to 50
Brion Vibber [Wed, 15 Oct 2008 00:06:51 +0000 (00:06 +0000)]
Revert broken r42078 "(bug 15925) Properly bold rc bytes changed in all cases. Patch by Happy-melon."
Bad HTML output breaks things entirely, plus the code is much harder to read. Plus it's unclear if this behavior is desirable.
Chad Horohoe [Tue, 14 Oct 2008 12:56:25 +0000 (12:56 +0000)]
(bug 15925) Properly bold rc bytes changed in all cases. Patch by Happy-melon.
Roan Kattouw [Tue, 14 Oct 2008 12:46:11 +0000 (12:46 +0000)]
(bug 15945) API: Use User::useRCPatrol() and useNPPatrol() rather than isAllowed('patrol') in list=recentchanges
Andrew Garrett [Tue, 14 Oct 2008 10:50:26 +0000 (10:50 +0000)]
Mark a FIXME in RecentChange.php - We shouldn't be treating log entries as page changes. This causes a few problems with deletions.
Alex Z [Mon, 13 Oct 2008 22:39:53 +0000 (22:39 +0000)]
* (bug 1250) Let users use "show preview" and "show changes" even if the wiki is set to read-only mode.
Brion Vibber [Mon, 13 Oct 2008 21:50:16 +0000 (21:50 +0000)]
Quick hack: add $wgMaxAnimatedGifArea so we don't try to render animated thumbs for huge animated GIFs.
'Tugra Mahmuds II Big Size.gif' on Commons otherwise seems to eat as much CPU and memory as you can throw at it (1,876 × 1,500 pixel, file size: 4.36 MB, MIME type: image/gif)
Ryan Lane [Mon, 13 Oct 2008 19:48:20 +0000 (19:48 +0000)]
Removing $result from UserLoadAfterLoadFromSession to match User.php
Ryan Lane [Mon, 13 Oct 2008 19:26:16 +0000 (19:26 +0000)]
Fixing documentation line for UserLoadAfterLoadFromSession
Ryan Lane [Mon, 13 Oct 2008 19:23:27 +0000 (19:23 +0000)]
Removing $result from UserLoadAfterLoadFromSession hook, as it was unused.
Brion Vibber [Mon, 13 Oct 2008 19:22:14 +0000 (19:22 +0000)]
Fix poem parser test cases not quite fixed up from r42012
2 previously failing test(s) now PASSING! :)
* nested <poem><nowiki> [Fixed between 13-Oct-2008 18:22:08, 1.14alpha (r42038) and now]
* nested <poem><nowiki> with formatting [Fixed between 13-Oct-2008 18:22:08, 1.14alpha (r42038) and now]
Alexandre Emsenhuber [Mon, 13 Oct 2008 19:15:46 +0000 (19:15 +0000)]
Fatal error: Call to undefined function getInterwikiCacheEntry() in ./includes/Interwiki.php on line 79
Aaron Schulz [Mon, 13 Oct 2008 19:13:54 +0000 (19:13 +0000)]
Add debug log item for r42040
Aaron Schulz [Mon, 13 Oct 2008 19:08:27 +0000 (19:08 +0000)]
Use $dbw->addQuotes :)
Ryan Lane [Mon, 13 Oct 2008 19:00:54 +0000 (19:00 +0000)]
Adding hook UserLoadAfterLoadFromSession to fix bug 14178
Aaron Schulz [Mon, 13 Oct 2008 18:49:43 +0000 (18:49 +0000)]
Add quotes
Brion Vibber [Mon, 13 Oct 2008 18:43:55 +0000 (18:43 +0000)]
Cleanup for r42022/r42023 interwiki stuff
* Remove duplicate code in Interwiki::isValidInterwiki(), which should help avoid future drift between the two copies
* Early return on prefix = '', we know it won't be valid :)
* Dump extra isValidInterwikiCached function -- just go through the regular fetch() path, it doesn't do much more processing.
* Simplify Title codepath in full URL generation to ensure we never call an invalid object
Aaron Schulz [Mon, 13 Oct 2008 18:41:09 +0000 (18:41 +0000)]
(bug 6464) Check for session id collisions by checking cookie user ID against session user ID
Alexandre Emsenhuber [Mon, 13 Oct 2008 18:38:01 +0000 (18:38 +0000)]
Revert r41506 and make LoadBalancer::openForeignConnection() call Database::tablePrefix() on successful new connection
Aaron Schulz [Mon, 13 Oct 2008 17:27:44 +0000 (17:27 +0000)]
Allow no prefix here
Aaron Schulz [Mon, 13 Oct 2008 15:40:02 +0000 (15:40 +0000)]
Improve hidden field checks for bug 1181
Aaron Schulz [Mon, 13 Oct 2008 15:02:02 +0000 (15:02 +0000)]
Comment out accidentally committed code from r42020; didn't mean to commit just yet
Aaron Schulz [Mon, 13 Oct 2008 14:48:17 +0000 (14:48 +0000)]
(bug 1150) Do not skip edit conflict and override just because editing user was the last to edit. This caused removal of edits if a user edit conflicts, merges/automerges, then presses back (such as fixing a typo) and saves again. Check all users since edit time instead. If they are *all* the editing user, then go ahead and skip.
Tim Starling [Mon, 13 Oct 2008 14:19:25 +0000 (14:19 +0000)]
Fixed getSlavePos() to use the SQL thread fields, not the IO thread fields.
Matt Johnston [Mon, 13 Oct 2008 09:31:46 +0000 (09:31 +0000)]
Fix r42022, always returning true for isValidInterwiki as I forgot to add the check.