lhc/web/wiklou.git
11 years ago(bug 11056) Closing bracket skipped in emailed links
Federico Leva [Wed, 19 Sep 2012 14:33:19 +0000 (16:33 +0200)]
(bug 11056) Closing bracket skipped in emailed links

Fixing password reminders, reported on TWN.
Adding <> as already done for enotif and translationnotif.
Directly in the parameter as requested by Siebrand on I5aac9a75.

Change-Id: Ib796d28b73ae61e472113dd062e487fbdb8bf1bb

11 years agoMerge "Updated plural rules from CLDR 22"
Siebrand [Wed, 19 Sep 2012 07:01:52 +0000 (07:01 +0000)]
Merge "Updated plural rules from CLDR 22"

11 years agoMerge "(bug 40098) Don't parse the section's name in the summary when creating a...
Siebrand [Wed, 19 Sep 2012 06:56:46 +0000 (06:56 +0000)]
Merge "(bug 40098) Don't parse the section's name in the summary when creating a new section"

11 years agoMerge "Forward the User object from WikiPage to Revision."
Siebrand [Wed, 19 Sep 2012 06:54:53 +0000 (06:54 +0000)]
Merge "Forward the User object from WikiPage to Revision."

11 years agoMerge "add dir='ltr' to non-localized debug toolbar stuff"
Siebrand [Wed, 19 Sep 2012 01:43:23 +0000 (01:43 +0000)]
Merge "add dir='ltr' to non-localized debug toolbar stuff"

11 years agoMerge "(bug 32052) Improve "noarticletext-nopermission" message"
Siebrand [Wed, 19 Sep 2012 00:04:54 +0000 (00:04 +0000)]
Merge "(bug 32052) Improve "noarticletext-nopermission" message"

11 years ago[FileBackend] Factored out setConcurrencyFlags() function.
Aaron [Tue, 18 Sep 2012 23:04:13 +0000 (16:04 -0700)]
[FileBackend] Factored out setConcurrencyFlags() function.

* This moves some options code from FileBackend to FileBackendStore,
  where it belongs. This also allows for reuse by other operations.

Change-Id: Ic9a7d36a6e4bc6b815a7d68926105401f65c53fb

11 years ago(bug 32052) Improve "noarticletext-nopermission" message
Federico Leva [Tue, 18 Sep 2012 21:20:12 +0000 (23:20 +0200)]
(bug 32052) Improve "noarticletext-nopermission" message

Specifying explicitly that user has no permission.
Better at the end because it's not the most important thing and for consistency.
Wording stolen from 'movenotallowed' and so on.

Change-Id: I81abd21ee646332dd455a48076515cf0a683fd9c

11 years agoForward the User object from WikiPage to Revision.
Alexandre Emsenhuber [Tue, 18 Sep 2012 20:44:58 +0000 (22:44 +0200)]
Forward the User object from WikiPage to Revision.

This affects the following methods of WikiPage:
- getText()
- getUser()
- getCreator()
- getUserText()
- getComment()

These are wrapper to methods in the Revision class
that accept an optional User object as second parameter
in the case FOR_THIS_USER is passed as first parameter.

Change-Id: I81a2470378bc1134dd144743d376ba31f4fe13d1

11 years ago(bug 40046) MediaWiki's info action should link first revision of a page
madman [Tue, 18 Sep 2012 00:10:48 +0000 (00:10 +0000)]
(bug 40046) MediaWiki's info action should link first revision of a page

Change-Id: I9cf13eafc7a18db27391cfc160f780cd73d88b87

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 18 Sep 2012 19:07:43 +0000 (19:07 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ib3e345d8717343355fb0d093f8d8c3fe7d9b92ed

11 years agoMerge "(bug 40306) Only convert align to float for table."
Krinkle [Tue, 18 Sep 2012 15:09:00 +0000 (15:09 +0000)]
Merge "(bug 40306) Only convert align to float for table."

11 years agoRemove some debug output when opening a new database connection
Alexandre Emsenhuber [Sun, 2 Sep 2012 20:28:13 +0000 (22:28 +0200)]
Remove some debug output when opening a new database connection

Simplified the messages to avoid duplicates.

Change-Id: Ibcccc98bc18bdd0e0b876d9ad97f281c643eeabf

11 years ago(bug 40306) Only convert align to float for table.
Antoine Musso [Mon, 17 Sep 2012 20:16:34 +0000 (22:16 +0200)]
(bug 40306) Only convert align to float for table.

Align should be converted to text-align for all the elements specified
in $presentationalAttribs mapping. Table however is an exception, it
applies to alignment of the block (instead of the content).

Follow up I108cbd10 / 27a4d74bd7.

Change-Id: Iee17d4ef1a6a9b46d88a330cfc9179bccfe93247

11 years agoMerge "(bug 40302) Lock user table with LOCK TABLES"
Aaron Schulz [Tue, 18 Sep 2012 05:45:31 +0000 (05:45 +0000)]
Merge "(bug 40302) Lock user table with LOCK TABLES"

11 years agoMerge "Use number input type for year in dateMenu"
IAlex [Tue, 18 Sep 2012 04:32:30 +0000 (04:32 +0000)]
Merge "Use number input type for year in dateMenu"

11 years agoUpdated CLDRPluralRuleParser from upstream
Santhosh Thottingal [Mon, 17 Sep 2012 21:36:23 +0000 (14:36 -0700)]
Updated CLDRPluralRuleParser from upstream

* A minor fix for an implied global variable
  See https://github.com/santhoshtr/CLDRPluralRuleParser/commit/42fdda60370b130c4f544992d70278a100983508

Change-Id: Ib842145a2a8b4e1821d49edbdc729b7b58b1cf46

11 years agoUse number input type for year in dateMenu
robin [Mon, 17 Sep 2012 00:52:55 +0000 (02:52 +0200)]
Use number input type for year in dateMenu

Use the HTML5 number input type for the year input field in the dateMenu (used on e.g. history pages), since a year is always a number :)
(There was once a year type proposed, but that didn't make it into HTML5)

Patchset 2: use Html::input instead of Xml::input (and change the other Xml's to self::)

Change-Id: If9ad28566abfc02a164367d7cdd6992939169c0a

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 17 Sep 2012 19:35:39 +0000 (19:35 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I94d426ae00b4ac3d523f5485bd1e94866df12db6

11 years ago(bug 40302) Lock user table with LOCK TABLES
Reedy [Mon, 17 Sep 2012 18:17:11 +0000 (19:17 +0100)]
(bug 40302) Lock user table with LOCK TABLES

Change-Id: I26905c29e004a4c7df82fd38aab908287daf193e

11 years agoUse Revision::isCurrent() in ApiParse.
Alexandre Emsenhuber [Mon, 17 Sep 2012 18:14:27 +0000 (20:14 +0200)]
Use Revision::isCurrent() in ApiParse.

We have a loaded Revision object so we may use that
method as well.

Change-Id: Ie8bb871f8874871d7df3111d39ba23a01769cd34

11 years agoadd dir='ltr' to non-localized debug toolbar stuff
aude [Mon, 17 Sep 2012 15:14:09 +0000 (15:14 +0000)]
add dir='ltr' to non-localized debug toolbar stuff

It might be nice to localize this stuff; until then,
it is rather annoying to look at broken parentheses
when using MediaWiki and the toolbar in a RTL language.

Removed text-align: left, so it won't be flipped.

Added an explicit label for Peak memory - it's clearer and it helps
with LTR layout (the units are localized and confuse the display).

Added lang="en" dir="ltr" to the main containter, which is
the right thing until it's properly localized.

Change-Id: I1d0ef6d12eefac0ff28277e4cc2dbc62acd9eee2

11 years agoUpdated plural rules from CLDR 22
Niklas Laxström [Fri, 14 Sep 2012 16:33:36 +0000 (16:33 +0000)]
Updated plural rules from CLDR 22

Change-Id: I0325635a8e0fa3d5defbcbc3a0f4746ed4ab14c1

11 years agoMerge "(bug 40251) Added more languages to plural override"
Siebrand [Mon, 17 Sep 2012 16:48:32 +0000 (16:48 +0000)]
Merge "(bug 40251) Added more languages to plural override"

11 years agoMerge "Removed some language files no longer needed"
Siebrand [Mon, 17 Sep 2012 16:48:05 +0000 (16:48 +0000)]
Merge "Removed some language files no longer needed"

11 years agoMerge "Fix spelling in nan date formats"
Siebrand [Mon, 17 Sep 2012 16:47:01 +0000 (16:47 +0000)]
Merge "Fix spelling in nan date formats"

11 years agoMerge "Use email input type on SpecialChangeEmail"
IAlex [Mon, 17 Sep 2012 16:02:57 +0000 (16:02 +0000)]
Merge "Use email input type on SpecialChangeEmail"

11 years agoMaintenance in Html::openElement regarding input types
robin [Mon, 17 Sep 2012 01:27:50 +0000 (03:27 +0200)]
Maintenance in Html::openElement regarding input types

Followup to c22000

Remove unset() for 'search' type, it will now simply be unset through the regular checking (removed it in the validTypes for that, but it is still in validTypes in HTML5 mode).

Update / remove outdated code comments.

Change-Id: I452462b81360b67b76dd8baa732d52113b6aafe6

11 years agoUse email input type on SpecialChangeEmail
robin [Mon, 17 Sep 2012 00:38:20 +0000 (02:38 +0200)]
Use email input type on SpecialChangeEmail

Change the input type for the e-mail input field to HTML5 'email' ('input' should have been 'text' anyway').

Change-Id: Idb1195e3f56b6b43d3b86d38747a4113d04053b5

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 16 Sep 2012 19:49:54 +0000 (19:49 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ib713d5ca9ae274ada2b391b520516182c61007e2

11 years agoAdd support for plural rules for decimal numbers
Santhosh Thottingal [Sat, 15 Sep 2012 03:20:04 +0000 (20:20 -0700)]
Add support for plural rules for decimal numbers

* Update CLDRPluralRuleParser from upstream
* Use parseFloat instead of parseInt in mediawiki.jqueryMsg
* Add qunit tests

Change-Id: I0b44df6c9e299142925a557f6dc41d749d381a02

11 years ago(bug 37453) Move $wgDisable(Lang|Title)Conversion to ParserOptions
Liangent [Sun, 10 Jun 2012 15:35:15 +0000 (23:35 +0800)]
(bug 37453) Move $wgDisable(Lang|Title)Conversion to ParserOptions

This allows easier fix of bug 37453, and patch to fix it is
included in this changeset.

Change-Id: I9096534639394755d0a296dea7380e7b938befef

11 years agoRemoved some language files no longer needed
Niklas Laxström [Sun, 16 Sep 2012 18:06:52 +0000 (18:06 +0000)]
Removed some language files no longer needed

Only have plural defined which is same as in cldr

Change-Id: I0bacb38397af14bf413dcf4a9df0b9f3fbe4110b

11 years agoMerge "Fixed warning spam in SqlBagOStuff."
IAlex [Sun, 16 Sep 2012 18:06:24 +0000 (18:06 +0000)]
Merge "Fixed warning spam in SqlBagOStuff."

11 years agoMerge "Use WikiPage::makeParserOptions() where possible."
Aaron Schulz [Sun, 16 Sep 2012 18:02:56 +0000 (18:02 +0000)]
Merge "Use WikiPage::makeParserOptions() where possible."

11 years agoMerge "Migrate hsb plural rules to cldr format"
IAlex [Sun, 16 Sep 2012 18:00:37 +0000 (18:00 +0000)]
Merge "Migrate hsb plural rules to cldr format"

11 years agoMerge "(bug 40257) action=info no longer shows subpages where disabled"
IAlex [Sun, 16 Sep 2012 17:58:13 +0000 (17:58 +0000)]
Merge "(bug 40257) action=info no longer shows subpages where disabled"

11 years agoFixed warning spam in SqlBagOStuff.
Aaron Schulz [Sun, 16 Sep 2012 17:56:52 +0000 (10:56 -0700)]
Fixed warning spam in SqlBagOStuff.

Change-Id: Iac573980596349deab757eac859d9e28dc2963b6

11 years agoMigrate hsb plural rules to cldr format
Niklas Laxström [Sun, 16 Sep 2012 17:53:10 +0000 (17:53 +0000)]
Migrate hsb plural rules to cldr format

Change-Id: I9d1c34d8e63767a6abc4f98c09caf65d5056433a

11 years agoMerge "Fix strict error in UploadStashFile"
IAlex [Sun, 16 Sep 2012 17:48:20 +0000 (17:48 +0000)]
Merge "Fix strict error in UploadStashFile"

11 years agoMerge "Update 'protectedinterface' and 'editinginterface'"
IAlex [Sun, 16 Sep 2012 17:47:51 +0000 (17:47 +0000)]
Merge "Update 'protectedinterface' and 'editinginterface'"

11 years agoFix strict error in UploadStashFile
Reedy [Sun, 16 Sep 2012 17:18:27 +0000 (18:18 +0100)]
Fix strict error in UploadStashFile

Strict standards: Declaration of UploadStashFile::thumbName() should be compatible with that of File::thumbName() in /var/www/wiki/mediawiki/core/includes/upload/UploadStash.php on line 498

Call Stack:
    0.0004     645672   1. {main}() /var/www/wiki/mediawiki/core/index.php:0
    0.0756    5904264   2. MediaWiki->run() /var/www/wiki/mediawiki/core/index.php:59
    0.0756    5904264   3. MediaWiki->main() /var/www/wiki/mediawiki/core/includes/Wiki.php:446
    0.0797    6328272   4. MediaWiki->performRequest() /var/www/wiki/mediawiki/core/includes/Wiki.php:536
    0.0960    7042800   5. SpecialPageFactory::executePath() /var/www/wiki/mediawiki/core/includes/Wiki.php:290
    0.1041    8003528   6. SpecialPage->run() /var/www/wiki/mediawiki/core/includes/SpecialPageFactory.php:494
    0.1041    8003528   7. SpecialSpecialpages->execute() /var/www/wiki/mediawiki/core/includes/SpecialPage.php:611
    0.2082   17300016   8. SpecialSpecialpages->getPageGroups() /var/www/wiki/mediawiki/core/includes/specials/SpecialSpecialpages.php:42
    0.2083   17300016   9. SpecialPageFactory::getUsablePages() /var/www/wiki/mediawiki/core/includes/specials/SpecialSpecialpages.php:54
    0.4498   30176624  10. SpecialPageFactory::getPage() /var/www/wiki/mediawiki/core/includes/SpecialPageFactory.php:372
    0.4527   30373096  11. SpecialUploadStash->__construct() /var/www/wiki/mediawiki/core/includes/SpecialPageFactory.php:344
    0.4861   33604352  12. FileRepo->getUploadStash() /var/www/wiki/mediawiki/core/includes/specials/SpecialUploadStash.php:52
    0.4861   33604832  13. AutoLoader::autoload() /var/www/wiki/mediawiki/core/includes/AutoLoader.php:0
    0.4898   33952264  14. require('/var/www/wiki/mediawiki/core/includes/upload/UploadStash.php') /var/www/wiki/mediawiki/core/includes/AutoLoader.php:1150

Change-Id: Iee2aae16df804f42cbae9c21c870781a08ad3850

11 years agoMerge "For languages without plural forms, use them from fallback language"
Siebrand [Sun, 16 Sep 2012 17:03:11 +0000 (17:03 +0000)]
Merge "For languages without plural forms, use them from fallback language"

11 years agoMerge "Remove all custom plural rules and use CLDR plural rule system"
Siebrand [Sun, 16 Sep 2012 17:01:03 +0000 (17:01 +0000)]
Merge "Remove all custom plural rules and use CLDR plural rule system"

11 years agoUpdate 'protectedinterface' and 'editinginterface'
Federico Leva [Sun, 16 Sep 2012 13:45:32 +0000 (15:45 +0200)]
Update 'protectedinterface' and 'editinginterface'

They still lived in 2008.
* Link domain only as in 'allmessagestext': hardcoded setlang is not a good idea nowadays.
* "Consider using" didn't reflect reality.
* Clarify local vs. general; 'allmessagestext' still has a slightly different flavour.
* Copy sysop-only warning to 'protectedinterface' as well: normal users need it even more.

Change-Id: Ie588e683215a714fc8df6b898f4447862e7bd00c

11 years agoMerge "Tweaked various FileBackend docs."
Aaron Schulz [Sun, 16 Sep 2012 08:03:36 +0000 (08:03 +0000)]
Merge "Tweaked various FileBackend docs."

11 years agoTweaked various FileBackend docs.
Aaron Schulz [Sun, 16 Sep 2012 06:38:34 +0000 (23:38 -0700)]
Tweaked various FileBackend docs.

Change-Id: Ie64fa644802b393ecbbb4db4b026bc45511de2ac

11 years agoMerge "Generated node count limit"
Aaron Schulz [Sun, 16 Sep 2012 04:36:10 +0000 (04:36 +0000)]
Merge "Generated node count limit"

11 years agoMerge "Fix and update i18n QUnit test breakages"
Nikerabbit [Sun, 16 Sep 2012 02:14:37 +0000 (02:14 +0000)]
Merge "Fix and update i18n QUnit test breakages"

11 years agoFix and update i18n QUnit test breakages
Timo Tijhof [Fri, 14 Sep 2012 02:57:57 +0000 (04:57 +0200)]
Fix and update i18n QUnit test breakages

* mediawiki.language.test:
  Was broken for a while because the setup/teardown set
  language.data instead of language.data.values so each test
  resulted in:
  > TypeError: Cannot read property 'en' of undefined

  Also stored the copy in the QUnit module context instead
  of in the shared scope.

* mediawiki.cldr.test: Update QUnit pattern.
  - Removed redundant Initial check
  - '--' from test name
  - test()'s expect count argument
  - Superfluous comments, its just assert.equal it should go
    without saying at this point through the unit tests what
    the 2nd and 3rd are.

* mediawiki.cldr.test:
  Fixed trailing comma in commented out code and whitespace
  warnings.

Change-Id: I95de3bb551efd7993cfcfba4a5cc3f310e7d6805

11 years agoGenerated node count limit
Tim Starling [Sat, 15 Sep 2012 21:51:58 +0000 (14:51 -0700)]
Generated node count limit

To prevent large template DOM caches from sending servers into swap,
throw an exception when more than some number of DOM elements are
parsed. Unfortunately, it wasn't possible to return a normal error
message, because it broke PST and extractSections and corrupted the
article text. It's safer to refuse to save the edit, and we don't
have decent ways to do that short of throwing an exception.

Ideally we would like to have an upstream patch that hooks libxml to
allocate memory from PHP's request pool, then a fatal error would be
raised instead of swapping.

Change-Id: I4cb4f6fd313e1e0940b56cc5e586afd1bea9267a

11 years agoFor languages without plural forms, use them from fallback language
Santhosh Thottingal [Sat, 15 Sep 2012 19:49:44 +0000 (12:49 -0700)]
For languages without plural forms, use them from fallback language

* Fixes Bug 40251 and this is alternate for I403a29e2
* This brings back the old mediawiki behavior for languages without
  defined plural rules
* Add a test for hu, which had issue as per Bug 40251

Change-Id: I345c305134a62d43c9dfedc5243981d0e77e326d

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 15 Sep 2012 19:48:04 +0000 (19:48 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I934f969266263faeb63856ad11bab40df46940a5

11 years agoRemove all custom plural rules and use CLDR plural rule system
Santhosh Thottingal [Sat, 15 Sep 2012 03:53:45 +0000 (20:53 -0700)]
Remove all custom plural rules and use CLDR plural rule system

We have a data driven plural rule evaluation system in core now.
See I1aa3b081

Added more tests

Change-Id: I4451fc7d434d9d29bb6ea36f0c0698fbe8dc4ff4

11 years ago(bug 40257) action=info no longer shows subpages where disabled
Marius Hoch [Sat, 15 Sep 2012 00:02:16 +0000 (02:02 +0200)]
(bug 40257) action=info no longer shows subpages where disabled

action=info no longer shows the number of sub pages if sub pages
are disabled in the current namespace (using $wgNamespacesWithSubpages).

Change-Id: Ide68fd89d7220ca6cd4fdf5d170e839c091bcb92

11 years agoMerge "LockManger documentation cleanups."
Aaron Schulz [Sat, 15 Sep 2012 18:04:44 +0000 (18:04 +0000)]
Merge "LockManger documentation cleanups."

11 years agoLockManger documentation cleanups.
Aaron Schulz [Sat, 15 Sep 2012 17:58:56 +0000 (10:58 -0700)]
LockManger documentation cleanups.

Change-Id: I472306586bd28a4e863afabc0e48d707850761a4

11 years agoFix spelling in nan date formats
Niklas Laxström [Sat, 15 Sep 2012 16:55:02 +0000 (16:55 +0000)]
Fix spelling in nan date formats

http://translatewiki.net/wiki/Thread:Portal_talk:Nan/Misspelt_word_in_date_format

Change-Id: I41f31e7139fc297d4166e74488332b7ceb57a6c3

11 years agoFix comment in wikibits.js
Timo Tijhof [Sat, 15 Sep 2012 14:35:29 +0000 (16:35 +0200)]
Fix comment in wikibits.js

There is no "mw.util.notify" method.

Follows-up d7847099a1a2ce9ae6ff5f6544c9824a465983d3

Change-Id: I7b1a7d44eb9f8b59130b0ba8f0580ba60501e93b

11 years ago(bug 40251) Added more languages to plural override
Niklas Laxström [Sat, 15 Sep 2012 04:56:08 +0000 (04:56 +0000)]
(bug 40251) Added more languages to plural override

There might be more which have not been reported yet.
These should be temporary to restore old behavior
while we are working on alternative solution.

Change-Id: I403a29e2996e09e99ac3e7d394e7bc09a9ff8224

11 years agotest: full coverage of Html::dropDefaults()
Antoine Musso [Thu, 30 Aug 2012 10:49:57 +0000 (12:49 +0200)]
test: full coverage of Html::dropDefaults()

This closely match Html::dropDefaults() logic and hopefully test out
all default dropping.

Introduce a test case that match a failure in f34547ab where attribute
default values passed in an array are not cleaned up.

Change-Id: If8d16b066015ed1bcaf38408511ac3713eaa6540

11 years agoFix broken value="" stripping for HTML5
Daniel Friesen [Thu, 16 Aug 2012 07:37:56 +0000 (00:37 -0700)]
Fix broken value="" stripping for HTML5

The default value for value="" on <input> elements is not always an
empty string.

In particular the default value for type="radio" is "on" and by
stripping value="" out of the attributes a "" becomes "on" and our
cleanup code ends up breaking forms.

Change-Id: Ibe5a3be3f45a2f93ef95dbe42729b8f8c94a41cb

11 years agoHTML5 new types for input element
Antoine Musso [Thu, 30 Aug 2012 09:57:22 +0000 (11:57 +0200)]
HTML5 new types for input element

HTML5 introduced new types for the input element. For some reasons we
never added them to Html::openElement which would thus strip them even
in HTML5 mode.

The issue is:
 $wgHtml5 = true;
 Html::element( 'input', array( 'type' => 'color' );
 # -> "<input />"

With this patch, we returns: <input type="color" />

Change-Id: I7de373635d0eb47f788d1d664c3a913c8801efd6

11 years agoMerge "wfTimestamp should not die on bogus input [Regression]"
Aaron Schulz [Sat, 15 Sep 2012 03:52:34 +0000 (03:52 +0000)]
Merge "wfTimestamp should not die on bogus input [Regression]"

11 years agoMerge "(bug 39941) Add missing stylesheet common/shared.css to the installer pages"
Nikerabbit [Sat, 15 Sep 2012 01:47:50 +0000 (01:47 +0000)]
Merge "(bug 39941) Add missing stylesheet common/shared.css to the installer pages"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 14 Sep 2012 21:02:01 +0000 (21:02 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I74ad768046fa520b8b4902fe361c7e36bfd5b7ad

11 years ago(bug 39941) Add missing stylesheet common/shared.css to the installer
btongminh [Fri, 14 Sep 2012 19:27:35 +0000 (21:27 +0200)]
(bug 39941) Add missing stylesheet common/shared.css to the installer
pages

Change-Id: I802840fc39bc55a2d135168f9e0139622e68e17d

11 years ago(bug 40250) Local plural overrides for vi
Niklas Laxström [Fri, 14 Sep 2012 16:40:25 +0000 (16:40 +0000)]
(bug 40250) Local plural overrides for vi

Change-Id: I83fcc2e45ad35fa103584e41e275dd5cf2f8680e

11 years agowfTimestamp should not die on bogus input [Regression]
umherirrender [Fri, 14 Sep 2012 16:28:22 +0000 (18:28 +0200)]
wfTimestamp should not die on bogus input [Regression]

Followup I68eb9f27

No caller of wfTimestamp can handle the exception, false is always used,
as the method comment says.

See bug 40037 for File related timestamps.
The api result is also not b/c:
<api servedby="mw70">
  <error code="internal_api_error_TimestampException" info="Exception
Caught: MWTimestamp::setTimestamp : Invalid timestamp - te"
xml:space="preserve" />
</api>

Change-Id: I1e8c785941d35678f3d12824bdde0ce245572592

11 years ago(bug 40214) Category pages no longer use deprecated "width" HTML attribute
Alexandre Emsenhuber [Fri, 14 Sep 2012 07:29:22 +0000 (09:29 +0200)]
(bug 40214) Category pages no longer use deprecated "width" HTML attribute

Change-Id: Ie1a4a1ca81874cd2ffd1012bf6468a69729e3a62

11 years agoSet $wgUseCombinedLoginLink to false by default.
Daniel Friesen [Wed, 15 Aug 2012 18:21:07 +0000 (11:21 -0700)]
Set $wgUseCombinedLoginLink to false by default.

See: http://thread.gmane.org/gmane.science.linguistics.wikipedia.technical/61489

Change-Id: I5a6761b5648d36581848372e456832ef15e097b4

11 years agoMerge "Added MediaWikiTestCase::assertTypeOrValue to facilitate common type checks"
Daniel Kinzler [Fri, 14 Sep 2012 10:08:44 +0000 (10:08 +0000)]
Merge "Added MediaWikiTestCase::assertTypeOrValue to facilitate common type checks"

11 years agoMerge "(bug 40213) border=0 is pointless, 0 is the default."
IAlex [Fri, 14 Sep 2012 07:34:31 +0000 (07:34 +0000)]
Merge "(bug 40213) border=0 is pointless, 0 is the default."

11 years agoMoved down rarely used option flag and added @since.
Aaron Schulz [Fri, 14 Sep 2012 04:31:59 +0000 (21:31 -0700)]
Moved down rarely used option flag and added @since.

Change-Id: I801bd0ab4099245499a0eb4b060f143879164278

11 years ago(bug 40213) border=0 is pointless, 0 is the default.
Alex Monk [Thu, 13 Sep 2012 22:01:37 +0000 (23:01 +0100)]
(bug 40213) border=0 is pointless, 0 is the default.

Change-Id: I6212915d098466e1317b0c21e7be12d40d467a7d

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 13 Sep 2012 20:37:11 +0000 (20:37 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I182c6b740119a2dc33c4fd79701c62eb4a959925

11 years agoMove api/ApiTestUser.php to TestUser.php and make available in MediaWikiTestCase...
Siebrand Mazeland [Tue, 11 Sep 2012 00:07:18 +0000 (17:07 -0700)]
Move api/ApiTestUser.php to TestUser.php and make available in MediaWikiTestCase class.

* Renamed class ApiTestUser to TestUser.

Change-Id: I1c3c659c3ba5c54a314d879132f760008983372d

11 years agoAdded MediaWikiTestCase::assertTypeOrValue to facilitate common type checks
jeroendedauw [Tue, 4 Sep 2012 13:53:05 +0000 (15:53 +0200)]
Added MediaWikiTestCase::assertTypeOrValue to facilitate common type checks

Also added MediaWikiTestCase::assertType which accepts both internal types, classes and interfaces

Change-Id: I168ef17ad2da3b744a106742760ef34cc683bf69

11 years agoMerge "Some changes to Special:ListUsers and Special:ActiveUsers"
IAlex [Thu, 13 Sep 2012 18:13:05 +0000 (18:13 +0000)]
Merge "Some changes to Special:ListUsers and Special:ActiveUsers"

11 years agoMerge "(bug 39538) SVG filepages do not need the file-nohires message."
IAlex [Thu, 13 Sep 2012 18:01:17 +0000 (18:01 +0000)]
Merge "(bug 39538) SVG filepages do not need the file-nohires message."

11 years agoMerge "Convert last usages of wfMsg*() to wfMessage()."
Siebrand [Thu, 13 Sep 2012 01:49:41 +0000 (01:49 +0000)]
Merge "Convert last usages of wfMsg*() to wfMessage()."

11 years agoRemove top margin for wpSummary input.
Rob Moen [Wed, 12 Sep 2012 23:39:36 +0000 (16:39 -0700)]
Remove top margin for wpSummary input.

Rationale, the top margin on the input pushes label out of context.

Change-Id: I64befc97f5ab3e45b72f7d60b774d23b8ee2e023

11 years ago[FileBackend] Added automatic recovery option for backend sync errors.
Aaron Schulz [Mon, 3 Sep 2012 19:02:30 +0000 (12:02 -0700)]
[FileBackend] Added automatic recovery option for backend sync errors.

* Separated consistency checks from permission checks.
* Made fileStoragePathsForOps() exclude non-storage paths.

Change-Id: If15c5fb890f7506ac9c9bfb78c46ab9228a55a8f

11 years agoAdd Vary: X-Forwarded-Proto to the thumb.php redirect
Tim Starling [Wed, 12 Sep 2012 17:35:47 +0000 (10:35 -0700)]
Add Vary: X-Forwarded-Proto to the thumb.php redirect

Also added missing return. Untested.

Change-Id: I975b82d18ba98d1d9b1f2124150af9e5c41f418e

11 years agothumb.php now handles short and long thumbnail name formats when possible.
Aaron [Tue, 4 Sep 2012 16:57:44 +0000 (09:57 -0700)]
thumb.php now handles short and long thumbnail name formats when possible.

Change-Id: I33932ac0e0294dc13332dce9d4ab00a75d9cdcba

11 years agoMerge "Apparently setIndexedTagName_recursive() wasn't enough here"
Reedy [Wed, 12 Sep 2012 21:08:10 +0000 (21:08 +0000)]
Merge "Apparently setIndexedTagName_recursive() wasn't enough here"

11 years agoMerge "Make userWasLastToEdit reusable."
Demon [Wed, 12 Sep 2012 20:02:54 +0000 (20:02 +0000)]
Merge "Make userWasLastToEdit reusable."

11 years agoApparently setIndexedTagName_recursive() wasn't enough here
Catrope [Wed, 12 Sep 2012 19:57:04 +0000 (12:57 -0700)]
Apparently setIndexedTagName_recursive() wasn't enough here

Change-Id: I090b2a315040bc5594a31e5d44dcb9721b4750a6

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 12 Sep 2012 19:48:03 +0000 (19:48 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I48fcc727c92101ac76c594338fbc05a098cd1008

11 years agoMerge "Upgrade jQuery to 1.8.1 now that the remaining bug fixes have been merged"
Reedy [Wed, 12 Sep 2012 19:28:03 +0000 (19:28 +0000)]
Merge "Upgrade jQuery to 1.8.1 now that the remaining bug fixes have been merged"

11 years agoMerge "fix docu for ApiCheckCanExecute"
IAlex [Wed, 12 Sep 2012 18:51:34 +0000 (18:51 +0000)]
Merge "fix docu for ApiCheckCanExecute"

11 years agoMerge "Update release-notes (follows-up d6028a18 and a1e602a)."
IAlex [Wed, 12 Sep 2012 18:49:16 +0000 (18:49 +0000)]
Merge "Update release-notes (follows-up d6028a18 and a1e602a)."

11 years agoMerge "Fix fatal error in rcprop=loginfo"
Reedy [Wed, 12 Sep 2012 17:43:48 +0000 (17:43 +0000)]
Merge "Fix fatal error in rcprop=loginfo"

11 years agoUpgrade jQuery to 1.8.1 now that the remaining bug fixes have been merged
Catrope [Wed, 12 Sep 2012 17:39:41 +0000 (17:39 +0000)]
Upgrade jQuery to 1.8.1 now that the remaining bug fixes have been merged

(Is this a re-upgrade? Re-re-re-upgrade? I'm losing track.)

This reverts commit 82af9811ecc09da3923cc19eb5dd35bf5c9018f0

Change-Id: I0a43d7667d7cfa681a087ed96acd23d3c1a386c5

11 years agoMerge "Various javascript optimizations (fixes bug 39959)"
Catrope [Wed, 12 Sep 2012 17:36:11 +0000 (17:36 +0000)]
Merge "Various javascript optimizations (fixes bug 39959)"

11 years agoUpdate release-notes (follows-up d6028a18 and a1e602a).
Timo Tijhof [Wed, 12 Sep 2012 10:16:22 +0000 (12:16 +0200)]
Update release-notes (follows-up d6028a18 and a1e602a).

Change-Id: If4eecc72bf32eeac29cb9f88367fc699c7508884

11 years agoMerge "(bug 40072) Add semantic CSS classes to identify changes list items"
Krinkle [Wed, 12 Sep 2012 10:09:18 +0000 (10:09 +0000)]
Merge "(bug 40072) Add semantic CSS classes to identify changes list items"

11 years agoMerge "Link to mediawiki.org using https from doxygen first page, not http"
Reedy [Wed, 12 Sep 2012 03:36:12 +0000 (03:36 +0000)]
Merge "Link to mediawiki.org using https from doxygen first page, not http"

11 years ago(bug 39538) SVG filepages do not need the file-nohires message.
Derk-Jan Hartman [Fri, 7 Sep 2012 17:23:37 +0000 (19:23 +0200)]
(bug 39538) SVG filepages do not need the file-nohires message.

Change-Id: I88b75079d09cc3ab1904a0a2d716fe2df57b7be6

11 years agoLink to mediawiki.org using https from doxygen first page, not http
Alexandre Emsenhuber [Tue, 11 Sep 2012 19:43:29 +0000 (21:43 +0200)]
Link to mediawiki.org using https from doxygen first page, not http

Change-Id: I13fe244e6122930731f144f97f27126339065481