lhc/web/wiklou.git
13 years agoDon't run updateCollations if they're up-to-date
Aryeh Gregor [Tue, 3 Aug 2010 21:07:13 +0000 (21:07 +0000)]
Don't run updateCollations if they're up-to-date

I forgot a "return;" here.

13 years agoFix breakage for people with DB prefixes
Aryeh Gregor [Tue, 3 Aug 2010 20:58:40 +0000 (20:58 +0000)]
Fix breakage for people with DB prefixes

13 years agoWhitespace, mis-spelling
Mark A. Hershberger [Tue, 3 Aug 2010 20:52:24 +0000 (20:52 +0000)]
Whitespace, mis-spelling

13 years agoRELEASE-NOTES for category changes
Aryeh Gregor [Tue, 3 Aug 2010 20:51:05 +0000 (20:51 +0000)]
RELEASE-NOTES for category changes

13 years agoClean up code now that the old path is gone
Aryeh Gregor [Tue, 3 Aug 2010 20:50:58 +0000 (20:50 +0000)]
Clean up code now that the old path is gone

13 years agoDon't duplicate the "title" query parameter
Aryeh Gregor [Tue, 3 Aug 2010 20:50:52 +0000 (20:50 +0000)]
Don't duplicate the "title" query parameter

Kind of hacky to just unset this one parameter, but it's what Pager.php
does.

13 years agoFix bug in sorting due to $wgRequest eating nulls
Aryeh Gregor [Tue, 3 Aug 2010 20:50:46 +0000 (20:50 +0000)]
Fix bug in sorting due to $wgRequest eating nulls

I'll fix this up so that the query string looks nicer later.  Embedding
nulls in query strings is not a great idea.

13 years agoFix page moves with new category sort scheme
Aryeh Gregor [Tue, 3 Aug 2010 20:50:38 +0000 (20:50 +0000)]
Fix page moves with new category sort scheme

Some other things might have to be updated, like the API and extensions.

13 years agoSort pages in categories without namespace prefix
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.

13 years agoEnable new category sort by default
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.

13 years agoFollow up to r69185: add documentation for wfUILang()
Niklas Laxström [Tue, 3 Aug 2010 20:39:35 +0000 (20:39 +0000)]
Follow up to r69185: add documentation for wfUILang()

13 years agoFollow-up r69898: fix Undefined variable: wgCookiePrefix in /ApiLogin.php on line 94
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

13 years agoFollow-up r70109: use restore_error_handler()
Niklas Laxström [Tue, 3 Aug 2010 19:46:18 +0000 (19:46 +0000)]
Follow-up r70109: use restore_error_handler()

13 years agoIf getMasterPos can be safely inherited, so can setFakeMaster
Platonides [Tue, 3 Aug 2010 19:37:46 +0000 (19:37 +0000)]
If getMasterPos can be safely inherited, so can setFakeMaster

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

13 years agoRemove all calls to $wgMessageCache->loadAllMessages()
Platonides [Tue, 3 Aug 2010 19:15:43 +0000 (19:15 +0000)]
Remove all calls to $wgMessageCache->loadAllMessages()
Deprecated and empty since r52503

13 years agoUse int: to keep references consistent.
Siebrand Mazeland [Tue, 3 Aug 2010 19:15:23 +0000 (19:15 +0000)]
Use int: to keep references consistent.

13 years ago* fix changed link in $bookstoreList
Danny B [Tue, 3 Aug 2010 18:45:50 +0000 (18:45 +0000)]
* fix changed link in $bookstoreList

13 years agoWeigh reverse with factor 20 so coloring takes effect more quickly.
Siebrand Mazeland [Tue, 3 Aug 2010 18:42:14 +0000 (18:42 +0000)]
Weigh reverse with factor 20 so coloring takes effect more quickly.

13 years agoUse firstChar() in firstLetterForLists()
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.

13 years agoChange from global to parameter.
Platonides [Tue, 3 Aug 2010 14:16:10 +0000 (14:16 +0000)]
Change from global to parameter.

13 years agoFollow up r70356.
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.

13 years agoBold outside link
Siebrand Mazeland [Mon, 2 Aug 2010 22:08:24 +0000 (22:08 +0000)]
Bold outside link

13 years agoFix typos.
Siebrand Mazeland [Mon, 2 Aug 2010 21:58:42 +0000 (21:58 +0000)]
Fix typos.

13 years agoFix typo.
Siebrand Mazeland [Mon, 2 Aug 2010 21:41:15 +0000 (21:41 +0000)]
Fix typo.

13 years agoFollow-up to r64587:
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()

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

13 years ago* (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto
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

13 years agoRemoved Article::getRobotPolicyForView() - deprecated and not used anywhere
Max Semenik [Mon, 2 Aug 2010 18:51:18 +0000 (18:51 +0000)]
Removed Article::getRobotPolicyForView() - deprecated and not used anywhere

13 years agoMore message spewing reduction from r70337.
Siebrand Mazeland [Mon, 2 Aug 2010 17:46:38 +0000 (17:46 +0000)]
More message spewing reduction from r70337.

13 years agoPartially revert r70337. Let's not deprecate methods that are not even removed comple...
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 (!!!)

13 years agoLocalization update for he.
Rotem Liss [Mon, 2 Aug 2010 16:56:36 +0000 (16:56 +0000)]
Localization update for he.

13 years agoAdd punctuation.
Siebrand Mazeland [Mon, 2 Aug 2010 16:53:36 +0000 (16:53 +0000)]
Add punctuation.

13 years agoClose bold.
Siebrand Mazeland [Mon, 2 Aug 2010 16:46:37 +0000 (16:46 +0000)]
Close bold.

13 years agoUpdate newlines.
Siebrand Mazeland [Mon, 2 Aug 2010 16:30:11 +0000 (16:30 +0000)]
Update newlines.

13 years agoCheck the link color (stub, redirect) on just one place.
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.

13 years agoA <pre> and new lines is not the best element for the Selenium output.
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>

13 years agoDon't print the Privacy, about, disclaimer links in Vector.
Derk-Jan Hartman [Mon, 2 Aug 2010 13:16:12 +0000 (13:16 +0000)]
Don't print the Privacy, about, disclaimer links in Vector.

13 years agoFix alignment messed up in r70329.
Siebrand Mazeland [Mon, 2 Aug 2010 12:06:15 +0000 (12:06 +0000)]
Fix alignment messed up in r70329.

13 years ago* Update r70168 to remove patchwork messages [1]
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.

13 years ago* Modified file description header to use "/** ... */" and added @file
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

13 years agoRewording for consistency:
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.

13 years agoMoved definitions for Special:Listadmins and Special:Listbots just below Special...
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

13 years ago* modified runTests to run suites instead of single tests. this fixes r70215
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

13 years ago* changed variable name of the logger since it is used globally
Markus Glaser [Mon, 2 Aug 2010 08:07:52 +0000 (08:07 +0000)]
* changed variable name of the logger since it is used globally

13 years ago* log browser used
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

13 years ago(no commit message)
Markus Glaser [Mon, 2 Aug 2010 07:44:02 +0000 (07:44 +0000)]

13 years agoFollow up to r70313
Jeroen De Dauw [Mon, 2 Aug 2010 04:41:44 +0000 (04:41 +0000)]
Follow up to r70313

13 years agoDocumentation and style improvements
Jeroen De Dauw [Mon, 2 Aug 2010 03:44:00 +0000 (03:44 +0000)]
Documentation and style improvements

13 years agoRepair getDescriptionUrl() and getDescriptionText() Follow up to r69907 and r69908
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.

13 years agoLocalization update for he.
Rotem Liss [Sun, 1 Aug 2010 21:44:42 +0000 (21:44 +0000)]
Localization update for he.

13 years agoStandardisation of file headers
Alexandre Emsenhuber [Sun, 1 Aug 2010 21:13:44 +0000 (21:13 +0000)]
Standardisation of file headers

13 years agoSpecify the kind of cache that it disables: The client one, based on If-modified...
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

13 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Sun, 1 Aug 2010 19:39:57 +0000 (19:39 +0000)]
Fixed some doxygen warnings

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

13 years agoReplace echo + die with die()
Platonides [Sun, 1 Aug 2010 18:05:50 +0000 (18:05 +0000)]
Replace echo + die with die()

13 years agoDo not use directly the $options global
Platonides [Sun, 1 Aug 2010 18:03:29 +0000 (18:03 +0000)]
Do not use directly the $options global

13 years ago* (bug 24418) action=markpatrolled now requires a token
Alexandre Emsenhuber [Sun, 1 Aug 2010 15:50:30 +0000 (15:50 +0000)]
* (bug 24418) action=markpatrolled now requires a token

13 years agomwScriptLoader.php script has been removed
Alexandre Emsenhuber [Sun, 1 Aug 2010 13:13:04 +0000 (13:13 +0000)]
mwScriptLoader.php script has been removed

13 years ago* Removed trailing whitespaces
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"

13 years agoAlso exclude StartProfiler.php
Alexandre Emsenhuber [Sun, 1 Aug 2010 12:28:09 +0000 (12:28 +0000)]
Also exclude StartProfiler.php

13 years ago* Modified Special:Blockip to subclass SpecialPage
Alexandre Emsenhuber [Sun, 1 Aug 2010 12:14:32 +0000 (12:14 +0000)]
* Modified Special:Blockip to subclass SpecialPage

13 years agoYes, I forgot to commit this file
Alexandre Emsenhuber [Sun, 1 Aug 2010 10:43:50 +0000 (10:43 +0000)]
Yes, I forgot to commit this file

13 years ago* (bug 21503) There's now a "reason" field when creating account for other users
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

13 years ago* (bug 24563) Entries on Special:WhatLinksHere now have a link to their history
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

13 years agoSpecialPage provides a getTitle() function, so use it
Alexandre Emsenhuber [Sun, 1 Aug 2010 09:09:48 +0000 (09:09 +0000)]
SpecialPage provides a getTitle() function, so use it

13 years agosvn:eol-style native
Alexandre Emsenhuber [Sun, 1 Aug 2010 08:59:55 +0000 (08:59 +0000)]
svn:eol-style native

13 years agoRevert r69907
Sam Reed [Sun, 1 Aug 2010 08:49:06 +0000 (08:49 +0000)]
Revert r69907

13 years agoFollow-up r70260 / r70256: rename ckb-arab to ckb.
Siebrand Mazeland [Sun, 1 Aug 2010 08:35:45 +0000 (08:35 +0000)]
Follow-up r70260 / r70256: rename ckb-arab to ckb.

13 years agoFollow-up r70256 / bug 24593: remove ckb-latn, preparing to move 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.

13 years ago(bug 24593) Native name for Sorani now uses only Arabic script
Max Semenik [Sun, 1 Aug 2010 06:10:10 +0000 (06:10 +0000)]
(bug 24593) Native name for Sorani now uses only Arabic script

13 years agoFollow up r70095. Remove the now unused $wgAllowCopyUploads global.
Platonides [Sat, 31 Jul 2010 23:26:16 +0000 (23:26 +0000)]
Follow up r70095. Remove the now unused $wgAllowCopyUploads global.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

13 years agoMove a few braces noticed while doing CR
Sam Reed [Sat, 31 Jul 2010 19:53:43 +0000 (19:53 +0000)]
Move a few braces noticed while doing CR

13 years agoRemove useless $DP.
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.

13 years agochanged selenium settings to load simple selenium test suite instead of a single...
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

13 years agoload selenium test suite instead of single test
Markus Glaser [Sat, 31 Jul 2010 12:01:12 +0000 (12:01 +0000)]
load selenium test suite instead of single test

13 years agochanged testrunner in order to run suites instead of single tests. Patch supplied...
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

13 years agoBug 24601 - Add mpre namespace aliases for 'ml'
Raimond Spekking [Sat, 31 Jul 2010 08:03:05 +0000 (08:03 +0000)]
Bug 24601 -  Add mpre namespace aliases for 'ml'

13 years agoRemove the require for UtfNormal.php
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(),

13 years ago* Make parsertests work with interwiki table on sqlite
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

13 years agoAdd @since for buildLike
Niklas Laxström [Fri, 30 Jul 2010 20:13:30 +0000 (20:13 +0000)]
Add @since for buildLike

13 years ago* (bug 24425) Use Database::replace instead of delete/insert in SqlBagOStuff::set...
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.

13 years agoMake sure we get a good memCached object.
Mark A. Hershberger [Fri, 30 Jul 2010 19:51:39 +0000 (19:51 +0000)]
Make sure we get a good memCached object.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

13 years agoUpdate calling function name for MessageCache::loadFromDB() queries
Siebrand Mazeland [Fri, 30 Jul 2010 08:00:29 +0000 (08:00 +0000)]
Update calling function name for MessageCache::loadFromDB() queries

13 years agoStylize.php for remaining messages files.
Siebrand Mazeland [Fri, 30 Jul 2010 06:48:16 +0000 (06:48 +0000)]
Stylize.php for remaining messages files.

13 years agoAdd my credits.
Philip Tzou [Fri, 30 Jul 2010 02:12:38 +0000 (02:12 +0000)]
Add my credits.

13 years agoRemove 'translations' that are equal to the fallback language German.
Siebrand Mazeland [Thu, 29 Jul 2010 22:34:13 +0000 (22:34 +0000)]
Remove 'translations' that are equal to the fallback language German.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

13 years agofollow-up r70126 — better warnings
Mark A. Hershberger [Thu, 29 Jul 2010 19:28:16 +0000 (19:28 +0000)]
follow-up r70126 — better warnings

13 years agoTwo new parser tests related to bug 6200
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.

13 years agoWhitelist <dfn> element
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

13 years agoFix UploadFromUrl test cases, UploadFromUrlJob::run return value, and disable broken...
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

13 years agoMark escapeLike deprecated, since it is broken
Niklas Laxström [Thu, 29 Jul 2010 18:37:45 +0000 (18:37 +0000)]
Mark escapeLike deprecated, since it is broken

13 years agoAdded deployment documentation group
Jeroen De Dauw [Thu, 29 Jul 2010 18:36:39 +0000 (18:36 +0000)]
Added deployment documentation group

13 years agoStyle and doc improvements
Jeroen De Dauw [Thu, 29 Jul 2010 18:25:10 +0000 (18:25 +0000)]
Style and doc improvements

13 years agowhite-spaced only changes
Mark A. Hershberger [Thu, 29 Jul 2010 18:18:03 +0000 (18:18 +0000)]
white-spaced only changes

13 years agoFixed exceptions on attempts to serialize DatabaseSqlite. Encountered today by Nike...
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.

13 years agoStyle and doc improvements
Jeroen De Dauw [Thu, 29 Jul 2010 18:03:25 +0000 (18:03 +0000)]
Style and doc improvements