Commit graph

16510 commits

Author SHA1 Message Date
Platonides
2db187bf7a Follow up r64324. Remove unneeded $wgUser->isAnon() check per Bryan. 2010-04-06 15:22:39 +00:00
Alexandre Emsenhuber
5bcf51aff0 * (bug 20049) Fixed in PHP notice in search highlighter that occurs in some cases
Please correct this if this is not the correct way to do it :)
2010-04-06 09:08:22 +00:00
Alexandre Emsenhuber
b52162a135 Let at least be consistent between the two header() calls (the other one is four lines below) 2010-04-05 19:30:38 +00:00
Chad Horohoe
974da20dfd Stop caring about ss_admins, we don't use it for anything anyway. Could probably be dropped from schema too. 2010-04-05 18:18:47 +00:00
Alexandre Emsenhuber
5fea872d38 * (bug 21916) Last-Modified header is now correct when outputting cached feed 2010-04-05 16:14:58 +00:00
Alexandre Emsenhuber
50fb850061 And while I'm a it, fix for r55903: canonical name is "Ipblocklist", not "BlockList" 2010-04-05 09:48:12 +00:00
Alexandre Emsenhuber
df682a69d1 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when viewing contributions of a blocked IP address 2010-04-05 09:20:07 +00:00
Alexandre Emsenhuber
0c0f5f6545 $fname -> __METHOD__/__FUNCTION__ 2010-04-04 18:33:57 +00:00
Alexandre Emsenhuber
a1d9ee26c2 * (bug 22918) Feed cache keys now use $wgRenderHashAppend (so that it doesn't mix between secure.wikimedia.org and normal sites)
* Modified the timestamp key to use all parameters, otherwise various entries are sharing the same timestamp key and thus some of them can be served even though they are out of date. Consider the following case:
** Two requests for feeds sharing the same timestamp key are done
** Someone edits a page (or whatever else that change the recentchanges table)
** A user request one of the two feed above, the feed is correctly re-generated and the timestamp key changed
** A request for the other feed is done, this time the timestamp is the one of the request just above and the cached version will be served (even though it should not)

Based on a patch by Bawolff.
2010-04-04 13:38:12 +00:00
Alexandre Emsenhuber
dc81854161 Avoid PHP notice about undefined variable $diffText if $wgFeedDiffCutoff is 0 2010-04-04 12:01:42 +00:00
Alexandre Emsenhuber
de0847f16c * (bug 22496) Viewing diff of a redirect page without specifying "oldid" parameter no longer makes the page displayed as being the redirect target 2010-04-04 08:55:01 +00:00
Alexandre Emsenhuber
6d42ca99c3 * Expand documentation a bit
* Cast to boolean, since those functions should return boolean
2010-04-03 21:07:57 +00:00
Alexandre Emsenhuber
81a778edca Allow [[MediaWiki:Activeusers-summary]] to be used 2010-04-03 18:52:13 +00:00
Alexandre Emsenhuber
b382c38827 * (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced changes list 2010-04-03 14:48:25 +00:00
Happy-melon
edd817184c Revert r64478 - April Fool's is well over. 2010-04-03 10:13:34 +00:00
Alexandre Emsenhuber
08ea1edfea Removed call to Title::invalidateCache() from Article::addTrackbacks(), this makes the page uncacheable if $wgUseTrackbacks is true 2010-04-03 07:46:12 +00:00
Jack Phoenix
d561849fca documentation tweak 2010-04-02 20:56:11 +00:00
Alexandre Emsenhuber
07171f23dd Per Nikerabbit, follow-up to r64522: use __METHOD__ 2010-04-02 19:51:21 +00:00
Alexandre Emsenhuber
c779e80b43 Fix notice: Use of undefined constant __FUNC__ - assumed '__FUNC__' in /Library/WebServer/Documents/phase3/includes/Article.php on line 1039 2010-04-02 17:32:56 +00:00
Alexandre Emsenhuber
92421b974b * (bug 19393) Feeds now format dates in user language rather than content language
There's no more need to do this with content language since the language code was added to the cache key in r58978.
2010-04-02 15:46:41 +00:00
Alexandre Emsenhuber
5700f36de1 * (bug 22867) "View source" tab is now only displayed if there's source text
* Removed comment which is no longer true since the new localisation cache
2010-04-02 08:00:40 +00:00
Alexandre Emsenhuber
975e69f7c1 * (bug 23024) Special:ListFiles now escapes file names correctly 2010-04-02 07:09:05 +00:00
Chad Horohoe
cadc248105 (bug 22935) image/x-ms-bmp mime type added for BMP files 2010-04-01 23:27:49 +00:00
Sam Reed
5ebfb332f3 svn:keywords Id for r64436 2010-04-01 22:38:29 +00:00
Alexandre Emsenhuber
203c3785f0 Fixed some doxygen warnings and documented a bit 2010-04-01 21:16:53 +00:00
Happy-melon
d01808060f Follow-up to r64478 - pull out debugging code 2010-04-01 12:44:42 +00:00
Alexandre Emsenhuber
bfdbcfbcf9 Removed unused variable 2010-04-01 12:05:46 +00:00
Mark A. Hershberger
c1e369912f followup r64465 — make happy-melon happy 2010-04-01 11:25:56 +00:00
Happy-melon
8f58352be6 Rewrite the parser in a more friendly and accessible implementation... 2010-04-01 10:50:43 +00:00
Mark A. Hershberger
c1afe8e84e follow up r64454 — change comment style 2010-04-01 00:35:14 +00:00
Trevor Parscal
b9037d51d9 Style bump for r64456. 2010-03-31 22:09:41 +00:00
Mark A. Hershberger
9c26ed06af Get rid of E_STRICT message 2010-03-31 19:50:46 +00:00
Matthew Britton
6001a45270 (bug 22290) Inconsistent presence of "comment" field in prop=revisions versus list=recentchanges 2010-03-31 15:26:17 +00:00
Matthew Britton
fb18f9d8e7 (bug 22868) don't list infinite block expiry date as "now" in API logevents 2010-03-31 14:44:35 +00:00
Matthew Britton
f83fb12d1d (bug 22339) "Go" result should be available through the API 2010-03-31 14:08:55 +00:00
Niklas Laxström
f33313abdc Fixed a bug in __construct 2010-03-31 10:10:49 +00:00
Mark A. Hershberger
4f771bb264 use class constant from r64403 2010-03-31 00:15:32 +00:00
Happy-melon
bec172cb54 Rationalise comment format. Slightly controversial, perhaps, but I've pretty much borked svn blame already :D Also other doc and spacing fixes. 2010-03-30 21:53:56 +00:00
Happy-melon
af56e348c1 Overhaul code format to coding conventions. 2010-03-30 21:20:05 +00:00
Mark A. Hershberger
234f54a88e * Set $titleObj to null by default on getWatchlistValue since it often isn't needed & check that it is set when it is needed. (follow up r64197).
* Refactoring ApiUpload & UploadBase to make it easier to extend & read.
* Use a class constant for the upload session key instead of a hard-coded-across-several-files value.
* Add UploadBase::appendToUploadFile() method to enable protocols that do incremental upload.
2010-03-30 19:10:10 +00:00
Alexandre Emsenhuber
6777ee052d And while I'm at it, fix PHP Notice: Undefined variable: params in /www/w/includes/api/ApiMain.php on line 511 2010-03-30 18:55:48 +00:00
Alexandre Emsenhuber
480de64bff Fix parse error: syntax error, unexpected '}' in includes/api/ApiMain.php on line 467 2010-03-30 18:40:23 +00:00
Mark A. Hershberger
545fdc8c8f Refactor ApiMain to make the code more readable. 2010-03-30 17:14:53 +00:00
Matthew Britton
5b691d2640 (bug 22910) Add Special:Unblock as an alias for the unblock form
Links of the form [[Special:Unblock/Username]] also work.
2010-03-30 15:36:53 +00:00
Platonides
318e4fa4ed (bug 21520) Anonymous previews now also give a warning about not being
logged in (anonpreviewwarning).
2010-03-29 22:44:59 +00:00
Alexandre Emsenhuber
55234801e1 Fixed some doxygen warnings 2010-03-29 20:10:29 +00:00
Tobias
2ca46efd6e (bug 22627) Remove PHP notice when deleting a page only hidden users edited. 2010-03-29 19:45:54 +00:00
Niklas Laxström
b4f9c12705 Fix syntax terrors 2010-03-29 19:18:58 +00:00
Max Semenik
3b1a10c0c6 Started tests for Message class, fixed one bug found by them 2010-03-29 14:30:42 +00:00
Niklas Laxström
206632ac47 Message::key() accepts message parameters as varargs. Renamed ::language() to ::inLanguage() 2010-03-29 14:08:23 +00:00