lhc/web/wiklou.git
11 years agoMerge "Remove old compat methods/functions for mb_ functions"
Aaron Schulz [Sun, 27 May 2012 16:33:39 +0000 (16:33 +0000)]
Merge "Remove old compat methods/functions for mb_ functions"

11 years agoMerge "Block.php: replace '*' with explicit fields in selects"
Aaron Schulz [Sun, 27 May 2012 16:30:05 +0000 (16:30 +0000)]
Merge "Block.php: replace '*' with explicit fields in selects"

11 years agoMerge "Fix trailing whitespace (and mixed spaces) in XSD files"
Aaron Schulz [Sun, 27 May 2012 16:26:42 +0000 (16:26 +0000)]
Merge "Fix trailing whitespace (and mixed spaces) in XSD files"

11 years agosetTitle on a new null revision
umherirrender [Sun, 27 May 2012 15:47:29 +0000 (17:47 +0200)]
setTitle on a new null revision

Revision::getTitle will make a query against slave to load the title on
demand. But when there is a slave lag, the slave does not know the new
revision id and the caller gets null back

Change-Id: Ia85866362715ba666d51106037e7771d6bf4a237

11 years agoFix trailing whitespace (and mixed spaces) in XSD files
Reedy [Sun, 27 May 2012 13:03:29 +0000 (14:03 +0100)]
Fix trailing whitespace (and mixed spaces) in XSD files

Change-Id: Ie3c9917442c0bb47e1e95ad304943a721eb430cd

11 years agoRemove old compat methods/functions for mb_ functions
Reedy [Sun, 27 May 2012 12:10:08 +0000 (13:10 +0100)]
Remove old compat methods/functions for mb_ functions

PHP docs suggest all were added well before our minimum version, and as such should exist

Change-Id: I6921b1374df0b997b3519699556528973882565a

11 years agoMerge "Set title for Linker::revComment on Special:NewPages"
Nikerabbit [Sun, 27 May 2012 06:29:09 +0000 (06:29 +0000)]
Merge "Set title for Linker::revComment on Special:NewPages"

11 years agoMerge "Revert "Re-phrased titles for diff and history pages""
Krinkle [Sat, 26 May 2012 23:57:34 +0000 (23:57 +0000)]
Merge "Revert "Re-phrased titles for diff and history pages""

11 years agoRevert "Re-phrased titles for diff and history pages"
Krinkle [Sat, 26 May 2012 23:54:58 +0000 (23:54 +0000)]
Revert "Re-phrased titles for diff and history pages"

This reverts commit af988eccc8981467c8bf4b639b47f673ab8d59e6

- It is inconsistent with all other actions and special pages (move page, edit page, delete page, What links here, search, ...)
- The exact spelling is (whether or not to uppercase the suffix, how to use quotation) is under heavy discussion on en.wikipedia (although it is not deployed yet, someone took the liberty to make the same change locally to see how people react, see also next point)
- Whether or not this actually improves tabbed browsing is imho highly doubtful. I consider myself to be an active vandal fighter and when working with fixing up vandals' contributions I sometimes have 50 tabs open. Some are diffs some are history etc. Knowing the action is imho more important than the page title. But having said that, both have their fair points (Either you can have 3 tabs like "Foo:Bar .." and not know which is what action. Or have 3 tabs like "Difference be.." and not know which is for which page). Imho the breadcrumb path "Action < Page < Site" makes more sense.
- See also discussion on the original gerrit change

Overal revert summary: Has issues, until resolved and if still relevant after that, for now reverting to status quo.

11 years agoMerge "[ResourceLoader] Use getLanguage() accessor as the field is lazy-loaded."
Krinkle [Sat, 26 May 2012 21:34:32 +0000 (21:34 +0000)]
Merge "[ResourceLoader] Use getLanguage() accessor as the field is lazy-loaded."

11 years agoRemoved function_exists() check for header_remove() since it's now always available.
Alexandre Emsenhuber [Sat, 26 May 2012 16:31:32 +0000 (18:31 +0200)]
Removed function_exists() check for header_remove() since it's now always available.

header_remove() was added in PHP 5.3.0 which is below that our minimum requirement; also fixed a comment for the minimum required PHP version.

Change-Id: Ib6992ed772f1a707f96020fdfe6eb6152102402a

11 years agoSet title for Linker::revComment on Special:NewPages
umherirrender [Sat, 26 May 2012 19:10:52 +0000 (21:10 +0200)]
Set title for Linker::revComment on Special:NewPages

When Linker::revComment gets the title from the revision object, he can
produce section links for autocomments
This will also avoid a query per non-empty comment, because the revision
object loads the title on demand, if not set

Change-Id: I891afe9aaa6eeeb8382a6131376c26690082a8c7

11 years agoCheck validity of fetched titles and show a descriptive messages when an invalid...
Alexandre Emsenhuber [Sat, 26 May 2012 16:13:31 +0000 (18:13 +0200)]
Check validity of fetched titles and show a descriptive messages when an invalid title is encountered.

Change-Id: I8989430db3eb817d24b5128df46942eda15eb535

11 years agoMerge "Localisation updates from http://translatewiki.net."
Siebrand [Sat, 26 May 2012 10:49:30 +0000 (10:49 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoFollow up change Ia4147e83: Register new message key
raymond [Sat, 26 May 2012 07:27:00 +0000 (09:27 +0200)]
Follow up change Ia4147e83: Register new message key

Change-Id: I6087a02ebe82e22984621c0667ecc5f6b76533d8

11 years agoMerge "Adding a prefs header for options related to User Pages"
awjrichards [Fri, 25 May 2012 23:23:05 +0000 (23:23 +0000)]
Merge "Adding a prefs header for options related to User Pages"

11 years agoMerge "(bug 4220) dump schema get unique contraints on id"
Aaron Schulz [Fri, 25 May 2012 22:39:30 +0000 (22:39 +0000)]
Merge "(bug 4220) dump schema get unique contraints on id"

11 years ago[ResourceLoader] Use getLanguage() accessor as the field is lazy-loaded.
Aaron [Fri, 25 May 2012 21:52:39 +0000 (14:52 -0700)]
[ResourceLoader] Use getLanguage() accessor as the field is lazy-loaded.

Change-Id: I6a106d1557366f6ff4586c9604fd324be51d7e1f

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 25 May 2012 19:54:33 +0000 (19:54 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I41a2a158064fa9545cd14fdb98e34d657402bef5

11 years agoAdding a prefs header for options related to User Pages
Kaldari [Fri, 25 May 2012 19:07:04 +0000 (12:07 -0700)]
Adding a prefs header for options related to User Pages

Right now this is mostly for WikiLove, which needs to be moved out
of the Labs header

Change-Id: Ia4147e83a9c47daad22b7e3dafe09b541ac95000

11 years agoMerge "Add passing test for definition list with empty definition"
Aaron Schulz [Fri, 25 May 2012 19:06:03 +0000 (19:06 +0000)]
Merge "Add passing test for definition list with empty definition"

11 years agoMerge "user table: replace some '*' with explicit fields in selects"
Aaron Schulz [Fri, 25 May 2012 17:14:08 +0000 (17:14 +0000)]
Merge "user table: replace some '*' with explicit fields in selects"

11 years agoMerge "Title.php: replace some '*' with explicit fields in selects"
Aaron Schulz [Fri, 25 May 2012 17:10:18 +0000 (17:10 +0000)]
Merge "Title.php: replace some '*' with explicit fields in selects"

11 years agoMerge "Avoid extreme performance regression in ImagePage."
Aaron Schulz [Fri, 25 May 2012 17:04:52 +0000 (17:04 +0000)]
Merge "Avoid extreme performance regression in ImagePage."

11 years agoMerge "Add some more detailed info about the xslt param of format=xml"
Catrope [Fri, 25 May 2012 16:01:28 +0000 (16:01 +0000)]
Merge "Add some more detailed info about the xslt param of format=xml"

11 years agoAdd some more detailed info about the xslt param of format=xml
Liangent [Wed, 16 May 2012 12:48:36 +0000 (20:48 +0800)]
Add some more detailed info about the xslt param of format=xml

Change-Id: I77e1dcbdf3ff1d201a2346c5a397469b4fc21d74

11 years agouser table: replace some '*' with explicit fields in selects
umherirrender [Fri, 25 May 2012 15:53:29 +0000 (17:53 +0200)]
user table: replace some '*' with explicit fields in selects

It is good practice to select only fields, which are used later

Change-Id: Iaaa252d594112894334a8ee9916007352d5bc4e7

11 years agoTitle.php: replace some '*' with explicit fields in selects
umherirrender [Fri, 25 May 2012 14:55:25 +0000 (16:55 +0200)]
Title.php: replace some '*' with explicit fields in selects

It is good practice to select only fields, which are used later

Change-Id: I4e765d60aea3c11261497346a85e65ed755a085d

11 years agoBlock.php: replace '*' with explicit fields in selects
umherirrender [Fri, 25 May 2012 14:50:57 +0000 (16:50 +0200)]
Block.php: replace '*' with explicit fields in selects

It is good practice to select only fields, which are used later

Change-Id: I50d149b3ecd3a9e0325fecbe8d0b6e1fff353893

11 years agoMerge "Fix a typo in resources/jquery/jquery.byteLimit.js"
Nikerabbit [Fri, 25 May 2012 13:44:05 +0000 (13:44 +0000)]
Merge "Fix a typo in resources/jquery/jquery.byteLimit.js"

11 years agoAdd passing test for definition list with empty definition
Gabriel Wicke [Fri, 25 May 2012 13:37:53 +0000 (15:37 +0200)]
Add passing test for definition list with empty definition

Change-Id: I850f2389274aca76bab0b4a340a14af58e349b93

11 years ago(bug 4220) dump schema get unique contraints on id
Elvis Stansvik [Fri, 25 May 2012 07:44:26 +0000 (09:44 +0200)]
(bug 4220) dump schema get unique contraints on id

This patch was made in December 2005 by Elvis Stansvik on bug 4220, you
will find below the rewritten introduction for his patch contribution.

"""
The XML Schema for the XML dump format used by MediaWiki has no
constraints for the page and revision identifiers. This patch solve that
issue by enforcing the constraint in the XSD.

It most probably makes sense, since I think that:

 - some parsers capable of Schema validation can work more efficiently
   if constraints are in the XSD.
 - Another reason is that (however unlikely) some other software might
   output files in this format are not obliged to keep the IDs unique,
   according the the XSD in its current form.
"""

Updating the http://www.mediawiki.org/xml/export-0.7/ public URL is
tracked by bug 37111.

Change-Id: Idb82fe620c3395acaa8f051b4d4d0d770cd33d44

11 years agoFix a typo in resources/jquery/jquery.byteLimit.js
Liangent [Fri, 25 May 2012 05:08:36 +0000 (13:08 +0800)]
Fix a typo in resources/jquery/jquery.byteLimit.js

Change-Id: I35d501704567eb62bcb905f0d9633fefd4c23271

11 years agoMerge "HTMLForm: throw a warning when no callback is set"
Aaron Schulz [Thu, 24 May 2012 23:31:30 +0000 (23:31 +0000)]
Merge "HTMLForm: throw a warning when no callback is set"

11 years agoMerge "Make it work in wikis not configured in English. (hardcodes message values...
Aaron Schulz [Thu, 24 May 2012 23:26:16 +0000 (23:26 +0000)]
Merge "Make it work in wikis not configured in English. (hardcodes message values)  php phpunit.php includes/WikiPageTest.php"

11 years agoMerge "(bug 36761) "Mark pages as visited" should submit previously established filte...
Aaron Schulz [Thu, 24 May 2012 23:21:12 +0000 (23:21 +0000)]
Merge "(bug 36761) "Mark pages as visited" should submit previously established filter options The form was missing the hidden inputs containing the filter options already selected. This change fixes adds those inputs."

11 years agoMerge "Scribunto parser support"
Aaron Schulz [Thu, 24 May 2012 23:11:17 +0000 (23:11 +0000)]
Merge "Scribunto parser support"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Siebrand [Thu, 24 May 2012 21:58:25 +0000 (21:58 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "[FileBackend] Added getScopedLocksForOps() function."
Brion VIBBER [Thu, 24 May 2012 21:08:40 +0000 (21:08 +0000)]
Merge "[FileBackend] Added getScopedLocksForOps() function."

11 years agoMerge "Bug 36785 Special:Shortpages lists only NS_MAIN pages. (pages from all $wgCont...
Aaron Schulz [Thu, 24 May 2012 21:05:45 +0000 (21:05 +0000)]
Merge "Bug 36785 Special:Shortpages lists only NS_MAIN pages. (pages from all $wgContentNamespaces should be listed)"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 24 May 2012 19:52:26 +0000 (19:52 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I9f9710c8961fcde617b526c28aefd98f5ff312f7

11 years agoMerge "Workaround for autoloading when using php namespace."
Aaron Schulz [Thu, 24 May 2012 18:51:18 +0000 (18:51 +0000)]
Merge "Workaround for autoloading when using php namespace."

11 years agoMerge "When file sha1 populator fixes wrong values, make it fix the other metadata."
Brion VIBBER [Thu, 24 May 2012 18:49:50 +0000 (18:49 +0000)]
Merge "When file sha1 populator fixes wrong values, make it fix the other metadata."

11 years agoMerge "Work around annoying Revision::newFromArchiveRow exception."
Brion VIBBER [Thu, 24 May 2012 18:48:38 +0000 (18:48 +0000)]
Merge "Work around annoying Revision::newFromArchiveRow exception."

11 years agoAdd and fix comments in some includes files
mrbluesky [Sun, 15 Apr 2012 00:12:01 +0000 (02:12 +0200)]
Add and fix comments in some includes files

Change-Id: If781ad1a9eeba8310cef97dc9786685e8b265fa1

11 years agoWorkaround for autoloading when using php namespace.
daniel [Thu, 24 May 2012 13:37:49 +0000 (15:37 +0200)]
Workaround for autoloading when using php namespace.

This is a Workaround for PHP bug <https://bugs.php.net/bug.php?id=49143> (5.3.2. is broken, it's fixed in 5.3.6):

Strip leading backslashes from class names. When namespaces are used, leading backslashes are used to indicate
the top-level namespace, e.g. \foo\Bar. When used like this in the code, the leading backslash isn't passed to
the auto-loader ($className would be 'foo\Bar'). However, if a class is accessed using a string instead of a
class literal (e.g. $class = '\foo\Bar'; new $class()), then some versions of PHP do not strip the leading
backlash in this case, causing autoloading to fail.

amended: as per Jeroen's suggestion, used // for comments and ltrim instead of preg_replace.

Change-Id: I71e0429ed1da5c83262dbf6f989c782385af9bcb

11 years agoMake it work in wikis not configured in English.
Platonides [Wed, 23 May 2012 21:09:15 +0000 (23:09 +0200)]
Make it work in wikis not configured in English.
(hardcodes message values)
 php phpunit.php includes/WikiPageTest.php

Change-Id: I4b93d983f467fd281695be5ac778d30db0b09c17

11 years agoWork around annoying Revision::newFromArchiveRow exception.
Aaron Schulz [Wed, 23 May 2012 20:18:57 +0000 (13:18 -0700)]
Work around annoying Revision::newFromArchiveRow exception.

Change-Id: Ib5cfae54b12fd2fee5120d7dbae7a1e2b99b0181

11 years agoMerge "Skip legacy archives rows that already have the sha1 filled."
Reedy [Wed, 23 May 2012 19:37:49 +0000 (19:37 +0000)]
Merge "Skip legacy archives rows that already have the sha1 filled."

11 years agoMerge "Revert "(bug 30625) Add, to every API upload response, the warnings raised.""
Aaron Schulz [Wed, 23 May 2012 19:32:50 +0000 (19:32 +0000)]
Merge "Revert "(bug 30625) Add, to every API upload response, the warnings raised.""

11 years agoSkip legacy archives rows that already have the sha1 filled.
Aaron Schulz [Wed, 23 May 2012 19:28:09 +0000 (12:28 -0700)]
Skip legacy archives rows that already have the sha1 filled.

Change-Id: I070413a736211017022c7ae36a9efab3aa0e1fe1

11 years agoRevert "(bug 30625) Add, to every API upload response, the warnings raised."
Brion VIBBER [Wed, 23 May 2012 19:27:48 +0000 (19:27 +0000)]
Revert "(bug 30625) Add, to every API upload response, the warnings raised."

Inconsistent formatting (returns an empty array vs a full object, breaks UploadWizard)

This reverts commit e2b3d53db5c766dea3ea1d34e4136259214a03c9

11 years agoRemoved checks for the "MEDIAWIKI" constant on files that only define classes.
Alexandre Emsenhuber [Wed, 23 May 2012 17:35:12 +0000 (19:35 +0200)]
Removed checks for the "MEDIAWIKI" constant on files that only define classes.

This checks are not needed in that case.

Change-Id: Ia83447427de8b7ea32aced8ff43c7a252b8d504c

11 years agoWhen file sha1 populator fixes wrong values, make it fix the other metadata.
Aaron Schulz [Wed, 23 May 2012 19:04:29 +0000 (12:04 -0700)]
When file sha1 populator fixes wrong values, make it fix the other metadata.

Change-Id: Ie03af8b97dc76d2ab4990108b9189693fcf81697

11 years agoAdded canonical url check for squid caching on view.
Aaron Schulz [Wed, 23 May 2012 17:15:48 +0000 (10:15 -0700)]
Added canonical url check for squid caching on view.

* This check is similar to the HistoryAction one. It prevents things from
  getting cached that do not get purged with the page is invalidated.

Change-Id: Ie38ae198b173533937103d66478a9ccb5b086175

11 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Wed, 23 May 2012 11:41:30 +0000 (13:41 +0200)]
Added missing GPLv2 headers in some places.

Also made file documentation more consistent.

Change-Id: I30e124514396f110a572467b94ca06cefd5f7b46

11 years ago[FileRepo] Cleanup of URL config.
Aaron [Thu, 10 May 2012 18:15:29 +0000 (11:15 -0700)]
[FileRepo] Cleanup of URL config.

* Made the 'zones' config a bit easier to set by falling back to defaults more piecemeal.
  Each zone now also has a 'url' parameter. This is useful for CDN support for third parties.
* Deprecated weirdly name getRootUrl() function and made it wrap getZoneUrl( 'public' ).

Change-Id: I8295a81e9cc56c08069b35fa4e4f883fd0108df7

11 years agoRemove OutputPage::uncacheableBecauseRequestvars()
Tim Starling [Tue, 22 May 2012 23:37:53 +0000 (09:37 +1000)]
Remove OutputPage::uncacheableBecauseRequestvars()

Fix for r10265: OutputPage::uncacheableBecauseRequestvars() as written
in that revision is backwards, apparently declaring all requests to be
uncacheable except those with useskin or uselang. Luckily getText() has
always converted its default parameter to a string, so the triple-equals
comparisons always fail, and uncacheableBecauseRequestvars() always
returns false.

In any case, it was never necessary to suppress the client-side cache
for useskin/uselang views, so the accidental behaviour was appropriate.

Change-Id: I520940867509b986a47d63ead9b549e8aa82fa1f

11 years agoMerge "Refactor DeviceDetection: make it OOP and extendable"
awjrichards [Tue, 22 May 2012 21:40:59 +0000 (21:40 +0000)]
Merge "Refactor DeviceDetection: make it OOP and extendable"

11 years agoRefactor DeviceDetection: make it OOP and extendable
Max Semenik [Mon, 21 May 2012 18:32:35 +0000 (22:32 +0400)]
Refactor DeviceDetection: make it OOP and extendable

Old interfaces are preserved for b/c for now. Stuff that needs to die
such as css_file_name has not been exposed for new interfaces.

Remove unused device properties.

Change-Id: I9b08eb81625a5570e700d9b690c03a001316de71

11 years agoMerge "(bug 30625) Add, to every API upload response, the warnings raised."
Aaron Schulz [Tue, 22 May 2012 21:26:33 +0000 (21:26 +0000)]
Merge "(bug 30625) Add, to every API upload response, the warnings raised."

11 years ago(bug 30625) Add, to every API upload response, the warnings raised.
Mark Holmquist [Fri, 11 May 2012 20:39:57 +0000 (13:39 -0700)]
(bug 30625) Add, to every API upload response, the warnings raised.

The current API implementation has a parameter for uploads that is
called "ignorewarnings". Currently, it will not only suppress any
warnings from stopping the upload, it will also lose any data from
those warnings.

This patch is sort of on the way to solving Bug 30625, which is in
the UploadWizard extension. That extension needs to know when a file
upload *will* fail, barring a change in some data, in order to make
it easier for a user to fix the foreseeable problems. The solution is
either to fix it this way, or to somehow spoof a file upload, and see
if it succeeds. In the hopes that other extensions will also find
this useful, I opted for the former.

Change-Id: I08b4e29e89ade6cf391ae044fceb788aaba3f5b4

11 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:18:17 +0000 (21:18 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:18:13 +0000 (21:18 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:46 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:40 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:35 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:28 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:21 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:12:58 +0000 (23:12 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "war".

Change-Id: I7b9637884e1324dee13faebcc40db7b06cd9566f

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:11:50 +0000 (23:11 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "sr-el".

Change-Id: I1ff983abc5e29a6b040487a67aa1314d488da4ce

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:10:35 +0000 (23:10 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "sr-ec".

Change-Id: Ib082eb421608ae063f88ea7e5159821f8d495379

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:09:23 +0000 (23:09 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "frp".

Change-Id: I8df7501a4179b2c4e886ad44302665a231bee66c

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:08:08 +0000 (23:08 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "be-tarask".

Change-Id: Id413764cf638b5b81286681b420ffe526c9e8e9d

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:02:21 +0000 (23:02 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "be".

Change-Id: I07dbb4e66a49b7e082d1b6fa4ba0c2495e4561d9

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:00:59 +0000 (23:00 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "ba".

Change-Id: If14573245022f2b65e1685387868391ad357ac4a

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 20:57:15 +0000 (22:57 +0200)]
Localisation updates from translatewiki.net.

Updates for namespaces for languages that previously didn't have any.
Added additional aliases when $fallback was set (only for 'kv').

Change-Id: I58f34cfe1092f7cb8b52ffd3089ade19ca89202e

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 20:18:54 +0000 (22:18 +0200)]
Localisation updates from translatewiki.net.

Updates for magic words.

Change-Id: Ibb55e9ef0482d5fd064c871ae2afaef112ff2f8a

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 20:00:56 +0000 (22:00 +0200)]
Localisation updates from translatewiki.net.

Updates for special page aliases.

Change-Id: I4e3df9d4dd3e3753a5c6921a1e305f56dee781ba

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 22 May 2012 19:32:12 +0000 (19:32 +0000)]
Localisation updates from translatewiki.net.

Add support for Tornedalen Finnish (fit).

Change-Id: I1086674ef722026f21ca4fa18a230f2ed4c8e41a

11 years agoMerge "Localisation updates from http://translatewiki.net."
Siebrand [Tue, 22 May 2012 19:25:08 +0000 (19:25 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 22 May 2012 19:17:21 +0000 (19:17 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1e5a2181d541eda3268e6b77ec14b31cb5d5303b

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Tue, 22 May 2012 18:06:30 +0000 (20:06 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: Ife63db5d36d833de4e0944f9b79ab0f80e7b84c5

12 years ago[FileRepo] Avoiding useless purging for new uploads (not re-uploads).
Aaron [Tue, 22 May 2012 18:36:43 +0000 (11:36 -0700)]
[FileRepo] Avoiding useless purging for new uploads (not re-uploads).

Change-Id: If554c14c786cd5f743c4d8302660a8b1e5295393

12 years ago[FileBackend] Avoid an extra RTT on Swift listing operations.
Aaron Schulz [Sun, 20 May 2012 03:10:23 +0000 (20:10 -0700)]
[FileBackend] Avoid an extra RTT on Swift listing operations.

* Also tweaked timestamp tolerance in tests, intended for Swift
* Also made a few tweaks to speed up tests a bit

Change-Id: Ibdee36d3bf86089b027dc74bb2582acc1ab4b96b

12 years agoHTMLForm: throw a warning when no callback is set
Max Semenik [Tue, 22 May 2012 15:09:52 +0000 (19:09 +0400)]
HTMLForm: throw a warning when no callback is set

Change-Id: Ied019afaf607c4b5967989fcb53945a116eeaed6

12 years agoScribunto parser support
Tim Starling [Tue, 22 May 2012 03:26:25 +0000 (13:26 +1000)]
Scribunto parser support

Add $indexOffset parameter to PPFrame::newChild(). This makes it
possible to use newChild() for interpreting named parameters to
invoke in Scribunto -- otherwise I would have had to duplicate its
functionality, which would have been tricky given that I wanted to
make a real frame with an expand() method. Setting $indexOffset allows
newChild() to start counting numbered parameters from somewhere other
than the first pipe character, leaving room for the Scribunto function
name.

Fixed PPCustomFrame_*::getArguments(), was missing for no apparent
reason. I didn't end up using it in Scribunto, but there's no harm in
adding it anyway.

Change-Id: I0c761aab8a7f1ae74e8d151a1346febb5c466e18

12 years ago(bug 36761) "Mark pages as visited" should submit previously established filter options
Aaron Pramana [Mon, 21 May 2012 03:21:33 +0000 (20:21 -0700)]
(bug 36761) "Mark pages as visited" should submit previously established filter options
The form was missing the hidden inputs containing the filter options already selected. This change fixes adds those inputs.

Change-Id: I67f3b34672c52c13789a967e81e0cb32813b2be2

12 years agoMerge "Adding params to getArrow()"
Siebrand [Mon, 21 May 2012 23:44:31 +0000 (23:44 +0000)]
Merge "Adding params to getArrow()"

12 years agoRevert "Treat truncated HTTP requests as errors."
Reedy [Mon, 21 May 2012 22:10:51 +0000 (23:10 +0100)]
Revert "Treat truncated HTTP requests as errors."

Caused bug 36950 among other issues

This reverts commit ded6170bd2072971f72db794f3ab1625a8e13475

Change-Id: I26500896a09a9fe720dc31b3d48cdbb3cd6c8677

12 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Mon, 21 May 2012 20:07:18 +0000 (20:07 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Mon, 21 May 2012 19:56:04 +0000 (21:56 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: Ibe7815124d6915792dcbb150d01df21d9b22b0b0

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 21 May 2012 19:55:05 +0000 (19:55 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Icadd46b1444aae30f60f9348d570fea9b70f42e9

12 years agoMerge "Remove some methods from FakeTitle that do not exist anymore in Title."
Demon [Mon, 21 May 2012 19:32:08 +0000 (19:32 +0000)]
Merge "Remove some methods from FakeTitle that do not exist anymore in Title."

12 years agoRe-phrased titles for diff and history pages
Amir E. Aharoni [Mon, 21 May 2012 18:15:26 +0000 (21:15 +0300)]
Re-phrased titles for diff and history pages

Putting the title in the beginning is convenient, because it is more
visible in a small browser tab.

Patch set 2: Capital after colon.

Change-Id: I4803be2265b1209929ae5ba6d08c2371b0f7d759

12 years agoMerge "Improved/added parameter documentation"
Siebrand [Mon, 21 May 2012 16:27:56 +0000 (16:27 +0000)]
Merge "Improved/added parameter documentation"

12 years agoadded since tag to wikiScript after I wasted a minute finding when it was added ...
jeroendedauw [Mon, 21 May 2012 13:39:01 +0000 (15:39 +0200)]
added since tag to wikiScript after I wasted a minute finding when it was added - joy!

Change-Id: Idc4dd1353cdbfed31ad86446b59043bffa4ba225

12 years agoAdding params to getArrow()
Amir E. Aharoni [Wed, 16 May 2012 22:55:08 +0000 (01:55 +0300)]
Adding params to getArrow()

Adding params to getArrow, backwards, left, right, up, down.

Change-Id: Ifbcffca71c495a627d69edd36fec389ceb68bb80

12 years agoRemove some methods from FakeTitle that do not exist anymore in Title.
Alexandre Emsenhuber [Mon, 21 May 2012 08:18:58 +0000 (10:18 +0200)]
Remove some methods from FakeTitle that do not exist anymore in Title.

There are :
- FakeTitle::moveOverExistingRedirect()
- FakeTitle::moveToNewTitle()

Change-Id: I09f689ef185357b9c9afbfe95bc06b6135ed115d

12 years agoMerge "(bug 25946) The message on the top of Special:RecentChanges is now displayed...
Siebrand [Mon, 21 May 2012 07:07:24 +0000 (07:07 +0000)]
Merge "(bug 25946) The message on the top of Special:RecentChanges is now displayed in user language instead of content language"