lhc/web/wiklou.git
12 years agoUse local context to get messages and time formatting methods of Language class
Alexandre Emsenhuber [Wed, 4 Apr 2012 20:15:44 +0000 (22:15 +0200)]
Use local context to get messages and time formatting methods of Language class

Change-Id: Ib3f2bd32bad9e5b84149f6dca6e1cbf56838f601

12 years ago(bug 31817) add support for HTML5 <bdi> bidi embed element
Amir E. Aharoni [Wed, 28 Mar 2012 06:42:34 +0000 (08:42 +0200)]
(bug 31817) add support for HTML5 <bdi> bidi embed element

Adding <bdi> to $htmlpairsStatic to allow using this tag.

Adds parser test case to confirm that <bdi> makes it through with 'lang' attribute.

This updated patchset also adds <bdi> to the attribute whitelist with the basic common attribute; allows 'lang' and such to get through.

Change-Id: Ib7e6553f017837cb1d49d5718e288228c17392c0

12 years agoRemove old qunit/index.html
Timo Tijhof [Wed, 4 Apr 2012 19:53:49 +0000 (21:53 +0200)]
Remove old qunit/index.html

It wasn't actively maintained and has been made obsolete when
[[Special:JavaScriptTest/qunit]] was introduced, which actually uses
ResourceLoader, LocalSettings and the Skin. It was broken in some ways
already and adds no value. It was a quick hack that isn't needed
anymore.

Change-Id: I60098902cd1e736b08992890dce978c71b9b32b0

12 years ago(bug 35705) QUnit upgraded from 1.2.0 to 1.5.0
Timo Tijhof [Wed, 4 Apr 2012 19:37:03 +0000 (21:37 +0200)]
(bug 35705) QUnit upgraded from 1.2.0 to 1.5.0

- Release notes:
  https://github.com/jquery/qunit/blob/v1.5.0/History.md

- Source of imported files:
  * https://github.com/jquery/qunit/tree/v1.5.0
  * https://github.com/jquery/qunit/tree/e9b61098fd8854e75d8e8b1649259c8df06316e4/qunit

- Unit tests still pass.
  Tested on [[Special:JavaScriptTest/qunit]] with wgEnableJavaScriptTest=true

Change-Id: I37b84dc39b1701c66fbc45fb9f3c92225f4df1cd

12 years agoMerge "Reduced file journal index bloat by removing indexes that would only be used...
Brion VIBBER [Wed, 4 Apr 2012 18:14:11 +0000 (18:14 +0000)]
Merge "Reduced file journal index bloat by removing indexes that would only be used in rare cases and where we'd almost always only be interested in very recent entries only (timestamp is indexed). This should decrease insertion time a bit."

12 years agoMerge "Separate $wgArticlePath from $wgUsePathInfo."
Brion VIBBER [Wed, 4 Apr 2012 18:12:09 +0000 (18:12 +0000)]
Merge "Separate $wgArticlePath from $wgUsePathInfo."

12 years agoMerge "Postgres updater: add config table, adjust us_image_bits type"
Brion VIBBER [Wed, 4 Apr 2012 17:53:49 +0000 (17:53 +0000)]
Merge "Postgres updater: add config table, adjust us_image_bits type"

12 years agoMerge "Fix support for TestSwarm on SpecialJavaScriptTest/qunit"
Brion VIBBER [Wed, 4 Apr 2012 17:52:02 +0000 (17:52 +0000)]
Merge "Fix support for TestSwarm on SpecialJavaScriptTest/qunit"

12 years agoMerge "Fix Bug 33653 -JqueryMsg parser should support templates without replacements"
Brion VIBBER [Wed, 4 Apr 2012 17:46:20 +0000 (17:46 +0000)]
Merge "Fix Bug 33653 -JqueryMsg parser should support templates without replacements"

12 years agoMerge changes Id1ac2f8b,I48f8cd17,I10481ce6,Id4530499
Brion VIBBER [Wed, 4 Apr 2012 17:43:45 +0000 (17:43 +0000)]
Merge changes Id1ac2f8b,I48f8cd17,I10481ce6,Id4530499

* changes:
  PHPUnit preparations for tests of maintenance
  Database dependency injection for BackupDumpers
  Pulling in fix for superfluous header
  TextPassDumper::initProgress pull in default value

12 years agoPostgres updater: add config table, adjust us_image_bits type
Demon [Wed, 4 Apr 2012 13:48:14 +0000 (09:48 -0400)]
Postgres updater: add config table, adjust us_image_bits type

This is a followup to I18e67bcb, that I failed to notice before merging

Change-Id: Ia96f831f279b0f6a348f1db80ecf30298ecf064c

12 years agoPostgreSQL schema: datatype updates, remove unused column, add table
Greg Sabino Mullane [Sat, 24 Mar 2012 23:33:31 +0000 (19:33 -0400)]
PostgreSQL schema: datatype updates, remove unused column, add table

* More allowed data type conversions from MySQL to PostgreSQL
* Allow for data type SMALLINT: seen for first time!
* Handle CREATE TYPE: check for dupes, and allow the name as a valid data type.
* Remove the now-deprecated user_options column.
* Add new table "config"

Change-Id: I18e67bcb131b88bfaea7e736f302dd79ebfc9b82

12 years agoTranslation updates from translatewiki.net
Translation updater bot [Wed, 4 Apr 2012 12:54:34 +0000 (12:54 +0000)]
Translation updates from translatewiki.net

Change-Id: I86e850920a281db166d75ca32917e57a94b83490

12 years agoReduced file journal index bloat by removing indexes that would only be
Aaron Schulz [Wed, 4 Apr 2012 00:24:44 +0000 (17:24 -0700)]
Reduced file journal index bloat by removing indexes that would only be
used in rare cases and where we'd almost always only be interested in very
recent entries only (timestamp is indexed). This should decrease insertion
time a bit.

Change-Id: Idb33ee3229315c44b764a8ed476afe8760f5595c

12 years agoShow Log toolbox link for anon users, fix toolbox on DeletedContribs
Alex Monk [Wed, 4 Apr 2012 00:00:06 +0000 (01:00 +0100)]
Show Log toolbox link for anon users, fix toolbox on DeletedContribs

This will show the 'Log' toolbox link on pages relevant to anonymous users.
It also sets the relevant user on Special:DeletedContributions, which fixes the missing toolbox links (e.g. 'User contributions', 'Logs', 'Block user').

Change-Id: Ib51c59acb3656d9c209aeea22c1e00dc21a778db

12 years agoTidying up end of lines
Reedy [Tue, 3 Apr 2012 23:50:13 +0000 (00:50 +0100)]
Tidying up end of lines

Change-Id: I9b4acb1339a5d1c2e5d319937ca80062f6563e49

12 years agoMerge "RELEASE-NOTES for jQuery updates"
Reedy [Tue, 3 Apr 2012 22:57:43 +0000 (22:57 +0000)]
Merge "RELEASE-NOTES for jQuery updates"

12 years agoMerge "Bug 35681 - Upgrade jQuery UI to 1.8.18"
Reedy [Tue, 3 Apr 2012 22:56:37 +0000 (22:56 +0000)]
Merge "Bug 35681 - Upgrade jQuery UI to 1.8.18"

12 years agoFixed MoveFileOp::storagePathsChanged() to include source
Aaron Schulz [Tue, 3 Apr 2012 22:45:12 +0000 (15:45 -0700)]
Fixed MoveFileOp::storagePathsChanged() to include source

Change-Id: I965de0e9a89d97ac6ee9a047daceb93946b69fa2

12 years agoMerge "Bug 35680 - Upgrade to jQuery 1.7.2"
Krinkle [Tue, 3 Apr 2012 22:29:09 +0000 (22:29 +0000)]
Merge "Bug 35680 - Upgrade to jQuery 1.7.2"

12 years agoRELEASE-NOTES for jQuery updates
Reedy [Tue, 3 Apr 2012 21:57:37 +0000 (22:57 +0100)]
RELEASE-NOTES for jQuery updates

Change-Id: Iaee823d67661e79caae53ae00d44c1c6266ead7d

12 years agoBug 35681 - Upgrade jQuery UI to 1.8.18
Reedy [Tue, 3 Apr 2012 21:23:59 +0000 (22:23 +0100)]
Bug 35681 - Upgrade jQuery UI to 1.8.18

http://blog.jqueryui.com/2012/02/jquery-ui-1-8-18/

Change-Id: I31e870279e239733437c7222c5e69be112e8aba1

12 years agoMerge "Use local context to get messages and time formatting methods of Language...
Aaron Schulz [Tue, 3 Apr 2012 21:16:23 +0000 (21:16 +0000)]
Merge "Use local context to get messages and time formatting methods of Language class"

12 years agoUse local context to get messages and time formatting methods of Language class
Alexandre Emsenhuber [Tue, 3 Apr 2012 21:04:37 +0000 (23:04 +0200)]
Use local context to get messages and time formatting methods of Language class

Change-Id: I063e3076eea754e08737d553bb8dad5dfcf91121

12 years agoTranslation updates from translatewiki.net
Translation updater bot [Tue, 3 Apr 2012 21:11:13 +0000 (21:11 +0000)]
Translation updates from translatewiki.net

Change-Id: If0be46f5e28febeffec3dd80a04751ad70995edf

12 years agoBug 35680 - Upgrade to jQuery 1.7.2
Reedy [Tue, 3 Apr 2012 21:05:41 +0000 (22:05 +0100)]
Bug 35680 - Upgrade to jQuery 1.7.2

http://blog.jquery.com/2012/03/21/jquery-1-7-2-released/

Change-Id: I2d7d6eeef07552b796a68963ccd4f89f4c5939d7

12 years agotests related to API block action and its gettoken
Reedy [Tue, 3 Apr 2012 20:02:27 +0000 (21:02 +0100)]
tests related to API block action and its gettoken

Add tests for:
 - action=block and action=unblock gettoken
 - attempting to block or unblock a user with no token passed.

Patchset2: use a provider to have tests run against both 'block' and
'unblock' actions.

Change-Id: I686348ff4e2fe419c556acea2fa59dd203dc9440

12 years ago(bug 34355) add a variable and parser function for the namespace number
umherirrender [Sun, 1 Apr 2012 10:27:59 +0000 (12:27 +0200)]
(bug 34355) add a variable and parser function for the namespace number

Change-Id: Ie162cfda7ddd38d4278ceee5fd23f5a4e579cb96

12 years agoUn-marking testMakeNormalBlock as broken...
Reedy [Tue, 3 Apr 2012 20:16:01 +0000 (21:16 +0100)]
Un-marking testMakeNormalBlock as broken...

Change-Id: I5960d71409dc6338249817bc67de5227845dc3d8

12 years agoMerge "Remove user rights link from anonymous contributions pages Remove the user...
Brion VIBBER [Tue, 3 Apr 2012 20:07:49 +0000 (20:07 +0000)]
Merge "Remove user rights link from anonymous contributions pages Remove the user rights link from the Contributions/DeletedContributions pages for anonymous users, as you can't set user rights on anonymous users."

12 years ago(bug 31236) Refactor CSS loading and apply CSSJanus to all CSS files.
Amir E. Aharoni [Wed, 28 Mar 2012 14:18:38 +0000 (16:18 +0200)]
(bug 31236) Refactor CSS loading and apply CSSJanus to all CSS files.

This commit is supposed to fix bug 31236.
Refactored getCSS to load files more generically.
Applied CSSJanus transform to all CSS files.
Updated release notes.

Change-Id: I4418a0dcb40fe181dc62a14a9f65b658e3c0d473

12 years agoRemove user rights link from anonymous contributions pages
Alex Monk [Mon, 2 Apr 2012 16:32:23 +0000 (17:32 +0100)]
Remove user rights link from anonymous contributions pages
Remove the user rights link from the Contributions/DeletedContributions pages for anonymous users, as you can't set user rights on anonymous users.

Change-Id: I21551aa6c9ec14c5cda997f2c78fe7434df6d371

12 years agoMerge "Unbuffered queries result freeing & error handling"
Brion VIBBER [Tue, 3 Apr 2012 19:51:05 +0000 (19:51 +0000)]
Merge "Unbuffered queries result freeing & error handling"

12 years agoMerge "Bug 35671 - PHP Notice: Undefined index: gettoken in includes/api/ApiMain...
Demon [Tue, 3 Apr 2012 19:47:08 +0000 (19:47 +0000)]
Merge "Bug 35671 - PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php on line 598"

12 years agoRemove some duplicate code in ProfilerSimpleTrace
Alexandre Emsenhuber [Thu, 29 Mar 2012 15:59:43 +0000 (17:59 +0200)]
Remove some duplicate code in ProfilerSimpleTrace

Change-Id: Iab0b5343dbbd50419ba31724513b062f682c98df

12 years agoUnbuffered queries result freeing & error handling
Christian Aistleitner [Tue, 3 Apr 2012 17:55:02 +0000 (19:55 +0200)]
Unbuffered queries result freeing & error handling

Puts result set ownership back into producer, and tries to restore the
database buffering upon exceptions during dumps

Change-Id: Ie3e2b5b39cc6cef25a0021694e7a53a92b1dff5b

12 years agoreport real upload limit on Special:Upload
Jan Gerber [Tue, 3 Apr 2012 18:26:21 +0000 (20:26 +0200)]
report real upload limit on Special:Upload

upload limit also depends on post_max_size
check post_max_size and upload_max_filesize
for reported upload limit.

Change-Id: I587b67fb95f73d1b00ec1b407608934e8a1f1360

12 years agoBug 35671 - PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php on...
Reedy [Tue, 3 Apr 2012 18:07:19 +0000 (19:07 +0100)]
Bug 35671 - PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php on line 598

Change-Id: I220dfcd964ceb4254b310140b916a7c63a3044ef

12 years ago(bug 17615) nosummary option should be reassigned on preview/captcha
umherirrender [Sun, 1 Apr 2012 13:37:10 +0000 (15:37 +0200)]
(bug 17615) nosummary option should be reassigned on preview/captcha

Change-Id: I12f1cf37b7a093ca9f5b949e41fc482c6b7fb5fc

12 years agoMerge "TextPassDumper -> backupTextPass.inc"
Brion VIBBER [Tue, 3 Apr 2012 17:31:37 +0000 (17:31 +0000)]
Merge "TextPassDumper -> backupTextPass.inc"

12 years agoPer Siebrand, follow-up I55939bb5295e73594c3fdf7287dddbc16a233ce4 (r4099):
Alexandre Emsenhuber [Tue, 3 Apr 2012 16:44:06 +0000 (18:44 +0200)]
Per Siebrand, follow-up I55939bb5295e73594c3fdf7287dddbc16a233ce4 (r4099):
* Add message documentation
* Changed 'emaildisabled' wording for better understandability
* Added @since comment in User::setEmailWithConfirmation() and @deprecated in Preferences::trySetUserEmail()

Change-Id: I73c4b82ff2493a26ffbab426f30cd9af5680e503

12 years agoMerge "(bug 21796) Fix null dereference on Special:Undelete."
Brion VIBBER [Tue, 3 Apr 2012 16:27:34 +0000 (16:27 +0000)]
Merge "(bug 21796) Fix null dereference on Special:Undelete."

12 years agoMerge "Moved Preferences::trySetUserEmail() to User::setEmailWithConfirmation()"
Hashar [Tue, 3 Apr 2012 15:44:34 +0000 (15:44 +0000)]
Merge "Moved Preferences::trySetUserEmail() to User::setEmailWithConfirmation()"

12 years ago(bug 21796) Fix null dereference on Special:Undelete.
Szymon Świerkosz [Sat, 31 Mar 2012 15:26:50 +0000 (17:26 +0200)]
(bug 21796) Fix null dereference on Special:Undelete.

This change allows to display deleted pages correctly without dereferencing
a null. It is still impossible to view or undelete a page with an invalid
title, so the title is a shown as plain text.

Change-Id: Ib82d385eb174dac5e559736920cdb21303291ad2

12 years agoImprove MWCryptRand comments a bit.
Platonides [Mon, 2 Apr 2012 15:17:09 +0000 (17:17 +0200)]
Improve MWCryptRand comments a bit.

Change-Id: Id9e3818f38927079d703913c894f26a3ce9a0895

12 years agodisable broken ApiBlockTest::testMakeNormalBlock()
Antoine Musso [Tue, 3 Apr 2012 13:05:50 +0000 (15:05 +0200)]
disable broken ApiBlockTest::testMakeNormalBlock()

That test has probably always been broken and use an invalid token. The
bug tracking brokenness is http://bugzilla.wikimedia.org/35646

Since the broken test is merged in master, that block the integration of
Jenkins and Gerrit by having any submitted patchset to be reported as
failling :-(

Root cause is https://gerrit.wikimedia.org/r/3434 which made the
Block/Unblock API to actually verify the token previously always
considered valid (bug 34212).

Change-Id: Iecf6b083163c214c734360b2f6d9b4bed8af07dc

12 years ago(bug 31883) Limit of some params is not documented in API autodoc
umherirrender [Sun, 1 Apr 2012 17:50:15 +0000 (19:50 +0200)]
(bug 31883) Limit of some params is not documented in API autodoc

Original bug description: Limit of bkusers of list=blocks and titles of
action=query is not documented in API help

For that params no PARAM_TYPE was set, determine the type with the same
code as in r85758 (action=paraminfo) and its modification in r86917

Move the adding of that text out of the else, than the doc is also
added to params with more than 50 default values
(which looks to be intend of that piece of code).

Change-Id: I3fa59d2a7ae688da79dab57dc0576a69f786cca5

12 years agoPHPUnit preparations for tests of maintenance
Christian Aistleitner [Tue, 3 Apr 2012 10:23:03 +0000 (12:23 +0200)]
PHPUnit preparations for tests of maintenance

Change-Id: Id1ac2f8b940e5417e0facaacb7d5ec30b48a9efb

12 years agoDatabase dependency injection for BackupDumpers
Christian Aistleitner [Tue, 3 Apr 2012 09:23:20 +0000 (11:23 +0200)]
Database dependency injection for BackupDumpers

Change-Id: I48f8cd176cc51fe133a8490e3e001a8be4978691

12 years agoPulling in fix for superfluous header
Christian Aistleitner [Tue, 3 Apr 2012 09:07:19 +0000 (11:07 +0200)]
Pulling in fix for superfluous header

See commit 9bdb3eb1a1963f9abcad157ac3f4a1cf050a6329

Change-Id: I10481ce6e5ff6030ed8fd87eb597f8e98274f3c6

12 years agoTextPassDumper::initProgress pull in default value
Christian Aistleitner [Tue, 3 Apr 2012 10:48:21 +0000 (12:48 +0200)]
TextPassDumper::initProgress pull in default value

Making the declarations of BackupDumper::initProgress() and
TextPassDumper::initProgress() match.

Change-Id: Id4530499cdc23625a0016546a1daca922ec1278c

12 years agoTextPassDumper -> backupTextPass.inc
Christian Aistleitner [Tue, 3 Apr 2012 09:01:08 +0000 (11:01 +0200)]
TextPassDumper -> backupTextPass.inc

Change-Id: I68e744251ca5d8dc61d08a840751bf5a667d496c

12 years agoFixed api.php?action=parse&format=xmlfm hitting PCRE limit.
Max Semenik [Mon, 2 Apr 2012 14:21:26 +0000 (18:21 +0400)]
Fixed api.php?action=parse&format=xmlfm hitting PCRE limit.

By the way, regexes weren't needed here at all.

Change-Id: I41d222a4d60ead3655f7565b6703186abcd223e0

12 years agoMoved Preferences::trySetUserEmail() to User::setEmailWithConfirmation()
Alexandre Emsenhuber [Mon, 2 Apr 2012 15:57:00 +0000 (17:57 +0200)]
Moved Preferences::trySetUserEmail() to User::setEmailWithConfirmation()

* Much more easier to find it in the User class than in Preferences and it's general enough to be in that class.
* Rewrote the function for better readbility
* It now always return a Status object so that it's easier to interpret its result.
* Update the only caller in core (in Special:ChangeEmail) and moved the PrefsEmailAdit hook there

Change-Id: I55939bb5295e73594c3fdf7287dddbc16a233ce4

12 years agoFix Bug 33653 -JqueryMsg parser should support templates without replacements
Santhosh Thottingal [Mon, 2 Apr 2012 11:12:40 +0000 (16:42 +0530)]
Fix Bug 33653 -JqueryMsg parser should support templates without replacements

- The patch was already reviewed but was in jsgrammar branch of svn.
- Relavant revisions from svn: r111629

Change-Id: I946d3c8da9261d4c04963abf7d30cdb06448212c

12 years agoMerge "(bug 25277) Moved the space before the dirmark."
Brion VIBBER [Tue, 3 Apr 2012 04:18:40 +0000 (04:18 +0000)]
Merge "(bug 25277) Moved the space before the dirmark."

12 years agoMerge "(bug 34470) Apply explicit margin-left/right according to directionality."
Brion VIBBER [Tue, 3 Apr 2012 04:10:29 +0000 (04:10 +0000)]
Merge "(bug 34470) Apply explicit margin-left/right according to directionality."

12 years agoMerge "(bug 32384) API: Allow descending order for list=watchlistraw"
Brion VIBBER [Tue, 3 Apr 2012 03:16:09 +0000 (03:16 +0000)]
Merge "(bug 32384) API: Allow descending order for list=watchlistraw"

12 years agogetting rid of white border around gallery thumbs
Kaldari [Mon, 2 Apr 2012 00:11:10 +0000 (17:11 -0700)]
getting rid of white border around gallery thumbs

Change-Id: If04692b0227e6d978f576eb55de45f0c49870788

12 years agoMerge "(bug 22870) Separate interface message when creating a page"
Brion VIBBER [Mon, 2 Apr 2012 23:36:43 +0000 (23:36 +0000)]
Merge "(bug 22870) Separate interface message when creating a page"

12 years agoMerge "Add a few more image related directories to ignore"
Aaron Schulz [Mon, 2 Apr 2012 22:53:11 +0000 (22:53 +0000)]
Merge "Add a few more image related directories to ignore"

12 years agoMerge "Fixing alignment of thumbcaption for mixed RTL/LTR environment."
Brion VIBBER [Mon, 2 Apr 2012 22:52:35 +0000 (22:52 +0000)]
Merge "Fixing alignment of thumbcaption for mixed RTL/LTR environment."

12 years agoAdd a few more image related directories to ignore
Reedy [Mon, 2 Apr 2012 22:47:51 +0000 (23:47 +0100)]
Add a few more image related directories to ignore

Change-Id: Ib353db437c5dd5b57e785cc4215b3fb42e9b3420

12 years agoMerge "Bug 35646 - ApiBlockTest::testMakeNormalBlock() broken"
Hashar [Mon, 2 Apr 2012 22:36:26 +0000 (22:36 +0000)]
Merge "Bug 35646 - ApiBlockTest::testMakeNormalBlock() broken"

12 years agoUse local context to get messages and time formatting methods of Language class
Alexandre Emsenhuber [Mon, 2 Apr 2012 19:34:56 +0000 (21:34 +0200)]
Use local context to get messages and time formatting methods of Language class

Change-Id: I52978e8c3c5d88d6a51367046b151aae49d33d87

12 years agoMerge "(bug 32748) unicode URL for articles print version"
Brion VIBBER [Mon, 2 Apr 2012 18:39:47 +0000 (18:39 +0000)]
Merge "(bug 32748) unicode URL for articles print version"

12 years agoAlso add some entropy from the container folders.
Platonides [Mon, 2 Apr 2012 18:21:02 +0000 (20:21 +0200)]
Also add some entropy from the container folders.

Change-Id: I6e1ba061341b7741ade17abfdd46734e38f8f475

12 years agoBug 35646 - ApiBlockTest::testMakeNormalBlock() broken
Reedy [Mon, 2 Apr 2012 18:11:50 +0000 (19:11 +0100)]
Bug 35646 - ApiBlockTest::testMakeNormalBlock() broken

Change-Id: I964cde249ce7193cb1ba8c3430645c36067876fb

12 years agoAlphabetically sort the interwikis.
Platonides [Mon, 2 Apr 2012 15:57:10 +0000 (17:57 +0200)]
Alphabetically sort the interwikis.
Added a comment about WMF wikis.

Keeping maintenance/interwiki.{list,sql} in sync now.
They can be compared with
 diff  maintenance/interwiki.list  <( sed 's/),//' maintenance/interwiki.sql | sed "s/[(')]//g" | tr , \| )

Change-Id: I1bfaad13ea3041889648ab2be13b383dccda07f5

12 years ago(bug 27757) API method for retrieving tokens
Kaldari [Wed, 28 Mar 2012 22:02:10 +0000 (15:02 -0700)]
(bug 27757) API method for retrieving tokens

Change-Id: I58bc5847b996d100712781052f20150f76786ed1

12 years ago(bug 32748) unicode URL for articles print version
Santhosh Thottingal [Thu, 29 Mar 2012 05:55:27 +0000 (11:25 +0530)]
(bug 32748) unicode URL for articles print version

Printer friendly version of article must encode URL in unicode.

- Patch originally written by Brion Vibber
  https://bugzilla.wikimedia.org/attachment.cgi?id=9593
- introduces wfExpandIRI() global function, uses wfExpandIRI_callback.
- phpunit test.

Change-Id: I348b9f1d2ce65cb14f20d4a5751ac9359c8b8316

12 years agoMerge "Remove unused $wgDebugDBTransactions"
Demon [Mon, 2 Apr 2012 15:43:21 +0000 (15:43 +0000)]
Merge "Remove unused $wgDebugDBTransactions"

12 years agoRenamed 'metawikipedia' interwiki link prefix to 'metawikimedia' - Meta-Wiki deals...
Alex Monk [Mon, 2 Apr 2012 15:34:37 +0000 (16:34 +0100)]
Renamed 'metawikipedia' interwiki link prefix to 'metawikimedia' - Meta-Wiki deals with more projects than just Wikipedia. See https://mediawiki.org/wiki/Wikipmediawiki

Change-Id: I995f0d0e6a3877f605fbabd4a49ec258d9fc08b6

12 years agoMerge "Allow closing dump output multiple times"
Demon [Mon, 2 Apr 2012 15:27:03 +0000 (15:27 +0000)]
Merge "Allow closing dump output multiple times"

12 years agoMerge "Changed wfMessage() usage to call directly MessageCache::get() so that its...
Demon [Mon, 2 Apr 2012 15:23:56 +0000 (15:23 +0000)]
Merge "Changed wfMessage() usage to call directly MessageCache::get() so that its $isFullKey parameter can be set to true."

12 years agoMerge "anchor to jump to editform when previewing changes"
Demon [Mon, 2 Apr 2012 15:22:21 +0000 (15:22 +0000)]
Merge "anchor to jump to editform when previewing changes"

12 years agoRegroup all API tests in the 'API' PHPUnit group
Antoine Musso [Mon, 2 Apr 2012 13:33:43 +0000 (15:33 +0200)]
Regroup all API tests in the 'API' PHPUnit group

That will let us tests all the API tests by using PHPUnit group
filtering such as:

 php phpunit.php --group API

Also cleaned some whitespaces

Patchset-4: skipped files that had only whitespace changes

Change-Id: I51e03d910521b061f505e3a9b11a08c7b95f1538

12 years agoRemove unused $wgDebugDBTransactions
Platonides [Mon, 2 Apr 2012 12:02:23 +0000 (14:02 +0200)]
Remove unused $wgDebugDBTransactions

Change-Id: I74f93f83e5955b6953b11a13ed4312a536498b8d

12 years agoAllow closing dump output multiple times
Christian Aistleitner [Sun, 1 Apr 2012 23:46:42 +0000 (01:46 +0200)]
Allow closing dump output multiple times

Change-Id: Iab0645fb348f7256ab5cedf95b8a4424458ff4fc

12 years agoAdding .*.swp, vi temporary files, to .gitignore.
Amir E. Aharoni [Sat, 31 Mar 2012 08:17:44 +0000 (11:17 +0300)]
Adding .*.swp, vi temporary files, to .gitignore.

Change-Id: Ia5ca3b8a20de1ba7cb0fec3826138f82dbc578cf

12 years agoFixing alignment of thumbcaption for mixed RTL/LTR environment.
Amir E. Aharoni [Sun, 1 Apr 2012 18:05:38 +0000 (21:05 +0300)]
Fixing alignment of thumbcaption for mixed RTL/LTR environment.

When an LTR wiki is used with RTL interface and vice versa, the image
thumb caption is aligned according to the interface language. It should
rather be aligned according to the content language. I explicitly set
the alignment of the caption text and the magnifying image according
to mw-content-ltr/rtl classes.

Change-Id: Ib2455a84a918631b2016f4d23c01b92b5ca8b7e8

12 years ago(bug 22870) Separate interface message when creating a page
umherirrender [Sun, 1 Apr 2012 07:40:54 +0000 (09:40 +0200)]
(bug 22870) Separate interface message when creating a page

Add new message 'creating' and use it for the page title of the edit
page.

Change-Id: I8435d21a3674b48ec5a14481cdacf0a52662fa1f

12 years agoMerge "(bug 18062) new message when edit or create the local page of a shared file"
Aaron Schulz [Sun, 1 Apr 2012 02:08:00 +0000 (02:08 +0000)]
Merge "(bug 18062) new message when edit or create the local page of a shared file"

12 years agoAdd an independent entry of the 5.0.2 mysql bump.
Platonides [Sat, 31 Mar 2012 22:13:59 +0000 (00:13 +0200)]
Add an independent entry of the 5.0.2 mysql bump.
Follow up r104437

Change-Id: I20d64ed20d1ecf73ad5712819ee0d5a8a3f6c111

12 years agoMerge "(bug 34334) add a footer to Special:Contributions for newbie mode"
Aaron Schulz [Sat, 31 Mar 2012 21:28:48 +0000 (21:28 +0000)]
Merge "(bug 34334) add a footer to Special:Contributions for newbie mode"

12 years ago(bug 32384) API: Allow descending order for list=watchlistraw
mrbluesky [Thu, 29 Mar 2012 21:15:32 +0000 (23:15 +0200)]
(bug 32384) API: Allow descending order for list=watchlistraw

Patchset2: add parentheses around conditional expression

Change-Id: Ibfc3cdce6a0f30f2086ede9fb91030ded174a1fb

12 years agoMerge ".gitignore for generated html doc"
Hashar [Sat, 31 Mar 2012 18:50:34 +0000 (18:50 +0000)]
Merge ".gitignore for generated html doc"

12 years ago.gitignore for generated html doc
Christian Aistleitner [Sat, 31 Mar 2012 18:16:05 +0000 (20:16 +0200)]
.gitignore for generated html doc

Change-Id: I38c66fe3a219d36d935da9a1c31ac3182bb2dbd9

12 years ago(bug 18062) new message when edit or create the local page of a shared
umherirrender [Sat, 31 Mar 2012 14:17:10 +0000 (16:17 +0200)]
(bug 18062) new message when edit or create the local page of a shared
file

Change-Id: I2b7f76bd759b815a87b306fd97a97097b4731f8d

12 years ago(bug 25277) Moved the space before the dirmark.
Amir E. Aharoni [Thu, 29 Mar 2012 19:17:06 +0000 (21:17 +0200)]
(bug 25277) Moved the space before the dirmark.

If the dirmark is immediately adjacent to the file name, the user
may copy it with and then paste an unneeded dirmark somewhere.
It can be adjacent to the file description, however.

Patch set 2: using getDirMarkEntity, according to MaxSem's suggestion.

Change-Id: I9567a90e9a4b32cdf31af5f26044c8f80961f986

12 years agoAdding getDirMarkEntity().
Amir E. Aharoni [Sat, 31 Mar 2012 10:19:37 +0000 (13:19 +0300)]
Adding getDirMarkEntity().

This function is similar to getDirMark(), but it adds HTML entities
instead of invisible Unicode characters.

It's based on MaxSem's suggestion in
https://gerrit.wikimedia.org/r/#change,3929

Change-Id: I5bd362d6e6a56478bf9f58b2b81fcad31be12d35

12 years ago(bug 34334) add a footer to Special:Contributions for newbie mode
Umherirrender [Fri, 30 Mar 2012 18:15:58 +0000 (20:15 +0200)]
(bug 34334) add a footer to Special:Contributions for newbie mode

Also rewrote logic that select the footer message so it is easier to
follow.

Change-Id: I8dbf445acc2246cda96a653a35523cbd988834b8

12 years agoMerge "Stop PHP notices fouling up XML, when exporting all pages"
Reedy [Sat, 31 Mar 2012 01:14:23 +0000 (01:14 +0000)]
Merge "Stop PHP notices fouling up XML, when exporting all pages"

12 years agoMerge "Avoid doubling dump output"
Reedy [Sat, 31 Mar 2012 01:11:09 +0000 (01:11 +0000)]
Merge "Avoid doubling dump output"

12 years ago(bug 26909) follow up r102947: fix the navigation with 'dir'
umherirrender [Fri, 30 Mar 2012 21:19:34 +0000 (23:19 +0200)]
(bug 26909) follow up r102947: fix the navigation with 'dir'
and 'continue' for some prop-Modules

Due to missing change of the where for the query-continue in my first
patch, using dir=descending will end up in a loop

Change-Id: I6a9ade9feddcfd046de347cd83a756af828b5c18

12 years agoStop PHP notices fouling up XML, when exporting all pages
Christian Aistleitner [Fri, 30 Mar 2012 21:01:06 +0000 (23:01 +0200)]
Stop PHP notices fouling up XML, when exporting all pages

Change-Id: I330fd34daeb2ad82d8d8a63b0ef2cb11f52f1170

12 years agoMerge "Removed unused saveTempUploadedFile() function"
Demon [Fri, 30 Mar 2012 20:42:53 +0000 (20:42 +0000)]
Merge "Removed unused saveTempUploadedFile() function"

12 years agoMerge "* (bug 35567) The whole password reminder e-mail is now sent in the same language"
Demon [Fri, 30 Mar 2012 20:38:36 +0000 (20:38 +0000)]
Merge "* (bug 35567) The whole password reminder e-mail is now sent in the same language"

12 years agoAvoid doubling dump output
Christian Aistleitner [Fri, 30 Mar 2012 20:27:43 +0000 (22:27 +0200)]
Avoid doubling dump output

Change-Id: Ied8b8730cf1cd4a77346fbcae9013c9b6493dc8f

12 years ago(bug 30963): Follow-up to change I335c54f3: update messages.inc
mrbluesky [Fri, 30 Mar 2012 20:00:25 +0000 (22:00 +0200)]
(bug 30963): Follow-up to change I335c54f3: update messages.inc

Change-Id: I985d582e9c228d72ffdbbc7d459df3df46a9fdc8