lhc/web/wiklou.git
10 years agoMinor fix to contenthandler.txt doc.
Subramanya Sastry [Thu, 15 May 2014 17:09:37 +0000 (12:09 -0500)]
Minor fix to contenthandler.txt doc.

Change-Id: I45c1a750b2308dc30d609910d802d25a4252a7e5

10 years agoAllow LogEntry::setRelations to work with array(tag => value)
umherirrender [Wed, 16 Apr 2014 17:20:36 +0000 (19:20 +0200)]
Allow LogEntry::setRelations to work with array(tag => value)

Change-Id: I5a3d9799cd2125a02871b1c6a9ef7745eadb518d

10 years agoMerge "Create Parser::stripOuterParagraph to avoid code duplication"
jenkins-bot [Thu, 15 May 2014 16:31:36 +0000 (16:31 +0000)]
Merge "Create Parser::stripOuterParagraph to avoid code duplication"

10 years agoMerge "Allow editing transcluded sections via the API"
jenkins-bot [Thu, 15 May 2014 16:22:01 +0000 (16:22 +0000)]
Merge "Allow editing transcluded sections via the API"

10 years agoCreate Parser::stripOuterParagraph to avoid code duplication
Bartosz Dziewoński [Sat, 22 Feb 2014 15:21:36 +0000 (16:21 +0100)]
Create Parser::stripOuterParagraph to avoid code duplication

We've had the logic for stripping the outer <p/> element in three
separate places. The version in OutputPage was missing the '$' at the
end of the regex, that was most likely a mistake caused by the
duplication.

Also, extend the logic in order not to generate invalid HTML if the
input contains more than one <p/> tag. Added tests for this and the
previous behaviour.

https://www.mail-archive.com/mediawiki-api@lists.wikimedia.org/msg03188.html

Change-Id: I6bb3597898324556df912a23a7ffc9ff250b8f58

10 years agoMerge "Check for Language::getSpecialPageAliases returning null in SpecialPageFactory"
jenkins-bot [Thu, 15 May 2014 16:09:21 +0000 (16:09 +0000)]
Merge "Check for Language::getSpecialPageAliases returning null in SpecialPageFactory"

10 years agoMerge "Fix documentation for mw.cookie.set"
jenkins-bot [Thu, 15 May 2014 15:57:36 +0000 (15:57 +0000)]
Merge "Fix documentation for mw.cookie.set"

10 years agoMerge "Upgrade jQuery to 1.11.1"
jenkins-bot [Thu, 15 May 2014 15:46:56 +0000 (15:46 +0000)]
Merge "Upgrade jQuery to 1.11.1"

10 years agoUpgrade jQuery to 1.11.1
Timo Tijhof [Thu, 15 May 2014 15:09:06 +0000 (17:09 +0200)]
Upgrade jQuery to 1.11.1

Follows-up I468d6b45eae83. Per the plan[1], upgrading our copy
of jQuery to v1.11.1 and serving the jQuery Migrate plugin along
with it (no longer just in debug mode, because we need it to
fill in the deprecated functionility jQuery 1.9 removed).

Code:
 https://code.jquery.com/jquery-1.11.1.js

Info:
 http://jquery.com/upgrade-guide/1.9/#jquery-migrate-plugin

Release notes:
 http://blog.jquery.com/2013/01/15/jquery-1-9-final
 http://blog.jquery.com/2013/02/04/jquery-1-9-1-released/
 http://blog.jquery.com/2013/05/24/jquery-1-10-0
 http://blog.jquery.com/2013/05/30/jquery-1-10-1
 http://blog.jquery.com/2013/07/03/jquery-1-10-2
 http://blog.jquery.com/2014/01/24/jquery-1-11
 http://blog.jquery.com/2014/05/01/jquery-1-11-1

[1]
 http://www.mail-archive.com/wikitech-l@lists.wikimedia.org/msg75735.html
 http://lists.wikimedia.org/pipermail/wikitech-l/2014-May/076340.html

Bug: 44740
Change-Id: I097c9639e366eb394dcf2f3c3c62edfcc974155c

10 years agoMerge "Remove underscore from classes WebInstaller_*"
jenkins-bot [Thu, 15 May 2014 15:07:47 +0000 (15:07 +0000)]
Merge "Remove underscore from classes WebInstaller_*"

10 years agoMerge "Added unicode encoding support flags to FileBackend"
jenkins-bot [Thu, 15 May 2014 15:06:19 +0000 (15:06 +0000)]
Merge "Added unicode encoding support flags to FileBackend"

10 years agoMerge "Fixed "file already exist" optimization in File::transform()"
jenkins-bot [Thu, 15 May 2014 15:04:48 +0000 (15:04 +0000)]
Merge "Fixed "file already exist" optimization in File::transform()"

10 years agoFix coding style from Ie40c0721ec (e9f01c9)
Alexandre Emsenhuber [Thu, 15 May 2014 14:44:25 +0000 (16:44 +0200)]
Fix coding style from Ie40c0721ec (e9f01c9)

- Opening brace goes on the same line as the function definition
- No backslash before class name in @return

Change-Id: I4c43e047c36d0ce6e9c2344f6ee98786b2b8eac4

10 years agoMerge "Inserted getter for the XMLReader and change the visibility of some functions...
jenkins-bot [Thu, 15 May 2014 14:39:08 +0000 (14:39 +0000)]
Merge "Inserted getter for the XMLReader and change the visibility of some functions for use in hooks. Bug 64657"

10 years agoMerge "Installer: properly override default $wgLogo value"
jenkins-bot [Thu, 15 May 2014 13:21:21 +0000 (13:21 +0000)]
Merge "Installer: properly override default $wgLogo value"

10 years agoFix documentation for mw.cookie.set
Sam Smith [Thu, 15 May 2014 12:54:25 +0000 (13:54 +0100)]
Fix documentation for mw.cookie.set

The options.expires parameter can either be a Date or null.

Change-Id: I22ab2d518f6bb29dcf852115ec26d864647dc60f

10 years agoInserted getter for the XMLReader and change the visibility of some
Alexander Lehmann [Tue, 13 May 2014 12:22:27 +0000 (14:22 +0200)]
Inserted getter for the XMLReader and change the visibility of some
functions for use in hooks.
Bug 64657

Change-Id: Ie40c0721ec32935294756d60ea6686ebeefa61af

10 years agoMerge "Move mw.cookie release notes to RELEASE-NOTES-1.24"
jenkins-bot [Thu, 15 May 2014 07:02:39 +0000 (07:02 +0000)]
Merge "Move mw.cookie release notes to RELEASE-NOTES-1.24"

10 years agoMerge "Remove messageTypes.inc and replace it by a hook"
jenkins-bot [Thu, 15 May 2014 06:38:45 +0000 (06:38 +0000)]
Merge "Remove messageTypes.inc and replace it by a hook"

10 years agoMove mw.cookie release notes to RELEASE-NOTES-1.24
Matthew Flaschen [Thu, 15 May 2014 06:14:06 +0000 (02:14 -0400)]
Move mw.cookie release notes to RELEASE-NOTES-1.24

Leaving it in RELEASE-NOTES-1.23 was an oversight.

Followup to 7c585b5a33d57469d19e9b176f14b84403488b73

Change-Id: If752905a1bae93582b1392a8280dc33eec4ad12e

10 years agoMerge "Added a script to compare current parser output to cache"
jenkins-bot [Thu, 15 May 2014 00:07:38 +0000 (00:07 +0000)]
Merge "Added a script to compare current parser output to cache"

10 years agoMerge "Avoid an infinite redirect in $wgSecureLogin handling"
jenkins-bot [Wed, 14 May 2014 23:56:16 +0000 (23:56 +0000)]
Merge "Avoid an infinite redirect in $wgSecureLogin handling"

10 years agoAdded a script to compare current parser output to cache
Aaron Schulz [Fri, 2 May 2014 18:13:26 +0000 (11:13 -0700)]
Added a script to compare current parser output to cache

* This works on a random set of pages in a namespace and can
  be used to compare different PHP interpreters.
* This can, like any maintenance script, be used with --profiler.

Change-Id: Ica69a3ef27df29af1c6e4dc4c8413b55a03df49e

10 years agoMWException: Remove deprecated methods
Chad Horohoe [Mon, 12 May 2014 21:36:15 +0000 (14:36 -0700)]
MWException: Remove deprecated methods

No callers in core or extensions.

Change-Id: I3e2dc615bcd23838cf096625a767a7cf50fea140

10 years agoMerge "Update OOjs UI to v0.1.0-pre (80f1797a5c)"
jenkins-bot [Wed, 14 May 2014 21:35:42 +0000 (21:35 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (80f1797a5c)"

10 years agoUpdate OOjs UI to v0.1.0-pre (80f1797a5c)
James D. Forrester [Wed, 14 May 2014 18:14:12 +0000 (19:14 +0100)]
Update OOjs UI to v0.1.0-pre (80f1797a5c)

New changes:
9e4d2c6 Remove @abstract from classes which can be instantiated
0b43fbe Button accessibility
f61558d Add confirmation dialog
f52f1f2 Localisation updates from https://translatewiki.net.
d6849d5 build: Update jscs and jshint config
d0a5670 ConfirmationDialog clean up
513cb9d Auto-hide menus by default

Local changes:
Add the confirmation dialog messages to MW core's list in Resources.php

Bug: 50955
Change-Id: I67329820a631f46ed537d93398f35456f0e58679

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 14 May 2014 19:23:41 +0000 (19:23 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I7826e5f6fdb2e4e2af623e8fdfc44323469aebac

10 years agoMerge "Linker.php: Do not double escape accesskey in tooltip"
jenkins-bot [Wed, 14 May 2014 18:31:00 +0000 (18:31 +0000)]
Merge "Linker.php: Do not double escape accesskey in tooltip"

10 years agoMerge "Implement mediawiki.cookie module"
Robmoen [Wed, 14 May 2014 18:17:55 +0000 (18:17 +0000)]
Merge "Implement mediawiki.cookie module"

10 years agoUse FOR UPDATE in prior LocalFile timestamp check
Aaron Schulz [Wed, 14 May 2014 16:43:02 +0000 (09:43 -0700)]
Use FOR UPDATE in prior LocalFile timestamp check

* This covers the case with a snapshotted transaction outside of lock()/unlock()

Change-Id: I8639c2e51cb918f452dc1576681d6224fb4fb2c0

10 years agoRemove unused variables from SpecialAllpages::showToplevel()
Alexandre Emsenhuber [Wed, 14 May 2014 07:12:45 +0000 (09:12 +0200)]
Remove unused variables from SpecialAllpages::showToplevel()

Follow-up If750cad676 (71fe7c5)

Change-Id: I95bf953b0eb742e94ddff1b6adf6d784fb5dc87c

10 years agoImplement mediawiki.cookie module
Sam Smith [Tue, 25 Mar 2014 15:18:09 +0000 (15:18 +0000)]
Implement mediawiki.cookie module

Provides functonality similar to WebRequest#getCookie and WebResponse#setcookie.

Wraps $.cookie and automatically takes care of wgCookiePrefix etc.

Bug: 49156
Change-Id: I217ef258aecf1acd335e2cea56ae08b22541c7d4
Co-Author: Matthew Flaschen <mflaschen@wikimedia.org>
Co-Author: Timo Tijhof <krinklemail@gmail.com>

10 years agoAvoid an infinite redirect in $wgSecureLogin handling
Tim Starling [Wed, 14 May 2014 03:49:26 +0000 (13:49 +1000)]
Avoid an infinite redirect in $wgSecureLogin handling

If, for some reason, (e.g. https://gerrit.wikimedia.org/r/#/c/133205/ )
HTTPS requests are not recognised as such and WebRequest::getProtocol()
unconditionally returns "http", use the fromhttp parameter to avoid an
infinite redirect loop.

Change-Id: Iefbf679ef995f5e347e2b9c3f1f5a5b22055e107

10 years agoMerge "qunit: Make use of 'config' and 'messages' shortcuts in module setup"
jenkins-bot [Wed, 14 May 2014 00:16:00 +0000 (00:16 +0000)]
Merge "qunit: Make use of 'config' and 'messages' shortcuts in module setup"

10 years agoqunit: Make use of 'config' and 'messages' shortcuts in module setup
umherirrender [Wed, 7 May 2014 18:41:01 +0000 (20:41 +0200)]
qunit: Make use of 'config' and 'messages' shortcuts in module setup

While calling mw.config and mw.messages manually works fine (the sandbox
covers mw.config and mw.messages in general, not just when using the
shortcut), let's consistently use the shortcuts.

Also clean up the extra local variable in some cases.

Change-Id: I9ac467ad87816c7dc681b62e9b085b643024c15e

10 years agoFixed "file already exist" optimization in File::transform()
Aaron Schulz [Tue, 13 May 2014 23:07:15 +0000 (16:07 -0700)]
Fixed "file already exist" optimization in File::transform()

* Previously, the resulting thumbnail did not handle hasFile() and
  stream() properly. This effected doCachedWork() in thumb.php

Change-Id: I8fd025204b5b41472be6c09924892fe8ee9dd260

10 years agoMerge "MWException: Don't send headers multiple times"
jenkins-bot [Tue, 13 May 2014 22:28:43 +0000 (22:28 +0000)]
Merge "MWException: Don't send headers multiple times"

10 years agoMerge "Made LocalFile avoid duplicate (name,timestamp) pairs"
jenkins-bot [Tue, 13 May 2014 22:21:16 +0000 (22:21 +0000)]
Merge "Made LocalFile avoid duplicate (name,timestamp) pairs"

10 years agoMade LocalFile avoid duplicate (name,timestamp) pairs
Aaron Schulz [Tue, 13 May 2014 22:03:32 +0000 (15:03 -0700)]
Made LocalFile avoid duplicate (name,timestamp) pairs

* Various bits of code seem to assume uniqueness already

bug: 65264
Change-Id: Ib00fdbe87a79296c640cd69d74928236ce7a4aee

10 years agoMerge "Revert "Simplify thumbnail styling to have consistency with mobile implementat...
jenkins-bot [Tue, 13 May 2014 21:56:38 +0000 (21:56 +0000)]
Merge "Revert "Simplify thumbnail styling to have consistency with mobile implementation""

10 years agoRevert "Simplify thumbnail styling to have consistency with mobile implementation"
Jforrester [Tue, 13 May 2014 21:52:07 +0000 (21:52 +0000)]
Revert "Simplify thumbnail styling to have consistency with mobile implementation"

Causes significant breakage for videos, author not around this week to address concerns.

This reverts commit b0012d2aeb6a5ef8172223c58ceb8fa5c78c5138.

Change-Id: If1d7ba81b47b9351427111a9060ea9893c87c96e

10 years agoMWException: Don't send headers multiple times
Chad Horohoe [Tue, 13 May 2014 19:15:06 +0000 (12:15 -0700)]
MWException: Don't send headers multiple times

Ideally we wouldn't have sent headers yet, but in some weird
code paths where we output stuff raw (like Export) we might
have already sent them.

All depends on when the failure happened.

Should silence all of the "headers already sent" being seen
from exports.

Change-Id: I12e0532e93d30b2255f73a9d0e017c73e30c3e28

10 years agoMerge "Improve a bit the code of SpecialAllpages::showChunk()"
jenkins-bot [Tue, 13 May 2014 21:15:18 +0000 (21:15 +0000)]
Merge "Improve a bit the code of SpecialAllpages::showChunk()"

10 years agoAdded unicode encoding support flags to FileBackend
Aaron Schulz [Sat, 12 Apr 2014 06:50:58 +0000 (23:50 -0700)]
Added unicode encoding support flags to FileBackend

* Fixed bug where even using Swift/Azure on Windows
  would disallow non-ASCII file names.

bug: 1780
Change-Id: I19ed72da0b099d35cae74fb08eeb22c113da1065

10 years agoMerge "Installer: Minor tweaks to UI"
jenkins-bot [Tue, 13 May 2014 20:43:47 +0000 (20:43 +0000)]
Merge "Installer: Minor tweaks to UI"

10 years agoMerge "jquery.accessKeyLabel: Replace hardcoded brackets and space"
jenkins-bot [Tue, 13 May 2014 20:42:40 +0000 (20:42 +0000)]
Merge "jquery.accessKeyLabel: Replace hardcoded brackets and space"

10 years agoMerge "Make phpcs-strict pass on includes/ (6/~10)"
jenkins-bot [Tue, 13 May 2014 20:29:44 +0000 (20:29 +0000)]
Merge "Make phpcs-strict pass on includes/ (6/~10)"

10 years agoMerge "Allow floating point values for $wgJobBackoffThrottling"
jenkins-bot [Tue, 13 May 2014 20:29:25 +0000 (20:29 +0000)]
Merge "Allow floating point values for $wgJobBackoffThrottling"

10 years agoMerge "Update documentation and method visibility for SkinTemplate"
jenkins-bot [Tue, 13 May 2014 20:24:35 +0000 (20:24 +0000)]
Merge "Update documentation and method visibility for SkinTemplate"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 13 May 2014 20:08:01 +0000 (20:08 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I2be71c60446c0de60944b9a1439ec52e4c99e129

10 years agoRemove messageTypes.inc and replace it by a hook
Alexandre Emsenhuber [Tue, 13 May 2014 19:45:28 +0000 (21:45 +0200)]
Remove messageTypes.inc and replace it by a hook

The list is now maintained in the translatewiki repo:
https://git.wikimedia.org/blob/translatewiki.git/HEAD/groups%2FMediaWiki%2FMediaWiki.yaml

Change-Id: I4a33b22e425cbc1eeaf8b53870ef7b7947e91b40

10 years agoMerge "Update the API credits"
jenkins-bot [Tue, 13 May 2014 19:42:08 +0000 (19:42 +0000)]
Merge "Update the API credits"

10 years agoMerge "Improved rate limit log to mention IP"
jenkins-bot [Tue, 13 May 2014 19:33:19 +0000 (19:33 +0000)]
Merge "Improved rate limit log to mention IP"

10 years agoImprove a bit the code of SpecialAllpages::showChunk()
Alexandre Emsenhuber [Tue, 13 May 2014 18:33:55 +0000 (20:33 +0200)]
Improve a bit the code of SpecialAllpages::showChunk()

- Early return when including the page, makes one indentation
  level less for the rest of the method
- Directly put top and bottom links in an array, so that it is
  easier to see where they are going to be displayed
- Group the HTML generation for the top form at the end of the
  method again for better readability

Change-Id: I70c174a4c6363b2303cb5110782c5a3375640f2d

10 years agojquery.accessKeyLabel: Replace hardcoded brackets and space
Fomafix [Tue, 13 May 2014 18:23:05 +0000 (18:23 +0000)]
jquery.accessKeyLabel: Replace hardcoded brackets and space

Since If914e26f2af23f04c46f011ad8a276a9d3190583 the brackets of the
accesskey are localized, so do it also on the client side.

Also added a comment to match php and js.
Adjust tests to work on wikis with changed messages.

Bug: 65010
Change-Id: Id9908b9efcb923f0b740e2c8fd77d1ef676b489f

10 years agoInstaller: Minor tweaks to UI
Waldir Pimenta [Fri, 3 May 2013 15:46:49 +0000 (16:46 +0100)]
Installer: Minor tweaks to UI

- add a tooltip to the "help" links to make it clear they'll expand in place
- don't use an IMG tag for the download link;
  instead, apply a css background to the A element, so that on hover
  there isn't an underlined space between the link text and the image;
- grammar fix to sqlite help message: replace a colon with a semicolon.

Change-Id: Iacf5ed57d983a21d87467c848823607032901cec

10 years agoMerge "Revert "Make it possible to install extensions using Composer""
jenkins-bot [Tue, 13 May 2014 17:28:36 +0000 (17:28 +0000)]
Merge "Revert "Make it possible to install extensions using Composer""

10 years agoMerge "API: Fix documentation for ApiBase::require*OneParameter"
jenkins-bot [Tue, 13 May 2014 15:44:09 +0000 (15:44 +0000)]
Merge "API: Fix documentation for ApiBase::require*OneParameter"

10 years agoRequire one of page id or page title as params to ApiRollback
Marius Hoch [Tue, 13 May 2014 14:29:22 +0000 (16:29 +0200)]
Require one of page id or page title as params to ApiRollback

Also made the code flow easier to understand by moving
calls to ApiBase::extractRequestParams up in the stack.

Change-Id: I346c6ae4fc0b48c5a794c3d621018baf9bde6b9e
Follows-up: I9c4e4fa

10 years agoAPI: Fix documentation for ApiBase::require*OneParameter
Brad Jorsch [Tue, 13 May 2014 15:27:53 +0000 (11:27 -0400)]
API: Fix documentation for ApiBase::require*OneParameter

The existing doc blocks for all three of these functions is entirely
wrong.
* ApiBase::requireOnlyOneParameter
* ApiBase::requireMaxOneParameter
* ApiBase::requireAtLeastOneParameter

Change-Id: Id0dd86be3cbfa813a43f918c7d780c7ee2afc09e

10 years agoUpdate the API credits
Marius Hoch [Tue, 13 May 2014 15:17:05 +0000 (17:17 +0200)]
Update the API credits

Put Brad Jorsch (anomie) as lead developer (as he's the one
who does most of the review work etc. these days).

Made Yuri's lead developer time frame end in 2013 (as he
last commited to the api in 2013 AFAIS).

Change-Id: I640ddf251340214b4520d3072e22dfe6b54815fb

10 years agoAllow use of ApiRollback using pageid instead of title
addshore [Tue, 13 May 2014 11:42:10 +0000 (12:42 +0100)]
Allow use of ApiRollback using pageid instead of title

Change-Id: I9c4e4fa59af0b84416d950f1428da821318f85fc

10 years agoRemove user id from Special:Preferences
Kunal Mehta [Mon, 12 May 2014 04:48:18 +0000 (21:48 -0700)]
Remove user id from Special:Preferences

Dating back all the way to r15, it serves no useful purpose
as users typically do not need to know their own user id.
If they really want to, they can easily look it up using the
API.

Bug: 58626
Change-Id: Ib146abb8b579bc9a3dac601aff8e2818b2ed49e4

10 years agoRevert "Add API action=watch 'entirewatchlist' param to bulk-clear watchlist."
MaxSem [Tue, 13 May 2014 03:00:48 +0000 (03:00 +0000)]
Revert "Add API action=watch 'entirewatchlist' param to bulk-clear watchlist."

Unbounded modification = replication lag. And this function is specifically intended for clearing very large watchlists which would easily escalate to pageable lags of several minutes.

This reverts commit 66b07ea38133992f98bb158c95103b720fe958ec.

Change-Id: Ie34be712884407e671d715e56bda3bff4a7e78f4

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 12 May 2014 20:08:13 +0000 (20:08 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I4f58769751a4a439ab93f7d22c427c49857d4c22

10 years agoRemove underscore from classes WebInstaller_*
Siebrand Mazeland [Mon, 12 May 2014 16:32:46 +0000 (18:32 +0200)]
Remove underscore from classes WebInstaller_*

Part of program to remove underscores from class names. Checked core and
675 extensions for occurrences. All uses are in core in core are updated
in this patch. There are no uses in Gerrit extensions.

Change-Id: I6150c2d3f5a18496da5bcdcadc5d8982b70bec7a

10 years agoMerge "Remove messages.inc, rebuildLanguage.php, writeMessagesArray.inc"
jenkins-bot [Mon, 12 May 2014 14:51:30 +0000 (14:51 +0000)]
Merge "Remove messages.inc, rebuildLanguage.php, writeMessagesArray.inc"

10 years agoMake phpcs-strict pass on includes/ (6/~10)
Siebrand Mazeland [Mon, 12 May 2014 14:42:51 +0000 (16:42 +0200)]
Make phpcs-strict pass on includes/ (6/~10)

Change-Id: I566183b5d660a55bb3b2aa7186aaed5355ead2c6

10 years agoMerge "Add two more categories to Special:TrackingCategories"
jenkins-bot [Mon, 12 May 2014 14:18:33 +0000 (14:18 +0000)]
Merge "Add two more categories to Special:TrackingCategories"

10 years agoAdd two more categories to Special:TrackingCategories
oskar.jauch@gmail.com [Thu, 8 May 2014 19:09:23 +0000 (21:09 +0200)]
Add two more categories to Special:TrackingCategories

Bug: 63795
Change-Id: I303fd3faa00aa0d3ca8931bea0d7c5ce5a263184

10 years agoRemove messages.inc, rebuildLanguage.php, writeMessagesArray.inc
Bartosz Dziewoński [Sun, 11 May 2014 12:52:24 +0000 (14:52 +0200)]
Remove messages.inc, rebuildLanguage.php, writeMessagesArray.inc

They are not being used anymore since the messages lists are in JSON
format, no idea why they were still here. Especially messages.inc is
just confusing everyone adding or removing messages.

Change-Id: If104ca1609e122b6871a97521065916a26734516

10 years agoUpdate documentation and method visibility for SkinTemplate
Siebrand Mazeland [Mon, 12 May 2014 13:16:51 +0000 (15:16 +0200)]
Update documentation and method visibility for SkinTemplate

Change-Id: I7c23e6c9f5189378fd1d33230820e8fd157a4750

10 years agoMerge "Make update.php file executable"
jenkins-bot [Mon, 12 May 2014 10:36:05 +0000 (10:36 +0000)]
Merge "Make update.php file executable"

10 years agoRelease notes for c0c39640e472332
Siebrand Mazeland [Mon, 12 May 2014 10:17:23 +0000 (12:17 +0200)]
Release notes for c0c39640e472332

Change-Id: I008dea87357344cf9fc9d530cd0e84edcaba78f9

10 years agoPreprocessor_DOM::newPartNodeArray should check that loadXML succeeded
Brad Jorsch [Fri, 9 May 2014 20:09:03 +0000 (16:09 -0400)]
Preprocessor_DOM::newPartNodeArray should check that loadXML succeeded

If something manages to get invalid UTF-8 into
Preprocessor_DOM::newPartNodeArray, or anything else that somehow is
invalid XML, it should handle it in the same way that
Preprocessor_DOM::preprocessToObj does rather than having something
further down the line blow up on a PPNode_DOM with a null node.

Bug: 65081
Change-Id: Ic24db455808106e17d49a11e41df33ec170f1206

10 years agoMerge "tyop fxi"
jenkins-bot [Mon, 12 May 2014 00:22:20 +0000 (00:22 +0000)]
Merge "tyop fxi"

10 years agoSpecialAllpages: Remove fancy index functionality
Bartosz Dziewoński [Sun, 11 May 2014 19:41:10 +0000 (21:41 +0200)]
SpecialAllpages: Remove fancy index functionality

Causes more trouble than it's worth.

Bug: 58051
Bug: 65159
Change-Id: If750cad67690df301608951b72f89ae18851e71e

10 years agoMerge "PPAccum_Hash -> PPDAccum_Hash"
jenkins-bot [Sun, 11 May 2014 20:46:34 +0000 (20:46 +0000)]
Merge "PPAccum_Hash -> PPDAccum_Hash"

10 years agoReplace complex for loop for foreach, count and break
Reedy [Sun, 11 May 2014 16:17:49 +0000 (17:17 +0100)]
Replace complex for loop for foreach, count and break

Change-Id: If1d3193f9579ce6b0d3c790b234d56ea1fe73237

10 years agotyop fxi
Brion Vibber [Sun, 11 May 2014 19:39:23 +0000 (21:39 +0200)]
tyop fxi

Change-Id: I05cd37b3dab7d0eeffb4df81f906fd1e881b7f9f

10 years agoMake phpcs-strict pass on includes/ (5/~10)
Siebrand Mazeland [Sun, 11 May 2014 15:59:57 +0000 (17:59 +0200)]
Make phpcs-strict pass on includes/ (5/~10)

Change-Id: I259f3f11cfc22f3ed1693f9ebd5bd80491b8a6e8

10 years agoMake phpcs-strict pass on includes/ (4/~10)
Siebrand Mazeland [Sun, 11 May 2014 15:34:55 +0000 (17:34 +0200)]
Make phpcs-strict pass on includes/ (4/~10)

Change-Id: I2767205a7059adfb8fa090a82abd332e518f2590

10 years agoMake phpcs-strict pass on includes/ (3/~10)
Siebrand Mazeland [Sun, 11 May 2014 15:34:14 +0000 (17:34 +0200)]
Make phpcs-strict pass on includes/ (3/~10)

Change-Id: Ibf86d03b5479c47ee72c0dafea6777ef8178fe68

10 years agoMake phpcs-strict pass on includes/ (2/~10)
Siebrand Mazeland [Sun, 11 May 2014 15:33:33 +0000 (17:33 +0200)]
Make phpcs-strict pass on includes/ (2/~10)

Change-Id: I59fa9af7b16e0a5a4eb8a5cc764a605b18137316

10 years agoMake phpcs-strict pass on includes/ (1/~10)
Siebrand Mazeland [Sun, 11 May 2014 15:32:18 +0000 (17:32 +0200)]
Make phpcs-strict pass on includes/ (1/~10)

Change-Id: Ib51381a2261d064988ba2f39b71c0252f2458faf

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 11 May 2014 19:05:01 +0000 (19:05 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I8e7928ea4e57fcc0f2fc2c09fa8bed3a05cdf55d

10 years agoPass phpcs-strict on includes/objectcache/
Siebrand Mazeland [Sun, 11 May 2014 09:08:36 +0000 (11:08 +0200)]
Pass phpcs-strict on includes/objectcache/

Change-Id: Ib99f2e34255df0cc846727b134d1788aec48529d

10 years agoPass php-strict for OutputPage
Siebrand Mazeland [Sun, 11 May 2014 01:54:15 +0000 (03:54 +0200)]
Pass php-strict for OutputPage

Change-Id: Ia5d03277fff543ca672dc8efc7eaaeca4888ac23

10 years agoMerge "Update parameter documentation for removeHTMLtags()"
jenkins-bot [Sun, 11 May 2014 16:42:44 +0000 (16:42 +0000)]
Merge "Update parameter documentation for removeHTMLtags()"

10 years agoMerge "Change visibility of some methods in Parser and update docs accordingly"
jenkins-bot [Sun, 11 May 2014 16:40:39 +0000 (16:40 +0000)]
Merge "Change visibility of some methods in Parser and update docs accordingly"

10 years agoUpdate parameter documentation for removeHTMLtags()
Siebrand Mazeland [Sat, 10 May 2014 18:28:15 +0000 (20:28 +0200)]
Update parameter documentation for removeHTMLtags()

Change-Id: I7c0530e5b7d0d2001153d69fa9b9525f661dd5c5

10 years agoMerge "Remove incorrect return type for getGoodLinkID()"
jenkins-bot [Sun, 11 May 2014 16:29:10 +0000 (16:29 +0000)]
Merge "Remove incorrect return type for getGoodLinkID()"

10 years agoChange visibility of some methods in Parser and update docs accordingly
Siebrand Mazeland [Sat, 10 May 2014 23:07:20 +0000 (01:07 +0200)]
Change visibility of some methods in Parser and update docs accordingly

Change-Id: Ibe9d817325b4abafe137cd3f2fc6ccc25740cf58

10 years agoPPAccum_Hash -> PPDAccum_Hash
Reedy [Sun, 11 May 2014 16:27:21 +0000 (17:27 +0100)]
PPAccum_Hash -> PPDAccum_Hash

Change-Id: I79eac91cc3ff4ca515d15d8fa08d492b5cdcaa1b

10 years agoMerge "Various documentation updates for includes/parser/"
jenkins-bot [Sun, 11 May 2014 16:27:07 +0000 (16:27 +0000)]
Merge "Various documentation updates for includes/parser/"

10 years agoRemove incorrect return type for getGoodLinkID()
Siebrand Mazeland [Sun, 11 May 2014 16:19:00 +0000 (18:19 +0200)]
Remove incorrect return type for getGoodLinkID()

Change-Id: Ib9c0dcf5104fdc5f364e0b49d539b63bf2eb046c

10 years agoVarious documentation updates for includes/parser/
Siebrand Mazeland [Sat, 10 May 2014 23:05:51 +0000 (01:05 +0200)]
Various documentation updates for includes/parser/

Change-Id: I16dd3a792cc83f8c80b3652d42c055730f6d177a

10 years agoRemove unused includes/utils/ConfEditor.php
Siebrand Mazeland [Fri, 9 May 2014 12:49:46 +0000 (14:49 +0200)]
Remove unused includes/utils/ConfEditor.php

It was previously used by LocalisationUpdate. After the rewrite, it was no
longer used, but in an obsolete tests file. This has been removed in
I112c7fd396c47827999c in LocalisationUpdate.

Change-Id: I8baab87c1a0c5df73b0904e4ac34b621d0d72778

10 years agoMerge "Simplify thumbnail styling to have consistency with mobile implementation"
jenkins-bot [Sun, 11 May 2014 15:15:14 +0000 (15:15 +0000)]
Merge "Simplify thumbnail styling to have consistency with mobile implementation"

10 years agoSimplify thumbnail styling to have consistency with mobile implementation
jrobson [Sun, 11 May 2014 14:17:05 +0000 (16:17 +0200)]
Simplify thumbnail styling to have consistency with mobile implementation

Remove undocumented !important rule - !important is bad.

Bug: 65160
Change-Id: I21d6856d51478395cbe59e86e2f3aec495a74a38