Rotem Liss [Fri, 20 Oct 2006 17:36:00 +0000 (17:36 +0000)]
(bug 7647) Update for Lithuanian language (lt)
Rotem Liss [Fri, 20 Oct 2006 16:30:27 +0000 (16:30 +0000)]
Some cleanup: code style, whitespace, docs, using single apostrophe, using __METHOD__ instead of .
Yuri Astrakhan [Fri, 20 Oct 2006 07:10:18 +0000 (07:10 +0000)]
API * Added rudimentary RC list
* More readable query formulation
Aryeh Gregor [Fri, 20 Oct 2006 03:41:33 +0000 (03:41 +0000)]
* (bug 6276) Stopped search field from getting too large in Cologne Blue
* Fixed duplicate name/id value of "search" in Cologne Blue
Aryeh Gregor [Fri, 20 Oct 2006 03:28:05 +0000 (03:28 +0000)]
Added escapeClass static function to Sanitizer and updated last commit to use it instead of escapeId.
Aryeh Gregor [Fri, 20 Oct 2006 02:57:59 +0000 (02:57 +0000)]
(bug 5795) CSS class added to body based on page name for page-specific styling. Patch based on one by Ilmari Karonen.
Aryeh Gregor [Fri, 20 Oct 2006 02:44:09 +0000 (02:44 +0000)]
(bug 2241) Fix colliding use of 'w' and 'd' accesskeys (this time without removing tabs)
Nick Jenkins [Fri, 20 Oct 2006 02:16:42 +0000 (02:16 +0000)]
Minor tweak, stops "variable e hides argument" notification in FireBug.
Jimmy Collins [Thu, 19 Oct 2006 19:22:10 +0000 (19:22 +0000)]
(bug 7632) {{ns-1}} instead of {{ns:-1}} in pagemovedtext message in MessagesCs.php
Nick Jenkins [Thu, 19 Oct 2006 08:18:19 +0000 (08:18 +0000)]
* Don't give attackers an opening by echoing back known bad parameter inputs.
* Create magic links only using a whitelist of protocols.
Have no proof of vuln, but allowing the user to make JavaScript links and have a lot of control over what goes into them probably isn't desirable.
Example attack input:
http://en.wikipedia.org/w/api.php?action=query&meta=javascript://**/alert(1);
Example pre-patch HTML output contains this string:
<a href="javascript://**/alert">javascript://**/alert</a>(1);
Which doesn't work, due to:
1) the double slash - one slash someone can work around by faking a C-style comment (by appending "**/" as shown above), but two is a problem
2) the parentheses being excluded, so we can't pass parameters
... but best to put a stop to it anyway.
Aryeh Gregor [Thu, 19 Oct 2006 02:29:12 +0000 (02:29 +0000)]
(bug 7623) Use Sanitizer::escapeId to validate id's, not htmlspecialchars.
Nick Jenkins [Thu, 19 Oct 2006 02:11:36 +0000 (02:11 +0000)]
Quick update to r17088 - Fuzz testing was giving me a PHP Notice: "Undefined variable: wgUseDatabaseMessages in <b>/var/www/hosts/mediawiki/wiki/languages/messages/MessagesPl.php</b> on line <b>1292</b><br />". This happens because the desired output is the literal string "$wgUseDatabaseMessages", not the value of the $wgUseDatabaseMessages variable. However variables are not expanded in single quotes, but they are in double quotes; so when the line was changed from single to double quotes, it started wanting to print out the variable - therefore modifying to use single quotes, and adding escaping for the literal singles quotes.
Tim Starling [Thu, 19 Oct 2006 00:56:57 +0000 (00:56 +0000)]
Experimental workaround for bugs.php.net/bug.php?id=31892 , will be tested shortly.
Yuri Astrakhan [Wed, 18 Oct 2006 23:49:09 +0000 (23:49 +0000)]
API *
* OpenSearch support for namespaces
* Minor watchlist feed cleanup
Rotem Liss [Wed, 18 Oct 2006 14:03:19 +0000 (14:03 +0000)]
(bug 7619) Update for Polish language (pl) #6
Rotem Liss [Wed, 18 Oct 2006 13:50:28 +0000 (13:50 +0000)]
Removing trailing whitespaces from various messages.
Tim Starling [Wed, 18 Oct 2006 09:26:52 +0000 (09:26 +0000)]
'wgUseTidy' => false
Tim Starling [Wed, 18 Oct 2006 09:22:33 +0000 (09:22 +0000)]
Added --show-output option to parserTests.php, to allow capture of complete output for test generation. Fixed various parser tests broken by tidy and incorrect capture method (i.e. web browser). Updated "Fuzz testing: Parser14-table", this appears to be fixed.
Tim Starling [Wed, 18 Oct 2006 09:19:28 +0000 (09:19 +0000)]
docs
Aryeh Gregor [Wed, 18 Oct 2006 07:25:20 +0000 (07:25 +0000)]
Try to fix a parser test, experimentally to see if this works.
Aryeh Gregor [Wed, 18 Oct 2006 06:53:19 +0000 (06:53 +0000)]
* (bug 4525) Move section links down visually to same level as headings editsection links are now inside the heading elements).
* Document structure changed, so some JavaScript/CSS may need tweaking (wikibits.js updated to reflect changes).
* Parsertests updated, but don't seem to run, so someone please confirm that there are no (illusory) regressions.
* $wgStyleVersion bumped.
Yuri Astrakhan [Wed, 18 Oct 2006 06:32:40 +0000 (06:32 +0000)]
API * HTML is now valid HTML Transitional (thansk nickj)
* Fixed watchlist ordering bug
Yuri Astrakhan [Wed, 18 Oct 2006 05:35:24 +0000 (05:35 +0000)]
API * Optimized revision <rev> tag setting
Nick Jenkins [Wed, 18 Oct 2006 05:29:57 +0000 (05:29 +0000)]
Revert part of r17066 - ParserOptions private variables not being treated as private, reported by Simetrical, may only be experienced when tidy is enabled, I need to grep more in future.
Yuri Astrakhan [Wed, 18 Oct 2006 05:27:43 +0000 (05:27 +0000)]
API
* Removed slow result SanitizeData
* Fixed watchlist feed bug (reported by nickj)
* Fixed HTML formatting bug (reported & fixed by nickj)
* clarified HTML intro message
Aryeh Gregor [Wed, 18 Oct 2006 05:02:46 +0000 (05:02 +0000)]
* Finish fixing bug 3205, and bump up $wgStyleVersion.
* Added $wgStyleVersion to a stylesheet call that brion missed.
* Add informative comment to the top of common_rtl.css to the effect that it is really common to all skins, unlike common.css.
Rotem Liss [Tue, 17 Oct 2006 17:36:01 +0000 (17:36 +0000)]
Updating the release notes.
Rotem Liss [Tue, 17 Oct 2006 17:31:15 +0000 (17:31 +0000)]
(bug 7617) Update for Portuguese localisation (pt)
Tim Starling [Tue, 17 Oct 2006 10:38:56 +0000 (10:38 +0000)]
Pass by reference, allow AutoAuthenticate to create a new object and assign it to $user.
Nick Jenkins [Tue, 17 Oct 2006 09:27:39 +0000 (09:27 +0000)]
* Probably want "$this->mIsGenerator = false;", not "$mIsGenerator = false;"
* rm unused global declaration.
* rm references usage in a foreach iteration ($info does not seem to be assigned to anything, so no benefit to using refs).
* Define local var in error printout.
* rm a few local vars that look unused.
* Make paranoia check do something.
Nick Jenkins [Tue, 17 Oct 2006 08:49:27 +0000 (08:49 +0000)]
* Make ParserOptions private variables private.
* Remove two unused globals.
* Remove pass-by-ref usage when arg is never modified (objects automatically passed-by-ref in PHP5)
* Removed some unused local variables.
* Mark a possibly dubious pass-by-ref on an uninitialized var as "FIXME: Please check that this initialization is correct", and added what I presume is the correct initialization.
* Declare preg_match arg 3 (output matches argument) as an array() before using it. Nothing wrong with not doing this, just feels slightly more explicit to me than a function call that also implictly creates and populates an array.
* My editor has automatically removed trailing spaces at the end of lines (which is not inherently a bad thing, but I have turned this option off now to help minimize diff sizes in future).
* Have confirmed that "php maintenance/parserTests.php --quiet --quick --color=no" shows no regressions, and that "php maintenance/fuzz-tester.php --specific-test=editPageTest --max-runtime=5" still shows no errors.
Yuri Astrakhan [Tue, 17 Oct 2006 02:11:29 +0000 (02:11 +0000)]
API * login module parameter format
Yuri Astrakhan [Tue, 17 Oct 2006 02:01:20 +0000 (02:01 +0000)]
API * Better log events info * Added RAW debugging format
Yuri Astrakhan [Mon, 16 Oct 2006 23:25:51 +0000 (23:25 +0000)]
API * better profiler modules naming
Yuri Astrakhan [Mon, 16 Oct 2006 23:16:12 +0000 (23:16 +0000)]
API * Enabled global profiling
Jimmy Collins [Mon, 16 Oct 2006 21:16:09 +0000 (21:16 +0000)]
* (bug 7444) Update namespace translations for Telugu (te), kept old values as alias for compatibility
Brion Vibber [Mon, 16 Oct 2006 20:45:02 +0000 (20:45 +0000)]
* (bug 7581) Update language name for cbk-zam
Brion Vibber [Mon, 16 Oct 2006 19:12:56 +0000 (19:12 +0000)]
* (bug 7599) Fix thumbnail purging, PHP notices on HTCP image page purge
Somebody changed the parameters and return value of Image->thumbUrl()
and didn't update all uses. Silly of them!
Also add a paranoia check on urls in the list in SquidUpdate
And don't redefine the socket options constants when called a second time
Brion Vibber [Mon, 16 Oct 2006 18:37:50 +0000 (18:37 +0000)]
safety first
Yuri Astrakhan [Mon, 16 Oct 2006 07:19:20 +0000 (07:19 +0000)]
* API: logevents query module (incomplete)
Brion Vibber [Mon, 16 Oct 2006 06:24:56 +0000 (06:24 +0000)]
Avoid new CSS class and id names without mw prefix to avoid conflicts with user data.
Brion Vibber [Mon, 16 Oct 2006 06:02:13 +0000 (06:02 +0000)]
bump style version forgotten in r17047 which made big reverts
Yuri Astrakhan [Mon, 16 Oct 2006 05:53:07 +0000 (05:53 +0000)]
* API: added prop parameter to watchlist, added partrolled flag
Aryeh Gregor [Mon, 16 Oct 2006 05:30:16 +0000 (05:30 +0000)]
Revert changes of 16988 and 17038 until I get some aesthetic issues worked out (some more line-heights will need to be reworked to keep it looking the same as before).
Tim Starling [Mon, 16 Oct 2006 03:16:12 +0000 (03:16 +0000)]
profiling
Aryeh Gregor [Mon, 16 Oct 2006 02:46:08 +0000 (02:46 +0000)]
Forgot to bump up style version
Yuri Astrakhan [Mon, 16 Oct 2006 02:41:41 +0000 (02:41 +0000)]
fixed suggest URL
Tim Starling [Mon, 16 Oct 2006 02:36:28 +0000 (02:36 +0000)]
fix FSS-related bug
Yuri Astrakhan [Mon, 16 Oct 2006 02:31:28 +0000 (02:31 +0000)]
* Added search suggestions link.
Yuri Astrakhan [Mon, 16 Oct 2006 02:14:10 +0000 (02:14 +0000)]
* API: fixed titleToKey() to convert values to upper case.
Aryeh Gregor [Mon, 16 Oct 2006 01:43:48 +0000 (01:43 +0000)]
Adjust header line-height in Monobook to account for changes in r16988
Mark Bergsma [Mon, 16 Oct 2006 01:26:14 +0000 (01:26 +0000)]
Purge using HEAD instead of GET, as Squid can match a GET object using HEAD too...
Tim Starling [Mon, 16 Oct 2006 00:39:07 +0000 (00:39 +0000)]
Count pages not links
Aryeh Gregor [Mon, 16 Oct 2006 00:37:18 +0000 (00:37 +0000)]
(bug 7587) Fix erroneous id for specialpage tab, enabling informative popup
Aryeh Gregor [Mon, 16 Oct 2006 00:10:57 +0000 (00:10 +0000)]
(bug 3015) Add CSS ids to subcategory and page sections on category pages
Yuri Astrakhan [Mon, 16 Oct 2006 00:08:03 +0000 (00:08 +0000)]
* API: help screen now shows default and allowed parameter values
* API: added experimental watchlist rss/atom feed
* API: if available, json_encode() will be used
* API: opensearch parameter changed to "search=" (more descriptive)
* API: minor parameter cleanup, a wrapper for Feed class
Brion Vibber [Sun, 15 Oct 2006 22:41:28 +0000 (22:41 +0000)]
* Fix regression in autoconfirm permission check
Anons can't be autoconfirmed. Was broken by restructuring in r17004.
Brion Vibber [Sun, 15 Oct 2006 20:12:08 +0000 (20:12 +0000)]
* Friendlier check for PHP 5 in command-line scripts; it's common for parallel
PHP 4 and 5 installations to interfere on the command-line.
Mark Bergsma [Sun, 15 Oct 2006 18:53:08 +0000 (18:53 +0000)]
Change the HTCP purge method from 'NONE' to 'GET', to make
HTCP purges work with Squid 2.6 again.
Rotem Liss [Sun, 15 Oct 2006 18:47:35 +0000 (18:47 +0000)]
(bug 7589) Update to Indonesian localisation (id) #38; updating the release notes
Jimmy Collins [Sun, 15 Oct 2006 14:56:25 +0000 (14:56 +0000)]
(bug 7585) Add wikilinks to parameter $1 in 'import-logentry-upload'
Jimmy Collins [Sun, 15 Oct 2006 08:31:19 +0000 (08:31 +0000)]
(bug 7581) Fixed native names for war: and pam:
Yuri Astrakhan [Sun, 15 Oct 2006 07:43:52 +0000 (07:43 +0000)]
* API query optimizations
* API allow modules to have custom printers
Tim Starling [Sun, 15 Oct 2006 06:36:01 +0000 (06:36 +0000)]
Always grant access to Special:Userlogin, even if the user can't create an account. Creating an account isn't the only thing Special:Userlogin is for.
Yuri Astrakhan [Sat, 14 Oct 2006 16:02:42 +0000 (16:02 +0000)]
* API watchlist: Forced an index, enabled generator
Rotem Liss [Sat, 14 Oct 2006 11:41:23 +0000 (11:41 +0000)]
Fixing Special:Unwatchedpages title.
Tim Starling [Sat, 14 Oct 2006 10:31:34 +0000 (10:31 +0000)]
BC
Tim Starling [Sat, 14 Oct 2006 10:27:41 +0000 (10:27 +0000)]
Dependency tracking layer for caching.
Rotem Liss [Sat, 14 Oct 2006 09:41:02 +0000 (09:41 +0000)]
Update.
Jimmy Collins [Sat, 14 Oct 2006 08:32:15 +0000 (08:32 +0000)]
Update to German (de) localisation
Yuri Astrakhan [Sat, 14 Oct 2006 07:18:08 +0000 (07:18 +0000)]
* API: Restructured to allow internal usage. Error handling cleanup.
* API: Added opensearch module, added apprefix param for list=allpages
Tim Starling [Sat, 14 Oct 2006 06:58:19 +0000 (06:58 +0000)]
Converted User to use lazy initialisation. This is to avoid unstub loops, and also for performance. Interfaces and semantics have been largely preserved, except for a minor change involving setLoaded().
Tim Starling [Sat, 14 Oct 2006 06:49:22 +0000 (06:49 +0000)]
Skip load balancing stuff if there is only one server
Tim Starling [Sat, 14 Oct 2006 06:09:37 +0000 (06:09 +0000)]
More informative error message in Special:Confirmemail
Tim Starling [Sat, 14 Oct 2006 05:38:31 +0000 (05:38 +0000)]
Fixed line endings on Windows. Cleaned up PHP 5 error messages.
Tim Starling [Sat, 14 Oct 2006 03:35:51 +0000 (03:35 +0000)]
newmessagesdifflink: It's incredible that this went unfixed for so long.
Brion Vibber [Fri, 13 Oct 2006 23:32:36 +0000 (23:32 +0000)]
* (bug 7562) Fix non-ASCII namespaces on Windows/XAMPP servers
strtolower() tends to corrupt data when locale is not UTF-8, as on Windows.
Use $wgContLang->lc() for namespace and interwiki normalization.
Jimmy Collins [Fri, 13 Oct 2006 23:24:40 +0000 (23:24 +0000)]
* (bug 7565) typos in MessagesDe.php
* Some more updates/new translations
Jimmy Collins [Fri, 13 Oct 2006 22:18:20 +0000 (22:18 +0000)]
Removed trailing whitespaces
Brion Vibber [Fri, 13 Oct 2006 21:48:19 +0000 (21:48 +0000)]
* Added global $wgStyleVersion to centralize bumping CSS and JS file versions
for cache-friendly style and script updating
Brion Vibber [Fri, 13 Oct 2006 21:03:43 +0000 (21:03 +0000)]
Reverting r16989 -- makes it extremely difficult to watch or unwatch a page that doesn't exist yet, unless you manually muck about with URLs
Rotem Liss [Fri, 13 Oct 2006 16:40:21 +0000 (16:40 +0000)]
(bug 7560) Separate Special:Categories name and categorybox header
* Created a new message, 'pagecategories', which is used instead of 'categories' in the categorylinks box under the articles.
* Duplicated 'categories' to 'pagecategories' in all the languages.
* Removed "{{PLURAL}}" from 'categories' (and not 'pagecategories'), as it's ignored when used as the title of Special:Categories, and was added for the categorybox which now uses 'pagecategories'. It makes no harm, but it's useless, as no parameter and "{{PLURAL}}" is used for 'categories' - only for 'pagecategories'.
Aryeh Gregor [Fri, 13 Oct 2006 07:12:56 +0000 (07:12 +0000)]
(bug 2241) Hide watch tab on edit in favor of checkbox to avoid confusing behavior and accesskey conflict
Aryeh Gregor [Fri, 13 Oct 2006 07:06:38 +0000 (07:06 +0000)]
(bug 2013) Use numbers instead of em specifications for line-height so that the ratio and not the computed value is inherited.
Aryeh Gregor [Fri, 13 Oct 2006 06:56:47 +0000 (06:56 +0000)]
(bug 3205) Stop right floats from stacking horizontally in non-Monobook skins (also correct clearing behavior for RTL)
Yuri Astrakhan [Fri, 13 Oct 2006 06:13:13 +0000 (06:13 +0000)]
* API: added watchlist module (incomplete)
* API: minor param cleanup
Yuri Astrakhan [Fri, 13 Oct 2006 05:28:28 +0000 (05:28 +0000)]
* API: fixed caching header per jeluf's fix in query.php
Yuri Astrakhan [Fri, 13 Oct 2006 05:21:38 +0000 (05:21 +0000)]
* API: Enabled output caching to allow proper output format in case of an error.
Yuri Astrakhan [Fri, 13 Oct 2006 04:59:14 +0000 (04:59 +0000)]
* API: Added revids parameter.
Jimmy Collins [Thu, 12 Oct 2006 22:53:41 +0000 (22:53 +0000)]
Added Upper Sorbian translation (hsb)
Brion Vibber [Thu, 12 Oct 2006 22:30:56 +0000 (22:30 +0000)]
bump rtl css link
Aryeh Gregor [Thu, 12 Oct 2006 22:02:15 +0000 (22:02 +0000)]
Update Chick, Classic, and Simple to have proper edit section styles, and bump up version numbers on non-Monobook CSS inclusions so that other skins don't have bad cache.
Robert Stojnić [Thu, 12 Oct 2006 21:53:42 +0000 (21:53 +0000)]
Update message for portal, portal-url...
Brion Vibber [Thu, 12 Oct 2006 21:16:16 +0000 (21:16 +0000)]
bump style urls; did someone install the reverted bits, then uninstall them, on the live server?
there's some bad stuff in cache.
Robert Stojnić [Thu, 12 Oct 2006 20:45:49 +0000 (20:45 +0000)]
Fixed bug when $2 is present in the URL.
Rotem Liss [Thu, 12 Oct 2006 13:29:41 +0000 (13:29 +0000)]
Removing the language maintenance scripts checktrans.php, duplicatetrans.php and unusedMessages.php, as they are obsolete and shouldn't be used - checkLanguage.php should be used instead of them, as it checks for more problems, contains much more features, and treats the ignored and optional messages right.
Robert Stojnić [Thu, 12 Oct 2006 10:34:49 +0000 (10:34 +0000)]
Commiting diff -r 16826:16966 of serbianvariants.
Enable engine for aliases like /sr-ec/Article_title
Put variants into google sitemap.
Aryeh Gregor [Thu, 12 Oct 2006 09:02:25 +0000 (09:02 +0000)]
Revert last two commits. Broke wikibits and don't know how to fix it at the moment.
Aryeh Gregor [Thu, 12 Oct 2006 08:15:50 +0000 (08:15 +0000)]
Fix wikibits.js script broken by last commit. That tweaked DOM: editsections are now spans instead of divs and are inside the h# tags, so JavaScript etc. that relies on their being divs will break briefly. However, this is the logical approach, since it will attach the editsection to the header naturally, including auto-centering etc.
Aryeh Gregor [Thu, 12 Oct 2006 08:01:19 +0000 (08:01 +0000)]
* (bug 4525) Move section links down to same level as headings (editsection links are now inside the h# elements)