Aaron Schulz [Thu, 6 Aug 2009 04:06:36 +0000 (04:06 +0000)]
fix more breakage from r54255
Shinjiman [Thu, 6 Aug 2009 02:18:51 +0000 (02:18 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Chad Horohoe [Thu, 6 Aug 2009 00:32:50 +0000 (00:32 +0000)]
Clean up missing param error, show help on die. -params are still kind of wonky. Could use a second set of eyes.
Trevor Parscal [Wed, 5 Aug 2009 22:46:10 +0000 (22:46 +0000)]
Removed some unneeded specificity of headings.
Rotem Liss [Wed, 5 Aug 2009 20:13:14 +0000 (20:13 +0000)]
Localization update for he, and removing trailing whitespace in en.
Raimond Spekking [Wed, 5 Aug 2009 18:44:56 +0000 (18:44 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-05 18:15 UTC)
Tomasz Finc [Wed, 5 Aug 2009 18:35:23 +0000 (18:35 +0000)]
Updates for: per-revision delete flags, log exports, and a per-page redirect flag
Trevor Parscal [Wed, 5 Aug 2009 18:30:42 +0000 (18:30 +0000)]
Fixes IE bug that causes lists in panel to show bullets.
Trevor Parscal [Wed, 5 Aug 2009 16:38:08 +0000 (16:38 +0000)]
Fixed bug that caused an undefined index error - now we check the key before checking value.
Alexandre Emsenhuber [Wed, 5 Aug 2009 15:41:19 +0000 (15:41 +0000)]
follow-up r54454 and r54457: rebuild message file
Tobias [Wed, 5 Aug 2009 15:27:38 +0000 (15:27 +0000)]
adding <nowiki> to user signature in MessagesEn.php (fixing r54454)
Tobias [Wed, 5 Aug 2009 15:05:30 +0000 (15:05 +0000)]
adding new messages to messages.inc (fixing r54454)
Tobias [Wed, 5 Aug 2009 14:45:21 +0000 (14:45 +0000)]
Adding signature preview on Special:Preferences and introducing help text for signature. (bug 16836)
Alexandre Emsenhuber [Wed, 5 Aug 2009 14:37:00 +0000 (14:37 +0000)]
* use wfScript() in OutputPage to build the url for mwScriptLoader.php so that $wgScriptExtension is used
* use $wgScriptExtension when matching the path in mwScriptLoader.php
* some more typos in mwScriptLoader.php
Chad Horohoe [Wed, 5 Aug 2009 11:59:25 +0000 (11:59 +0000)]
Might as well.
Alex Z [Wed, 5 Aug 2009 04:42:54 +0000 (04:42 +0000)]
(bug 17864 + bug 19519) - Do input normalization on the username before doing existence/permission checks
Benjamin Lees [Wed, 5 Aug 2009 04:27:19 +0000 (04:27 +0000)]
Convert check to use wfShorthandToInteger()
Alex Z [Wed, 5 Aug 2009 04:20:13 +0000 (04:20 +0000)]
OutputPage::formatPermissionsErrorMessage() expects an array of arrays, passing an array of strings causes a warning in PHP 5.3
Chad Horohoe [Wed, 5 Aug 2009 04:09:02 +0000 (04:09 +0000)]
Update http_session_download, digit2html, lang2po, langmemusage.
Chad Horohoe [Wed, 5 Aug 2009 03:15:16 +0000 (03:15 +0000)]
Remove completely unused file copy functions (grep'd core & extensions)
Brion Vibber [Wed, 5 Aug 2009 03:02:02 +0000 (03:02 +0000)]
Ok I think this is a sign I'm done for the evening. Fixing other test checkin -- was searching for bogus bash to test the fallabck ;)
Brion Vibber [Wed, 5 Aug 2009 02:59:32 +0000 (02:59 +0000)]
remove junk function I gave up on -- no clear way to get unbuffered reads from terminal in direct PHP (and who wants to reimplement readline anyway?)
Brion Vibber [Wed, 5 Aug 2009 02:57:11 +0000 (02:57 +0000)]
Add support for using bash's built-in readline or equivalent for single-line input editing in eval.php etc, if the PHP readline extension is not available.
This is handy when running on Mac OS X with Apple's default PHP installation...
If bash cannot be found, will fall back to the fgets() we did before -- a horrible realm in which arrow keys and backspace don't work.
Note that this isn't quite as good as full readline support, since we don't get to retain entry history.
OverlordQ [Wed, 5 Aug 2009 02:34:41 +0000 (02:34 +0000)]
Followup to r54416
Dont log messages when you 'increase' the limit from a number to itself.
Chad Horohoe [Wed, 5 Aug 2009 02:24:50 +0000 (02:24 +0000)]
Remove trailing ?>
Brion Vibber [Wed, 5 Aug 2009 01:37:19 +0000 (01:37 +0000)]
Drop the wfProfileIn/wfProfileOut if we want the class to be usable outside MW :)
OverlordQ [Wed, 5 Aug 2009 01:33:18 +0000 (01:33 +0000)]
Follow up to r54414 and r54356. Hopefully catches all of the edge cases of erroneous input. On a side note, if PHP is configured with too low a limit it can die before it even reaches the code in Setup.php
Benjamin Lees [Wed, 5 Aug 2009 00:59:50 +0000 (00:59 +0000)]
Followup to r54406: enable/disable functions were being called in the wrong order (thanks, OverlordQ).
Aryeh Gregor [Wed, 5 Aug 2009 00:38:11 +0000 (00:38 +0000)]
Make sure to parse RC legend label inline
Avoids unnecessary <p> tags. Pointed out by Nikerabbit on CodeReview
for r54337.
Chad Horohoe [Wed, 5 Aug 2009 00:34:18 +0000 (00:34 +0000)]
Doc fixes, add new Wikimedia group for doxygen so we can set this stuff apart.
Chad Horohoe [Wed, 5 Aug 2009 00:23:10 +0000 (00:23 +0000)]
Make this work by only loading things with a maintClass.
Brion Vibber [Tue, 4 Aug 2009 23:24:58 +0000 (23:24 +0000)]
Add fixme note to replace 'mysql' command-line callout with proper usage of a second unbuffered DB connection
Chad Horohoe [Tue, 4 Aug 2009 23:18:23 +0000 (23:18 +0000)]
Remove useless scripts list. Nothing depends on it yet really, so nobody will miss it. Instead iterate over all .php files in the maintenance directories and look for $maintClass. Keep this commented out for now, unported scripts cause this to blow up and I'm not writing stupid workarounds.
Chad Horohoe [Tue, 4 Aug 2009 23:09:43 +0000 (23:09 +0000)]
Declare globals. Move this all inside the $method = pipe stuff anyway.
Benjamin Lees [Tue, 4 Aug 2009 23:00:30 +0000 (23:00 +0000)]
Add missing semicolons
Benjamin Lees [Tue, 4 Aug 2009 22:58:43 +0000 (22:58 +0000)]
Suppress warnings when trying to raise the memory limit
Brion Vibber [Tue, 4 Aug 2009 19:17:31 +0000 (19:17 +0000)]
* wgMainPageTitle variable now available to JavaScript code to identify the main page link, so it doesn't have to be extracted from the link URLs.
Can be used to link to the main page, or check if we're currently on the main page, without having to hardcode the local name (which may be customized in the message)
Michael Dale [Tue, 4 Aug 2009 18:51:34 +0000 (18:51 +0000)]
some sequence / playlist / add-media bug fixes
* improved abstraction of embedVideo class for playlist object
Alexandre Emsenhuber [Tue, 4 Aug 2009 18:29:08 +0000 (18:29 +0000)]
two more typos
Michael Dale [Tue, 4 Aug 2009 18:26:54 +0000 (18:26 +0000)]
removed old "code" link
Alexandre Emsenhuber [Tue, 4 Aug 2009 17:58:33 +0000 (17:58 +0000)]
fix typo in comment
Rotem Liss [Tue, 4 Aug 2009 17:55:47 +0000 (17:55 +0000)]
Localization update.
Michael Dale [Tue, 4 Aug 2009 17:42:31 +0000 (17:42 +0000)]
stubs for select from url for firefogg
Niklas Laxström [Tue, 4 Aug 2009 16:31:19 +0000 (16:31 +0000)]
* Forward get parameters to local interwikis
* Patch by str4nd
Andrew Garrett [Tue, 4 Aug 2009 15:08:56 +0000 (15:08 +0000)]
Fix syntax error
Aaron Schulz [Tue, 4 Aug 2009 12:18:44 +0000 (12:18 +0000)]
check 'undelete' for undelete page links
Chad Horohoe [Tue, 4 Aug 2009 11:18:05 +0000 (11:18 +0000)]
Better patch for parsing PHP's memory limits from OverlordQ.
Aryeh Gregor [Tue, 4 Aug 2009 10:59:35 +0000 (10:59 +0000)]
Fix flag legend for watchlist from r54336 breakage
Mistake pointed out by Darth Kule on translatewiki.net, conveyed to me
by Nikerabbit. I changed the semantics of a message but didn't update
all the callers.
Niklas Laxström [Tue, 4 Aug 2009 08:54:31 +0000 (08:54 +0000)]
Whitespace fixes
Bryan Tong Minh [Tue, 4 Aug 2009 08:40:38 +0000 (08:40 +0000)]
Overide getDB() method to make sure to make sure the repo's DB is used which may not necesarilly be the same as the local DB.
Chad Horohoe [Tue, 4 Aug 2009 02:47:39 +0000 (02:47 +0000)]
(bug 16084) Default memory limit should be increased
Shinjiman [Tue, 4 Aug 2009 02:19:06 +0000 (02:19 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Aryeh Gregor [Tue, 4 Aug 2009 00:50:50 +0000 (00:50 +0000)]
Add wrapper div for RC label legend
By request of Umherirrender on CodeReview for r54242.
Aryeh Gregor [Tue, 4 Aug 2009 00:48:45 +0000 (00:48 +0000)]
Only show useful info in RC legend
This splits up the message recentchanges-label-legend so that pieces of
it can be provided only when they're relevant, and more can be added
later. Any existing translations will need to be retranslated, but it's
only been a day, so creating a new message name seemed like overkill.
Follow-up to r54242.
Aryeh Gregor [Tue, 4 Aug 2009 00:28:20 +0000 (00:28 +0000)]
Show change flag tooltips everywhere, not just RC
Follow-up to r54242. Pointed out by Umherirrender on CodeReview.
Chad Horohoe [Tue, 4 Aug 2009 00:23:56 +0000 (00:23 +0000)]
Followup r54328: Would've helped to commit this
Chad Horohoe [Mon, 3 Aug 2009 23:46:22 +0000 (23:46 +0000)]
* Port populateSha1 to new code style
* For bug 17057/17070, can now run this on and individual file to fix the img_sha1 column if it's wrong
* Alpha sort the params in help mode
Trevor Parscal [Mon, 3 Aug 2009 23:44:39 +0000 (23:44 +0000)]
Fixed release note added in r54326 which was in the wrong section.
Trevor Parscal [Mon, 3 Aug 2009 23:43:19 +0000 (23:43 +0000)]
Added release notes for changes in r54109 - a fix to bug #18497 which caused pages in Opera in fullscreen mode to not use any style sheets.
Chad Horohoe [Mon, 3 Aug 2009 22:31:52 +0000 (22:31 +0000)]
(bug 15209) New hook right after initialization
Chad Horohoe [Mon, 3 Aug 2009 22:05:03 +0000 (22:05 +0000)]
Move populateSha1.php up from archives into maintenance root (nothing calls this automatically, so it shouldn't break anything)
Chad Horohoe [Mon, 3 Aug 2009 21:59:47 +0000 (21:59 +0000)]
RIP importLogs. Ancient, un-needed and probably never worked outside WMF anyway :)
Chad Horohoe [Mon, 3 Aug 2009 21:56:41 +0000 (21:56 +0000)]
Revert r54244 which was stupid and fix this properly. Require commandLine.inc/Maintenance.php using the full path every time.
Alexandre Emsenhuber [Mon, 3 Aug 2009 20:19:47 +0000 (20:19 +0000)]
removed double "@ingroup Maintenance"
Alexandre Emsenhuber [Mon, 3 Aug 2009 19:57:35 +0000 (19:57 +0000)]
fix for r54291: missing ending $ in $Id$
Alexandre Emsenhuber [Mon, 3 Aug 2009 19:51:25 +0000 (19:51 +0000)]
Seems that I forgot to commit the RELEASE-NOTES file along with r54206 *stab self*
Raimond Spekking [Mon, 3 Aug 2009 18:24:24 +0000 (18:24 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-03 17:35 UTC)
Rotem Liss [Mon, 3 Aug 2009 18:02:47 +0000 (18:02 +0000)]
Localization fix.
Rotem Liss [Mon, 3 Aug 2009 18:02:12 +0000 (18:02 +0000)]
Localization update.
Shinjiman [Mon, 3 Aug 2009 17:56:18 +0000 (17:56 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Bryan Tong Minh [Mon, 3 Aug 2009 17:48:01 +0000 (17:48 +0000)]
(bug 19004) Added support for tags to the API. Patch by Matthew Britton.
Aaron Schulz [Mon, 3 Aug 2009 16:43:27 +0000 (16:43 +0000)]
* rev_deleted css fixes
* disable unusable links per bug 20006
Aaron Schulz [Mon, 3 Aug 2009 16:35:54 +0000 (16:35 +0000)]
clean up bizarre code - use timestamp for links again (as it is on deployment)
Raimond Spekking [Mon, 3 Aug 2009 15:14:06 +0000 (15:14 +0000)]
Follow-up r54284: PLURAL keyword for message
* Add new message keys to maintenance script
* eol-style:native
Andrew Garrett [Mon, 3 Aug 2009 15:01:51 +0000 (15:01 +0000)]
(bug 16451) Fix application of scaling limits for animated GIFs.
* Creates a new media handler for GIF files, and extracts metadata such as duration, whether or not the GIF is looped, and the number of frames.
* Uses the extracted metadata for the long file description.
* Considers number of frames in the calculation of image area (multiplies by width and height to get the "time-area", or so to speak).
After this patch is deployed, the work-around to disable GIF scaling on Wikimedia sites can be eliminated.
Niklas Laxström [Mon, 3 Aug 2009 11:36:47 +0000 (11:36 +0000)]
Memcached does not like spaces in keys
Rotem Liss [Mon, 3 Aug 2009 11:12:55 +0000 (11:12 +0000)]
Localization update.
Bryan Tong Minh [Mon, 3 Aug 2009 11:06:24 +0000 (11:06 +0000)]
Revert r53678, r53704, r53705, r53773, r53930, r54199, r54201: Addition of ApiQueryBrokenRedirects and ApiQueryDoubleRedirects.
This is pure code duplication and should be done by fetching data from the respective query pages. This has as advantage that other query pages can be readily added to the API as well. See the querypage-work branch.
Niklas Laxström [Mon, 3 Aug 2009 10:49:58 +0000 (10:49 +0000)]
* Trailing Whitespace
* Don't suppress warnings while developing, wasting my time for debugging
Michael Dale [Mon, 3 Aug 2009 08:02:07 +0000 (08:02 +0000)]
* missing api_url removes tab from add-media-wizard
* support crop output to html
* language updates
* multiple use of add-media css clean up
Chad Horohoe [Mon, 3 Aug 2009 04:32:50 +0000 (04:32 +0000)]
Last update to call $dbw->sourceFile() directly. Throw wfDeprecated() in dbsource() since nothing in core or extensions calls this.
Chad Horohoe [Mon, 3 Aug 2009 02:44:18 +0000 (02:44 +0000)]
Re-add some files that are still used by updaters.inc.
Shinjiman [Mon, 3 Aug 2009 00:35:59 +0000 (00:35 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Aryeh Gregor [Mon, 3 Aug 2009 00:21:03 +0000 (00:21 +0000)]
Add legend to watchlist as well
Patch by svip. Follow-up to r54242.
Shinjiman [Mon, 3 Aug 2009 00:11:52 +0000 (00:11 +0000)]
Added back 'right-editusercssjs' message for backward compatibility, for r54194.
Updated messages 'right-editusercss' and 'right-edituserjs' for other languages, per Code Review on r54153.
Chad Horohoe [Sun, 2 Aug 2009 22:55:33 +0000 (22:55 +0000)]
(bug 18855) Consistently call commandLine.inc with how we more or less do it now.
Chad Horohoe [Sun, 2 Aug 2009 22:31:42 +0000 (22:31 +0000)]
Don't die badly if $row isn't an object.
Aryeh Gregor [Sun, 2 Aug 2009 22:15:55 +0000 (22:15 +0000)]
Add legend and tooltips to explain RC flags
Based on a patch submitted by svip on IRC. I also changed the <span>
for unpatrolled into an <abbr>, and created a new message in case anyone
wants to localize !, for the sake of uniformity.
Aryeh Gregor [Sun, 2 Aug 2009 22:15:28 +0000 (22:15 +0000)]
Allow <abbr> in wikitext
See bug 671. Since we use <abbr> for RecentChanges flags now (see
r53975), this is necessary to provide a good wikitext legend for what
the flags mean.
Chad Horohoe [Sun, 2 Aug 2009 21:55:10 +0000 (21:55 +0000)]
Don't put \n on the end of every error() call, just do it in error() itself. Still have to use on output(), because people like "Something...done" stuff.
Chad Horohoe [Sun, 2 Aug 2009 21:42:47 +0000 (21:42 +0000)]
* Add way to get full input from stdin() without having to check the length
* Missing global
Chad Horohoe [Sun, 2 Aug 2009 21:34:06 +0000 (21:34 +0000)]
Use buildConcat()
Chad Horohoe [Sun, 2 Aug 2009 21:31:23 +0000 (21:31 +0000)]
Missing >
Chad Horohoe [Sun, 2 Aug 2009 21:28:08 +0000 (21:28 +0000)]
tableNamesN() and make init $revisions before trying to use it
Chad Horohoe [Sun, 2 Aug 2009 21:22:05 +0000 (21:22 +0000)]
Missing newline. Maybe should make error() just do it itself :p
Rotem Liss [Sun, 2 Aug 2009 20:47:56 +0000 (20:47 +0000)]
Localization update.
Chad Horohoe [Sun, 2 Aug 2009 20:21:12 +0000 (20:21 +0000)]
Forgot that updaters.inc relies on deleteDefaultMessages.php. Move its require down to where its actually needed, and define MW_NO_SETUP so we don't try to kick it off like normal. Stupid hack until update.php uses Maintenance.php.
Chad Horohoe [Sun, 2 Aug 2009 20:00:41 +0000 (20:00 +0000)]
Typofix.
Chad Horohoe [Sun, 2 Aug 2009 19:57:37 +0000 (19:57 +0000)]
Still need this in updaters.inc.
Chad Horohoe [Sun, 2 Aug 2009 19:56:24 +0000 (19:56 +0000)]
Forgot to bring doRebuild() along :)