Siebrand Mazeland [Mon, 1 Jun 2009 12:01:40 +0000 (12:01 +0000)]
Follow-up to r51279
* tweak new messages
* update messages.inc
* rebuild all messages files
Tim Starling [Mon, 1 Jun 2009 11:37:06 +0000 (11:37 +0000)]
In Special:RevisionDelete:
* Refactored to remove massive duplication
* Removed page parameter and associated contextPage member variable, doesn't seem to do anything.
* Put ID lists into a single ids parameter and member variable instead of having one for each type.
* Fixed inappropriate call of Title::newFromUrl(), always wrong
* Don't pretend to use the return value from functions that don't return anything, this reduces readability.
* Use the table names for deleteKey/typeName values, they look more like English
* Use protected not private
* Remove requirement for log type to be specified in the target
* Use POST for RevisionDelete entry forms, to avoid URL size limits and issues with non-PATH_INFO URLs
* Don't purge all pages that use the given file
* LocalFile::purgeCache() already calls purgeHistory,() no need to do it again. But do call purgeDescription().
* Removed token from unhide=1 links, unnecessary
* Tokens are necessary on file streaming links, added them
* Fixed private data leakage due to incorrect use of LocalRepo::newFromArchiveName(). Non-existent placeholder file was returned which meant that $oimage->userCan(File::DELETED_FILE) was always true. Pass the archive name to tryShowFile() instead of the storage key.
* Using ls_field='oi_timestamp' is not correct, oi_timestamp refers to the timestamp of the revision in question, whereas the key that is stored is the timestamp of the previous revision (i.e. the timestamp in oi_archive_name). oi_archive_name would be more correct, although only half the field is used.
Elsewhere:
* Added missing message filehist-missing
* Fixed double asterisk in Status::getWikiText()
* Fixed escaping of the target parameter to Special:RevisionDelete from ImagePage
* Deleted FileStore.php. Deprecated in filerepo refactor except for get()/export() but somehow resurrected by RevisionDelete. Hopefully this will be the end of it. New interfaces will be added for wfStreamFile() in a later commit.
* Added convenience function File::getStorageKey(), factored out of Special:Undelete
* Added convenience function Revision::newFromArchiveRow(), factored out of Special:Undelete and Special:RevisionDelete
* Fixed notice in Special:Upload, uninitialised $pageText
FIXME: current revision can be suppressed on undeletion causing an unauthenticated unsuppress. Comments indicate this is a known issue. I fixed the parser cache pollution in this case but not the rest.
Niklas Laxström [Mon, 1 Jun 2009 11:00:38 +0000 (11:00 +0000)]
Add proper dateformats too, bug 18308
Siebrand Mazeland [Mon, 1 Jun 2009 09:55:52 +0000 (09:55 +0000)]
Localisation updates for core messages from translatewiki.net
* fixes (bug 18308) Updated date formatting in Occitan
Philip Tzou [Mon, 1 Jun 2009 05:25:22 +0000 (05:25 +0000)]
Update the Chinese conversion tables.
Siebrand Mazeland [Sun, 31 May 2009 21:28:19 +0000 (21:28 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-31 21:03 UTC)
Shinjiman [Sun, 31 May 2009 21:03:10 +0000 (21:03 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Robert Stojnić [Sun, 31 May 2009 19:25:52 +0000 (19:25 +0000)]
Whitespace after the "check" label.
Robert Stojnić [Sun, 31 May 2009 19:15:17 +0000 (19:15 +0000)]
Bug 19039: new "(un)select all" buttons misplaced at advanced search form
* put the all/none buttons into upper right corner
* use input instead of button
Jack Phoenix [Sun, 31 May 2009 19:13:21 +0000 (19:13 +0000)]
spacing tweaks to Vector.php
Alex Z [Sun, 31 May 2009 19:06:04 +0000 (19:06 +0000)]
On second thought, use idFromName and edits() instead, load() loads a whole bunch of stuff we don't need
Alex Z [Sun, 31 May 2009 18:55:38 +0000 (18:55 +0000)]
Some followup to r51200:
* Save a query by not using User::edits()
* Mark as an expensive function (it needs at least 1 query for each use)
* Use number formatting/raw option rather than pointless wfEscapeWikiText()
Rotem Liss [Sun, 31 May 2009 18:08:50 +0000 (18:08 +0000)]
Localization update for he, and fixes.
Robert Stojnić [Sun, 31 May 2009 17:35:08 +0000 (17:35 +0000)]
Don't use submit buttons in r51228 for select all/none since that confuses the browser as to which submit button
is the main one. Instead use normal html buttons. Also actually work for localized values.
Siebrand Mazeland [Sun, 31 May 2009 17:31:21 +0000 (17:31 +0000)]
Localisation updates for core namespace names and namespace aliases from translatewiki.net
Robert Stojnić [Sun, 31 May 2009 17:10:22 +0000 (17:10 +0000)]
Lastest followup to r50207: show create article link only for content and everything searches.. when searching in other
groups of namespaces this link might be a bit misplaced and confused.
Robert Stojnić [Sun, 31 May 2009 16:58:01 +0000 (16:58 +0000)]
Another follow-up for 50207: show form header for empty searches as well
Siebrand Mazeland [Sun, 31 May 2009 16:55:30 +0000 (16:55 +0000)]
Localisation updates for core magic words from translatewiki.net
Robert Stojnić [Sun, 31 May 2009 16:46:52 +0000 (16:46 +0000)]
New search option:
* new option to search all namespaces: searcheverything
* add a switch ($wgSearchEverythingOnlyLoggedIn) to limit this option only to logged-in users, this way one
can set different default values of this option for logged-in and logged-out (disabled by default)
Siebrand Mazeland [Sun, 31 May 2009 16:41:58 +0000 (16:41 +0000)]
Localisation updates for core special page aliases from translatewiki.net
Siebrand Mazeland [Sun, 31 May 2009 16:40:54 +0000 (16:40 +0000)]
Remove trailing space
Roan Kattouw [Sun, 31 May 2009 15:02:43 +0000 (15:02 +0000)]
Fixes for r51236 per CR comments
Roan Kattouw [Sun, 31 May 2009 14:52:16 +0000 (14:52 +0000)]
Fix weird bug that caused IP::isInRange("80.0.0.0", "94.0.0.0/24") to return true because "
52000000" >= "
5E000000" (
52000000 >= 5). Thanks, PHP.
Robert Stojnić [Sun, 31 May 2009 13:31:46 +0000 (13:31 +0000)]
Remove trailing space in powersearch-togglelabel
Siebrand Mazeland [Sun, 31 May 2009 13:23:37 +0000 (13:23 +0000)]
Update $checkBlacklist
Robert Stojnić [Sun, 31 May 2009 13:22:35 +0000 (13:22 +0000)]
More work on new search UI (follow-up to r50207):
* introduce search.js (loaded only for Special:Search):
** updates target links when search term is changed and one of the header links clicked
** added Aude's code for toggling advanced search checkboxes
* fix minor styling issues in IE
Tried different ways to make prefix: queries look smarter, but will leave it alone for now, since there is
no neat way of fixing them.
Rotem Liss [Sun, 31 May 2009 07:27:22 +0000 (07:27 +0000)]
Localization update.
Siebrand Mazeland [Sun, 31 May 2009 00:01:34 +0000 (00:01 +0000)]
Localisation updates for core messages from translatewiki.net
Siebrand Mazeland [Sat, 30 May 2009 22:25:02 +0000 (22:25 +0000)]
Follow-up to r51210: update messages.inc
Alexandre Emsenhuber [Sat, 30 May 2009 21:23:44 +0000 (21:23 +0000)]
removed unused global declaration
Shinjiman [Sat, 30 May 2009 21:23:40 +0000 (21:23 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
X! [Sat, 30 May 2009 21:17:17 +0000 (21:17 +0000)]
(bug 19014) If user had deletedhistory right, but not undeleted right, then
show "view" instead of "view/restore" on logs.
Siebrand Mazeland [Sat, 30 May 2009 21:00:44 +0000 (21:00 +0000)]
(bug 18957) Update number formatting for German. Same behaviour as for Ukranian; "12 345,67" and "1234,56"
Shinjiman [Sat, 30 May 2009 19:49:51 +0000 (19:49 +0000)]
* (bug 10837) Introducing the StubUserVariant class to determine the variant variable instead of using this to overrules the user language preference.
X! [Sat, 30 May 2009 17:27:16 +0000 (17:27 +0000)]
(bug 19012) Added {{NUMBEROFCONTRIBS}} variable
Shinjiman [Sat, 30 May 2009 09:24:20 +0000 (09:24 +0000)]
introudce 'file-anchor-link' message on the File description page instead of the message from the "File namespace"
rebuild messages for all languages
Rotem Liss [Sat, 30 May 2009 08:26:21 +0000 (08:26 +0000)]
Localization update for he.
Philip Tzou [Sat, 30 May 2009 05:14:24 +0000 (05:14 +0000)]
Follow up on r51177. Need use is_array().
Philip Tzou [Sat, 30 May 2009 05:07:46 +0000 (05:07 +0000)]
1. Follow up on r49157, r50902 and r50938. According RFC 2616 section 14.4, language code name should always use '-' but not '_'.
2. metadata 'keywords' should have all variant forms of keyword.
Siebrand Mazeland [Fri, 29 May 2009 23:37:48 +0000 (23:37 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-29 23:28 UTC)
Trevor Parscal [Fri, 29 May 2009 21:40:19 +0000 (21:40 +0000)]
Added EditPageBeforeEditToolbar hook to provide a way to override the toolbar - making way for the new one the Wikipedia Usability Initiative is working on.
Trevor Parscal [Fri, 29 May 2009 20:34:47 +0000 (20:34 +0000)]
Moved the visualClear class to common/shared.css because it is being used by code which is not exclusive to MonoBook
Alexandre Emsenhuber [Fri, 29 May 2009 16:48:12 +0000 (16:48 +0000)]
Tweaks to profileinfo.php:
* whitespaces fixes
* changed "<form method="profiling.php">" to "<form method="get" action="profileinfo.php">" since "method" should be either "get" or "post" and the script's name was incorrect
Ilmari Karonen [Fri, 29 May 2009 16:32:10 +0000 (16:32 +0000)]
Enable subpages in NS_MEDIAWIKI. This does not affect the message cache, which was already in effect using subpages for localized messages, but allows multi-page moves within (or into or out of) NS_MEDIAWIKI and provides convenient backlinks when viewing localized message pages.
Alexandre Emsenhuber [Thu, 28 May 2009 19:56:19 +0000 (19:56 +0000)]
Per Tim's comment on r50192: $res->free(); is useless and should not be used
Raimond Spekking [Thu, 28 May 2009 19:15:21 +0000 (19:15 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-28 18:55 UTC)
Shinjiman [Thu, 28 May 2009 18:57:44 +0000 (18:57 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Trevor Parscal [Thu, 28 May 2009 18:48:26 +0000 (18:48 +0000)]
Changed view to read as per reccomendation made in design review.
Shinjiman [Thu, 28 May 2009 18:31:52 +0000 (18:31 +0000)]
follow up r51128, update more of RELEASE-NOTES
Shinjiman [Thu, 28 May 2009 18:22:24 +0000 (18:22 +0000)]
follow up r51128, reverting special page aliases which was accidentally committed.
Shinjiman [Thu, 28 May 2009 18:13:52 +0000 (18:13 +0000)]
* (bug 18958) Added ability to disable entire variant conversion engine per user preferences (languages with language converter class only)
Alexandre Emsenhuber [Thu, 28 May 2009 17:15:58 +0000 (17:15 +0000)]
Per Tim's comment on r49782 (and fix for that rev): put the $n assignment out of the if clause
Alexandre Emsenhuber [Thu, 28 May 2009 17:05:09 +0000 (17:05 +0000)]
* break lines at 80 chars
* spacing consistency
Shinjiman [Thu, 28 May 2009 12:53:34 +0000 (12:53 +0000)]
(bug 8873) follow up r46434, update the RELEASE-NOTES
Andrew Garrett [Thu, 28 May 2009 12:32:43 +0000 (12:32 +0000)]
Fix bug 18947 LiquidThreads thread renaming silently fails if user is not allowed to move pages.
It now fails gracefully, but really I'd like to be able to disable that subject bar altogether instead of letting users change it only to be told off.
Andrew Garrett [Thu, 28 May 2009 10:00:53 +0000 (10:00 +0000)]
Prevent Tor users from emailing other users
Shinjiman [Thu, 28 May 2009 03:16:51 +0000 (03:16 +0000)]
fix parse error on r51094.
Shinjiman [Thu, 28 May 2009 01:37:02 +0000 (01:37 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Trevor Parscal [Wed, 27 May 2009 23:27:25 +0000 (23:27 +0000)]
New skin based on MonoBook with improvements inspired by research conducted by the Wikipedia Usability Initiative
Siebrand Mazeland [Wed, 27 May 2009 23:00:50 +0000 (23:00 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-27 22:45 UTC)
Trevor Parscal [Wed, 27 May 2009 22:05:58 +0000 (22:05 +0000)]
New skin based on MonoBook with improvements inspired by research conducted by the Wikipedia Usability Initiative
Trevor Parscal [Wed, 27 May 2009 22:01:03 +0000 (22:01 +0000)]
Added view message for use in the new Vector skin
Siebrand Mazeland [Wed, 27 May 2009 20:35:16 +0000 (20:35 +0000)]
Fix a usability issue on protect and [file ]delete forms. "Edit ... reasons" link now contains action=edit to save a click.
Niklas Laxström [Wed, 27 May 2009 19:07:27 +0000 (19:07 +0000)]
* (bug 18943) Handle invalid titles gracefully at Special:Mostlinked
Trevor Parscal [Wed, 27 May 2009 18:23:40 +0000 (18:23 +0000)]
Corrected the padding of the siteNotice box.
Andrew Garrett [Wed, 27 May 2009 16:11:23 +0000 (16:11 +0000)]
Reimplement Special:MoveThread with the new HTMLForm interface, fixing several bugs in the process:
* Bug 18949 LiquidThreads allows threads to be moved to pages without LiquidThreads enabled.
* You could move a thread to the page it was already on, which would leave strange placeholders that don't make sense.
* Allowing wikitext in some new places where it makes sense.
Aaron Schulz [Wed, 27 May 2009 13:46:46 +0000 (13:46 +0000)]
reverted r49742 per CR; also it doesn't handle subpages anyway
Tim Starling [Wed, 27 May 2009 06:10:48 +0000 (06:10 +0000)]
Implemented save/restore logic for sql_big_selects, per CR comments on r50168.
Tim Starling [Wed, 27 May 2009 05:32:32 +0000 (05:32 +0000)]
Reverted r50065, restInPeace does this since r49684.
Tim Starling [Wed, 27 May 2009 05:30:09 +0000 (05:30 +0000)]
Reverted r47352, $wgRateLimitsExcludedIPs is to be replaced by APCOND_ISIP.
Aaron Schulz [Wed, 27 May 2009 02:19:58 +0000 (02:19 +0000)]
(bug 18747) Show only page deletion log extracts, not revisiondelete ones
Brion Vibber [Tue, 26 May 2009 21:22:42 +0000 (21:22 +0000)]
* (bug 11484) Added ISO speed rating to default collapsed EXIF metadata view
One-line addition to [[MediaWiki:Metadata-fields]], can be done locally where sites already have this customized (as on Commons).
Raimond Spekking [Tue, 26 May 2009 20:13:39 +0000 (20:13 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-26 20:00 UTC)
Robin Pepermans [Tue, 26 May 2009 19:16:49 +0000 (19:16 +0000)]
Per comment at r50961: keep the messages saying "you need to be logged in to ...", but only show it when normal logged-in users can upload
Rotem Liss [Tue, 26 May 2009 17:08:52 +0000 (17:08 +0000)]
Localization update for he.
Shinjiman [Tue, 26 May 2009 15:49:11 +0000 (15:49 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
(bug 18847) Adding {{GENDER:}} support
Tim Starling [Tue, 26 May 2009 15:20:04 +0000 (15:20 +0000)]
Fix for r50955, don't use the skin of the target user when linking to them.
Alex Shih-Han Lin [Tue, 26 May 2009 15:09:40 +0000 (15:09 +0000)]
fix bug 17736
Siebrand Mazeland [Tue, 26 May 2009 15:05:07 +0000 (15:05 +0000)]
Minor consistency updates for 'right-reupload', 'right-reupload-own', 'right-upload_by_url' and 'action-upload_by_url'
Shinjiman [Tue, 26 May 2009 13:40:13 +0000 (13:40 +0000)]
Cleanup: removing obsolete/outdated messages for zh-tw/zh-hk which are same as zh-hant and zh-cn/zh-sg which are same as zh-hans respectively.
Shinjiman [Tue, 26 May 2009 13:24:57 +0000 (13:24 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Siebrand Mazeland [Tue, 26 May 2009 13:06:30 +0000 (13:06 +0000)]
Follow-up on r51009. Remove unused 'deletedrev'
Aaron Schulz [Tue, 26 May 2009 12:29:16 +0000 (12:29 +0000)]
(bug 18772) Removed redundant 'deletedrev' message instances
X! [Tue, 26 May 2009 11:03:50 +0000 (11:03 +0000)]
Modification of r50714, adding element to the li class, rather than a separate div class.
Tim Starling [Tue, 26 May 2009 07:46:29 +0000 (07:46 +0000)]
Reverted r49855, r49656, r49401, r49399, r49397. The language converter cannot be used outside the parser at present without generating a large number of bugs, due to global lifetime state variables, inappropriate $wgParser references, etc. Some refactoring needs to be done before it can be used in this way.
Shinjiman [Tue, 26 May 2009 04:27:23 +0000 (04:27 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Siebrand Mazeland [Mon, 25 May 2009 21:23:11 +0000 (21:23 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-25 21:04 UTC)
Siebrand Mazeland [Mon, 25 May 2009 18:02:58 +0000 (18:02 +0000)]
(bug 17093) Separate date and time in Special:BlockList
Niklas Laxström [Mon, 25 May 2009 14:02:54 +0000 (14:02 +0000)]
urlencode not needed anymore
Siebrand Mazeland [Mon, 25 May 2009 13:53:48 +0000 (13:53 +0000)]
* feed arrays into getFullURL() for readability
* fix indentation (spaces to tab)
Niklas Laxström [Mon, 25 May 2009 13:49:01 +0000 (13:49 +0000)]
Work around parser madness, because I have no idea what is going on. The following renders each line as a paragraph:
<div>a
b
c/div>
Purodha B Blissenbach [Mon, 25 May 2009 13:42:47 +0000 (13:42 +0000)]
Fix r50972
Purodha B Blissenbach [Mon, 25 May 2009 09:48:22 +0000 (09:48 +0000)]
Misguiding message text amended. See hint at
http://translatewiki.net/w/i.php?title=Support&oldid=
1234364#Original_message_problem_-_filepage-nofile-link
Shinjiman [Mon, 25 May 2009 03:02:06 +0000 (03:02 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Robin Pepermans [Sun, 24 May 2009 22:36:53 +0000 (22:36 +0000)]
Fix per comments at r50961: Update MessagesEn.php (remove unused messages and accidentally committed change)
Siebrand Mazeland [Sun, 24 May 2009 21:56:54 +0000 (21:56 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-24 21:49 UTC)
Robin Pepermans [Sun, 24 May 2009 20:45:31 +0000 (20:45 +0000)]
Fixing part of bug 14688 (upload restrictions):
* Only show upload links on file description if $wgEnableUploads = true and user *can* upload
* Don't say "You need to log in to upload", because it's possible that uploading is disabled for registered users as well and e.g. only sysops can upload (same for moving pages)
* And a small tweak: less code in SkinTemplate.php with same result
Shinjiman [Sun, 24 May 2009 14:21:27 +0000 (14:21 +0000)]
added functionality to removing a array key specified on a source file in the rebuildLanguage.php, to incorporate the functionality of the checkDupeMessages.php file.
Robin Pepermans [Sun, 24 May 2009 12:09:15 +0000 (12:09 +0000)]
Update per r50782:
* Remove all $wgAllowRealName, check $wgHiddenPrefs instead
* Make $wgAllowUserSkin obsolete too, check $wgHiddenPrefs instead
* And also only call globals if really needed, and remove unused globals
Siebrand Mazeland [Sun, 24 May 2009 09:23:40 +0000 (09:23 +0000)]
Fix special page case