umherirrender [Sat, 5 May 2012 18:24:27 +0000 (20:24 +0200)]
(bug 34927) Output media_type for list=filearchive
Change-Id: I7c9b2f614ab319facfc9fb30893d82a9427e4253
umherirrender [Sat, 5 May 2012 14:08:47 +0000 (16:08 +0200)]
Use right case for Title::makeTitle
Change-Id: Ia91b3679f03eefb9970a790c784a92ea6fb0c274
Aaron Schulz [Sat, 5 May 2012 09:32:28 +0000 (09:32 +0000)]
Merge "Use $wgExpensiveParserFunctionLimit over ParserOptions"
umherirrender [Sat, 5 May 2012 09:24:07 +0000 (11:24 +0200)]
Do not treat EXPLAIN as write query
Change-Id: Idb15955b94ee6977f3a4692df44d445d3450b1a5
Aaron Schulz [Sat, 5 May 2012 08:51:12 +0000 (08:51 +0000)]
Merge "Show Highest expansion depth in limit report"
Aaron Schulz [Sat, 5 May 2012 08:46:31 +0000 (08:46 +0000)]
Merge "Use local context to get messages and time formatting methods of Language class"
Aaron Schulz [Sat, 5 May 2012 08:41:29 +0000 (08:41 +0000)]
Merge "Add MWNamespace::isNonincludableNamespace"
umherirrender [Sat, 5 May 2012 08:22:28 +0000 (10:22 +0200)]
Add MWNamespace::isNonincludableNamespace
Method is a wrapper around $wgNonincludableNamespaces,
replaced the one place in parser and
add it as info to api's meta=siteinfo
Change-Id: I501b811137c39f5c2d9ea35c78fef8ae22d21bfe
awjrichards [Sat, 5 May 2012 00:01:24 +0000 (00:01 +0000)]
Merge "Use Title::legalChars()"
Reedy [Fri, 4 May 2012 23:35:52 +0000 (23:35 +0000)]
Merge "Only use per-template profiling for one-time profiling output."
Aaron [Thu, 3 May 2012 20:02:27 +0000 (13:02 -0700)]
Only use per-template profiling for one-time profiling output.
Change-Id: Ib89ce14310ccac529684f0ada71f60744319eb3e
Reedy [Fri, 4 May 2012 23:10:51 +0000 (00:10 +0100)]
Kill off pre php 5.3.2 back compat hacks
Change-Id: I5b806a5d8fd4ec6914e3786a4a9aefba4ad6faa6
Aaron [Fri, 4 May 2012 22:39:30 +0000 (15:39 -0700)]
[FileBackend] Removed PHP < 5.3 b/c cruft.
Change-Id: Ied29fab9c2582384fd95b76831649f77639a3647
Catrope [Fri, 4 May 2012 22:26:50 +0000 (22:26 +0000)]
Merge "[FileBackend] Added copy() sanity checks to FSFileBackend."
Aaron [Fri, 4 May 2012 22:23:57 +0000 (15:23 -0700)]
[FileBackend] Added copy() sanity checks to FSFileBackend.
Change-Id: I3c7db46d74f744fbe877222639e78ea7318f8507
umherirrender [Fri, 4 May 2012 20:44:14 +0000 (22:44 +0200)]
Show Highest expansion depth in limit report
With 1.20wmf2 we get a tracking category with all the problem pages,
seeing the limit for a page is a helpful information than
Change-Id: I1916e5fa6de06b923a01cf1f0ca9362287a9fd70
Translation updater bot [Fri, 4 May 2012 20:32:55 +0000 (20:32 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I5e25a15e29414d6fd4408d40c835c03086c7ec1a
umherirrender [Fri, 4 May 2012 19:47:00 +0000 (21:47 +0200)]
Use Title::legalChars()
Change-Id: I6b29f29875fa54196b5899042a8f576c82a8943f
Reedy [Fri, 4 May 2012 19:08:23 +0000 (20:08 +0100)]
Update both the MediaWiki version and the min required PHP version in PHPVersionError.php
Change-Id: Ia7db1c90854b30aee17cc180381fdd9dc2f9c90b
umherirrender [Fri, 4 May 2012 18:56:28 +0000 (20:56 +0200)]
Use $wgExpensiveParserFunctionLimit over ParserOptions
This allows extensions to set the value
Change-Id: I4a935a00fe02a2bb88a14942e5e3ec6f4e5e833e
umherirrender [Sat, 21 Apr 2012 13:12:08 +0000 (15:12 +0200)]
(bug 32604) Some messages needs escaping of wikitext inside username
Change-Id: I223a5fb8d110ceace122acb7045bc6a925bfda66
Aaron Schulz [Fri, 4 May 2012 17:09:39 +0000 (17:09 +0000)]
Merge "Credits/RN for bug 5445 /
7694faf68"
Demon [Fri, 4 May 2012 14:09:05 +0000 (14:09 +0000)]
Merge "Use the same object when checking if the user is blocked instead of creating a new one."
Demon [Fri, 4 May 2012 13:50:45 +0000 (13:50 +0000)]
Merge "[FileRepo] Various ForeignApiRepo fixes."
Reedy [Fri, 4 May 2012 13:46:26 +0000 (13:46 +0000)]
Merge "Added missing GPLv2 headers in some places."
Tim Starling [Fri, 4 May 2012 12:44:57 +0000 (12:44 +0000)]
Merge "Various updates needed to bump min php version to 5.3.2"
Tim Starling [Fri, 4 May 2012 07:58:16 +0000 (07:58 +0000)]
Merge "(bug 29296) Expanded Blacklist for SVG Files"
Alexandre Emsenhuber [Fri, 4 May 2012 06:29:11 +0000 (08:29 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: I1deb70318d01a257b51948ba806d80cd1a239f4f
Antoine Musso [Fri, 4 May 2012 06:42:06 +0000 (08:42 +0200)]
Credits/RN for bug 5445 /
7694faf68
Change-Id: I41db0c0946bcef79a00d6d66e34114baaebe2ddc
Alexandre Emsenhuber [Wed, 2 May 2012 21:13:47 +0000 (23:13 +0200)]
Use local context to get messages and time formatting methods of Language class
Change-Id: I04d460a63f40e13e7f84cb168a9001516b1215fa
Werdna [Fri, 4 May 2012 05:53:05 +0000 (05:53 +0000)]
Merge "(bug 18195) Allow changing preferences via API"
Aaron Schulz [Fri, 4 May 2012 00:12:16 +0000 (00:12 +0000)]
Merge "(bug 5445) remove autoblocks when user is unblocked"
Aaron Schulz [Thu, 3 May 2012 22:39:14 +0000 (22:39 +0000)]
Merge "Adding test case for testing revision storage and retrieval."
Aaron Schulz [Thu, 3 May 2012 21:47:51 +0000 (21:47 +0000)]
Merge "Very basic parser test for language function"
Aaron [Thu, 3 May 2012 20:54:39 +0000 (13:54 -0700)]
[FileRepo] Various ForeignApiRepo fixes.
* Avoid using FileRepo functions to stat cache files as we override/hack
fileExistsBatch(). Instead, use the FileBackend object directly.
* Adding missing prepare() call to unbreak thumbnail cache.
* Added a warning and sanity check for mwstore:// paths rather than appending them
to URLs and shipping them off to Commons. This seem to be mostly gone now though.
* Removed useless error suppression calls that were broken due to a "return" statement.
Change-Id: Ie760f09e6bfa1752544cdb60018513ffc7823496
robin [Wed, 2 May 2012 21:44:11 +0000 (23:44 +0200)]
Very basic parser test for language function
Change-Id: I7fad6caa460a4f62881c33ae9f7bd30e6a5942d1
Alexandre Emsenhuber [Thu, 3 May 2012 20:13:10 +0000 (22:13 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: I26a320bcddd4122ce423f536609d5794446d743e
Aaron Schulz [Thu, 3 May 2012 19:13:53 +0000 (19:13 +0000)]
Merge "ImagePage refactoring"
Translation updater bot [Thu, 3 May 2012 18:57:42 +0000 (18:57 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ieb95d149c7675a98f02de6501ba50c370daa04be
Aaron Schulz [Thu, 3 May 2012 18:25:18 +0000 (18:25 +0000)]
Merge "Noticed while looking at $wgShowUpdatedMarker related database queries, queries not using index order at all. Fixed up"
Aaron Schulz [Thu, 3 May 2012 17:43:47 +0000 (17:43 +0000)]
Merge "Done a bit of deglobalisation."
Hashar [Thu, 3 May 2012 11:40:49 +0000 (11:40 +0000)]
Merge "Adding more tests for Title."
Marc A. Pelletier [Wed, 28 Mar 2012 02:44:32 +0000 (22:44 -0400)]
(bug 5445) remove autoblocks when user is unblocked
Previously, whenever we blocked a user, its IP address would be
autoblocked whenever he tries to edit a page. Thus when later unblocking
the username, he would be automatically blocked again if we forgot to
clean up is IP.
This patch introduces a the ipb_parent_block_id column in ipblocks table
to track which block triggered the autoblock command. Thus, when deleting
the original block we can easily remove all subsequentautoblocks.
Schema updaters for MySQL, SQLite and postgres have been added to the
patch but not for the other database types such as ibm_db2, mssql and
Oracle.
Change-Id: I4aa820ae9bbd962a12d0b48b6c638a1b6ff4efc9
Hashar [Wed, 2 May 2012 20:13:40 +0000 (20:13 +0000)]
Merge "Bumping minimum supported version of PHPUnit to 3.6.7"
Translation updater bot [Wed, 2 May 2012 19:44:33 +0000 (19:44 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I429a787a0e4b0589a407fe650ef005147ac10fc8
daniel [Wed, 2 May 2012 17:34:35 +0000 (19:34 +0200)]
Adding test case for testing revision storage and retrieval.
New tests are added to avoid regressions when the ContentHandler facility is introduced.
Change-Id: I6934d03e9df74930998d771f64fe4f4fe5555967
daniel [Wed, 2 May 2012 17:30:09 +0000 (19:30 +0200)]
Adding more tests for Title.
This introduces tests for isCssJsSubpage, isCssOrJsPage, and isWikitextPage.
New tests are added to avoid regressions when the ContentHandler facility is introduced.
Change-Id: I68987490b01242cc0bcdc0d9dfaa99f1227f71a0
Reedy [Wed, 2 May 2012 17:12:02 +0000 (17:12 +0000)]
Merge "Ported r112366 from 1.19wmf branch indefinitely."
Reedy [Wed, 2 May 2012 15:12:16 +0000 (15:12 +0000)]
Merge "Removing unnecessary space from the end of the page heading."
Petr Onderka [Wed, 2 May 2012 13:48:02 +0000 (15:48 +0200)]
Fixed whitespace in API classes
Change-Id: Ia06de4822e32612c4f668e14643236322837a3e1
Amir E. Aharoni [Wed, 2 May 2012 12:34:27 +0000 (15:34 +0300)]
Removing unnecessary space from the end of the page heading.
Addresses a comment Fomafix made at
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/105870#c32772
Change-Id: Ic9887a079734b28155f46ffaeedec02ff8ad81ca
Alexandre Emsenhuber [Wed, 2 May 2012 08:51:15 +0000 (10:51 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: Ib21f42166ae0841e04c8af4fdcf59c0fa06f1738
RobLa [Wed, 2 May 2012 04:48:50 +0000 (21:48 -0700)]
(bug 36361) Fix git links in Special:Version - removing extra space
Change-Id: I731e163e5f329b78402ed3c6307547c847264587
Aaron Schulz [Wed, 2 May 2012 02:49:46 +0000 (19:49 -0700)]
Ported r112366 from 1.19wmf branch indefinitely.
Change-Id: I6e326d7729b26bdc7a02f19a475d2e6033ffbfc3
Kaldari [Wed, 2 May 2012 01:24:30 +0000 (01:24 +0000)]
Merge "Prevents sidebar links from jumping on page load"
umherirrender [Sun, 29 Apr 2012 20:10:11 +0000 (22:10 +0200)]
(bug 30488) API now allows listing of backlinks/embeddedin/imageusage
per pageid
Move the possibles errors set by ApiBase::getTitleOrPageId to
ApiBase::getTitleOrPageIdErrorMessages and remove it from used modules
Change-Id: If037e04665d2524c1f2476bc7996d9573753a4b8
Aaron Schulz [Tue, 1 May 2012 23:04:52 +0000 (23:04 +0000)]
Merge "enable email for PreferencesTest.php"
Aaron Schulz [Tue, 1 May 2012 22:24:41 +0000 (22:24 +0000)]
Merge "(bug 30975) API import of pages with invalid characters in this wiki leads to Fatal Error"
Aaron Schulz [Tue, 1 May 2012 22:23:14 +0000 (22:23 +0000)]
Merge "Few documentation/type hint updates"
Aaron Schulz [Tue, 1 May 2012 22:22:09 +0000 (22:22 +0000)]
Merge "(bug 31704) Allow selection of associated namespace on the watchlist"
Petr Onderka [Tue, 1 May 2012 22:04:11 +0000 (00:04 +0200)]
Removed intval for undelete reason in API
Undelete reason is a string, it doesn't make sense to use
intval() to change it into an integer.
Change-Id: I76553d6a22305dca8cdc5d676ad60a9b146a0212
Reedy [Tue, 1 May 2012 21:03:50 +0000 (22:03 +0100)]
Few documentation/type hint updates
Change-Id: Ib2882cc03540403f74f68854fa76df375c1bb25a
csteipp [Tue, 1 May 2012 17:29:11 +0000 (10:29 -0700)]
(bug 29296) Expanded Blacklist for SVG Files
Expanded detection of scripts inside SVG Files. Catches known
hostile files with minimal false-positives.
Disallows SVG Files that include remote resources, to protect
reader's privacy.
Change-Id: I5ba75ad621cdb0355351c8a9a0f1dbea552c258f
Trevor Parscal [Tue, 1 May 2012 18:45:54 +0000 (11:45 -0700)]
Prevents sidebar links from jumping on page load
When I added an HD style sheet to the Vector skin, I styled the side
bar h5 and .body elements directly to increase padding on the left.
These properties were also set to transition over 250ms. When the
Vector extension modified those same properties with it's own
stylesheet which loads a little later than the Vector skin stylesheet,
the difference was especially visible because of the transitions. This
patch prevents this by adding transitioned padding to #mw-panel
instead, which is not modified by the Vector extension.
Change-Id: I9dfdd791bdcbb38806276852e17348e710f39f86
Reedy [Tue, 1 May 2012 19:23:56 +0000 (19:23 +0000)]
Merge "Explicitly specify that filename in filerevert is without namespace"
Reedy [Tue, 1 May 2012 18:21:41 +0000 (18:21 +0000)]
Merge "Changed the format to lowercase in help message"
Reedy [Tue, 1 May 2012 18:19:11 +0000 (18:19 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Tue, 1 May 2012 18:17:54 +0000 (18:17 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I64892e17f7533aaa3afb5d77aec1ded951283cfe
Petr Onderka [Tue, 1 May 2012 16:54:14 +0000 (18:54 +0200)]
Explicitly specify that filename in filerevert is without namespace
Change-Id: I9551b69cda6d9dce20a443a2a4b871afb7394593
Reedy [Tue, 1 May 2012 09:25:18 +0000 (09:25 +0000)]
Merge "Added missing GPLv2 headers in some places."
Alexandre Emsenhuber [Tue, 1 May 2012 07:57:04 +0000 (09:57 +0200)]
Use local context to get messages
Change-Id: I3e1ded54b6effdc6aa37010952829c28581af7f3
Alexandre Emsenhuber [Mon, 30 Apr 2012 09:22:16 +0000 (11:22 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: I10c077f27a2077a266a64048fa137f7b1f8e226c
Nikerabbit [Tue, 1 May 2012 06:32:55 +0000 (06:32 +0000)]
Merge "Set CdbTest to skipped instead of incomplete"
Aaron Schulz [Tue, 1 May 2012 04:56:00 +0000 (04:56 +0000)]
Merge "Use local context to get messages and time formatting methods of Language class"
Reedy [Mon, 30 Apr 2012 21:49:20 +0000 (21:49 +0000)]
Merge "fix two generator examples"
Catrope [Mon, 30 Apr 2012 21:01:41 +0000 (14:01 -0700)]
Revert "Creating new WMF 1.20wmf2 branch"
This reverts commit
5bc567031c235d9cdbff711b7360e4adb1a722b5.
Change-Id: I28424a7ac2c24c65f643d9316e836d94e4b87109
Catrope [Mon, 30 Apr 2012 21:01:29 +0000 (14:01 -0700)]
Revert "Applied patches to new WMF 1.20wmf2 branch"
This reverts commit
3c039d0aada049122d9635dccf738464de00dc48.
Change-Id: Ia231f5da44a2bdeb2d51c4b97177fa279336a168
Catrope [Mon, 30 Apr 2012 20:58:11 +0000 (20:58 +0000)]
Merge "Revert "Commit of various live hacks""
Catrope [Mon, 30 Apr 2012 20:57:56 +0000 (20:57 +0000)]
Revert "Commit of various live hacks"
Was meant for 1.20wmf2
This reverts commit
062773733d6c97a5b05098712ffc64fc7fc491f7
Translation updater bot [Mon, 30 Apr 2012 19:55:49 +0000 (19:55 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Id7966570cd0551f1e18470be4e1a674b16ec99b5
Catrope [Mon, 30 Apr 2012 19:26:54 +0000 (19:26 +0000)]
Merge "Revert "Forward port of https://mediawiki.org/wiki/Special:Code/MediaWiki/105964""
Catrope [Mon, 30 Apr 2012 19:20:23 +0000 (19:20 +0000)]
Revert "Forward port of https://mediawiki.org/wiki/Special:Code/MediaWiki/105964"
Oops, this should have gone into 1.20wmf2 instead.
This reverts commit
2531715b9d07021b9b1040f4bc9bb277c2d8ff19
Catrope [Mon, 30 Apr 2012 19:20:11 +0000 (19:20 +0000)]
Merge "Commit of various live hacks"
Catrope [Mon, 30 Apr 2012 19:18:10 +0000 (19:18 +0000)]
Merge "Forward port of https://mediawiki.org/wiki/Special:Code/MediaWiki/105964"
Reedy [Mon, 30 Apr 2012 17:55:38 +0000 (18:55 +0100)]
Forward port of https://mediawiki.org/wiki/Special:Code/MediaWiki/105964
"Temporary workaround for bug 31576. The logs show that once every hour or so, a job runner somewhere in the cluster somehow loses all its magic words and starts hitting this case. Throwing an exception should kill the job runner before it does too much damage."
Change-Id: I229e87a5bd323dbc97b85ae470474cc97243c7af
Reedy [Tue, 10 Apr 2012 18:27:59 +0000 (18:27 +0000)]
Commit of various live hacks
Disable of MessageBlobStore clear
Reset $wgAutopromote (should be moved to a config change!!)
Disable setting of wgStyleSheetPath
Disable squid updates in HTMLCacaheUpdate invalidateTitles
Throttle page_touched
Add apc htcp packet numbers to SquidUpdate
Disable set names binary/utf8
Commment out searchindex table indexes
Was
c532e81d583d3d0439fe76eea4d105d675461b56
Change-Id: I42c4f859e55eb198f6c6841e582b3552aad7b31f
Reedy [Mon, 30 Apr 2012 18:34:29 +0000 (18:34 +0000)]
Applied patches to new WMF 1.20wmf2 branch
Reedy [Mon, 30 Apr 2012 18:34:28 +0000 (18:34 +0000)]
Creating new WMF 1.20wmf2 branch
Petr Onderka [Mon, 30 Apr 2012 15:52:27 +0000 (17:52 +0200)]
Changed the format to lowercase in help message
The help message that appears at the top of pretty-printed
API results suggested to use format in uppercase (e.g. format=XML).
That wouldn't work, because format names are lowercase.
This change corrects the help message so that it correctly uses
lowercase (e.g. format=xml).
Change-Id: I94275879b60c42bde607eb896aa79433dfabb34c
Max Semenik [Mon, 30 Apr 2012 14:43:03 +0000 (18:43 +0400)]
ImagePage refactoring
* Use context everywhere
* Fix comments, including two functions from other files it references
* Remove pointless function return value
Change-Id: I29a0a2a54432c8ef7185a210c7f2f73c64bfb71c
umherirrender [Mon, 30 Apr 2012 11:50:33 +0000 (13:50 +0200)]
fix two generator examples
Change-Id: I5f4348f4f75be9e1c25e08d7f91959d708046f29
umherirrender [Mon, 30 Apr 2012 07:49:31 +0000 (09:49 +0200)]
Set CdbTest to skipped instead of incomplete
When the native support is not available, the test is not incomplete.
See also the DiffBlob test and xdiff.
Change-Id: I16c14efc3f24e4171a699390d99ca6509d6a28c8
umherirrender [Mon, 30 Apr 2012 07:29:45 +0000 (09:29 +0200)]
enable email for PreferencesTest.php
The tests in PreferencesTest.php checking email things,
enable email to let the test run complete and not depend on the wiki
setting.
Change-Id: I21b34b31c52a10e0f4f6b918ee25d98a97ea5981
Alexandre Emsenhuber [Mon, 30 Apr 2012 07:16:10 +0000 (09:16 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: I1815587ab2eeb24623ce4bf1c695088bd3f1c2ea
Reedy [Sun, 29 Apr 2012 23:07:23 +0000 (23:07 +0000)]
Merge "Localisation updates from translatewiki.net."
Aaron Schulz [Sun, 29 Apr 2012 20:17:46 +0000 (20:17 +0000)]
Merge "Fixup some raw sqls!"
umherirrender [Sun, 29 Apr 2012 18:14:40 +0000 (20:14 +0200)]
(bug 30975) API import of pages with invalid characters in this wiki
leads to Fatal Error
Change-Id: Ifc3ba51efe19bded51460749a1cb980a9c5244c7
Translation updater bot [Sun, 29 Apr 2012 17:56:56 +0000 (17:56 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I8092931196538b77f3078a924940991dcb12a1c4
Christian Aistleitner [Sat, 28 Apr 2012 21:50:54 +0000 (23:50 +0200)]
Bumping minimum supported version of PHPUnit to 3.6.7
With PHPUnit 3.6.7, we can finally check the output of tests.
Change-Id: Ib0f1afe5fd9ab9784ba7f78b2921cf047ccc83f3
Reedy [Sat, 28 Apr 2012 22:47:23 +0000 (23:47 +0100)]
Param documentation
Explicitly define member variables
Change-Id: I028bcfd40cf7a402b040694ad7dacaab8da45e45