lhc/web/wiklou.git
10 years agoMerge "Update formatting on includes/deferred/"
jenkins-bot [Wed, 20 Nov 2013 22:10:07 +0000 (22:10 +0000)]
Merge "Update formatting on includes/deferred/"

10 years agoMerge "Initialise variables and update documentation"
jenkins-bot [Wed, 20 Nov 2013 21:59:27 +0000 (21:59 +0000)]
Merge "Initialise variables and update documentation"

10 years agoMerge "Remove unused private method check()"
jenkins-bot [Wed, 20 Nov 2013 21:56:57 +0000 (21:56 +0000)]
Merge "Remove unused private method check()"

10 years agoMerge "Abstract declaration must precede visibility declaration"
jenkins-bot [Wed, 20 Nov 2013 21:52:09 +0000 (21:52 +0000)]
Merge "Abstract declaration must precede visibility declaration"

10 years agoMerge "Rename classes DiffOp_* to DiffOp*"
jenkins-bot [Wed, 20 Nov 2013 21:50:14 +0000 (21:50 +0000)]
Merge "Rename classes DiffOp_* to DiffOp*"

10 years agoUpdate formatting on includes/deferred/
Siebrand Mazeland [Wed, 20 Nov 2013 17:20:36 +0000 (18:20 +0100)]
Update formatting on includes/deferred/

Change-Id: Id3f143eae3781b26dcbc3ba63a566b7a6006c0cc

10 years agoMerge "Rename class HWLDF_WordAccumulator to HWLDFWordAccumulator"
jenkins-bot [Wed, 20 Nov 2013 21:47:09 +0000 (21:47 +0000)]
Merge "Rename class HWLDF_WordAccumulator to HWLDFWordAccumulator"

10 years agoMerge "Break long lines in includes/diff/"
jenkins-bot [Wed, 20 Nov 2013 21:45:14 +0000 (21:45 +0000)]
Merge "Break long lines in includes/diff/"

10 years agoMerge "Avoid function calls in a for loop test part"
jenkins-bot [Wed, 20 Nov 2013 21:43:17 +0000 (21:43 +0000)]
Merge "Avoid function calls in a for loop test part"

10 years agoMerge "Update formatting for includes/diff"
jenkins-bot [Wed, 20 Nov 2013 21:41:31 +0000 (21:41 +0000)]
Merge "Update formatting for includes/diff"

10 years agoMerge "Replace deprecated <tt> with <code>"
jenkins-bot [Wed, 20 Nov 2013 21:37:59 +0000 (21:37 +0000)]
Merge "Replace deprecated <tt> with <code>"

10 years agoMerge "Break long lines in MWDebug class"
jenkins-bot [Wed, 20 Nov 2013 21:36:19 +0000 (21:36 +0000)]
Merge "Break long lines in MWDebug class"

10 years agoMerge "Remove unneeded uses of else{} in api/"
jenkins-bot [Wed, 20 Nov 2013 21:34:21 +0000 (21:34 +0000)]
Merge "Remove unneeded uses of else{} in api/"

10 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 20 Nov 2013 21:05:38 +0000 (21:05 +0000)]
Merge "Localisation updates from translatewiki.net."

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 20 Nov 2013 21:03:52 +0000 (21:03 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I0eb353cd0cadf0bed7cd17d4c3eb2c7e108f6aa6

10 years agoMerge "Add additional information to FileRepo::getInfo"
jenkins-bot [Wed, 20 Nov 2013 20:57:34 +0000 (20:57 +0000)]
Merge "Add additional information to FileRepo::getInfo"

10 years agoMerge "Avoid Database::encodeExpiry, when simple timestamp is given"
jenkins-bot [Wed, 20 Nov 2013 20:39:09 +0000 (20:39 +0000)]
Merge "Avoid Database::encodeExpiry, when simple timestamp is given"

10 years agoInitialise variables and update documentation
Siebrand Mazeland [Wed, 20 Nov 2013 19:57:15 +0000 (20:57 +0100)]
Initialise variables and update documentation

Change-Id: Idb242f65801ee79531c2300cf9fcb5b3929f66ab

10 years agoRemove unused private method check()
Siebrand Mazeland [Wed, 20 Nov 2013 19:41:58 +0000 (20:41 +0100)]
Remove unused private method check()

Change-Id: I29381892be9966b92b99cb3b021cc5a9a4be8a80

10 years agoAdd additional information to FileRepo::getInfo
Brad Jorsch [Wed, 20 Nov 2013 19:38:49 +0000 (14:38 -0500)]
Add additional information to FileRepo::getInfo

The API's meta=filerepoinfo could use some additional information, most
pressingly a way to determine the MW API endpoint of the associated
repo. Since FileRepo already has scriptDirUrl (to which "/api.php" could
be appended), let's just add that.

And for good measure, we may as well include various other bits of
information that people might find useful.

Change-Id: I6d5aa6cf44ef1d9bdfd9b2f36f184e5fdc0900dd

10 years agoAbstract declaration must precede visibility declaration
Siebrand Mazeland [Wed, 20 Nov 2013 19:32:53 +0000 (20:32 +0100)]
Abstract declaration must precede visibility declaration

Change-Id: Ic13646c5a5c5b1f80db58740b207f853c7e25ceb

10 years agoRename classes DiffOp_* to DiffOp*
Siebrand Mazeland [Wed, 20 Nov 2013 19:28:14 +0000 (20:28 +0100)]
Rename classes DiffOp_* to DiffOp*

Part of program to remove underscores from class names. Checked core and
600+ extensions for occurrences. All uses are in core in core are updated
in this patch. No uses in extensions.

Change-Id: I86b8c6f8702e661554c7b794df09892db94a84d1

10 years agoRename class HWLDF_WordAccumulator to HWLDFWordAccumulator
Siebrand Mazeland [Wed, 20 Nov 2013 19:24:48 +0000 (20:24 +0100)]
Rename class HWLDF_WordAccumulator to HWLDFWordAccumulator

Part of program to remove underscores from class names. Checked core and
600+ extensions for occurrences. All uses are in core in core are updated
in this patch.

Change-Id: Ib3094249ab192db80f1639c5e543ece84c688b9a

10 years agoBreak long lines in includes/diff/
Siebrand Mazeland [Wed, 20 Nov 2013 19:22:36 +0000 (20:22 +0100)]
Break long lines in includes/diff/

Change-Id: I778079edb147623f54f6140e11e25120b04c382e

10 years agoAvoid function calls in a for loop test part
Siebrand Mazeland [Wed, 20 Nov 2013 19:22:26 +0000 (20:22 +0100)]
Avoid function calls in a for loop test part

Change-Id: Ief0976e3d1cd1da7074b1ed6d427153ccc189f18

10 years agoIgnore new message for translation
raymond [Wed, 20 Nov 2013 19:19:31 +0000 (20:19 +0100)]
Ignore new message for translation

It has no translatable content.
Followup to Icd348919377bac77e27018a44e981028a263c6e1

Change-Id: I91defae609e65142ff2d5026c9d7076865536307

10 years agoUpdate formatting for includes/diff
Siebrand Mazeland [Wed, 20 Nov 2013 19:11:57 +0000 (20:11 +0100)]
Update formatting for includes/diff

Change-Id: Id032a32ca6ebea3daf5313a05602c5e98603d983

10 years agoAvoid Database::encodeExpiry, when simple timestamp is given
umherirrender [Wed, 20 Nov 2013 19:05:19 +0000 (20:05 +0100)]
Avoid Database::encodeExpiry, when simple timestamp is given

Also remove wfTimestampNow because Database::timestamp will default to
now, when no param is given.

Change-Id: I0b065f4cdf67e1473548e641cf2864b4a2232ef8

10 years agoMerge "Add tests for SpecialPage::requireLogin"
jenkins-bot [Wed, 20 Nov 2013 19:04:34 +0000 (19:04 +0000)]
Merge "Add tests for SpecialPage::requireLogin"

10 years agoUpdate documentation in HTMLCacheUpdateJob
Siebrand Mazeland [Wed, 20 Nov 2013 18:45:04 +0000 (19:45 +0100)]
Update documentation in HTMLCacheUpdateJob

Change-Id: I2774d5bd400b9a26415a6a93561c02ea0588e448

10 years agoMerge "Remove needless leading dash on Main Page interlanguage links"
jenkins-bot [Wed, 20 Nov 2013 18:00:08 +0000 (18:00 +0000)]
Merge "Remove needless leading dash on Main Page interlanguage links"

10 years agoReplace deprecated <tt> with <code>
Siebrand Mazeland [Wed, 20 Nov 2013 16:21:31 +0000 (17:21 +0100)]
Replace deprecated <tt> with <code>

Change-Id: I4d80b2eff87c9ddaa4439c83aea21c73fca0d68c

10 years agoMerge "Changing the welcome message after signing up"
jenkins-bot [Wed, 20 Nov 2013 14:48:40 +0000 (14:48 +0000)]
Merge "Changing the welcome message after signing up"

10 years agoChanging the welcome message after signing up
mayankmadan [Wed, 20 Nov 2013 07:43:36 +0000 (13:13 +0530)]
Changing the welcome message after signing up

Bug: 57218
Change-Id: I99d15d125edfc4ffc93dbcb7d1be88818f91a135

10 years agoBreak long lines in MWDebug class
Siebrand Mazeland [Wed, 20 Nov 2013 14:03:00 +0000 (15:03 +0100)]
Break long lines in MWDebug class

Change-Id: I65a080f8024a79e6e6b4ccc39e457b26d3637cf7

10 years agoMerge "Fixed the last section of MediaWiki:SpecialSpecialpages"
jenkins-bot [Wed, 20 Nov 2013 14:01:50 +0000 (14:01 +0000)]
Merge "Fixed the last section of MediaWiki:SpecialSpecialpages"

10 years agoFixed the last section of MediaWiki:SpecialSpecialpages
mayankmadan [Tue, 19 Nov 2013 20:50:49 +0000 (02:20 +0530)]
Fixed the last section of MediaWiki:SpecialSpecialpages

Bug: 28033
Change-Id: I0539511041672ab3769fc7f23284f8c1dc1e17c7

10 years agoMerge "Adding "while logged in" in email notification"
jenkins-bot [Wed, 20 Nov 2013 12:38:58 +0000 (12:38 +0000)]
Merge "Adding "while logged in" in email notification"

10 years agoAdding "while logged in" in email notification
mayankmadan [Tue, 19 Nov 2013 21:05:59 +0000 (02:35 +0530)]
Adding "while logged in" in email notification

Bug: 43368
Change-Id: I017c3b8f10460b15317bcc2e96451dd87057e6b3

10 years agoMerge "Fixed "Undefined property: stdClass::$page_namespace" error"
jenkins-bot [Wed, 20 Nov 2013 06:36:30 +0000 (06:36 +0000)]
Merge "Fixed "Undefined property: stdClass::$page_namespace" error"

10 years agoMerge "Delete maintenance/language/zhtable/trad2simp_supp_unset.manual"
jenkins-bot [Wed, 20 Nov 2013 06:34:55 +0000 (06:34 +0000)]
Merge "Delete maintenance/language/zhtable/trad2simp_supp_unset.manual"

10 years agoMerge "Declare visibility of class property in ContentHandler"
jenkins-bot [Wed, 20 Nov 2013 06:09:56 +0000 (06:09 +0000)]
Merge "Declare visibility of class property in ContentHandler"

10 years agoMerge "Cleanup and expand Status tests"
jenkins-bot [Wed, 20 Nov 2013 05:45:41 +0000 (05:45 +0000)]
Merge "Cleanup and expand Status tests"

10 years agoUpdate formatting in includes/dao/
Siebrand Mazeland [Wed, 20 Nov 2013 05:23:48 +0000 (06:23 +0100)]
Update formatting in includes/dao/

Change-Id: Id3cfc68ff463831d7cd3329661619c33d70d7085

10 years agoUpdate formatting and documentation in includes/context/
Siebrand Mazeland [Wed, 20 Nov 2013 05:21:57 +0000 (06:21 +0100)]
Update formatting and documentation in includes/context/

Change-Id: I8bfdbe8f6d9c325063678e24a9d604f18eb83fc3

10 years agoMerge "Update documentation and break long lines"
jenkins-bot [Wed, 20 Nov 2013 05:13:32 +0000 (05:13 +0000)]
Merge "Update documentation and break long lines"

10 years agoDeclare visibility of class property in ContentHandler
Siebrand Mazeland [Wed, 20 Nov 2013 05:09:49 +0000 (06:09 +0100)]
Declare visibility of class property in ContentHandler

Make $handlers protected. It's only used in MediaHandler and
ContentHandler.

Change-Id: I2cfc9273d4cf710fbcf01a8e70a93ae64de73579

10 years agoUpdate documentation and break long lines
Siebrand Mazeland [Wed, 20 Nov 2013 04:49:59 +0000 (05:49 +0100)]
Update documentation and break long lines

Also remove some superfluous newlines.

Change-Id: I904d6ddeb976434708d5a22df9e8abd2e6f60a6c

10 years agoMerge "shared.css: Start vectorizing common icons"
jenkins-bot [Wed, 20 Nov 2013 05:00:44 +0000 (05:00 +0000)]
Merge "shared.css: Start vectorizing common icons"

10 years agoUpdate ImagePage to use HiDPI
tholam [Wed, 20 Nov 2013 02:48:58 +0000 (20:48 -0600)]
Update ImagePage to use HiDPI

Changed processResponsiveImages method in Linker class from
protected to public so that it may be used in the ImagePage class.
called the method in the openShowImage method to generate the srcset.

Bug: 56969
Change-Id: I2494ce98ba1a32d5a963b53482929de9abb048fd

10 years agoRemove needless leading dash on Main Page interlanguage links
This, that and the other [Wed, 20 Nov 2013 02:57:56 +0000 (13:57 +1100)]
Remove needless leading dash on Main Page interlanguage links

Adds a message "interlanguage-link-title-langonly" with contents "$1",
to allow customization of the tooltip in all circumstances.

Bug: 55865
Change-Id: Icd348919377bac77e27018a44e981028a263c6e1

10 years agoFixed "Undefined property: stdClass::$page_namespace" error
Aaron Schulz [Tue, 19 Nov 2013 23:35:37 +0000 (15:35 -0800)]
Fixed "Undefined property: stdClass::$page_namespace" error

* BacklinkCache::fullResultCache should always have all the columns
* Fixes bug from a9dc4d943e8f7e7824f31dc7fd1270873f8a9fdb

Change-Id: Ic0042ef6b1ce655bd97814362d95d8b0fe53affa

10 years agoAdd tests for SpecialPage::requireLogin
aude [Tue, 19 Nov 2013 21:37:11 +0000 (22:37 +0100)]
Add tests for SpecialPage::requireLogin

Change-Id: Id9ee08c921a3e109e5175bb7ae807615cb15b8e5

10 years agoMerge "Update formatting"
jenkins-bot [Tue, 19 Nov 2013 22:15:26 +0000 (22:15 +0000)]
Merge "Update formatting"

10 years agoMerge "Fixed spacing"
jenkins-bot [Tue, 19 Nov 2013 21:50:44 +0000 (21:50 +0000)]
Merge "Fixed spacing"

10 years agoMerge "Remove unused local variable and update documentation"
jenkins-bot [Tue, 19 Nov 2013 21:40:10 +0000 (21:40 +0000)]
Merge "Remove unused local variable and update documentation"

10 years agoUpdate formatting
Siebrand Mazeland [Tue, 19 Nov 2013 21:26:16 +0000 (22:26 +0100)]
Update formatting

Change-Id: Ieee4747cf2401d0d89a497a7637d32348192f481

10 years agoMerge "move page_restrictions.pr_id to top in tables.sql"
jenkins-bot [Tue, 19 Nov 2013 21:25:00 +0000 (21:25 +0000)]
Merge "move page_restrictions.pr_id to top in tables.sql"

10 years agoMerge "Exclude servers with zero load from lag checks"
jenkins-bot [Tue, 19 Nov 2013 21:12:59 +0000 (21:12 +0000)]
Merge "Exclude servers with zero load from lag checks"

10 years agoMerge "Consistently handle anonymous users on logged-in-only special pages"
jenkins-bot [Tue, 19 Nov 2013 21:10:16 +0000 (21:10 +0000)]
Merge "Consistently handle anonymous users on logged-in-only special pages"

10 years agoMerge "Make Special:PasswordReset obey returnto and returntoquery parameters"
jenkins-bot [Tue, 19 Nov 2013 20:55:06 +0000 (20:55 +0000)]
Merge "Make Special:PasswordReset obey returnto and returntoquery parameters"

10 years agoMerge "Add $counter which was defined dynamically"
jenkins-bot [Tue, 19 Nov 2013 20:52:35 +0000 (20:52 +0000)]
Merge "Add $counter which was defined dynamically"

10 years agoRemove unused local variable and update documentation
Siebrand Mazeland [Tue, 19 Nov 2013 20:39:05 +0000 (21:39 +0100)]
Remove unused local variable and update documentation

Change-Id: I5a737511f8c0234451fba766b529594e6244fb95

10 years agoMerge "Update formatting"
jenkins-bot [Tue, 19 Nov 2013 20:29:43 +0000 (20:29 +0000)]
Merge "Update formatting"

10 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Tue, 19 Nov 2013 20:24:39 +0000 (20:24 +0000)]
Merge "Localisation updates from translatewiki.net."

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 19 Nov 2013 20:14:44 +0000 (20:14 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I2ffb4e1f59ad5619ad15b7556c826ff2e206a1be

10 years agoMerge "Declare visibility on class properties of RCCacheEntry"
jenkins-bot [Tue, 19 Nov 2013 20:04:49 +0000 (20:04 +0000)]
Merge "Declare visibility on class properties of RCCacheEntry"

10 years agoAdd $counter which was defined dynamically
Siebrand Mazeland [Tue, 19 Nov 2013 08:37:41 +0000 (09:37 +0100)]
Add $counter which was defined dynamically

Used in SpecialRecentChanges, ChangesList and SpecialWatchlist to keep
track of line numbers for RC list entries.

Change-Id: Ib0e76a325c36a5c019db8d55c150e3bf3bf1d19b

10 years agoMerge "Declare visibility on class properties of RecentChange"
jenkins-bot [Tue, 19 Nov 2013 19:53:15 +0000 (19:53 +0000)]
Merge "Declare visibility on class properties of RecentChange"

10 years agoMerge "Declare visibility on class properties of LinkBatch"
jenkins-bot [Tue, 19 Nov 2013 19:49:57 +0000 (19:49 +0000)]
Merge "Declare visibility on class properties of LinkBatch"

10 years agoMerge "Various fixes for ChangesList"
jenkins-bot [Tue, 19 Nov 2013 19:42:16 +0000 (19:42 +0000)]
Merge "Various fixes for ChangesList"

10 years agoUpdate formatting
Siebrand Mazeland [Tue, 19 Nov 2013 19:40:50 +0000 (20:40 +0100)]
Update formatting

Change-Id: I5cd038afb609eb71e86b7e23839083cea2531e1a

10 years agoMerge "Update documentation for OldChangesList"
jenkins-bot [Tue, 19 Nov 2013 19:32:09 +0000 (19:32 +0000)]
Merge "Update documentation for OldChangesList"

10 years agoMerge "Remove dead var"
jenkins-bot [Tue, 19 Nov 2013 19:29:04 +0000 (19:29 +0000)]
Merge "Remove dead var"

10 years agoMerge "API: Add default setting for OpenSearch limit parameter"
jenkins-bot [Tue, 19 Nov 2013 19:01:58 +0000 (19:01 +0000)]
Merge "API: Add default setting for OpenSearch limit parameter"

10 years agoAPI: Add default setting for OpenSearch limit parameter
Alex Ivanov [Mon, 18 Nov 2013 21:22:07 +0000 (23:22 +0200)]
API: Add default setting for OpenSearch limit parameter

This is done as part of a GCI 2013 task.

Bug: 30089
Change-Id: I4c1a850520976a5b8b433feee4807c5f6960e3ac

10 years agoMerge "Sort 'MediaWiki' resources definitions alphabetically"
jenkins-bot [Tue, 19 Nov 2013 18:34:27 +0000 (18:34 +0000)]
Merge "Sort 'MediaWiki' resources definitions alphabetically"

10 years agoFixed spacing
umherirrender [Tue, 19 Nov 2013 18:03:54 +0000 (19:03 +0100)]
Fixed spacing

- Removed double spaces
- Added space after if/switch/foreach
- Removed space on elseif
- Added space around parentheses
- Added newline at end of file
- Removed space before semicolon at end of line

Change-Id: Id40b87e04786c6111e6686d7f7eea1e588bdf37d

10 years agoMerge "Various fixes for RecentChange"
jenkins-bot [Tue, 19 Nov 2013 18:03:46 +0000 (18:03 +0000)]
Merge "Various fixes for RecentChange"

10 years agoMerge "remove specific FORCE INDEX clauses causing trouble"
jenkins-bot [Tue, 19 Nov 2013 17:54:30 +0000 (17:54 +0000)]
Merge "remove specific FORCE INDEX clauses causing trouble"

10 years agoCleanup and expand Status tests
addshore [Fri, 15 Nov 2013 15:43:42 +0000 (16:43 +0100)]
Cleanup and expand Status tests

Change-Id: Ib06df7196c903505fbc0a3945513c5681acaaff3

10 years agoremove specific FORCE INDEX clauses causing trouble
Sean Pringle [Tue, 19 Nov 2013 09:53:05 +0000 (19:53 +1000)]
remove specific FORCE INDEX clauses causing trouble

bug: 45619
Change-Id: I6b8f35bd8d709ccc8e4811836e7731bcedb5520c

10 years agoRemove no longer needed code for PHP 5.2 compat
jeroendedauw [Tue, 19 Nov 2013 17:04:11 +0000 (18:04 +0100)]
Remove no longer needed code for PHP 5.2 compat

Change-Id: I9c1f5f12f51274c443084da55447d12b828a9fb0

10 years agoRemove dead var
jeroendedauw [Tue, 19 Nov 2013 17:04:56 +0000 (18:04 +0100)]
Remove dead var

Change-Id: I8063140d1e5ada1487ec1509a244dd410896bbab

10 years agoshared.css: Start vectorizing common icons
Hector A Escobedo [Tue, 19 Nov 2013 16:05:41 +0000 (11:05 -0500)]
shared.css: Start vectorizing common icons

This is in response to bug 35345.

I am working under the MediaWiki Google Code-In project,
and this is my first commit. I have some experience
with CSS and vector images, so it seems like a good
place to start. This is for the following task:
https://google-melange.appspot.com/gci/task/view/google/gci2013/5795046364282880

Only the Atom feed icon has been vectorized so far,
but I plan on adding more subsequently. Preliminary
testing shows that this approach works fine on Firefox.
Changed so that older browsers use the old PNG image,
while newer ones that support gradients use the SVG.

Bug: 35345
Change-Id: I842690df6934f4f14807dfc8d20ec2c0b0007df6

10 years agoMake Special:PasswordReset obey returnto and returntoquery parameters
Alexandre Emsenhuber [Tue, 19 Nov 2013 13:37:51 +0000 (14:37 +0100)]
Make Special:PasswordReset obey returnto and returntoquery parameters

Bug: 57098

Change-Id: I27b31bfa23d94cd45a70b3c7c091938e3b83e671

10 years agoDeclare visibility on class properties of RecentChange
Siebrand Mazeland [Tue, 19 Nov 2013 07:39:35 +0000 (08:39 +0100)]
Declare visibility on class properties of RecentChange

All are referenced directly outside inheritence; declare all public.
Removed unused $mMovedToTitle.

Change-Id: I3ba8f377e1a1082d3a2bb4b043e10bc351c0b5dd

10 years agoVarious fixes for ChangesList
Siebrand Mazeland [Tue, 19 Nov 2013 12:23:46 +0000 (13:23 +0100)]
Various fixes for ChangesList

* Define dynamic class properties
* Update documentation and doc formatting
* Ensure variables are defined

Change-Id: I309affea9a8e8cfa24bd8fe694a16bf79d6f2419

10 years agoUpdate documentation for OldChangesList
Siebrand Mazeland [Tue, 19 Nov 2013 12:28:18 +0000 (13:28 +0100)]
Update documentation for OldChangesList

Change-Id: Ied9ec5219ff7b458a69c6d989b813dffa1583cd3

10 years agoVarious fixes for RecentChange
Siebrand Mazeland [Tue, 19 Nov 2013 12:29:45 +0000 (13:29 +0100)]
Various fixes for RecentChange

* Do not return the value of a function that returns void
* Update documentation

Change-Id: I2b25bf34f578be516a19c84d45860ab6c7f93e0e

10 years agoMerge "Adding hlist module to mediawiki"
jenkins-bot [Tue, 19 Nov 2013 11:17:47 +0000 (11:17 +0000)]
Merge "Adding hlist module to mediawiki"

10 years agoConsistently handle anonymous users on logged-in-only special pages
Bartosz Dziewoński [Sat, 12 Oct 2013 17:00:23 +0000 (19:00 +0200)]
Consistently handle anonymous users on logged-in-only special pages

Added new helper function SpecialPage#requireLogin() to check if the
current user is logged in and, if not, format an error message linking
to Special:Userlogin and throw UserNotLoggedIn exception, to be
handled by OutputPage later.

Reused old error messages. Not all use the new parameter and they're
very inconsistent, but this is a matter for another patch.

Used it on 7 special pages. I don't think there are any other ones
which specifically require having an account, instead of just some
rights usually associated with logged-in users.

* SpecialChangeEmail
* SpecialChangePassword: It allows anonymous users under specific
  circumstances, but is logged-in-only in general.
* SpecialConfirmemail
* SpecialEditWatchlist
* SpecialPreferences
* SpecialResetTokens: It was missing the check, added it.
* SpecialWatchlist

Change-Id: I43ceaddb370d09784021b3fc2d5d1ff6616fef1f

10 years agoDeclare visibility on class properties of RCCacheEntry
Siebrand Mazeland [Tue, 19 Nov 2013 07:38:12 +0000 (08:38 +0100)]
Declare visibility on class properties of RCCacheEntry

All are referenced directly outside inheritence; declare all public.
Removed unused $secureName and $versionlink.

Change-Id: If491d0f1cbf4d53692e0ecfd0e1df1f4c3761ca6

10 years agoMerge "Remove unused classes Title[List]Dependency"
jenkins-bot [Tue, 19 Nov 2013 08:40:16 +0000 (08:40 +0000)]
Merge "Remove unused classes Title[List]Dependency"

10 years agoDeclare visibility on class properties of LinkBatch
Siebrand Mazeland [Tue, 19 Nov 2013 08:07:59 +0000 (09:07 +0100)]
Declare visibility on class properties of LinkBatch

Set to public. Usage in for example api/ApiPageSet.php.

Change-Id: I8d6b8a0728a465544b09832b2916235628a21b8e

10 years agoMerge "Update formatting"
jenkins-bot [Tue, 19 Nov 2013 06:39:03 +0000 (06:39 +0000)]
Merge "Update formatting"

10 years agoMerge "Address CodeSniffer errors and warnings"
jenkins-bot [Tue, 19 Nov 2013 06:35:56 +0000 (06:35 +0000)]
Merge "Address CodeSniffer errors and warnings"

10 years agoUpdate formatting
Siebrand Mazeland [Mon, 18 Nov 2013 22:07:49 +0000 (23:07 +0100)]
Update formatting

Change-Id: I7586c4d50f7332c515b8377749c4250cc9e04d83

10 years agoMerge "Add visibility to Status functions and variables"
jenkins-bot [Tue, 19 Nov 2013 06:20:43 +0000 (06:20 +0000)]
Merge "Add visibility to Status functions and variables"

10 years agoAdd visibility to Status functions and variables
aude [Thu, 24 Oct 2013 19:41:51 +0000 (19:41 +0000)]
Add visibility to Status functions and variables

Change-Id: I829a7503693318586e33605d2ac8e2ca63f3c886