Rotem Liss [Fri, 14 Nov 2008 15:25:41 +0000 (15:25 +0000)]
Localization update for he.
Rotem Liss [Fri, 14 Nov 2008 14:05:43 +0000 (14:05 +0000)]
Localization update for he.
Siebrand Mazeland [Fri, 14 Nov 2008 11:58:45 +0000 (11:58 +0000)]
(bug 16251) Update linktrail for Breton.
Siebrand Mazeland [Fri, 14 Nov 2008 10:05:57 +0000 (10:05 +0000)]
Localisation updates for core messages from Betawiki (2008-11-14 10:55 CET)
Siebrand Mazeland [Fri, 14 Nov 2008 08:58:42 +0000 (08:58 +0000)]
Remove message id for message that no longer exists.
Aaron Schulz [Fri, 14 Nov 2008 07:44:14 +0000 (07:44 +0000)]
(bug 16305) Allow optional replacement of user talk page
Tim Starling [Fri, 14 Nov 2008 05:51:39 +0000 (05:51 +0000)]
-1 is not a valid exit code
Brion Vibber [Fri, 14 Nov 2008 02:21:45 +0000 (02:21 +0000)]
Revert class cruft in r43327 :)
I think I'd rather see consistent classes for common UI elements, regardless of where they appear.
For instance 'mw-rc-usertoollinks' ... We have user tool links in a hojillion places; they should all have *the same* class. If you need to distinguish those on RC from those on another page, you use a fancier selector that grabs only those in the special you want.
Brion Vibber [Fri, 14 Nov 2008 00:46:53 +0000 (00:46 +0000)]
Use strict parameter on in_array() checks in wfMsgExt(). In PHP 5.1.6 this was whinging when a Language object was passed as 'language' parameter, trying to convert it to an int (!?).
Since we're only checking for exact strings, an exact match is just fine and it stops the whinging. (Saw no such problem on 5.2.6.)
Example whinge:
Notice: Object of class Language could not be converted to int in /Library/WebServer/Documents/trunk/includes/GlobalFunctions.php on line 742
Tim Starling [Fri, 14 Nov 2008 00:44:08 +0000 (00:44 +0000)]
Fix incorrect use of Title::newFromText(). That function lets the user choose the namespace using a title with colons, to force the namespace you must use Title::makeTitleSafe(). Images are always in the image namespace.
Tim Starling [Fri, 14 Nov 2008 00:30:34 +0000 (00:30 +0000)]
Don't use getParameter() inside substituteResultWithError(), since it will try to call dieUsage() again if the format parameter is invalid. This fixes the error message for invalid formats, which was broken.
Aaron Schulz [Thu, 13 Nov 2008 22:20:51 +0000 (22:20 +0000)]
Various code/style/performance tweaks
Aaron Schulz [Thu, 13 Nov 2008 09:05:16 +0000 (09:05 +0000)]
Follow-up to r43438, forgot this file
Siebrand Mazeland [Thu, 13 Nov 2008 08:59:14 +0000 (08:59 +0000)]
Localisation updates for core messages from Betawiki (2008-11-13 09:37 CET)
Tim Starling [Thu, 13 Nov 2008 08:51:10 +0000 (08:51 +0000)]
Improved $wgRC2UDPInterwikiPrefix feature, so that it can actually be a prefix and not just a boolean. Documented RC2UDP settings.
Aaron Schulz [Thu, 13 Nov 2008 08:15:23 +0000 (08:15 +0000)]
Revert r43329, r43330 due to said performance issues
Aaron Schulz [Thu, 13 Nov 2008 07:58:42 +0000 (07:58 +0000)]
Fix
Brion Vibber [Thu, 13 Nov 2008 01:02:17 +0000 (01:02 +0000)]
Run parsemag stuff through the proper language when wfMsgExt() asks for a specific one.
Previously we only passed on if we were interface or content, but if we're rendering for some third alternative it didn't get used.
Note that parse and parseinline are probably still wrong.... some better model may be required here.
Also it may be wrong in the case of fallbacks ... if you get an English message, is it right to use the Czech magic word parsing?
Hmm.
Might back it out if there's a better way. :)
Aaron Schulz [Wed, 12 Nov 2008 21:12:48 +0000 (21:12 +0000)]
Fix prefix link
Raimond Spekking [Wed, 12 Nov 2008 21:00:59 +0000 (21:00 +0000)]
Add messages for hardcoded parser warnings
Brion Vibber [Wed, 12 Nov 2008 18:06:14 +0000 (18:06 +0000)]
Roll back r43377, r43379 "Factored wfInvokeFancyCallback() out of wfRunHooks(). Allows flexible dynamic invocation to be used in other contexts." / "Renamed the new wfInvokeFancyCallback to simply wfInvoke."
Breaks existing hooks including core language converters:
Notice: Undefined variable: event in /Library/WebServer/Documents/trunk/includes/Hooks.php on line 61
Warning: call_user_func_array(): First argument is expected to be a valid callback, 'ZhConverter::on' was given in /Library/WebServer/Documents/trunk/includes/Hooks.php on line 119
Notice: Undefined variable: args in /Library/WebServer/Documents/trunk/includes/Hooks.php on line 80
Notice: Undefined variable: event in /Library/WebServer/Documents/trunk/includes/Hooks.php on line 61
Detected bug in an extension! Hook ZhConverter::on failed to return a value; should return true to continue hook processing or false to abort.
Backtrace:
#0 /Library/WebServer/Documents/trunk/includes/Article.php(1684): wfRunHooks('ArticleSaveComp...', Array)
#1 /Library/WebServer/Documents/trunk/includes/Article.php(1354): Article->doEdit('Article for spe...', '', 97)
#2 /Library/WebServer/Documents/trunk/maintenance/parserTests.inc(998): Article->insertNewArticle('Article for spe...', '', false, false)
#3 /Library/WebServer/Documents/trunk/maintenance/parserTests.inc(307): ParserTest->addArticle('Xyzzyx', 'Article for spe...', 5168)
#4 /Library/WebServer/Documents/trunk/maintenance/parserTests.inc(273): ParserTest->runFile('/Library/WebSer...')
#5 /Library/WebServer/Documents/trunk/maintenance/parserTests.php(73): ParserTest->runTestsFromFiles(Array)
#6 {main}
Brion Vibber [Wed, 12 Nov 2008 17:50:07 +0000 (17:50 +0000)]
Avoid destructing the language object, as it corrupts the language object cache, and causes the next test to load a bogus language object and esplode.
Aaron Schulz [Wed, 12 Nov 2008 02:13:21 +0000 (02:13 +0000)]
'advanced' link consistency
Aaron Schulz [Wed, 12 Nov 2008 01:56:14 +0000 (01:56 +0000)]
Fix link for images
Aaron Schulz [Wed, 12 Nov 2008 01:53:36 +0000 (01:53 +0000)]
Add valign="top"
Aaron Schulz [Wed, 12 Nov 2008 01:27:22 +0000 (01:27 +0000)]
Suppress index link if no term given
Aryeh Gregor [Wed, 12 Nov 2008 00:40:33 +0000 (00:40 +0000)]
RELEASE-NOTES cleanup (79 chars, etc.)
Aryeh Gregor [Wed, 12 Nov 2008 00:40:24 +0000 (00:40 +0000)]
Fix for 43393: use normal MW id convention
id's and classes should start with "mw-" and delimit words with
hyphens.
Tim Starling [Wed, 12 Nov 2008 00:11:10 +0000 (00:11 +0000)]
Fixed fallback feature broken by r43398.
Tim Starling [Tue, 11 Nov 2008 23:26:07 +0000 (23:26 +0000)]
Language object cache, for faster wfMsg() performance with unusual languages, and hopefully less memory. Committing for test on server.
Ryan Lane [Tue, 11 Nov 2008 18:04:22 +0000 (18:04 +0000)]
Adding an id to the domain tr so that admins with a single domain can hide the domain section with CSS.
Rotem Liss [Tue, 11 Nov 2008 17:49:31 +0000 (17:49 +0000)]
Localization update for he, and adding 'ignored message' comment in en.
Alexandre Emsenhuber [Tue, 11 Nov 2008 17:38:18 +0000 (17:38 +0000)]
Update README:
* fixed urls
* end lines at 80 chars
* updated Wikimedia traffic
* updated the list of authors to be the same as the one at Special:Version
* modified the note telling that extensions must be under GPL. Per http://www.gnu.org/licenses/gpl-faq.html#GPLAndPlugins, they can also be under a compatible license
Raimond Spekking [Tue, 11 Nov 2008 16:17:04 +0000 (16:17 +0000)]
Make 'searchmenu-help' optional
Raimond Spekking [Tue, 11 Nov 2008 15:23:49 +0000 (15:23 +0000)]
Cleanup for r43376:
* Use a more precious fieldset legend
* Remove two unused message names from messages.inc
Raimond Spekking [Tue, 11 Nov 2008 13:34:54 +0000 (13:34 +0000)]
* Rebuild all messages per r43376 (search form)
* Fix error in messages.inc
Roan Kattouw [Tue, 11 Nov 2008 13:27:37 +0000 (13:27 +0000)]
Remove RELEASE-NOTES entry added in r43377 (Factored wfInvokeFancyCallback() out of wfRunHooks()) and tweaked in r43379 (Renamed the new wfInvokeFancyCallback to simply wfInvoke). RELEASE-NOTES is intended for user-visible changes. Internal refactorings like the wfInvoke() thing shouldn't be listed there.
David McCabe [Tue, 11 Nov 2008 01:49:38 +0000 (01:49 +0000)]
Renamed the new wfInvokeFancyCallback to simply wfInvoke.
David McCabe [Tue, 11 Nov 2008 01:07:34 +0000 (01:07 +0000)]
Factored wfInvokeFancyCallback() out of wfRunHooks(). Allows flexible dynamic invocation to be used in other contexts.
Aaron Schulz [Tue, 11 Nov 2008 00:03:43 +0000 (00:03 +0000)]
* Recommitting Search UI changes from r42352
** User search preference removed
** Added Project search
** Removed 'all' prefix use
** Keep help/page link in same fieldset
** Fixed title case of direct page/create link
** Moved "Files" link next to 'page'
** Made 'advanced' act more consistent
* Added div to make next/prev links clearer
* Reduced the 'next' Links to Nowhere
* Removed misaligned bullets
* Code cleanup/better function names/mark visibility
Huji [Mon, 10 Nov 2008 22:22:29 +0000 (22:22 +0000)]
Adding Persian editbox images
Marco Schuster [Mon, 10 Nov 2008 20:19:53 +0000 (20:19 +0000)]
forgot to update MessagesEn.php in r43373 to reflect the addition of $1 parameter
Marco Schuster [Mon, 10 Nov 2008 19:59:36 +0000 (19:59 +0000)]
fix bug 11027: Add parameter to MW:Randompage-nopages so that user can see the namespace.
Siebrand Mazeland [Mon, 10 Nov 2008 14:41:32 +0000 (14:41 +0000)]
Localisation updates for core messages from Betawiki
Siebrand Mazeland [Mon, 10 Nov 2008 13:23:59 +0000 (13:23 +0000)]
Localisation updates for core messages from Betawiki (2008-11-10 14:18 CET)
Raimond Spekking [Sun, 9 Nov 2008 21:44:56 +0000 (21:44 +0000)]
Use existing function. Now without PHP error. Thanks to Ialex.
Raimond Spekking [Sun, 9 Nov 2008 21:26:14 +0000 (21:26 +0000)]
self revert r43332 due to a PHP Strict Standards error
Raimond Spekking [Sun, 9 Nov 2008 21:16:10 +0000 (21:16 +0000)]
Use existing function
Victor Vasiliev [Sun, 9 Nov 2008 18:23:51 +0000 (18:23 +0000)]
Forgot to commit Skin.php part
Victor Vasiliev [Sun, 9 Nov 2008 18:21:42 +0000 (18:21 +0000)]
* Add class "disambiguationpage" to body tag
* Split off MediaWiki:Disambiguationspage parsing to
wfGetDisambiguationTemplates()
Huji [Sun, 9 Nov 2008 18:08:44 +0000 (18:08 +0000)]
Localisation updates: Better translations for "import" and "export"
Raimond Spekking [Sun, 9 Nov 2008 17:49:55 +0000 (17:49 +0000)]
Add some CSS classes for easier styling
Alexandre Emsenhuber [Sun, 9 Nov 2008 14:35:17 +0000 (14:35 +0000)]
Cleanup for r43315 (per aaron's comment): remove extra set of parenthesis
Leon Weber [Sat, 8 Nov 2008 23:20:44 +0000 (23:20 +0000)]
* (bug 5530) Consistency between character encoding in {{PAGENAMEE}}, {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}, patch by HardDisk
Chad Horohoe [Sat, 8 Nov 2008 22:20:23 +0000 (22:20 +0000)]
* Redo thumb caching and make it a part of the default /thumb/ structure with hashes as needed.
* Move the generic getHashPath accessor up a level to the FileRepo.
Alexandre Emsenhuber [Sat, 8 Nov 2008 20:36:21 +0000 (20:36 +0000)]
(bug 8345) Don't autosummarize where a redirect was left unchanged
Siebrand Mazeland [Sat, 8 Nov 2008 20:06:47 +0000 (20:06 +0000)]
Localisation updates. Remove a few duplicate optionals, and one fix for Latin.
Aaron Schulz [Sat, 8 Nov 2008 19:45:26 +0000 (19:45 +0000)]
More space fixes
Aaron Schulz [Sat, 8 Nov 2008 19:41:38 +0000 (19:41 +0000)]
* getNotificationTimestamp() moved to Title.php
* remove deprecated UI nav method
* Various code cleanup and style tweaks
Aaron Schulz [Sat, 8 Nov 2008 19:34:08 +0000 (19:34 +0000)]
Fix typo
Aaron Schulz [Sat, 8 Nov 2008 19:33:04 +0000 (19:33 +0000)]
Fix comment
Aaron Schulz [Sat, 8 Nov 2008 19:31:08 +0000 (19:31 +0000)]
* Add isSingleRevRedirect(). Refactor isValidMoveTarget() with this.
* Add getNotificationTimestamp() function
Siebrand Mazeland [Sat, 8 Nov 2008 19:30:48 +0000 (19:30 +0000)]
Localisation updates for core messages from Betawiki (2008-11-08 20:20 CET)
Aaron Schulz [Sat, 8 Nov 2008 18:30:04 +0000 (18:30 +0000)]
Fix for r43295: check if $wgArticle is set
Aaron Schulz [Sat, 8 Nov 2008 18:19:46 +0000 (18:19 +0000)]
Remove hack to check if top rev will be deleted. Just unhide top rev after restore.
Chad Horohoe [Sat, 8 Nov 2008 17:36:07 +0000 (17:36 +0000)]
Remove bit of debugging.
Chad Horohoe [Sat, 8 Nov 2008 17:33:52 +0000 (17:33 +0000)]
(bug 16265) Enabling apiThumbCacheExpiry produced invalid thumbs for things like svg that get turned to png.
Alexandre Emsenhuber [Sat, 8 Nov 2008 16:09:37 +0000 (16:09 +0000)]
(bug 4362) [[MediaWiki:History copyright]] no more used with most recent revision when passing oldid parameter in the url
Alexandre Emsenhuber [Sat, 8 Nov 2008 15:06:50 +0000 (15:06 +0000)]
(bug 15835) Added Content-Style-Type meta tag
Aaron Schulz [Sat, 8 Nov 2008 02:21:13 +0000 (02:21 +0000)]
Code space tweaks
Aaron Schulz [Sat, 8 Nov 2008 01:58:18 +0000 (01:58 +0000)]
Make sure the top rev is not hidden
Aaron Schulz [Fri, 7 Nov 2008 21:33:58 +0000 (21:33 +0000)]
Add proposed patch to:
* Store what rev (or page) something corresponds to (bug 15814)
* Store user_text (for log XML imports)
* Allow slightly longer type/action values
Aaron Schulz [Fri, 7 Nov 2008 21:19:34 +0000 (21:19 +0000)]
Return TS in MW format
Tim Starling [Fri, 7 Nov 2008 16:38:01 +0000 (16:38 +0000)]
Check for PHP 5.0.x bug *after* checking for PHP 4, so that we don't claim that the user needs to upgrade from 5.0 to 5.1 when in fact they're running PHP 4.
Siebrand Mazeland [Thu, 6 Nov 2008 22:43:19 +0000 (22:43 +0000)]
Partial revert of r43269 for HTMLDiff.php. In file addHtml() is a method. Thanks to demon for spotting this.
Siebrand Mazeland [Thu, 6 Nov 2008 22:38:42 +0000 (22:38 +0000)]
Consistent casing for wfGetDB(), getDB(), and getDBKey()
Siebrand Mazeland [Thu, 6 Nov 2008 22:30:55 +0000 (22:30 +0000)]
Consistent casing for wfGetDB()
Siebrand Mazeland [Thu, 6 Nov 2008 22:20:29 +0000 (22:20 +0000)]
Consistent casing for addHTML()
Siebrand Mazeland [Thu, 6 Nov 2008 22:09:28 +0000 (22:09 +0000)]
Update on r43103. Add the 'norollbackdiff' toggle to 'misc', not to 'edit' per suggestion by Aaron.
Jack Phoenix [Thu, 6 Nov 2008 21:41:07 +0000 (21:41 +0000)]
adding AbortDiffCache hook to allow canceling the caching of a diff
Tim Starling [Thu, 6 Nov 2008 20:59:34 +0000 (20:59 +0000)]
* Added the BitmapHandler_ClientOnly media handler, which allows server-side image scaling to be completely disabled for specific media types, via the $wgMediaHandlers configuration variable.
Siebrand Mazeland [Thu, 6 Nov 2008 12:16:01 +0000 (12:16 +0000)]
Localisation updates for core messages from Betawiki (2008-11-06 13:08 CET)
Alexandre Emsenhuber [Wed, 5 Nov 2008 19:28:55 +0000 (19:28 +0000)]
* Made SpecialVersion directly extends SpecialPage
* entries in $wgExtensionFunctions registred as "array( 'class', 'function' )" are now displayed correctly in Special:Version, e.g. for SkinPerPage extension.
Alexandre Emsenhuber [Wed, 5 Nov 2008 16:54:48 +0000 (16:54 +0000)]
* spacing tweaks
* removed useless ?>
* removed useless inclusion of DatbaseFunctions.php
Aaron Schulz [Wed, 5 Nov 2008 00:39:42 +0000 (00:39 +0000)]
Revert r43198: nothing evil with LocalSettings use as long as messages are defined
Tim Starling [Tue, 4 Nov 2008 22:36:01 +0000 (22:36 +0000)]
Re r43174: Well I guess if you didn't understand it, there wasn't much hope of the user understanding it.
Robert Stojnić [Tue, 4 Nov 2008 22:19:37 +0000 (22:19 +0000)]
Recommit part of r42352 related to bug 5101 (Image from Commons doesn't show up when searched in Wikipedia search box)
Rotem Liss [Tue, 4 Nov 2008 19:33:50 +0000 (19:33 +0000)]
Localization update for he, and some whitespace fixes.
Aaron Schulz [Tue, 4 Nov 2008 15:57:40 +0000 (15:57 +0000)]
Break long line
Aaron Schulz [Tue, 4 Nov 2008 15:51:09 +0000 (15:51 +0000)]
Fix for r42632: grammar
Raimond Spekking [Tue, 4 Nov 2008 05:51:59 +0000 (05:51 +0000)]
Follow up per r43173: message was renamed.
Chad Horohoe [Tue, 4 Nov 2008 02:53:47 +0000 (02:53 +0000)]
Remove some unused globals.
Chad Horohoe [Tue, 4 Nov 2008 02:04:53 +0000 (02:04 +0000)]
Minor tweak in debug output. Makes much more readible (and per most other debug statements that mention the calling method), since -> gets turned to -> in the debug comments.
Charles Melbye [Tue, 4 Nov 2008 01:53:48 +0000 (01:53 +0000)]
Cleaned up some PHP coding style issues, and a few problems with
bug 15868. Patch by NSK Nikolaos S. Karastathis.
Aaron Schulz [Tue, 4 Nov 2008 01:18:59 +0000 (01:18 +0000)]
Revert r42890, this is not static
Tim Starling [Tue, 4 Nov 2008 00:43:39 +0000 (00:43 +0000)]
Escaping once is enough.
Aaron Schulz [Tue, 4 Nov 2008 00:38:15 +0000 (00:38 +0000)]
Fix for r43173. 'patrol' log is part of core; it's not just for extensions.
Tim Starling [Tue, 4 Nov 2008 00:33:09 +0000 (00:33 +0000)]
Fixes for r42642:
* Fix excessively abbreviated variable names $y and $m
* Don't use empty() unless you want to suppress warnings
* More documentation for $wgFilterLogTypes
* hide_patrol_log instead of hidepatrollog, camelCase for variable and function names, hyphens for message names
* More spaces, break long lines
Siebrand Mazeland [Tue, 4 Nov 2008 00:08:42 +0000 (00:08 +0000)]
Localisation updates for core messages from Betawiki (2008-11-04 00:52 CET)
Siebrand Mazeland [Mon, 3 Nov 2008 22:33:18 +0000 (22:33 +0000)]
As discussed with Aaron on irc. Remove "@param bool $wgEnotifUseRealName true will use real name instead of username" altogether. It is not a parameter, so it should not be there. The setting is documented in DefaultSettings.php.