Sam Reed
fb627b636a
Followup r71662
...
Update fname (same for DatabaseMysql)
Add missing spaces, remove superfluous makeList() call
2010-08-26 22:23:03 +00:00
Sam Reed
ec744522af
I really do hate whitespace
2010-08-26 22:12:01 +00:00
Sam Reed
ca6dc55a0d
* (bug 24724) list=allusers is out by 1 (shows total users - 1)
2010-08-26 22:09:29 +00:00
Roan Kattouw
6c4e62ef32
Merge r71750 to trunk: let wfTimestamp() accept TS_RFC2822 as an input format in addition to output
2010-08-26 21:02:12 +00:00
Aryeh Gregor
17aabb2d00
Style fixes for Linker.php
...
Mostly stylize.php, some manual. As usual, if you're seeing this in a
blame, use "svn blame -x -w" or "git blame -w", as appropriate.
2010-08-26 19:40:29 +00:00
Platonides
ff19111737
When the CSRF token on is not available in the session, show the
...
'you have cookies disabled' message instead of "Session problem,
canceled to avoid session hijacking"
2010-08-26 18:28:33 +00:00
Max Semenik
6434168d5d
Temporary plug for bug 24939 (interwiki creation during installation fails on SQLite), before we switch to new-installer.
2010-08-26 15:47:18 +00:00
Sam Reed
84d8dd59cd
Followup r71662, remove debug code
2010-08-26 14:14:14 +00:00
Sam Reed
dcc8ccddd3
Tweak to insertOnDupeUpdate in DatabaseMysql to split how wanted ( foo = bar )
2010-08-25 23:00:27 +00:00
Siebrand Mazeland
803ffd7963
Localisation updates for core and extension messages from translatewiki.net (2010-08-25 21:36 UTC)
2010-08-25 22:01:30 +00:00
Sam Reed
00a9c4f253
Fill out insertOrUpdate in DatabaseBase, rather than blank stub. Followup to r71634
2010-08-25 21:46:45 +00:00
Sam Reed
ebb8c9f929
Improve comment for $uniqueIndexes r71644
2010-08-25 19:08:52 +00:00
Sam Reed
931d48c3fc
Replace todo with documentation with partial
...
Move brace
2010-08-25 18:50:36 +00:00
Aryeh Gregor
839491a18c
Blacklist % in HTML id's
...
As pointed out by entlinkt at bug 24918, this could cause problems --
browsers don't interpret percent escapes in fragments consistently, so
any percent sign that might be part of an escape could be a problem.
For simplicity, just strip all of them.
2010-08-25 17:56:03 +00:00
Sam Reed
b1ec616665
Move insertOnDupeUpdate (and rename to insertOrUpdate) to DatabaseMysql. Add todo/fixme in insertOrUpdate in DatabaseBase
...
Add some braces
2010-08-25 17:45:00 +00:00
Sam Reed
e04cd31791
Change usages of Database:: for function names in DatabaseMssql to DatabaseMssql::
2010-08-25 15:58:58 +00:00
Sam Reed
0b521dbbf2
Braces for MaxSem
2010-08-25 15:38:32 +00:00
Sam Reed
6bf4878668
Followup r71593 - Spaces, I *still* hate you
2010-08-25 15:26:45 +00:00
Sam Reed
52a537c9df
Followup r71609 add missing $
2010-08-25 02:24:54 +00:00
Sam Reed
301a229768
Update documentation - Database:: to DatabaseBase:: considering Database:: is some legacy alias for DatabaseMySql
2010-08-25 01:24:47 +00:00
Sam Reed
9ca9ae5836
Create insertOnDupeUpdate, called by insert
...
Will be using soon
2010-08-25 01:03:43 +00:00
Sam Reed
40bb58a232
Param and return documentation for insert
2010-08-25 00:18:47 +00:00
Siebrand Mazeland
95f4bc1b3c
Localisation updates for core and extension messages from translatewiki.net (2010-08-24 22:46 UTC)
2010-08-24 23:02:39 +00:00
Sam Reed
bb6b4ba0cb
Whitespace, I hate you.
2010-08-24 22:44:44 +00:00
Sam Reed
398edb8d08
Fixup whitespace from r71592
...
if ( !($buf == self::$png_sig) ) { to if ( $buf != self::$png_sig ) {
Add a couple of braces
2010-08-24 22:34:44 +00:00
Sam Reed
4870b31eee
Move unreachable $this->mConn = false in DatabaseSqlite
2010-08-24 22:04:49 +00:00
Sam Reed
8a01281913
Remove some unreachable code (usually returns after throwing exceptions)
...
Fixup call of method after return in DatabaseMssql by using a temp
2010-08-24 22:03:18 +00:00
Niklas Laxström
ea8428af0f
Added a hook into MWNamespace::getCanonicalNamespaces() to provide safe way to
...
define new namespaces in extensions.
Without the hook the list could be initialised too early and some namespaces
would be left undefined. Was causing problems at translatewiki.net.
2010-08-24 19:58:55 +00:00
Jeroen De Dauw
49177388a3
Follow up to r71110, use of static var instead of global var, as suggested by Platonides
2010-08-24 14:58:35 +00:00
Tim Starling
93565e3f82
Fixes for new ImageMagick:
...
* (bug 24824) Support ImageMagick 6.5.6-2+ JPEG decoder size hint, to reduce memory usage when such an ImageMagick is used for scaling.
* Removed -size option since it doesn't act as a JPEG decoder size hint with recent ImageMagicks, and it may cause undesired behaviour in the future since it's documented to do something different now.
* Disable multithreaded behaviour in recent ImageMagick, to avoid a deadlock when a resource limit such as $wgMaxShellMemory is hit.
* Fixed some comments.
Replaces WMF live hack.
2010-08-24 08:48:46 +00:00
Siebrand Mazeland
98c791b580
Localisation updates for core and extension messages from translatewiki.net (2010-08-24 06:24 UTC)
2010-08-24 06:37:29 +00:00
Sam Reed
b31d0cb758
Update SkinAfterContent hook to pass the current skin too
...
So we don't need nasty $wgTitle globals
2010-08-24 01:31:28 +00:00
Sam Reed
b1935513e0
arrray?
2010-08-23 22:52:37 +00:00
Sam Reed
48a042cbf6
Remove some unneeded whitespace
2010-08-23 22:18:05 +00:00
Platonides
6e176bf6c6
Try to improve the funciton comment of getETag() per r70809 CR. Adaptation of Nikerabbit proposal.
2010-08-23 21:54:45 +00:00
Platonides
b747b0dbb1
Use the common code at switch end if viewing the current version of a page using the permalink.
...
Title related r64876 and r64934 were not applied in that case, nor were they getting their
getRobotPolicy(), like other old revisions (noindex,nofollow).
2010-08-23 14:13:41 +00:00
Niklas Laxström
2b19fa7e3d
Fix yet another regression in r71342: NS_MAIN was dropped from valid namespaces, breaking at least opensearch
2010-08-23 08:46:13 +00:00
Siebrand Mazeland
c5c23218ce
Fix typo. Spotted by Hamilton Abreu.
2010-08-23 06:46:49 +00:00
Tim Starling
cfb918bae9
Fix complete breakage of new installer due to multiple ob_flush() calls with gzip handler enabled.
2010-08-23 02:31:13 +00:00
Philip Tzou
0f6c992519
follow up r69134. Change all of convertLinkToAllVariants()'s callers to call autoConvertToAllVariants().
2010-08-23 02:07:31 +00:00
Chad Horohoe
296d732bf4
Comment adjustment
2010-08-23 01:55:16 +00:00
Chad Horohoe
1f76c475d4
(bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also make wfTempDir() return a sane value for Windows on worst-case
2010-08-23 01:53:31 +00:00
Siebrand Mazeland
6e685defd7
Localisation updates for core and extension messages from translatewiki.net (2010-08-22 22:34 UTC)
2010-08-22 23:04:33 +00:00
Chad Horohoe
99d2eb2948
Followup r71441, break up messages by type, iterate over known types. Expand on info in box
2010-08-22 21:52:39 +00:00
Jack Phoenix
ff18d83b36
coding style tweaks
2010-08-22 21:34:44 +00:00
Jack Phoenix
25b3c47750
coding style tweaks for ajax.js
2010-08-22 21:14:36 +00:00
Jack Phoenix
7aaac84c40
properly capitalize the word "MediaWiki"
2010-08-22 21:07:43 +00:00
Chad Horohoe
b9de087296
Be consistent with all the child classes
2010-08-22 20:57:53 +00:00
Chad Horohoe
e0cb9ef9b6
Make getSoftwareLink() static so I can use it without instantiating (and opening) a bunch of databases I probably can't support. Can't have an abstract parent now, so throw an exception for anyone who writes a child class without bothering to implement it. All of this to add some helpful text links in an infobox in the installer :)
2010-08-22 20:55:07 +00:00
Chad Horohoe
30cb84c319
Kill oracle installer support until its more complete
2010-08-22 20:06:08 +00:00