Chad Horohoe
985e8971c8
Get rid of StubUser. Constructing a user object isn't quite as intensive as it once was. It actually takes more time using the StubUser (construction + unstub on first call) than just initializing User::newFromSession() from the start. Either way, the real overhead starts when you start calling methods (for the nitpicky, the optimization was only about 20µs. The real gain here was eliminating a StubObject)
2010-08-12 17:10:00 +00:00
Max Semenik
ad688fc6fd
DatabaseSqlite::sourceStream(): convert CHAR types, allow more spaces
2010-08-12 16:28:11 +00:00
Max Semenik
a2449fea86
maintenance/sqlite.php: added the ability to check .sql files for SQLite compatibility
2010-08-12 16:06:47 +00:00
Platonides
5a8d16a188
Follow up r69543, r70608
...
Remove unused $wgSuperUser and superflous non-global $wgDBsuperuser.
2010-08-12 14:50:09 +00:00
Platonides
f971e24aee
Added missing $ to variable.
...
Removing (unused) global $wgDBts2schema about Postgres tsearch2
2010-08-12 14:46:32 +00:00
Platonides
11399c3230
Follow up r70520. Use canonical class name.
2010-08-12 14:37:39 +00:00
Chad Horohoe
5806e63383
AjaxDispatcher, now ~30 lines shorter and not using $_GET or $_POST
2010-08-12 14:34:54 +00:00
Platonides
37c7dd7c2b
Hacky r70418 makes this global unused.
2010-08-12 14:34:39 +00:00
Platonides
50e2405a03
Refactor to avoid defining globals inside switches.
2010-08-12 14:25:07 +00:00
Platonides
e7cfe34622
Follow up r70916. Missing global.
2010-08-12 14:02:32 +00:00
Platonides
5de0fbd0de
No need for $wgUser since r70653
2010-08-12 14:00:10 +00:00
Platonides
9e96f8db77
Parser should only use content messages.
2010-08-12 13:23:28 +00:00
Chad Horohoe
f6874a79e8
I don't think anyone's called it MediaZilla in a very long time
2010-08-12 13:06:45 +00:00
Chad Horohoe
b51547fe0d
Typofix. Now you can actually enable uploads
2010-08-12 13:00:31 +00:00
Chad Horohoe
fc00ab67eb
(bug 24766) Installer is installing all extensions, not just the ones you picked
2010-08-12 12:58:27 +00:00
Platonides
69ad72018b
Followup r70783. Give doEditSectionLink an extra parameter with the language to use for the editsection.
2010-08-12 12:30:47 +00:00
Platonides
ed4577377f
size and sha1 cannot be null in the database layout.
...
Fixes sqlite parsertests after r70917
2010-08-12 12:00:58 +00:00
Platonides
8da29f48f0
Add missing tables to listTables()
...
Strangely this didn't break mysql like it did for sqlite.
2010-08-12 10:34:20 +00:00
Platonides
8111f69c83
Follow up r63404. If we are in safe mode, we do not want hashed uploads.
2010-08-12 09:55:05 +00:00
Jeroen De Dauw
539ab6f5e5
Documentation o_O
2010-08-12 07:27:48 +00:00
Platonides
f10d7edee0
I didn't intend to change this in r70917
2010-08-11 21:32:25 +00:00
Platonides
3a12d1f822
Force $wgContLang to English at the entry point.
...
This avoids early Titles being localized.
Remove setupGlobals() from addArticle()
Make the upload dir global.
Make the fake uploads a bit saner.
2010-08-11 21:23:43 +00:00
Platonides
b35aab334c
Made tests more independent. Some items were only working before previous ones left in the appropiate state, or because the installation language was English.
2010-08-11 21:22:40 +00:00
Rotem Liss
3f2e17dc65
Localization update for he.
2010-08-11 20:28:00 +00:00
Sean Colombo
57f51a23a4
As per feedback on r70849, fixed bad indenting (spaces) that should be a tab.
2010-08-11 19:02:21 +00:00
Platonides
6e2ee8d921
Follow up r24808.
...
mime is not in getCacheFields(), so $this->mime was never populated at this point (regardless of $info['mime']) and splitMime() always returned unknown.
2010-08-11 18:56:38 +00:00
Raimond Spekking
d8a5168c2d
Localisation updates for core and extension messages from translatewiki.net (2010-08-11 18:08:00 UTC)
2010-08-11 18:27:59 +00:00
Platonides
a72332929c
getSkin() should get a Title as parameter.
2010-08-11 17:11:24 +00:00
Platonides
637cf8a337
Move things along the DROP TABLE.
2010-08-11 16:50:31 +00:00
Platonides
0e8e61f099
New line at end of wfDebug
2010-08-11 16:49:59 +00:00
Chad Horohoe
ddbca1b039
Followup r70875, fix default value for decode()
2010-08-11 13:03:45 +00:00
Chad Horohoe
50fe92ffb8
Revert r70874: <RoanKattouw> Dude that just looks kinda ugly
2010-08-11 12:45:59 +00:00
Chad Horohoe
fe72845c82
Boolean parameters suck, but we can make them suck less by adding constants you can use. Also doc, spacing, etc
2010-08-11 12:42:40 +00:00
Chad Horohoe
5fde23e6ac
Use WebRequest here too
2010-08-11 12:21:49 +00:00
Chad Horohoe
2f6e441acf
Remove raw $_GET usage held over from days before WebRequest existed, was introduced in r12605
2010-08-11 12:15:16 +00:00
X!
d230a8c5f0
Followup to r70729: Add note about $wgPageProps only being seen from the API help page
2010-08-11 08:15:32 +00:00
Sean Colombo
ed48d0241e
Update release notes for previous commit.
2010-08-11 07:24:15 +00:00
Sean Colombo
13632f8082
Fix to #17031 . See bug ticket for test code & test-results.
2010-08-11 07:19:26 +00:00
Sam Reed
0cb57fea08
Replace some instances of $wgUser passed to ParserOutput::get()/getKey() for $wgOut->parserOptions()
2010-08-10 19:57:53 +00:00
Raimond Spekking
a7a7a44b44
Localisation updates for core and extension messages from translatewiki.net (2010-08-10 19:19:00 UTC)
2010-08-10 19:34:11 +00:00
Platonides
48c2ecd244
Upgrade the warning from wfDebug to wfWarn.
2010-08-10 19:32:49 +00:00
Chad Horohoe
e909ec901f
Rewrite trackback.php so it looks like it was written sometime in the last 5 years. Use cool things like WebRequest too!
2010-08-10 18:50:34 +00:00
Raimond Spekking
df547cba19
Make the subtitle of Special:Watchlist more consistent with other subtitles.
...
Enclose tool links by s span with a class.
Especially I see no need for the extra linebreak
2010-08-10 16:21:10 +00:00
Platonides
3f7fcd51a5
Add an extra option for extensions adding an extra key directly instead of the hook or $wgRenderHashAppend, so that they can be added only to some instances.
2010-08-10 14:38:14 +00:00
Platonides
b1aee940fa
Follow up r70783. Define variable used in debug message.
...
Provide the fallback prototype again, seems still used by extensions.
2010-08-10 14:11:51 +00:00
Chad Horohoe
83e9916428
Cleanup r70571, more strict checks for getCookie() return values
2010-08-10 13:30:46 +00:00
Sam Reed
55d5a6c9a2
Fix fixme placed on r30022 by me (fixing per comment)
...
Adding a few braces too
2010-08-10 12:55:22 +00:00
Platonides
dca6afc172
Follow up r70783 CR.
...
Document getETag()
2010-08-10 12:10:49 +00:00
Sam Reed
1e0f0c4574
Prefix searches for users, not pages
2010-08-10 10:05:31 +00:00
Raimond Spekking
7b848e08f5
Add ID to minor/watch labels to allow separate styling of these lebels.
2010-08-10 08:51:11 +00:00