| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
http://ks.wikipedia.org/wiki/User_talk:SPQRobin
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/103168
|
|
|
|
|
|
|
|
|
| |
Use negative sign itself instead of $_[0] since $_ is mixed type.
Add more test cases.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/103128
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/103037
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102953
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102952
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102893
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102891
|
|
|
|
|
|
|
|
|
| |
Bug 32393
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102889
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102872
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102812
|
|
|
|
|
|
|
|
|
| |
Add test cases.
Ref Bug 32359 and Followup r97793
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102802
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102780
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102773
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102744
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102689
|
|
|
|
|
|
|
| |
Also contains localisation updates from //translatewiki.net :)
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102630
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102628
|
|
|
|
|
|
|
| |
message files protocol relative
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102612
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102563
|
|
|
|
|
|
|
| |
contain any base class used in LanguageSr_el. Not even in r13157.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102464
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102438
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Changing the english title to something more accurate.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102416
|
|
|
|
|
|
|
| |
in the dataCache
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102415
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
( ! ) 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
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102323
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
consistent
Per discussion on https://translatewiki.net/wiki/Thread:User_talk:Raymond/Formatierung_einer_Datumsvariable
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102277
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102195
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102118
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'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
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/102064
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101868
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101676
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101543
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101528
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 qqq documentation accordingly.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101466
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101404
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101363
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101309
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101278
|
|
|
|
|
|
|
|
| |
* punctuation for error messages.
* capital letter after colon
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101249
|