Aryeh Gregor [Tue, 3 Aug 2010 20:50:31 +0000 (20:50 +0000)]
Sort pages in categories without namespace prefix
This removes $wgCategoryPrefixedDefaultSortkey and effectively always
makes it false. The setting was added in the first place to hack around
the default, clearly broken behavior, but this just fixes it instead, so
the setting is no longer needed.
Running maintenance/updateCollation.php for the first time will fix
this, no need to run refreshLinks.php. If you've already run
updateCollation.php, you can do UPDATE categorylinks SET cl_collation =
76; or such and then run the script again.
Aryeh Gregor [Tue, 3 Aug 2010 20:50:01 +0000 (20:50 +0000)]
Enable new category sort by default
Patch best viewed with whitespace changes ignored. This will doubtless
introduce a bunch of bugs. Please report any so I can fix them. If
they're big enough and the fix isn't obvious, please revert.
Niklas Laxström [Tue, 3 Aug 2010 20:39:35 +0000 (20:39 +0000)]
Follow up to r69185: add documentation for wfUILang()
Siebrand Mazeland [Tue, 3 Aug 2010 20:05:38 +0000 (20:05 +0000)]
Follow-up r69898: fix Undefined variable: wgCookiePrefix in /ApiLogin.php on line 94
Niklas Laxström [Tue, 3 Aug 2010 19:46:18 +0000 (19:46 +0000)]
Follow-up r70109: use restore_error_handler()
Platonides [Tue, 3 Aug 2010 19:37:46 +0000 (19:37 +0000)]
If getMasterPos can be safely inherited, so can setFakeMaster
Raimond Spekking [Tue, 3 Aug 2010 19:17:55 +0000 (19:17 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-03 18:53:00 UTC)
Platonides [Tue, 3 Aug 2010 19:15:43 +0000 (19:15 +0000)]
Remove all calls to $wgMessageCache->loadAllMessages()
Deprecated and empty since r52503
Siebrand Mazeland [Tue, 3 Aug 2010 19:15:23 +0000 (19:15 +0000)]
Use int: to keep references consistent.
Danny B [Tue, 3 Aug 2010 18:45:50 +0000 (18:45 +0000)]
* fix changed link in $bookstoreList
Siebrand Mazeland [Tue, 3 Aug 2010 18:42:14 +0000 (18:42 +0000)]
Weigh reverse with factor 20 so coloring takes effect more quickly.
Aryeh Gregor [Tue, 3 Aug 2010 17:47:10 +0000 (17:47 +0000)]
Use firstChar() in firstLetterForLists()
This will hopefully avoid regression in non-English languages when this
stub starts being used.
Platonides [Tue, 3 Aug 2010 14:16:10 +0000 (14:16 +0000)]
Change from global to parameter.
Platonides [Tue, 3 Aug 2010 13:23:31 +0000 (13:23 +0000)]
Follow up r70356.
Improve WebRequest getAcceptLang(): Add support for q=0 language and the special range "*", always return the language codes in lowercase.
Siebrand Mazeland [Mon, 2 Aug 2010 22:08:24 +0000 (22:08 +0000)]
Bold outside link
Siebrand Mazeland [Mon, 2 Aug 2010 21:58:42 +0000 (21:58 +0000)]
Fix typos.
Siebrand Mazeland [Mon, 2 Aug 2010 21:41:15 +0000 (21:41 +0000)]
Fix typo.
Max Semenik [Mon, 2 Aug 2010 20:16:36 +0000 (20:16 +0000)]
Follow-up to r64587:
* Use WebRequest::getAcceptLang() instead of home-brewed code (and in LanguageConverter too).
* Refactored that function to use getHeader()
Raimond Spekking [Mon, 2 Aug 2010 19:41:49 +0000 (19:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-02 19:17:00 UTC)
Raimond Spekking [Mon, 2 Aug 2010 19:03:18 +0000 (19:03 +0000)]
* (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto
Max Semenik [Mon, 2 Aug 2010 18:51:18 +0000 (18:51 +0000)]
Removed Article::getRobotPolicyForView() - deprecated and not used anywhere
Siebrand Mazeland [Mon, 2 Aug 2010 17:46:38 +0000 (17:46 +0000)]
More message spewing reduction from r70337.
Siebrand Mazeland [Mon, 2 Aug 2010 17:44:31 +0000 (17:44 +0000)]
Partially revert r70337. Let's not deprecate methods that are not even removed completely from core (!!!)
Rotem Liss [Mon, 2 Aug 2010 16:56:36 +0000 (16:56 +0000)]
Localization update for he.
Siebrand Mazeland [Mon, 2 Aug 2010 16:53:36 +0000 (16:53 +0000)]
Add punctuation.
Siebrand Mazeland [Mon, 2 Aug 2010 16:46:37 +0000 (16:46 +0000)]
Close bold.
Siebrand Mazeland [Mon, 2 Aug 2010 16:30:11 +0000 (16:30 +0000)]
Update newlines.
Platonides [Mon, 2 Aug 2010 15:53:22 +0000 (15:53 +0000)]
Check the link color (stub, redirect) on just one place.
Deprecate makeSizeLinkObj. The only usage is in CategoryPage, which we can change to link() without penalty, since the created Title is already loaded with its length.
Platonides [Mon, 2 Aug 2010 14:33:18 +0000 (14:33 +0000)]
A <pre> and new lines is not the best element for the Selenium output.
But at least do not use <font>
Derk-Jan Hartman [Mon, 2 Aug 2010 13:16:12 +0000 (13:16 +0000)]
Don't print the Privacy, about, disclaimer links in Vector.
Siebrand Mazeland [Mon, 2 Aug 2010 12:06:15 +0000 (12:06 +0000)]
Fix alignment messed up in r70329.
Siebrand Mazeland [Mon, 2 Aug 2010 11:54:11 +0000 (11:54 +0000)]
* Update r70168 to remove patchwork messages [1]
* Tweak messages and add documentation for some.
[1] Please read http://www.mediawiki.org/wiki/Localisation#Avoid_patchwork_messages in why this is a bad idea.
Alexandre Emsenhuber [Mon, 2 Aug 2010 08:31:23 +0000 (08:31 +0000)]
* Modified file description header to use "/** ... */" and added @file
* Added a simple description to new-index.php
Siebrand Mazeland [Mon, 2 Aug 2010 08:15:22 +0000 (08:15 +0000)]
Rewording for consistency:
* "lock" to "protect" when meaning page protection
* page -> text in line 3469 because the text was blocked, not the page.
Alexandre Emsenhuber [Mon, 2 Aug 2010 08:14:15 +0000 (08:14 +0000)]
Moved definitions for Special:Listadmins and Special:Listbots just below Special:Listusers for consistency with other redirects
Markus Glaser [Mon, 2 Aug 2010 08:09:26 +0000 (08:09 +0000)]
* modified runTests to run suites instead of single tests. this fixes r70215
Markus Glaser [Mon, 2 Aug 2010 08:07:52 +0000 (08:07 +0000)]
* changed variable name of the logger since it is used globally
Markus Glaser [Mon, 2 Aug 2010 08:04:16 +0000 (08:04 +0000)]
* log browser used
* improve automated login of test user
credits to priyanka dhanda
Markus Glaser [Mon, 2 Aug 2010 07:44:02 +0000 (07:44 +0000)]
Jeroen De Dauw [Mon, 2 Aug 2010 04:41:44 +0000 (04:41 +0000)]
Follow up to r70313
Jeroen De Dauw [Mon, 2 Aug 2010 03:44:00 +0000 (03:44 +0000)]
Documentation and style improvements
Derk-Jan Hartman [Sun, 1 Aug 2010 22:07:52 +0000 (22:07 +0000)]
Repair getDescriptionUrl() and getDescriptionText() Follow up to r69907 and r69908
All this functionality is now moved to File.php. for getDescriptionUrl there was no
real need to subclass this method, for getDescriptionText() there was, but
duplicating the code or changing the inheritence model of LocalFile and ForeignDBFile
seems too much work if an isLocal in File.php suffices.
Rotem Liss [Sun, 1 Aug 2010 21:44:42 +0000 (21:44 +0000)]
Localization update for he.
Alexandre Emsenhuber [Sun, 1 Aug 2010 21:13:44 +0000 (21:13 +0000)]
Standardisation of file headers
Platonides [Sun, 1 Aug 2010 20:10:31 +0000 (20:10 +0000)]
Specify the kind of cache that it disables: The client one, based on If-modified-since
Alexandre Emsenhuber [Sun, 1 Aug 2010 19:39:57 +0000 (19:39 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Sun, 1 Aug 2010 19:38:36 +0000 (19:38 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-01 19:06:00 UTC)
Platonides [Sun, 1 Aug 2010 18:05:50 +0000 (18:05 +0000)]
Replace echo + die with die()
Platonides [Sun, 1 Aug 2010 18:03:29 +0000 (18:03 +0000)]
Do not use directly the $options global
Alexandre Emsenhuber [Sun, 1 Aug 2010 15:50:30 +0000 (15:50 +0000)]
* (bug 24418) action=markpatrolled now requires a token
Alexandre Emsenhuber [Sun, 1 Aug 2010 13:13:04 +0000 (13:13 +0000)]
mwScriptLoader.php script has been removed
Alexandre Emsenhuber [Sun, 1 Aug 2010 12:31:50 +0000 (12:31 +0000)]
* Removed trailing whitespaces
* Moved the description comment to the very top and added "@file"
Alexandre Emsenhuber [Sun, 1 Aug 2010 12:28:09 +0000 (12:28 +0000)]
Also exclude StartProfiler.php
Alexandre Emsenhuber [Sun, 1 Aug 2010 12:14:32 +0000 (12:14 +0000)]
* Modified Special:Blockip to subclass SpecialPage
Alexandre Emsenhuber [Sun, 1 Aug 2010 10:43:50 +0000 (10:43 +0000)]
Yes, I forgot to commit this file
Alexandre Emsenhuber [Sun, 1 Aug 2010 10:42:53 +0000 (10:42 +0000)]
* (bug 21503) There's now a "reason" field when creating account for other users
Alexandre Emsenhuber [Sun, 1 Aug 2010 09:20:30 +0000 (09:20 +0000)]
* (bug 24563) Entries on Special:WhatLinksHere now have a link to their history
Alexandre Emsenhuber [Sun, 1 Aug 2010 09:09:48 +0000 (09:09 +0000)]
SpecialPage provides a getTitle() function, so use it
Alexandre Emsenhuber [Sun, 1 Aug 2010 08:59:55 +0000 (08:59 +0000)]
svn:eol-style native
Sam Reed [Sun, 1 Aug 2010 08:49:06 +0000 (08:49 +0000)]
Revert r69907
Siebrand Mazeland [Sun, 1 Aug 2010 08:35:45 +0000 (08:35 +0000)]
Follow-up r70260 / r70256: rename ckb-arab to ckb.
Siebrand Mazeland [Sun, 1 Aug 2010 08:33:20 +0000 (08:33 +0000)]
Follow-up r70256 / bug 24593: remove ckb-latn, preparing to move ckb-arab to ckb.
Max Semenik [Sun, 1 Aug 2010 06:10:10 +0000 (06:10 +0000)]
(bug 24593) Native name for Sorani now uses only Arabic script
Platonides [Sat, 31 Jul 2010 23:26:16 +0000 (23:26 +0000)]
Follow up r70095. Remove the now unused $wgAllowCopyUploads global.
Raimond Spekking [Sat, 31 Jul 2010 21:28:50 +0000 (21:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-31 21:16:00 UTC)
Sam Reed [Sat, 31 Jul 2010 19:53:43 +0000 (19:53 +0000)]
Move a few braces noticed while doing CR
Platonides [Sat, 31 Jul 2010 18:29:20 +0000 (18:29 +0000)]
Remove useless $DP.
Roan confirmed that there was no hidden usage on wmf-config/
The '$DP = $IP;' in CommonSettings.php:94 should be removed, too.
Markus Glaser [Sat, 31 Jul 2010 12:01:55 +0000 (12:01 +0000)]
changed selenium settings to load simple selenium test suite instead of a single test
Markus Glaser [Sat, 31 Jul 2010 12:01:12 +0000 (12:01 +0000)]
load selenium test suite instead of single test
Markus Glaser [Sat, 31 Jul 2010 12:00:10 +0000 (12:00 +0000)]
changed testrunner in order to run suites instead of single tests. Patch supplied by Dan Nessett
Raimond Spekking [Sat, 31 Jul 2010 08:03:05 +0000 (08:03 +0000)]
Bug 24601 - Add mpre namespace aliases for 'ml'
Platonides [Fri, 30 Jul 2010 22:35:02 +0000 (22:35 +0000)]
Remove the require for UtfNormal.php
From r60599, this calls $wgContLang->normalize(), not UtfNormal::cleanUp(),
Mark A. Hershberger [Fri, 30 Jul 2010 20:17:28 +0000 (20:17 +0000)]
* Make parsertests work with interwiki table on sqlite
* re r69542 temporary fix for new-installer + interwiki table
* temporary fix for outputing LocalSettings.php in the CliInstaller
Niklas Laxström [Fri, 30 Jul 2010 20:13:30 +0000 (20:13 +0000)]
Add @since for buildLike
Ryan Schmidt [Fri, 30 Jul 2010 19:56:49 +0000 (19:56 +0000)]
* (bug 24425) Use Database::replace instead of delete/insert in SqlBagOStuff::set to avoid query errors about duplicate keynames.
Mark A. Hershberger [Fri, 30 Jul 2010 19:51:39 +0000 (19:51 +0000)]
Make sure we get a good memCached object.
Raimond Spekking [Fri, 30 Jul 2010 19:14:22 +0000 (19:14 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-30 18:58:00 UTC)
Siebrand Mazeland [Fri, 30 Jul 2010 08:00:29 +0000 (08:00 +0000)]
Update calling function name for MessageCache::loadFromDB() queries
Siebrand Mazeland [Fri, 30 Jul 2010 06:48:16 +0000 (06:48 +0000)]
Stylize.php for remaining messages files.
Philip Tzou [Fri, 30 Jul 2010 02:12:38 +0000 (02:12 +0000)]
Add my credits.
Siebrand Mazeland [Thu, 29 Jul 2010 22:34:13 +0000 (22:34 +0000)]
Remove 'translations' that are equal to the fallback language German.
Raimond Spekking [Thu, 29 Jul 2010 20:16:16 +0000 (20:16 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-29 20:03:00 UTC)
Mark A. Hershberger [Thu, 29 Jul 2010 19:28:16 +0000 (19:28 +0000)]
follow-up r70126 — better warnings
Aryeh Gregor [Thu, 29 Jul 2010 19:09:52 +0000 (19:09 +0000)]
Two new parser tests related to bug 6200
A patch posted there caused two parser tests for <center> to fail, but
none for <blockquote>, despite making a similar change to both elements.
I've added similar tests for <blockquote> so that they'll fail if a
similar patch is attempted that changes only <blockquote> behavior and
not <center> too.
Aryeh Gregor [Thu, 29 Jul 2010 18:47:58 +0000 (18:47 +0000)]
Whitelist <dfn> element
Bug 671. Harmless, why not. The remaining elements in this vein that
we might want to whitelist include
* <q>: Not yet, inconsistent quote mark handling in browsers
* <address>: Semantics in HTML5 appear to mean it must represent contact
info for the author of the <body> (or <article> if present), which is
almost certain to be useless in user-submitted wiki content; see
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10255
* <kbd>, <samp>: Will add if this is WONTFIXed:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9919
Bryan Tong Minh [Thu, 29 Jul 2010 18:39:42 +0000 (18:39 +0000)]
Fix UploadFromUrl test cases, UploadFromUrlJob::run return value, and disable broken features in UploadFromUrlJob
* Use a more specific filename in UploadFromUrlTest and fix some assertions.
* Return boolean from UploadFromUrlJob::run
* Force ignorewarnings and leavemessage in UploadFromUrlJob
Niklas Laxström [Thu, 29 Jul 2010 18:37:45 +0000 (18:37 +0000)]
Mark escapeLike deprecated, since it is broken
Jeroen De Dauw [Thu, 29 Jul 2010 18:36:39 +0000 (18:36 +0000)]
Added deployment documentation group
Jeroen De Dauw [Thu, 29 Jul 2010 18:25:10 +0000 (18:25 +0000)]
Style and doc improvements
Mark A. Hershberger [Thu, 29 Jul 2010 18:18:03 +0000 (18:18 +0000)]
white-spaced only changes
Max Semenik [Thu, 29 Jul 2010 18:17:11 +0000 (18:17 +0000)]
Fixed exceptions on attempts to serialize DatabaseSqlite. Encountered today by Nike, earlier seen during unit tests. Not implementing __wakeup() because restoring a connection along with its full state would just cause obscure bugs. If null mConn will cause problems (unlikely, because most instances of db object serialization are accidental and the connection is not supposed to be used after deserialization), we'll tweak specific classes that store database objects.
Jeroen De Dauw [Thu, 29 Jul 2010 18:03:25 +0000 (18:03 +0000)]
Style and doc improvements
Jeroen De Dauw [Thu, 29 Jul 2010 17:54:44 +0000 (17:54 +0000)]
Follow up to r70140
Rotem Liss [Thu, 29 Jul 2010 16:03:10 +0000 (16:03 +0000)]
* Localization update for he.
* Fix in en: visible 'File' => '{{ns:file}}', for other languages' localization.
Siebrand Mazeland [Thu, 29 Jul 2010 15:56:46 +0000 (15:56 +0000)]
Messages files rebuilt and partially stylized.
Jeroen De Dauw [Thu, 29 Jul 2010 15:20:04 +0000 (15:20 +0000)]
Removed showStatusMessage from the Installer and WebInstaller classes as it's only used in the CliInstaller
Bryan Tong Minh [Thu, 29 Jul 2010 13:56:08 +0000 (13:56 +0000)]
Follow-up r70137, messages:
* Renamed successfulupload to upload-success-msg
* Renamed upload-successful-subj to upload-success-subj
* Added upload-warning-subj and upload-warning-msg
Bryan Tong Minh [Thu, 29 Jul 2010 13:53:51 +0000 (13:53 +0000)]
Made asynchronous upload by URL working, partly. Hid it behind $wgAllowAsyncCopyUploads. If there are no errors then everything works expected; the same if there are unrecoverable errors. User intervention to solve warnings is not yet possible, because $_SESSION is not available in runJobs. This also means that async with leavemessage = false is broken.
Other changes:
* Moved verifyPermissions check in ApiUpload down pending r70135 implementation in the API.
* In User::leaveMessage: append message to end of talk page; add a newline before the heading
Bryan Tong Minh [Thu, 29 Jul 2010 13:04:34 +0000 (13:04 +0000)]
Uploading to a protected title will allow the user to choose a new name instead of showing an error page
* Made validateNameAndOverwrite protected and moved it to validateName since overwriting is now checked in verifyPermissions()
* Fixed mime verification in case getTitle was not yet called
* Checking for overwrites no longer uses $wgUser
Other changes:
* convertVerifyErrorToStatus now works
* Allow passing the session key to stashSession in UploadFromStash as well
Siebrand Mazeland [Thu, 29 Jul 2010 12:48:56 +0000 (12:48 +0000)]
Remove 'translations' that are equal to the fallback language German.