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 :)
Chad Horohoe [Sun, 2 Aug 2009 19:52:27 +0000 (19:52 +0000)]
Stay semicolon.
Chad Horohoe [Sun, 2 Aug 2009 19:49:24 +0000 (19:49 +0000)]
timestamp() fixes on updateSearchIndex.php, and declare globals in updateSpecialPages.php
Chad Horohoe [Sun, 2 Aug 2009 19:40:30 +0000 (19:40 +0000)]
+newlines on error
Chad Horohoe [Sun, 2 Aug 2009 19:35:17 +0000 (19:35 +0000)]
Merge maintenance-work branch (now with less errors!):
* Docs have been updated to indicate the standard on how to write maintenance scripts (MW.org docs will follow) Have ported vast majority of maintenance scripts to new format. Remaining ones (mostly FiveUpgrade-related) are a bit more tricky. commandLine.inc is untouched for now. Many have gotten code-style updates as well. Deleted .inc files were only used by their .php counterparts, and have been merged into single files.
* (bug 11867) Lock error on redirect table when running orphans.php
* (bug 16322) Allow maintenance scripts to accept DB user/pass over input or params
* (bug 18566) Maintenance script to un/protect pages
* initStats overhaul, now uses class SiteStatsInit. Also fixes bug 18930
Chad Horohoe [Sun, 2 Aug 2009 18:51:01 +0000 (18:51 +0000)]
Add .php5 entry for mwScriptLoader.
Tobias [Sun, 2 Aug 2009 18:16:56 +0000 (18:16 +0000)]
introducing new CoreParserFunction nse as an url-friendly equivalent to ns. bug 12920
Tobias [Sun, 2 Aug 2009 15:22:06 +0000 (15:22 +0000)]
fixing bug 17395
Alexandre Emsenhuber [Sun, 2 Aug 2009 13:37:41 +0000 (13:37 +0000)]
* (bug 18699) Using the nosummary URL option no longer triggers the "You have not provided a summary" warning for those who activated it in their preferences
Alex Shih-Han Lin [Sun, 2 Aug 2009 12:29:42 +0000 (12:29 +0000)]
forget to shutdown classes in ApiQuery.php
Alex Shih-Han Lin [Sun, 2 Aug 2009 12:03:24 +0000 (12:03 +0000)]
Comment out ApiQueryDoubleRedirects and ApiQueryBrokenRedirects for non-cached query
Rotem Liss [Sun, 2 Aug 2009 11:17:27 +0000 (11:17 +0000)]
Localization update.
Alexandre Emsenhuber [Sun, 2 Aug 2009 11:10:48 +0000 (11:10 +0000)]
Follow-up r53457: same for modern skin
Jan Gerber [Sun, 2 Aug 2009 10:52:16 +0000 (10:52 +0000)]
mvTimedEffectsEdit.js is in libSequencer not libTimedText
Shinjiman [Sun, 2 Aug 2009 08:31:29 +0000 (08:31 +0000)]
Added back 'editusercssjs' right for regression and backward compatibility, per Code Review on r54153.
Brion Vibber [Sun, 2 Aug 2009 07:36:47 +0000 (07:36 +0000)]
Suppress 'Expect: 100-continue' header on Http::post, as some servers will reject it with a 417 and Curl won't auto retry.
Curl seems to like to insert this HTTP 1.1 request header sometimes, but not always, when you add post data.
Chad Horohoe [Sun, 2 Aug 2009 03:07:07 +0000 (03:07 +0000)]
(bug 19394) Recent changes feed items corresponding to some log entries are broken. Patch by Mormegil
Raimond Spekking [Sat, 1 Aug 2009 18:45:24 +0000 (18:45 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-01 18:20 UTC)
Chad Horohoe [Sat, 1 Aug 2009 18:44:28 +0000 (18:44 +0000)]
Http::get() doesn't return an object, it already returns the results or null anyway. BTW: is anyone actually still using this? *stab*
Shinjiman [Sat, 1 Aug 2009 16:44:44 +0000 (16:44 +0000)]
* (bug 12110) Split the rights for editing users' CSS/JS subpage from "editusercssjs" into "editusercss" and edituserjs" respectively.
rebuild message file for all languages
Rotem Liss [Sat, 1 Aug 2009 12:55:51 +0000 (12:55 +0000)]
Localization update.
Alexandre Emsenhuber [Sat, 1 Aug 2009 12:41:45 +0000 (12:41 +0000)]
Per Nikerabbit's comment on r53897 (i.e. fix for r53832, second attempt): changed "m" modifier to "D" so that $ really only matches the end of the string
Jack Phoenix [Sat, 1 Aug 2009 11:59:13 +0000 (11:59 +0000)]
coding style tweaks + marked execute function as public
Jan Gerber [Sat, 1 Aug 2009 10:09:31 +0000 (10:09 +0000)]
sourceInfo changed in Firefogg, update min version and reading values from it.
Shinjiman [Sat, 1 Aug 2009 08:19:53 +0000 (08:19 +0000)]
Show the preview tip for css/js when the page name is both valid or invalid (e.g. skin not in the code), they could be included with other css/js in a valid page name, thanks Splarka.
Shinjiman [Sat, 1 Aug 2009 07:41:57 +0000 (07:41 +0000)]
* (bug 15680) Split the edit tip message of user CSS/JS subpage into "usercssyoucanpreview" and "userjsyoucanpreview" respectively.
rebuild message file for all languages
Trevor Parscal [Fri, 31 Jul 2009 23:32:58 +0000 (23:32 +0000)]
Reduced specificity of some formatting elements and made corrections to things in the vector UI that that caused to change.
Aaron Schulz [Fri, 31 Jul 2009 22:57:29 +0000 (22:57 +0000)]
* Don't add title protect log if nothing was done (bug 20026)
* Spacing cleanup
Alex Z [Fri, 31 Jul 2009 21:56:34 +0000 (21:56 +0000)]
(bug 19907) Adds support for cross-domain AJAX requests to the API.
Uses the Access-Control-Allow-Origin header for browsers that support it.
<http://dev.w3.org/2006/waf/access-control/>
$wgCrossSiteAJAXdomains can be set to '*' to allow requests from any domain,
an array of domains to allow, or, if $wgCrossSiteAJAXdomainsRegex is true,
an array of regexes to match against the request origin
Trevor Parscal [Fri, 31 Jul 2009 17:18:49 +0000 (17:18 +0000)]
Added evil hack for Opera projection css media mode compatibility.
Shinjiman [Fri, 31 Jul 2009 13:50:22 +0000 (13:50 +0000)]
* (bug 20018) Fix the typo for the German db error message
Aryeh Gregor [Fri, 31 Jul 2009 13:35:50 +0000 (13:35 +0000)]
Fix galleries for Vector
Niklas Laxström [Fri, 31 Jul 2009 12:45:29 +0000 (12:45 +0000)]
Whitespace fixes
Siebrand Mazeland [Fri, 31 Jul 2009 11:55:50 +0000 (11:55 +0000)]
Localisation updates for special pages from translatewiki.net
Andrew Garrett [Fri, 31 Jul 2009 10:59:11 +0000 (10:59 +0000)]
LiquidThreads code quality, bug fixes and cleanup:
* Remove large swathes of dead code, hooks that have never existed, and dormant methods.
* Remove the TalkpageArchiveView, which has been inaccessible from the UI for ages.
* Break most miscellaneous hooks out into their own file, classes/Hooks.php
* Float the reply link on the RHS.
* Organise the hooks section of LiquidThreads.php somewhat.
* Remove deprecated =& syntax in some places.
* Move scratchTitle and related methods into Threads class instead of View class.
* Kill home-grown revision insertion code from leaveTrace, and rewrite it to use Article::doEdit
* Internal documentation, variable naming as appropriate.
* Remove special-case handling for links, unnecessary now.
* Fix customizeOldChangesList, it looks like it was never properly tested. Even if it had worked, it would have put (not by the author) on every edit to a post.
* Fail fast when trying to move a non-toplevel thread.
* Add rollback, extra links to the end of new-thread recentchanges entries.
Rotem Liss [Fri, 31 Jul 2009 10:49:55 +0000 (10:49 +0000)]
Localization update.
Andrew Garrett [Fri, 31 Jul 2009 10:42:34 +0000 (10:42 +0000)]
(bug 19798) High-level documentation for Preferences.
Niklas Laxström [Fri, 31 Jul 2009 10:21:02 +0000 (10:21 +0000)]
PHP Fatal error: Call to a member function exists() on a non-object in /var/www/w/includes/OutputPage.php on line 146
Niklas Laxström [Fri, 31 Jul 2009 09:57:59 +0000 (09:57 +0000)]
Added --threads=N parameter
Raimond Spekking [Fri, 31 Jul 2009 09:40:11 +0000 (09:40 +0000)]
* The description message in $wgExtensionCredits can be an array with parameters now
Michael Dale [Fri, 31 Jul 2009 08:22:10 +0000 (08:22 +0000)]
updated api path
Michael Dale [Fri, 31 Jul 2009 08:09:53 +0000 (08:09 +0000)]
fixed wpSourceType value
Niklas Laxström [Fri, 31 Jul 2009 07:12:25 +0000 (07:12 +0000)]
* Fix sidebar purging code (still unknown to me what causes it to cache bad version)
* Add language code to the load method
Raimond Spekking [Fri, 31 Jul 2009 06:53:23 +0000 (06:53 +0000)]
Fix PHP Notice: Undefined variable: wgMimeTypeBlacklist in /var/www/w/includes/upload/UploadBase.php on line 190
Philip Tzou [Fri, 31 Jul 2009 05:59:06 +0000 (05:59 +0000)]
Update the Chinese conversion tables.
Michael Dale [Fri, 31 Jul 2009 05:23:31 +0000 (05:23 +0000)]
get local api url function abstraction
Shinjiman [Fri, 31 Jul 2009 03:22:03 +0000 (03:22 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Fri, 31 Jul 2009 03:07:58 +0000 (03:07 +0000)]
* (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the
extension version in Special:Version
* (bug 20014) Added CSS class "mw-listgrouprights-right-name" is wrapped on the
right name in Special:ListGroupRights
Michael Dale [Fri, 31 Jul 2009 02:58:53 +0000 (02:58 +0000)]
restored $wgVerifyMimeType check
Michael Dale [Fri, 31 Jul 2009 02:44:37 +0000 (02:44 +0000)]
* fixed IE bug with firefogg disabled loading js2 for upload page
* added support for two-pass encoding (firefogg bzr trunk)
* added support for setting in and out points
Remember the dot [Fri, 31 Jul 2009 01:19:00 +0000 (01:19 +0000)]
Losslessly recompressed some GIF images using the GIMP. Ideally these icons should all be redone as PNGs with alpha transparency, but in the meantime recompressing them will save a few kilobytes.
Chad Horohoe [Fri, 31 Jul 2009 00:59:26 +0000 (00:59 +0000)]
Add /includes/search/ to findhooks. Looks good!
Chad Horohoe [Fri, 31 Jul 2009 00:56:50 +0000 (00:56 +0000)]
Handle todo: Mediawiki::initialize() is now called Mediawiki::performRequestForTitle()
Chad Horohoe [Fri, 31 Jul 2009 00:18:09 +0000 (00:18 +0000)]
Yeah I can't spell.
Chad Horohoe [Fri, 31 Jul 2009 00:16:00 +0000 (00:16 +0000)]
typofix.
Chad Horohoe [Thu, 30 Jul 2009 22:45:38 +0000 (22:45 +0000)]
Move search related includes to includes/search/
Chad Horohoe [Thu, 30 Jul 2009 22:31:24 +0000 (22:31 +0000)]
Never worked anyway, and completely useless with new message cache.
Brion Vibber [Thu, 30 Jul 2009 22:24:04 +0000 (22:24 +0000)]
* Parser test supports uploading results to remote CodeReview instance
Now I just have to finish the CodeReview extension side of it... ;)
Brion Vibber [Thu, 30 Jul 2009 22:11:44 +0000 (22:11 +0000)]
Allow passing postdata in Http::post() options...
Note -- CURL allows you to pass an array which it will encode as multipart, but this doesn't seem to work for me.
Until resolved, do URL form encoding yourself with wfArrayToCGI() and pass in a string.
Todo: implement also for non-CURL mode if possible?
Raimond Spekking [Thu, 30 Jul 2009 20:13:34 +0000 (20:13 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-30 19:50 UTC)
Niklas Laxström [Thu, 30 Jul 2009 19:26:18 +0000 (19:26 +0000)]
Consistent letter case
Raimond Spekking [Thu, 30 Jul 2009 18:47:33 +0000 (18:47 +0000)]
Follow-up r54033: Add new message keys to maintenance script
Aaron Schulz [Thu, 30 Jul 2009 18:36:09 +0000 (18:36 +0000)]
rm more SpecialSearchOld cruft
Aaron Schulz [Thu, 30 Jul 2009 18:27:56 +0000 (18:27 +0000)]
(bug 18531) Show hidden users on listusers for oversights
Aaron Schulz [Thu, 30 Jul 2009 18:01:41 +0000 (18:01 +0000)]
* Separated some delete & suppress message headers (bug 18839)
* rev-deleted message cleanup with log links
Aaron Schulz [Thu, 30 Jul 2009 17:36:20 +0000 (17:36 +0000)]
Removed $wgUseOldSearchUI and old search ui class
Philip Tzou [Thu, 30 Jul 2009 17:33:42 +0000 (17:33 +0000)]
Update the Chinese conversion tables.
Michael Dale [Thu, 30 Jul 2009 17:20:34 +0000 (17:20 +0000)]
* mvFirefogg refactoring for better reuse
Aaron Schulz [Thu, 30 Jul 2009 17:11:18 +0000 (17:11 +0000)]
Follow-up to r54016: deletedcontribs
Alexandre Emsenhuber [Thu, 30 Jul 2009 15:59:04 +0000 (15:59 +0000)]
fixes in the tests directory:
* create default object to avoid PHP notices in ArticleTest
* remove broken constructor in SearchMySQL4Test
* remove pass by ref to avoid PHP warnings in SearchEngineTest
Aaron Schulz [Thu, 30 Jul 2009 14:08:25 +0000 (14:08 +0000)]
(bug 19864) Removed overzealous hiding of deleted (but not suppressed) rows from log/contribs list from sysops
Aaron Schulz [Thu, 30 Jul 2009 13:14:08 +0000 (13:14 +0000)]
Tweak 'restore' link in deletedcontribs to say 'view' (bug 20006)
Victor Vasiliev [Thu, 30 Jul 2009 08:43:26 +0000 (08:43 +0000)]
Use $wgFileExtensions to check whether SVG is enabled
Michael Dale [Thu, 30 Jul 2009 01:29:59 +0000 (01:29 +0000)]
refactored get token to mv_embed global function
Chad Horohoe [Wed, 29 Jul 2009 23:46:26 +0000 (23:46 +0000)]
Remove 2 ancient files that aren't used anywhere and were abandoned shortly after commit.
Chad Horohoe [Wed, 29 Jul 2009 23:41:16 +0000 (23:41 +0000)]
* Move generic return true; various for lock functions to parent, no need to implement this everywhere
* Make LOW PRIORITY optional
* Use sourceFile instead of dbsource
Chad Horohoe [Wed, 29 Jul 2009 22:15:52 +0000 (22:15 +0000)]
* (bug 16311) Make recent change flags acronyms instead of spans. Also move this crap to common, we don't need identical declarations in 5 different skins.
Alexandre Emsenhuber [Wed, 29 Jul 2009 20:07:31 +0000 (20:07 +0000)]
* fixed Parser::runTest() title creation to use Title::newFromText rather than Title::makeTitle() that was forcing the namespace to be NS_MAIN and thus broke some disabled parser tests that have a title that was supposed to not be in NS_MAIN
* re-enabled now working parser tests: "Magic Word: {{NAMESPACE}}", "Magic Word: {{NAMESPACEE}}" and "Magic Word: {{PAGENAME}}"
* updated "Magic Word: {{PAGENAMEE}}" test accordingly, since {{PAGENAMEE}} is not {{FULLPAGENAMEE}}
Alexandre Emsenhuber [Wed, 29 Jul 2009 18:18:25 +0000 (18:18 +0000)]
* (bug 19968) Fixed "Project talk" namespace name for Maltese (mt)
Old namespace name added in alias list for b/c
Andrew Garrett [Wed, 29 Jul 2009 16:20:10 +0000 (16:20 +0000)]
Fix regression in r53316, some more intelligent handling.
Alexandre Emsenhuber [Wed, 29 Jul 2009 14:38:28 +0000 (14:38 +0000)]
Avoid infinite loop when an exception occurs in command line mode
Shinjiman [Wed, 29 Jul 2009 14:32:06 +0000 (14:32 +0000)]
* (bug 19809) Split the North Korean language, move the North Korean calendar from ko to ko-KP.
Alex Shih-Han Lin [Wed, 29 Jul 2009 12:23:33 +0000 (12:23 +0000)]
forget to set table name to variable