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
Alexandre Emsenhuber [Wed, 29 Jul 2009 08:43:40 +0000 (08:43 +0000)]
Fix for r53757 per Nikerabbit's comment: these can also be "true", only do array_unique() if they're array
Shinjiman [Wed, 29 Jul 2009 05:13:33 +0000 (05:13 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Brion Vibber [Wed, 29 Jul 2009 01:10:09 +0000 (01:10 +0000)]
* (bug 19957) All known-failing tests now marked disabled; added --run-disabled option to parser test suite to run disabled tests if desired.
Based on Dan Nessett's patch set.
I put back one of the test cases which does, in fact, work at least on my config. :)
Brion Vibber [Wed, 29 Jul 2009 00:56:48 +0000 (00:56 +0000)]
Fix regression I introduced breaking wgMaxTocLevel test case... whoops!
Michael Dale [Wed, 29 Jul 2009 00:12:57 +0000 (00:12 +0000)]
updated json_encode call to api version
Brion Vibber [Tue, 28 Jul 2009 21:13:48 +0000 (21:13 +0000)]
* Added fields to list=search output: size, wordcount, timestamp, snippet
* Where supported by backend, list=search adds a 'searchinfo' element with
optional info: 'totalhits' count and 'suggestion' alternate query term
Snippets added to result items earlier by Roan; extended this with the other
byte size, word count, and timestamp available on the result items and exposed
through the regular UI.
Had to work out a backwards-compatible method for the search meta-information
with Roan; added a second 'searchinfo' element since adding attributes to
'search' would break compatibility for JSON output (despite being safe in XML).
'searchinfo' is present only if the backend supports the extra info and has
something available; 'totalhits' with a total hit count and 'suggestion' for
an alternate query suggestion (exposed as "Did you mean X?" link in UI).
Note that total hit counts can be enabled for MySQL backend now by setting
the experimental option $wgSearchMySQLTotalHits, but did-you-mean suggestions
are not yet supported and need to be tested with a hack or another backend.
Sample XML and JSON output with the new searchinfo items (which can be
present whether or not there are any result items):
<?xml version="1.0"?>
<api>
<query>
<searchinfo totalhits="0" suggestion="joe momma" />
<search />
</query>
</api>
{
"query": {
"searchinfo": {
"totalhits": 0,
"suggestion": "joe momma"
},
"search": [
]
}
}
The suggestion value is suitable for plugging back in as a search term,
if present.
Brion Vibber [Tue, 28 Jul 2009 20:49:50 +0000 (20:49 +0000)]
And for good measure, force the count to an integer. Sigh... *stab php*
Brion Vibber [Tue, 28 Jul 2009 20:49:01 +0000 (20:49 +0000)]
*slap self* fix hit counts for title searches when counts in mysql are enabled.
Rotem Liss [Tue, 28 Jul 2009 20:30:44 +0000 (20:30 +0000)]
Localization update.
Alexandre Emsenhuber [Tue, 28 Jul 2009 20:16:17 +0000 (20:16 +0000)]
Per Simetrical's comment on r53832: only trim if there're newlines
Raimond Spekking [Tue, 28 Jul 2009 18:31:23 +0000 (18:31 +0000)]
Follow-up r53874: Add colon for consistency with other labels
Raimond Spekking [Tue, 28 Jul 2009 18:22:56 +0000 (18:22 +0000)]
Follow-up r53874: Add section header for maintenance scripts
Raimond Spekking [Tue, 28 Jul 2009 17:54:56 +0000 (17:54 +0000)]
Follow-up r53873: Make new message optional for translatewiki
Michael Dale [Tue, 28 Jul 2009 17:52:09 +0000 (17:52 +0000)]
improved upload api documentation
Michael Dale [Tue, 28 Jul 2009 17:38:33 +0000 (17:38 +0000)]
checking for session_id() was preventing updates (just put a @ infront to ignore E_NOTICE for php 4.3.3 and greater )
Niklas Laxström [Tue, 28 Jul 2009 17:32:26 +0000 (17:32 +0000)]
* Fix for r53874, missing file
Michael Dale [Tue, 28 Jul 2009 17:29:32 +0000 (17:29 +0000)]
* ( bug 19932 ) simpleFileWriter::close was still issuing a update_session_progress call even if do_close_session_update was off
Shinjiman [Tue, 28 Jul 2009 16:48:22 +0000 (16:48 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Aryeh Gregor [Tue, 28 Jul 2009 16:37:31 +0000 (16:37 +0000)]
Revert apparent typos from r53873
Niklas Laxström [Tue, 28 Jul 2009 15:37:59 +0000 (15:37 +0000)]
I'm being bold here, proposed solution to:
* (bug 16697) Unicode combining characters are difficult to edit in some browsers
Adds font style option to preferences and adds default override for Lingala (ln)
Niklas Laxström [Tue, 28 Jul 2009 15:10:42 +0000 (15:10 +0000)]
* (bug 14454) "Member of group(s)" in Special:Preferences causes language difficulties
Aaron Schulz [Tue, 28 Jul 2009 11:11:46 +0000 (11:11 +0000)]
code formatting
Aaron Schulz [Tue, 28 Jul 2009 10:05:14 +0000 (10:05 +0000)]
Skip feed items with deleted content entirely, fixes bug 19965