Brion Vibber [Tue, 8 Sep 2009 18:07:29 +0000 (18:07 +0000)]
Revert r55800 "bug 19646 Localization of img_auth.php - with enhancements"
The localization code here is really ugly with weird things like call_user_func_array() all over the place, and there are bugs with escaping for log entries and such.
Tried to rebuild all the localization files, but rebuildLanguage.php doesn't seem to consider the messages as "unknown". Have removed from English and qqq.
Domas Mituzas [Tue, 8 Sep 2009 18:00:48 +0000 (18:00 +0000)]
move the checks for file cache way up, right where it belongs
Andrew Garrett [Tue, 8 Sep 2009 17:45:19 +0000 (17:45 +0000)]
Fix fix r56041 of fix r56038 of fix r56032 -- it turns out that {{int:X}} doesn't work in JS2 message loaders :)
Rotem Liss [Tue, 8 Sep 2009 17:42:39 +0000 (17:42 +0000)]
Localization update for he, and whitespace fix in en.
Brion Vibber [Tue, 8 Sep 2009 17:42:02 +0000 (17:42 +0000)]
Revert r55842 "Can now pass in element attributes other than just id to buildTable functions"
Code won't actually work because $id can't be an array, per notes on http://www.mediawiki.org/wiki/Special:Code/MediaWiki/55842#c3882
Brion Vibber [Tue, 8 Sep 2009 17:38:18 +0000 (17:38 +0000)]
Revert r56041 "Follow-up r56032/r56038: This is a message in a JS popup. Parsing of wikisyntax is not possible :-/"
Per code review notes this actually should work fine.
Ilmari Karonen [Tue, 8 Sep 2009 17:32:32 +0000 (17:32 +0000)]
Improved compatibility between the Vector skin and addPortletLink() from wikibits.js:
* Empty portlets are now present but hidden; adding an element to a portlet unhides it.
* Drop-down menu portlets now have their own left border, so they'll look right even if there's no other portlet to the left of them. (If there is, the borders should overlap.)
* addPortletLink() now wraps its labels in <span> tags to be compatible with the Vector CSS for the "namespaces" and "views" portlets (bug 19531).
Michael Dale [Tue, 8 Sep 2009 16:21:16 +0000 (16:21 +0000)]
* Use wgScriptPath to get mwScriptLoader.php path
Michael Dale [Tue, 8 Sep 2009 15:52:01 +0000 (15:52 +0000)]
* fixed resize image on edit
* return to search results "page" on add-media-wizard close via dialog close button
* removed draggable / re-sizable properties
Raimond Spekking [Tue, 8 Sep 2009 15:47:08 +0000 (15:47 +0000)]
Follow-up r56032/r56038: This is a message in a JS popup. Parsing of wikisyntax is not possible :-/
Andrew Garrett [Tue, 8 Sep 2009 15:41:28 +0000 (15:41 +0000)]
Fix silly error
Siebrand Mazeland [Tue, 8 Sep 2009 15:29:24 +0000 (15:29 +0000)]
* Update messages in JavaScript
* tweak 'mwe-error_load_lib'
* add a missing message to mwEmbed.i18n.php
Raimond Spekking [Tue, 8 Sep 2009 15:28:33 +0000 (15:28 +0000)]
Follow-up r56032: Tweak messages for more consistency and better i18n.
Add new message keys to messages.inc
Domas Mituzas [Tue, 8 Sep 2009 15:21:12 +0000 (15:21 +0000)]
Fix use of parser-cache-saved-timestamp, apparently the code was all there, hidden behind a catch-all branch :-)
Andrew Garrett [Tue, 8 Sep 2009 15:19:52 +0000 (15:19 +0000)]
Remove ghost of patch applications past
Andrew Garrett [Tue, 8 Sep 2009 15:06:57 +0000 (15:06 +0000)]
Remove some stray executable bits
Michael Dale [Tue, 8 Sep 2009 15:06:50 +0000 (15:06 +0000)]
* updated mwe-error_load_lib error msg
Andrew Garrett [Tue, 8 Sep 2009 15:02:41 +0000 (15:02 +0000)]
Add AJAX category management system. Includes suggestion system, dialogs for setting edit summaries and confirming, and methods for adding and removing all categories, but only directly in the page text (as categories in templates cannot be removed).
Michael Dale [Tue, 8 Sep 2009 13:54:17 +0000 (13:54 +0000)]
r56010#c3896 (extra comma)
Andrew Garrett [Tue, 8 Sep 2009 13:18:06 +0000 (13:18 +0000)]
Pull wgDBuser and wgDBpassword if adminuser and adminpassword are undefined, fixes dumpBackup.php
Andrew Garrett [Tue, 8 Sep 2009 11:50:31 +0000 (11:50 +0000)]
Add "Discussions" option to search when LiquidThreads is active. Includes some fixes to SpecialSearch.php, to allow this sort of change
Happy-melon [Tue, 8 Sep 2009 10:08:18 +0000 (10:08 +0000)]
Follow-up to r55884 - update call in SpecialResetpass
Siebrand Mazeland [Tue, 8 Sep 2009 08:15:56 +0000 (08:15 +0000)]
Localisation updates for core messages from translatewiki.net
Michael Dale [Tue, 8 Sep 2009 03:12:28 +0000 (03:12 +0000)]
* some documentation updates
* parseURI raw code ( will be minified by script-loader)
Tim Starling [Tue, 8 Sep 2009 02:04:31 +0000 (02:04 +0000)]
* Fixed whitespace, indenting, line length. Ran stylize.php on the PHP files, did the JS ones by hand.
* Fixed spelling, grammar, etc. in comments. Removed some unnecessary comments.
* Other code style tweaks, e.g. removed some redundant brackets.
* Renamed functions which were misspellings: runQuededFunctions -> runQueuedFunctions, setSwapableToLoading -> setSwappableToLoading, rewrite_for_oggHanlder -> rewrite_for_OggHandler, doProccessJsFile -> doProcessJsFile
Andrew Garrett [Mon, 7 Sep 2009 21:59:47 +0000 (21:59 +0000)]
Add AJAX loader class
Happy-melon [Mon, 7 Sep 2009 19:52:14 +0000 (19:52 +0000)]
Follow-up to r55990, per comments:
* replace $wgOut->addHTML( wfMsgWikiHTML( )) with $wgOut->addWikiMsg
* Use Html::hidden instead of Xml::hidden
* use wfMsgExt instead of wfMsg, to avoid double parsing
* Use 'help-message' rather than 'help' => wfMsg()
Plus lots of whitespace fixes etc
Roan Kattouw [Mon, 7 Sep 2009 19:29:55 +0000 (19:29 +0000)]
Update hooks.txt for r55682
Happy-melon [Mon, 7 Sep 2009 19:20:20 +0000 (19:20 +0000)]
Followup to r55990 - rename method to avoid PHP Strict warnings
Siebrand Mazeland [Mon, 7 Sep 2009 19:10:18 +0000 (19:10 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-07 18:34 UTC)
Rotem Liss [Mon, 7 Sep 2009 19:08:49 +0000 (19:08 +0000)]
Localization update for he, and whitespace fixes in en.
Happy-melon [Mon, 7 Sep 2009 19:07:31 +0000 (19:07 +0000)]
Followup to r55990 - Remove debugging hack :(
Happy-melon [Mon, 7 Sep 2009 19:00:49 +0000 (19:00 +0000)]
* Totally refactor includes/specials/SpecialUserlogin.php:
** Split backend stuff out into includes/Login.php
** Split account creation and login stuff up, into includes/specials/CreateAccount.php and includes/specials/Userlogin.php.
* Reimplement the special pages as subclasses of SpecialPage
* Use HTMLForm to generate the input forms
** Deprecate and delete includes/templates/Userlogin.php, which is horrible and old :D
This changes the syntax of the UserLoginForm and UserCreateForm hooks, and AuthPlugin::modifyUITemplate; they now receive the SpecialPage subclass rather than the template to work with. Update everything I could find in SVN to accommodate this.
Domas Mituzas [Mon, 7 Sep 2009 18:54:58 +0000 (18:54 +0000)]
UniversalEditButton microoptimization :)
Raimond Spekking [Mon, 7 Sep 2009 18:53:59 +0000 (18:53 +0000)]
Follow-up r50177: Fix a PHP notice due to typo in arrayname, message key missed too.
Notice: Undefined property: ContribsPager::$message in F:\xampp\htdocs\wiki2\includes\specials\SpecialContributions.php on line 646
Domas Mituzas [Mon, 7 Sep 2009 18:49:51 +0000 (18:49 +0000)]
micro-optimization for front page views :-)
Michael Dale [Mon, 7 Sep 2009 18:46:53 +0000 (18:46 +0000)]
forgot the .unbind()
Domas Mituzas [Mon, 7 Sep 2009 18:38:40 +0000 (18:38 +0000)]
features time - a feature that allows to disable a feature!
(rationale: allows turning off relatively expensive code that generates invisible stuff :)
Domas Mituzas [Mon, 7 Sep 2009 18:20:32 +0000 (18:20 +0000)]
don't lookup any classes for 'known' links - fixes excessive queries caused by links in footer
Tobias [Mon, 7 Sep 2009 17:49:36 +0000 (17:49 +0000)]
Minor fixes to r55918 - documentation and variable names
Michael Dale [Mon, 7 Sep 2009 17:05:48 +0000 (17:05 +0000)]
quick hack for addMediaWiz compatibility with usability toolbar
Siebrand Mazeland [Mon, 7 Sep 2009 16:55:48 +0000 (16:55 +0000)]
Localise special page name in URLs in 'noarticletext' and 'noarticletext-nopermission'
Tobias [Mon, 7 Sep 2009 16:21:10 +0000 (16:21 +0000)]
New message noarticletext-nopermission that does not include misleading link 'edit this page' if user is not allowed to create the page.
Aryeh Gregor [Mon, 7 Sep 2009 15:25:22 +0000 (15:25 +0000)]
Fix silly <table class=''>
Tobias [Mon, 7 Sep 2009 13:28:14 +0000 (13:28 +0000)]
fixing r55909. Adding new message to messages.inc
Alexandre Emsenhuber [Mon, 7 Sep 2009 13:18:54 +0000 (13:18 +0000)]
* svn:eol-style native
* svn:mime-type image/svg+xml on extensions/LiquidThreads/icons/quote.svg
Tobias [Mon, 7 Sep 2009 12:04:07 +0000 (12:04 +0000)]
fixing r55909: checking if the user is _currently_ blocked before displaying block log (on Special:Contributions)
Aryeh Gregor [Mon, 7 Sep 2009 01:48:06 +0000 (01:48 +0000)]
Don't output for= that doesn't point anywhere
This fixes an HTML validity issue with HTMLForm.
Aryeh Gregor [Mon, 7 Sep 2009 01:47:45 +0000 (01:47 +0000)]
Convert HTMLForm to use more Html::*
Tobias [Mon, 7 Sep 2009 01:29:50 +0000 (01:29 +0000)]
Display note on Special:Contributions if user is blocked, and provide an excerpt from the block log
Aryeh Gregor [Mon, 7 Sep 2009 00:23:04 +0000 (00:23 +0000)]
Don't embed ?> in string literals
It messes up some syntax highlighters for some unknown reason.
Aryeh Gregor [Mon, 7 Sep 2009 00:21:55 +0000 (00:21 +0000)]
Refactor redundant attrib dropping into new method
This saves code in a few places on the caller's side, and will reduce
the size of output HTML more consistently.
Tobias [Sun, 6 Sep 2009 23:34:58 +0000 (23:34 +0000)]
fixing error in r55903 - User object from userid is now used instead of wgUser (current user). Also: minor change
Tobias [Sun, 6 Sep 2009 22:53:04 +0000 (22:53 +0000)]
Show change block / unblock link on Special:Contributions if user is blocked
Siebrand Mazeland [Sun, 6 Sep 2009 21:25:25 +0000 (21:25 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-06 21:01 UTC)
Aryeh Gregor [Sun, 6 Sep 2009 15:41:24 +0000 (15:41 +0000)]
Remove unneeded class left by r55879
Aryeh Gregor [Sun, 6 Sep 2009 15:08:10 +0000 (15:08 +0000)]
Fix YET ANOTHER PHP WEAK TYPING BUG
Literal "0" was getting quoted. Because, of course, 0 is equal to the
empty string.
Aryeh Gregor [Sun, 6 Sep 2009 15:07:52 +0000 (15:07 +0000)]
Move more <input> logic from input() to element()
Aryeh Gregor [Sun, 6 Sep 2009 15:07:29 +0000 (15:07 +0000)]
Reimplement r55876 properly
Siebrand Mazeland [Sun, 6 Sep 2009 14:43:36 +0000 (14:43 +0000)]
(bug 20497) Update autonym for 'kw' to Kernowek
Happy-melon [Sun, 6 Sep 2009 14:32:03 +0000 (14:32 +0000)]
Allow password fields to be served by HTMLForm.
Aaron Schulz [Sun, 6 Sep 2009 10:09:45 +0000 (10:09 +0000)]
bug 20519 Redirects in the stable version showed up wrong
Aaron Schulz [Sun, 6 Sep 2009 08:22:09 +0000 (08:22 +0000)]
Fixed regression likely from r55700, where $wgOut rev ID was not set for oldid=latest. (this took way too long to track down since the commit summary didn't mention the massive refactoring)
Alex Z [Sun, 6 Sep 2009 04:10:26 +0000 (04:10 +0000)]
(bug 20136) Synchronize the protection form expiry boxes onchange in addition to onkeyup.
Technically the onkeyup handler is redundant, but at least on Firefox, onchange doesn't run
until after the input loses focus, so its somewhat less intuitive, but necessary if the user
clicks an option from a browser's autosuggestion
Aaron Schulz [Sat, 5 Sep 2009 23:20:36 +0000 (23:20 +0000)]
Move checkboxes back a bit
Siebrand Mazeland [Sat, 5 Sep 2009 21:23:18 +0000 (21:23 +0000)]
Localisation updates for core namespace names from translatewiki.net
Siebrand Mazeland [Sat, 5 Sep 2009 21:12:12 +0000 (21:12 +0000)]
Localisation updates for core magic words from translatewiki.net
Siebrand Mazeland [Sat, 5 Sep 2009 21:06:23 +0000 (21:06 +0000)]
* Localisation updates for core special page aliases from translatewiki.net
* add mwEmbed.i18n.php forgotten in r55856
Siebrand Mazeland [Sat, 5 Sep 2009 20:38:09 +0000 (20:38 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-05 20:17 UTC)
Alexandre Emsenhuber [Sat, 5 Sep 2009 20:02:38 +0000 (20:02 +0000)]
Fixed E_NOTICE when passing an option that isn't listed in available options
Alexandre Emsenhuber [Sat, 5 Sep 2009 19:40:52 +0000 (19:40 +0000)]
Fix for r55810: oly set $optionsWithArgs if it's not defined, as in the old version; when defined by scripts, it's always set before including commandLine.inc, and thus setting it always to an empty array will break these scripts
Tobias [Sat, 5 Sep 2009 12:10:16 +0000 (12:10 +0000)]
show move/deletion log on action=history if there is no history
Rotem Liss [Sat, 5 Sep 2009 10:28:59 +0000 (10:28 +0000)]
Localization update.
Shinjiman [Sat, 5 Sep 2009 08:50:35 +0000 (08:50 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Rotem Liss [Sat, 5 Sep 2009 07:37:48 +0000 (07:37 +0000)]
Localization update.
ThomasV [Sat, 5 Sep 2009 06:45:38 +0000 (06:45 +0000)]
use UtfNormal::cleanUp() (r55768)
Nimish Gautam [Fri, 4 Sep 2009 23:18:16 +0000 (23:18 +0000)]
Can now pass in element attributes other than just id to buildTable functions
Siebrand Mazeland [Fri, 4 Sep 2009 23:09:59 +0000 (23:09 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-04 22:56 UTC)
Siebrand Mazeland [Fri, 4 Sep 2009 23:09:18 +0000 (23:09 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-04 22:56 UTC)
Jack D. Pond [Fri, 4 Sep 2009 20:43:45 +0000 (20:43 +0000)]
Added documentation for img_auth upgrade and $wgIllegalFileChars
Alexandre Emsenhuber [Fri, 4 Sep 2009 20:12:48 +0000 (20:12 +0000)]
use wfScript() so that it uses $wgScriptExtension to get the path to api.php(5)
Alex Shih-Han Lin [Fri, 4 Sep 2009 18:32:22 +0000 (18:32 +0000)]
fix zh-hant string syntax
Trevor Parscal [Fri, 4 Sep 2009 17:49:57 +0000 (17:49 +0000)]
Another tiny change in response to recent changes in how we handle text size. This one adjusts the position of the simple search box.
Brion Vibber [Fri, 4 Sep 2009 17:40:50 +0000 (17:40 +0000)]
newline on that output so your terminal don't look funny :)
Michael Dale [Fri, 4 Sep 2009 17:28:34 +0000 (17:28 +0000)]
* added mwLoad shortcut to mvJsLoader.doLoad
Siebrand Mazeland [Fri, 4 Sep 2009 17:23:32 +0000 (17:23 +0000)]
* follow-up to r55821 (duplication of 'filedelete-edit-reasonlist' to 'revdelete-edit-reasonlist'): duplicate message in other languages
* follow-up to r55808 (removal of 'img-auth-desc'): remove from other languages where present
Purodha B Blissenbach [Fri, 4 Sep 2009 16:46:06 +0000 (16:46 +0000)]
minor ksh localization update
Andrew Garrett [Fri, 4 Sep 2009 16:43:18 +0000 (16:43 +0000)]
Add a new AJAX spinner that doesn't suck. Generated at ajaxload.info/, which allows its generated loaders to be used freely for any purpose.
Michael Dale [Fri, 4 Sep 2009 15:30:49 +0000 (15:30 +0000)]
* escaped a few more values
Purodha B Blissenbach [Fri, 4 Sep 2009 15:09:57 +0000 (15:09 +0000)]
"QuickTime" spelling corrected according to request of EugeneZelenko at
http://translatewiki.net/w/i.php?title=Support&oldid=
1472179#Mwe-ogg-player-quicktime-mozilla
Michael Dale [Fri, 4 Sep 2009 14:50:06 +0000 (14:50 +0000)]
* added some file checks
* removed depreciated cortado_iframe.php
* added init values for wgJSAutoloadClasses and wgJSAutoloadLocalClasses
Raimond Spekking [Fri, 4 Sep 2009 14:32:07 +0000 (14:32 +0000)]
Make revdel input form more consistent with other forms:
* Use CSS classes for input and label elements for default form design
** Makes it RTL friendly too
* Add a "Edit delete reasons" link
Chad Horohoe [Fri, 4 Sep 2009 13:13:56 +0000 (13:13 +0000)]
Actually return something useful on success
ThomasV [Fri, 4 Sep 2009 13:08:44 +0000 (13:08 +0000)]
follow-up to r55768
Chad Horohoe [Fri, 4 Sep 2009 12:55:36 +0000 (12:55 +0000)]
doMaintenance.php -> DO_MAINTENANCE
Purodha B Blissenbach [Fri, 4 Sep 2009 12:21:00 +0000 (12:21 +0000)]
Errors in message text corrected according to suggestions by Purodha at
http://translatewiki.net/w/i.php?title=Support&oldid=
1472122#Mwe-read_before_embed
http://translatewiki.net/w/i.php?title=Support&oldid=
1472122#mwe-no_import_by_url
Tim Starling [Fri, 4 Sep 2009 08:02:00 +0000 (08:02 +0000)]
* Rewrote commandLine.inc to be a simple wrapper around Maintenance.php
* Don't show help if the first argument is "help", only show it if there is a "--help" option. That makes more sense for the scripts that accept filenames as parameters and is the backwards-compatible behaviour.
* Renamed spawnChild() to runChild(), spawn implies creating a new process to run simultaneously with the old one
* Removed error_reporting override, that's a matter for local policy
* s/private/protected
Siebrand Mazeland [Fri, 4 Sep 2009 06:59:44 +0000 (06:59 +0000)]
Tweak 'img-auth-nologinnWL' (r55800)
Siebrand Mazeland [Fri, 4 Sep 2009 06:55:19 +0000 (06:55 +0000)]
Remove unused message 'img-auth-desc' (r55800)
Tim Starling [Fri, 4 Sep 2009 06:51:38 +0000 (06:51 +0000)]
Fix potential arbitrary script execution vulnerability. Doesn't seem to be exploitable with a default install of PHP, but it might be possible with third-party extensions enabled.