Commit graph

17212 commits

Author SHA1 Message Date
Alexandre Emsenhuber
eba25b9f58 Per Simetrical, fix for r69270: correct class name 2010-07-17 11:59:20 +00:00
Derk-Jan Hartman
837ee92456 Follow up to r66383. When init of skin fails, make sure to init Vector instead of Monobook now. 2010-07-16 14:04:54 +00:00
Derk-Jan Hartman
4669d5d5ea When we have a bogus useskin value, fallback to $wgDefaultSkin if that value is sane. Fallback to hardcoded "vector" default if $wgDefaultSkin is bogus. Users who still have amathyst selected as their skin preference, should now get vector instead of monobook. Follow up to r66383. 2010-07-16 13:57:03 +00:00
Niklas Laxström
7667203584 Fix method name in a comment 2010-07-16 11:38:10 +00:00
Niklas Laxström
4f845e3e07 Revert part of r69412 which causes fatal errors 2010-07-16 07:24:45 +00:00
X!
8cc3688dfd Move FakeResultWrapper to Database.php, allowing more special pages and extensions than just Special:Allmessages to use a ResultWrapper-specific class (TablePager comes to mind) 2010-07-15 22:39:48 +00:00
Platonides
a307c1353a Recover EditUser extension and put it up to date with the new preferences. 2010-07-15 18:30:49 +00:00
Roan Kattouw
5de5086351 Apply r69357 to trunk; was a fix for trunk but got committed to REL1_16 2010-07-15 09:25:58 +00:00
Mark A. Hershberger
99e3ca5376 re r69339 use the actual function: s/hasCache/haveCache/ 2010-07-15 01:15:55 +00:00
Chad Horohoe
2318872359 Fix flush(). Need ob_flush() 2010-07-14 23:07:05 +00:00
Mark A. Hershberger
e28aaea397 follow up r69339:
* Add a missing setVaryCookie for consistency
* don't cache result when token is given in ApiFeedWatchlist
2010-07-14 21:46:52 +00:00
Mark A. Hershberger
894f7a21dd follow up r69339: Add a missing setVaryCookie for consistency and to avoid user X with skin Y getting the response marked up for skin B. 2010-07-14 21:00:09 +00:00
Roan Kattouw
70824ccccc API: Make output containing private or user-specific data uncacheable for logged-in users by setting Vary: Cookie or Cache-Control: private, whichever is appropriate. Fixes instances in core and WMF-deployed extensions only. Without this change, the output of requests like ?action=query&list=recentchanges&rcprop=patrolled&smaxage=3600 would be cached in Squid and viewable for anyone using the same URL, even if they don't have patrol rights. Other, more serious exploits are also possible. Also avoid using $wgUser in one place, kill some unused global $wgUser; instances and tweak a comment. 2010-07-14 19:00:54 +00:00
Aryeh Gregor
1b1d821d16 Remove 'minordefault' preference completely
See bug 24313.  The preference encourages people to mark changes minor
by mistake, but it's better to have minor changes not marked minor than
non-minor changes marked minor.  enwiki users at [[Help talk:Minor
edit]] seemed to think it was a good idea.  Plus, I'm always in favor of
removing user preferences where possible.

The only likely fallout of note is some bot operators who didn't notice
this suddenly find their bot not marking anything minor.  I doubt it
will cause major problems, though.
2010-07-14 18:50:32 +00:00
Trevor Parscal
87f9c79807 By flipping '"Courier New", monospace' to 'monospace, "Courier New"', we can get the beneifts of allowing the user's monospace font override to still be used. Improves on r69335 which is itself an improvement on r65391. 2010-07-14 18:31:29 +00:00
Trevor Parscal
66e1bc76e1 Improves on the technique used in r65391 to fix the font-size issues in Firefox, Chrome and Safari caused by using "monospace" as a font-family. The old approach was to use "monospace, sans-serif", which worked but was reported to actually fall-back on the sans-serif variant. Some research has shown that using '"Courier New", monospace' resolves the issue on all browsers without risking falling back to proportionally spaced fonts. 2010-07-14 17:50:51 +00:00
Chad Horohoe
7039cc0817 Fix nitpick complaint on r61809 2010-07-14 17:42:52 +00:00
Mark A. Hershberger
af63bc308a * revert r61258
* check if iconv extension is loaded and, if so, use it in UtfNormal::cleanUp()
2010-07-14 17:34:18 +00:00
Chad Horohoe
253a11aa5b Revert r64217 (WikiSysop is back, and now (s)he's localisable) per comments on review 2010-07-14 17:28:08 +00:00
Adam Miller
c03137941d style version bump for r69317 2010-07-14 15:06:52 +00:00
Chad Horohoe
edd12f0fd6 Installer no longer writes LocalSettings.php to /config. Now offer it as a download to the user and instruct them to upload/move it to the wiki base directory. Also only set _InstallDone if we hit no fatals during installation 2010-07-14 01:18:14 +00:00
Max Semenik
27210dc614 Revert r69291, other references-related problems reported 2010-07-13 18:29:33 +00:00
Platonides
3f8867eca7 7, it's 7! (follow up to r68824) 2010-07-12 20:11:41 +00:00
Max Semenik
dd76bb00c8 Fixed weird unit test failures I experienced after r68544 2010-07-12 11:14:00 +00:00
Alexandre Emsenhuber
2bbecc3a0f * (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class "mw-ipd-needreblock" 2010-07-11 19:25:46 +00:00
Alexandre Emsenhuber
c571dd9b83 Fixed some doxygen warnings 2010-07-11 18:24:53 +00:00
Alexandre Emsenhuber
4b507edd85 removed PHP4-ism 2010-07-11 18:13:23 +00:00
Alexandre Emsenhuber
537b6d6d28 Modified Special:Userlogout to subclass UnlistedSpecialPage 2010-07-11 14:17:17 +00:00
Chad Horohoe
2ab5f570ba Followup r69251, copy+paste fail 2010-07-11 12:34:54 +00:00
Chad Horohoe
0f9f00c265 Cleanup to r69187: forgot to safeguard against ul_value or updatelog itself not existing. 2010-07-11 12:31:44 +00:00
Chad Horohoe
a3e692ea1b Doc fixes and message cleanups to r69238 2010-07-11 11:27:58 +00:00
Alexandre Emsenhuber
33cdc2202b * Modified Special:Specialpages to subclass UnlistedSpecialPage instead of using wfSpecialSpecialpages()
* Use Html:: methods
2010-07-10 20:13:06 +00:00
Chad Horohoe
1da6a4770d Add $wgUseInstantCommons support to installer, tweak help based on presumed access to it 2010-07-10 12:29:15 +00:00
Bryan Tong Minh
1162995b21 (bug 24296) Added converttitles parameter to convert titles to their canonical language variant. 2010-07-10 11:53:22 +00:00
Sam Reed
18b308afd6 Followup r69235
Replace setPropert with setProperty
2010-07-10 11:46:47 +00:00
Bryan Tong Minh
a3aac44f04 (bug 14685) Double underscore magic word usage is now tracked in the page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and {{DISPLAYTITLE}}. 2010-07-10 11:30:11 +00:00
Bryan Tong Minh
8fc06f1725 Follow-up r69231: servedby is a boolean so will always be non-null. 2010-07-10 10:47:52 +00:00
Bryan Tong Minh
3f3465126a (bug 24185) Titles in the Media and Special namespace are now supported for title normalization in action=query. Special pages have their name resolved to the local alias. 2010-07-10 10:46:20 +00:00
Chad Horohoe
b8c6a8c646 Partial revert r69231, unrelated and unfinished installer changes 2010-07-10 10:39:30 +00:00
Chad Horohoe
18d8635d00 (bug 24303) Expose hostname in API results. Show via servedby parameter, added unconditionally on errors 2010-07-10 10:37:39 +00:00
Max Semenik
e3b1c14542 Fixed mysqlisms in Database.php comments, abstracted getSearchEngine() 2010-07-10 10:15:59 +00:00
Chad Horohoe
e8bb37ae48 Cleanup r69128, getStatArray() -> getStatusArray(). It's two characters, c'mon 2010-07-10 09:26:42 +00:00
Niklas Laxström
8e4c869f35 Clean up query code 2010-07-10 08:14:39 +00:00
Niklas Laxström
dcd4df4e44 Tweak comparison in r69171 2010-07-10 07:36:09 +00:00
Max Semenik
f00c37c21c Removed User::setLoaded(), deprecated since times forgotten 2010-07-09 21:27:36 +00:00
Chad Horohoe
30491237c8 This can be protected now since we redid installSteps hooks 2010-07-09 21:19:58 +00:00
Chad Horohoe
fa77ac6ef0 Reduce some duplication 2010-07-09 20:53:52 +00:00
Chad Horohoe
5289d41b0b Put sanity checks on some of the installer steps. Also make WebInstaller_Install bail if you try a 2nd time 2010-07-09 19:05:48 +00:00
Chad Horohoe
0f74984477 Move status box below output from pass/fail 2010-07-09 18:36:10 +00:00
Chad Horohoe
c7f9869cf8 Kill deprecated function. Marked as such for ~30k revs and no callers 2010-07-09 14:15:48 +00:00