aboutsummaryrefslogtreecommitdiffstats
path: root/languages
Commit message (Collapse)AuthorAgeFilesLines
* * Factorise common code in ImagePage::delete() and allow normal page ↵Alexandre Emsenhuber2011-11-152-24/+27
| | | | | | | | | | | | | deletion if $wgUploadMaintenance is true * Moved $wgUploadMaintenance check after permissions and read only, so that the user doesn't think the error is temporary if he both doesn't have the permission and $wgUploadMaintenance is true * Show normal error page when $wgUploadMaintenance and added a message for the error title * Moved watchlist updating to FileDeletForm::execute(), it has nothing to do in doDelete() (would also be executed for api requests, etc.) * Added $user parameter to FileDeletForm::doDelete() to pass the user doing the action * Use WikiPage instead of Article Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/103202
* The names for Kashmiri were in Urdu and Hindi. Change to native names per ↵Robin Pepermans2011-11-151-3/+3
| | | | | | | http://ks.wikipedia.org/wiki/User_talk:SPQRobin Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/103168
* Follow up r102802. Bug 32359Santhosh Thottingal2011-11-151-1/+1
| | | | | | | | | Use negative sign itself instead of $_[0] since $_ is mixed type. Add more test cases. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/103128
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-1411-78/+107
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/103037
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-1419-374/+543
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102953
* Remove the kok-* codes got added unintentionally in r102891.Santhosh Thottingal2011-11-141-3/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102952
* Correct the name of Sanskrit. Follow-up 102889.Santhosh Thottingal2011-11-131-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102893
* Oops, missed to notice the missed <?php. Reverting.Santhosh Thottingal2011-11-131-1/+5
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102891
* Correct the name of Sanskrit Language.Santhosh Thottingal2011-11-131-2/+1
| | | | | | | | | Bug 32393 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102889
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-1214-157/+226
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102872
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-1191-192/+323
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102812
* Make commafy support negative numbers too,Santhosh Thottingal2011-11-111-2/+8
| | | | | | | | | Add test cases. Ref Bug 32359 and Followup r97793 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102802
* Localisation updates from http://translatewiki.net.Siebrand Mazeland2011-11-111-0/+48
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102780
* Localisation updates. Add Canadian English, by popular demand.Siebrand Mazeland2011-11-112-1/+15
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102773
* Switch some urls inside en to protocol relative.Daniel Friesen2011-11-111-4/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102744
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-1025-56/+81
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102689
* Follow-up r102628, r102612: More protocol relative URLs.Siebrand Mazeland2011-11-10181-465/+818
| | | | | | | Also contains localisation updates from //translatewiki.net :) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102630
* Follow-up r102612: Use protocol relative URLs for translatewiki.net alsoSiebrand Mazeland2011-11-101-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102628
* This SVN commit fixes bug32220 and makes links to mediawiki.org in language ↵Benny Situ2011-11-10239-738/+738
| | | | | | | message files protocol relative Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102612
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-0931-172/+348
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102563
* Delete LanguageSr_el.deps.php. LanguageSr_ec.php doesn't Platonides2011-11-081-8/+0
| | | | | | | contain any base class used in LanguageSr_el. Not even in r13157. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102464
* Add name for code tly: Talysh ( http://en.wikipedia.org/wiki/Talysh_language ).Platonides2011-11-081-0/+1
| | | | | | | | | There are translations in that language for the toolserver and some extensions (AdminLinks, Babel, CategoryTree, Contest, GlobalUsage, LanguageSelector, Todo, Translate and WikiData). Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102460
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-08242-541/+470
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102438
* * Changed OutputPage's handling of subtitles to use an array and implode it ↵Alexandre Emsenhuber2011-11-082-25/+14
| | | | | | | | | | | | | | | with "<br />" so that callers don't have to bother whether there's already a subtitle when adding new ones * Make OutputPage::setSubtitle(), OutputPage::addSubtitle() and OutputPage::appendSubtitle() accept a Message object in addition to a string * Added new method OutputPage::addSubtitle() to replace appendSubtitle() and marked it as deprecated * Clear the subtitles when showing an error page * Always show the subtitle from Article::viewRedirect() when showing a page; left the parameter for use in EditPage * Make Article::setOldSubtitle() add two subtitles and has to set "display:inline;" for the three possible divs to avoid too many spacing * Removed the six different backlink subtitles and added one new message 'backlinksubtitle' to replace them and added OutputPage::addBacklinkSubtitle() to factorise common code * Changed EditPage's view source to show "View source for <Page>" with the same backlink in subtitle for consistency with other back links and page titles Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102417
* Bug 20148 - Change title of Special:DisambiguationsAntoine Musso2011-11-081-1/+1
| | | | | | | | Changing the english title to something more accurate. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102416
* Cast the return value of getExtraUserToggles() to an array in case it's not ↵Roan Kattouw2011-11-081-1/+1
| | | | | | | in the dataCache Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102415
* Fix fatal introduced in r97296. Seems to happen only after restarting memcached.Roan Kattouw2011-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | ( ! ) Fatal error: Unsupported operand types in /srv/org/wikimedia/prototype/wikis/rl2/languages/Language.php on line 479 Call Stack # Time Memory Function Location 1 0.0002 121976 {main}( ) ../index.php:0 2 0.0082 2959136 MediaWiki->run( ) ../index.php:58 3 0.0082 2959136 MediaWiki->main( ) ../Wiki.php:531 4 0.0082 2959136 MediaWiki->performRequest( ) ../Wiki.php:612 5 0.0165 5012424 MediaWiki->performAction( ) ../Wiki.php:252 6 0.0585 6947008 EditPage->submit( ) ../Wiki.php:506 7 0.0585 6947008 EditPage->edit( ) ../EditPage.php:360 8 0.1441 19979552 EditPage->showEditForm( ) ../EditPage.php:512 9 0.1704 22610032 EditPage->showStandardInputs( ) ../EditPage.php:1574 10 0.1778 22627752 Skin::makeInternalOrExternalUrl( ) ../EditPage.php:2046 11 0.1778 22627752 Skin::makeUrl( ) ../Skin.php:1006 12 0.1779 22627752 Skin::checkTitle( ) ../Skin.php:991 13 0.1780 22627752 Title::newFromText( ) ../Skin.php:1050 14 0.1780 22627752 Title->secureAndSplit( ) ../Title.php:148 15 0.1780 22627752 Language->getNsIndex( ) ../Title.php:2718 16 0.1781 22627752 Language->getNamespaceIds( ) ../Language.php:530 17 0.1782 22627752 Language->getNamespaceAliases( ) ../Language.php:505 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102414
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-0726-494/+841
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102323
* * Added specific page header when showing "search deleted pages" formAlexandre Emsenhuber2011-11-072-0/+4
| | | | | | | | | | * Throw an exception directly instead of calling OutputPage::permissionRequired() * Removed unreachable code paths * Show nicer error messages when undeletion could not be executed * Pass the subpage parameter to loadRequest() and define $mTarget and $mTargetObj there Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102306
* Bug 30232 - add current time to message wlnote on Special:WatchlistAntoine Musso2011-11-072-1/+9
| | | | | | | | | | | | | | | Patch by Umherirrender. I did remove the rcnote message being used most probably before we had support for {{PLURAL}}. So now we just rely on the wlnote message. As requested by Niklas, the timeanddate parameter was dropped from original patch. Umherirrender is already in the CREDITS file. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102284
* Update date format for dsb and hsb: month names need the genitive, make them ↵Raimond Spekking2011-11-072-2/+16
| | | | | | | | | consistent Per discussion on https://translatewiki.net/wiki/Thread:User_talk:Raymond/Formatierung_einer_Datumsvariable Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102277
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-0615-331/+732
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102195
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-05210-412/+307
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102118
* * Made OuputPage::showPermissionsErrorPage() show a different messages for ↵Alexandre Emsenhuber2011-11-051-1/+0
| | | | | | | | | | | | | | 'read', 'edit', 'create' and 'upload' actions to saying "You need to log in to do this action" when 1) The user is not logged in 2) The only error is a permissions error (no block or something else) and 3) The error can simply be avoided by logging in * This replaces OuputPage::loginToUse() functionnality, made it simply throw a PermissionsEror exception and updated all calls in core * Same for the check in SpecialUpload::execute(), EditPage::userNotLoggedInPage() and EditPage::noCreatePermission() * Throw the same exception in EditPage::attemptSave() whether the user is logged in or not and let OuputPage::showPermissionsErrorPage() decide which message to display * Replaced call to deprecated OutputPage::blockedPage() in SpecialUpload * Displayed messages are the same as now, except the title is always "loginreqtitle" * 'nocreatetitle' and 'uploadnologin' messages are still used by extensions, so I kept them, but the message 'whitelistedittitle' is not used anymore and has been removed Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102112
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-04201-554/+343
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102064
* Some cleanup to EditPage:Alexandre Emsenhuber2011-11-042-2/+2
| | | | | | | | | | | | * Added displayPermissionsError() to show the permissions error page with the content if there's content to show or it will throw an normal exception if there's nothing to display; this restores a functionnality lost at some point and added new message 'viewyourtext' that is displayed when the user made changes to the content (e.g. when the block happens while the user is editing the page) * Marked EditPage::readOnlyPage() as deprecated since displayPermissionsError() is now used. This also means that OutputPage::readOnlyPage() is no longer used to display such error pages (but still have to keep that functionnality since it's used by extensions, same for EditPage::readOnlyPage(), *sigh*) * Removed blockedPage()'s display of content since it's nearly never called (a blocked user would trigger the path mentionned above, not the check in internalAttemptSave()) and also removed 'blockedoriginalsource' and 'blockededitsource' messages that are no longer used * Use OutputPage::prepareErrorPage() to prepare error pages instead of doing all that stuff directly * Moved noCreatePermission() near other error-related functions * Throw an exception directly in attemptSave() instead of calling deprecated methods and marked noCreatePermission() and blockedPage() as deprecated Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102024
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-0334-227/+550
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101868
* Cleanup to deletion related code:Alexandre Emsenhuber2011-11-032-0/+3
| | | | | | | | | | | | | | * Use the new 'cannotdelete-title' message for the title on error instead of "internal error" * Don't use OutputPage::showFatalError() but add the content by "normal" methods (related to the item above) * Don't use the $DeleteReason and $DeleteReasonList member variables in Article and FileDeleteForm but local variables since they are not used anywhere else * Moved down some variable definitions near where they are used so that they are only set when they will actually be used * Same for the setPageTitle() call with 'delete-confirm' message in Article::delete() that is now in Article::confirmDelete() * Added missing "true" as fourth parameter of WikiPage::doDeleteArticle() call that was missing * Factorised getTitle() and getUser() calls * Salt token with array( 'delete', 'page title' ) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101796
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-0232-87/+187
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101676
* * Made PermissionsError exception accept an optional second parameter for ↵Alexandre Emsenhuber2011-11-022-0/+2
| | | | | | | | | | | | | | | the description of the errors (as returned by Title::getUserPermissionsErrors()) * PermissionsError now calls OutputPage::showPermissionsErrorPage() to display the error (this is needed to make the item above work correctly) * Removed the override of the HTML title in OutputPage::showPermissionsErrorPage() so that it shows "Permission errors - Sitename" instead of simply "Permission errors" for consistency with the other things * Pass the error array returned by Title::getUserPermissionsErrors() to PermissionsError where available * Converted direct calls to OutputPage::showPermissionsErrorPage() to throw an PermissionsError error instead * Added 'action-rollback' message that will be displayed when accessing action=rollback without sufficient rights * Changed getRestriction() in subclasses of Action to return null when they previously returned 'read' so that user rights can be check with Title::getUserPermissionsErrors() * Reordered checks to do first user rights, then block (if needed) and finally read only (also if needed) so that users don't think the error is temporary when they both don't have right and the database is locked Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101630
* Localisation updates from http://translatewiki.net.Siebrand Mazeland2011-11-017-19/+38
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101543
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-11-0144-414/+727
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101528
* Some cleanup to ProtectionForm:Alexandre Emsenhuber2011-11-012-0/+6
| | | | | | | | | | | | * When the user doesn't have permission to protect/unprotect the page, display a page with the title set to "View protection level for ...", then the permissions errors and the current protection levels. Except for the title, this was already the case for permissions errors, but when the database was read-only this was throwing an exception due to the change in OutputPage::readOnlyPage() * Moved check for NS_MEDIAWIKI a level up, so that is it also catched on page save, and make the output in such case much more user friendly * Changed edit token to be salted with array( 'protect', 'page name' ) (as for action=watch) * Allow extensions to return false in ProtectionForm::save hook for consistency with other hooks and in that case fill the error message with 'hookaborted' if the extension does not provide an customised error message. * Changed ProtectionForm::show() to accept an array of message name and its parameters in addition of a string with raw HTML and converted calls to use the new method. This also means that ProtectionForm::save can use this * Removed the setSubtitle() call for the 'formerror' message in case of error since it's overriden by the "back link" Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101485
* Updated the title of Special:Linksearch to "External links search" and ↵Amir E. Aharoni2011-11-012-4/+3
| | | | | | | updated qqq documentation accordingly. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101466
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-10-3121-295/+518
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101404
* * (bug 31818) 'usercreated' message now supports GENDERAlexandre Emsenhuber2011-10-311-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101363
* Add namespace gender aliases for 'stq'Raimond Spekking2011-10-301-0/+5
| | | | | | | http://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion%3ARaymond&action=historysubmit&diff=95232734&oldid=95208259 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101320
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-10-3015-604/+1011
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101309
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2011-10-2913-319/+577
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101278
* Consistency fixes:Siebrand Mazeland2011-10-291-22/+22
| | | | | | | | * punctuation for error messages. * capital letter after colon Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/101249