Aryeh Gregor [Tue, 28 Jul 2009 00:07:03 +0000 (00:07 +0000)]
Comment on limitations of wfExpandUrl
Ariel Glenn [Tue, 28 Jul 2009 00:02:03 +0000 (00:02 +0000)]
linkTrail fix for el noted
Chad Horohoe [Mon, 27 Jul 2009 23:53:23 +0000 (23:53 +0000)]
(bug 9691) Add type parameter to ModifyUITemplate function calls
Ariel Glenn [Mon, 27 Jul 2009 23:51:57 +0000 (23:51 +0000)]
update linkTrail for el, see bug 19949
Chad Horohoe [Mon, 27 Jul 2009 23:42:58 +0000 (23:42 +0000)]
(bug 19392) Favicon, apple-touch-icon links matching the defaults should not be sent
Chad Horohoe [Mon, 27 Jul 2009 23:36:30 +0000 (23:36 +0000)]
$this not $db
Ariel Glenn [Mon, 27 Jul 2009 22:37:48 +0000 (22:37 +0000)]
only write Dbamdinuser and password if they are set
Michael Dale [Mon, 27 Jul 2009 21:52:50 +0000 (21:52 +0000)]
* ( bug 19741 ) Removed all the sample video files in favor of remote URLs
Michael Dale [Mon, 27 Jul 2009 21:32:25 +0000 (21:32 +0000)]
* ignorewarnings fixes
* removed extra debug statement
* supports do_close_session_update for php based requests
Rotem Liss [Mon, 27 Jul 2009 19:50:07 +0000 (19:50 +0000)]
Localization: Reverting overriding changes from BetaWiki.
Alexandre Emsenhuber [Mon, 27 Jul 2009 19:42:24 +0000 (19:42 +0000)]
* (bug 17988) Spaces before [[Category:]] links are no longer ignored
* some code style fixes
Raimond Spekking [Mon, 27 Jul 2009 19:10:00 +0000 (19:10 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-27 18:55 UTC)
Michael Dale [Mon, 27 Jul 2009 19:00:27 +0000 (19:00 +0000)]
* ( bug 19930 ) default to SYNC_DOWNLOAD
Michael Dale [Mon, 27 Jul 2009 18:05:29 +0000 (18:05 +0000)]
some firefogg fixes for target form selection
Andrew Garrett [Mon, 27 Jul 2009 17:57:51 +0000 (17:57 +0000)]
Incremental enabling changes to allow searching of LiquidThreads by page and by thread:
* Add three new hooks, XmlDumpWriterOpenPage, ModifyExportQuery and XmlDumpWriterWriteRevision, to WikiExporter class.
* Hook two of these events to add a DiscussionThreading section to XML dumps, containing the parent, ancestor and discussion page to which a post belongs, if it is indeed a LiquidThreads post (as determined by joining on the thread table).
* Deprecate old calling style for Thread constructor, the $children parameter has been unused for yonks.
Brion Vibber [Mon, 27 Jul 2009 17:53:22 +0000 (17:53 +0000)]
Remove link to old FAQ on Meta (they should be officially consolidated)!, removed extra period at end of link.
Michael Dale [Mon, 27 Jul 2009 15:24:14 +0000 (15:24 +0000)]
* (bug 19932) added do_close_session_update to avoid closing session on synchronous requests
* some upload js cleanup / bug fixes
Alexandre Emsenhuber [Mon, 27 Jul 2009 13:55:50 +0000 (13:55 +0000)]
* (bug 18407, bug 18409) Special:Upload is now listed on Special:Specialpages only if uploads are enabled and the user can access it
As side effect: this means Special:Upload is now displayed as restricted for users having the "upload" right, dunno if we should have some kind of whitelist for special pages accessible to some defined groups
Andrew Garrett [Mon, 27 Jul 2009 10:45:18 +0000 (10:45 +0000)]
Fix for bug 19887, make sure tagfilter form option is "consumed" (whatever that means), prevents old value from being propagated through the form.
Andrew Garrett [Mon, 27 Jul 2009 10:32:18 +0000 (10:32 +0000)]
Allow HTML in message emailnotauthenticated, fixes formatting regression caused by r53173 and bug 19820
Aaron Schulz [Mon, 27 Jul 2009 07:03:36 +0000 (07:03 +0000)]
IPv6 padding cleanup - removed trailing ':'
Aaron Schulz [Mon, 27 Jul 2009 06:08:41 +0000 (06:08 +0000)]
* IPv6 validation check fix for bug 19003
* Made regexps a bit more readable by breaking lines
Michael Dale [Mon, 27 Jul 2009 00:42:26 +0000 (00:42 +0000)]
applies patch from bug 19934
Michael Dale [Mon, 27 Jul 2009 00:28:58 +0000 (00:28 +0000)]
removed session_write_close(); per bug 19932
Michael Dale [Sun, 26 Jul 2009 21:10:05 +0000 (21:10 +0000)]
check for mUpload for in case of mReUPload
Alexandre Emsenhuber [Sun, 26 Jul 2009 20:09:14 +0000 (20:09 +0000)]
* (bug 19479) Show proper error message when unable to connect to PostgreSQL database with username/password in MediaWiki's setup
Roan Kattouw [Sun, 26 Jul 2009 18:24:47 +0000 (18:24 +0000)]
Elaborate docs added in r53753 per CR comment
Aryeh Gregor [Sun, 26 Jul 2009 17:04:22 +0000 (17:04 +0000)]
Don't overload wluser parameter, use new wlowner
Fix for r53703 based on code review by Roan. Also improved error
message and sample documentation slightly.
Chad Horohoe [Sun, 26 Jul 2009 16:57:45 +0000 (16:57 +0000)]
Per bug 19943, improve docs on addExtensionStyle(). It behaves differently depending on what you pass it :)
Philip Tzou [Sun, 26 Jul 2009 15:54:11 +0000 (15:54 +0000)]
Follow up on r46020 and r46489. Improve the $wgContLang->convert() calling procedure on CategoryPage.
Roan Kattouw [Sun, 26 Jul 2009 10:34:03 +0000 (10:34 +0000)]
Fix r53270: drop &returntoquery parameter if empty, and prevent Special:Userlogin from returning to itself, creating very long looplike URLs
Aaron Schulz [Sun, 26 Jul 2009 10:05:50 +0000 (10:05 +0000)]
Add diff links to suppress log for deleted revs too
Alex Shih-Han Lin [Sun, 26 Jul 2009 06:10:28 +0000 (06:10 +0000)]
fix classes description.
Aryeh Gregor [Sun, 26 Jul 2009 04:09:16 +0000 (04:09 +0000)]
Remove obsolete CBT stuff
Chad Horohoe [Sat, 25 Jul 2009 22:11:58 +0000 (22:11 +0000)]
Remove stupid id that makes clean merges impossible and doesn't help anyone
Chad Horohoe [Sat, 25 Jul 2009 20:52:57 +0000 (20:52 +0000)]
Remove suggestion to use svn-revision, it doesn't exist anymore.
Michael Dale [Sat, 25 Jul 2009 20:49:27 +0000 (20:49 +0000)]
removed extra control actions per in video update
Michael Dale [Sat, 25 Jul 2009 20:47:42 +0000 (20:47 +0000)]
fixed title restore after cancel edit in add-media-wizard
Alexandre Emsenhuber [Sat, 25 Jul 2009 20:11:01 +0000 (20:11 +0000)]
* (bug 18799) Special:Userlogin now handles correctly the returnto parameter to not link back to Special:Userlogout when user's language isn't the same as content's language
Michael Dale [Sat, 25 Jul 2009 20:05:56 +0000 (20:05 +0000)]
set local wiki to default in add media
Jack Phoenix [Sat, 25 Jul 2009 20:05:41 +0000 (20:05 +0000)]
coding style tweaks
Alexandre Emsenhuber [Sat, 25 Jul 2009 19:36:14 +0000 (19:36 +0000)]
* (bug 19301) Duplicates entries in $wgAddGroups, $wgRemoveGroups, $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf are no more displayed on Special:ListGroupRights
Roan Kattouw [Sat, 25 Jul 2009 18:29:13 +0000 (18:29 +0000)]
Followup to r53702: document $extradata parameter
Rotem Liss [Sat, 25 Jul 2009 17:32:29 +0000 (17:32 +0000)]
Localization update.
Chad Horohoe [Sat, 25 Jul 2009 14:28:53 +0000 (14:28 +0000)]
(bug 10812) Interwiki links can have names and descriptions, fetched from message 'interwiki-desc-PREFIX', not really used anywhere yet though
Shinjiman [Sat, 25 Jul 2009 07:23:03 +0000 (07:23 +0000)]
Tweak to use lowercase on other cases, which follows r53720 and r53722.
Michael Dale [Sat, 25 Jul 2009 03:25:01 +0000 (03:25 +0000)]
* updates for strict compliance mode chunk uploading
* fixes for firefogg multiple forms on the special upload page.
Chad Horohoe [Sat, 25 Jul 2009 00:27:56 +0000 (00:27 +0000)]
Make $headers protected and declare it as an empty array.
Alex Z [Sat, 25 Jul 2009 00:19:36 +0000 (00:19 +0000)]
Fix a couple notices/strict warnings
Chad Horohoe [Sat, 25 Jul 2009 00:17:21 +0000 (00:17 +0000)]
;
Chad Horohoe [Sat, 25 Jul 2009 00:16:00 +0000 (00:16 +0000)]
Forgot to declare $mFixMagicQuotes.
Chad Horohoe [Sat, 25 Jul 2009 00:14:34 +0000 (00:14 +0000)]
Declare visibility on almost all of these, minor code style tweaks.
Chad Horohoe [Sat, 25 Jul 2009 00:07:35 +0000 (00:07 +0000)]
(bug 19914) ApiUpload needs to use write mode.
Michael Dale [Fri, 24 Jul 2009 22:50:20 +0000 (22:50 +0000)]
depreciated mwAddOnloadHook in favor of js2AddOnloadHook naming
minor add Media Wizard updates (bug 19863)
Brion Vibber [Fri, 24 Jul 2009 22:15:23 +0000 (22:15 +0000)]
64-bit host compatibility for hash function in pure-PHP implementation of CDB reader/writer.
This fixes the problem where localization cache files generated under command-line and web were incompatible on Mac OS X when using $wgCacheDirectory instead of l10n_cache table in database.
(Apple ships a 64-bit Apache+mod_php but only a 32-bit CLI php binary, and neither has the cda extension present by default.)
Confirmed hash compatibility with native cda extension by running Tim's maintenance/cdb-test.php on 32-bit and 64-bit Ubuntu installs:
32 bit before patch:
brion@bribuntu:~/src/phase3$ php maintenance/cdb-test.php
Write test...
e5d9cbbcd0137b281da400bb213820fa php.cdb
e5d9cbbcd0137b281da400bb213820fa dba.cdb
Read test...
Done.
32-bit after patch:
brion@bribuntu:~/src/phase3$ php maintenance/cdb-test.php
Write test...
84108f6dab5c34823333169ca05eb5c3 php.cdb
84108f6dab5c34823333169ca05eb5c3 dba.cdb
Read test...
Done.
brion@bribuntu:~/src/phase3$
64-bit before patch:
brion@bribuntu64:~/src/phase3$ php maintenance/cdb-test.php
Write test...
188d06832d321b20e88e9d0200242efc php.cdb
14e0225466464003d21496204f12d20c dba.cdb <- note mismatch!
Read test...
Done.
64-bit after patch:
brion@bribuntu64:~/src/phase3$ php maintenance/cdb-test.php
Write test...
d244a877c9639e27c79aa1bdbcaee3c2 php.cdb
d244a877c9639e27c79aa1bdbcaee3c2 dba.cdb <- now matches!
Read test...
Done.
YESSSS
Niklas Laxström [Fri, 24 Jul 2009 20:12:44 +0000 (20:12 +0000)]
Deprecate broken accessor and add a new one
Brion Vibber [Fri, 24 Jul 2009 20:01:23 +0000 (20:01 +0000)]
* (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set
Shinjiman [Fri, 24 Jul 2009 19:42:56 +0000 (19:42 +0000)]
fix another typo on documentation :P
Brion Vibber [Fri, 24 Jul 2009 19:18:05 +0000 (19:18 +0000)]
Check in Tim's test script for PHP implementation of CDB class while we track down the bugs w/ 64-bit vs 32-bit cross-compat.
Shinjiman [Fri, 24 Jul 2009 18:35:09 +0000 (18:35 +0000)]
fix E_NOTICE on r53720 and r53721.
Shinjiman [Fri, 24 Jul 2009 17:51:44 +0000 (17:51 +0000)]
fix typo on documentation
Shinjiman [Fri, 24 Jul 2009 17:41:01 +0000 (17:41 +0000)]
Tweak the language code display more comply with the BCP 47 standards, using a new global function wfBCP47().
Raimond Spekking [Fri, 24 Jul 2009 15:53:09 +0000 (15:53 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-24 15:19 UTC)
Shinjiman [Fri, 24 Jul 2009 15:46:57 +0000 (15:46 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Niklas Laxström [Fri, 24 Jul 2009 13:35:24 +0000 (13:35 +0000)]
PHP is so nice to not touch our input data ever (magic_quotes anyone?), except sometimes: us2.php.net/variables.external#language.variables.external.dot-in-names
Work around PHP *feature* to avoid *bugs* elsewhere.
Aaron Schulz [Fri, 24 Jul 2009 12:21:41 +0000 (12:21 +0000)]
(bug 19905) Clean up revdelete/restore interaction
Aaron Schulz [Fri, 24 Jul 2009 12:08:06 +0000 (12:08 +0000)]
5.3 reference error fix
Robert Stojnić [Fri, 24 Jul 2009 11:12:09 +0000 (11:12 +0000)]
Properly escape the search term here.
Niklas Laxström [Fri, 24 Jul 2009 11:06:27 +0000 (11:06 +0000)]
* Don't add 200 extra css/js requests when showing 100 diffs
* Allow suppressing "line 1" from the diffs, which can get quite annoying with many diffs
Aaron Schulz [Fri, 24 Jul 2009 10:32:17 +0000 (10:32 +0000)]
undefined variable error fix
Aaron Schulz [Fri, 24 Jul 2009 09:22:51 +0000 (09:22 +0000)]
Avoid some silly unlink notices
Raimond Spekking [Fri, 24 Jul 2009 08:09:17 +0000 (08:09 +0000)]
Fix a regression from the preference rewrite: The help messages for maximum values were lost.
Tweak 'en' messages: Remove () for consistency with other help messages
Shinjiman [Fri, 24 Jul 2009 05:10:42 +0000 (05:10 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Alex Shih-Han Lin [Fri, 24 Jul 2009 01:37:00 +0000 (01:37 +0000)]
fix namespaces target
Alex Shih-Han Lin [Fri, 24 Jul 2009 01:25:27 +0000 (01:25 +0000)]
eol-style
Aryeh Gregor [Fri, 24 Jul 2009 01:22:06 +0000 (01:22 +0000)]
Add opt-in RSS feed for watchlist
Authentication is via a token entered in preferences, if not blank. If
you set a token in your preferences, the following sort of link will
generate the RSS feed:
api.php?action=feedwatchlist&list=watchlist&wluser=Simetrical&wltoken=
91c1ef18279f9c24ccf67a79e899ae4d2a3201bc
I haven't actually added the <link> tag to Special:Watchlist, since I've
done enough coding for one night. Someone else can feel free to do
that (otherwise people might get kind of confused :) ).
An auto-generated random token is suggested to the user on the pref page
so that they don't have to be too creative. Pref help text is rather
underemphasized in the default style, though.
It would be worth considering making this opt-out instead of opt-in,
but that would require some voodoo magic to get the default prefs to
work right (since we'd need a different value for each user). We might
set the default to some function of user id + secret site-specific value
to avoid having to store the values in the database.
Since the feature is implemented via the API, it only works if the API
is enabled. Some API people might want to review my code for sanity.
Bug: 471
Aryeh Gregor [Thu, 23 Jul 2009 23:50:04 +0000 (23:50 +0000)]
Better documentation for dieUsage()
If I got it wrong, please improve.
Michael Dale [Thu, 23 Jul 2009 21:28:54 +0000 (21:28 +0000)]
fixes bug 19736
If you did not have the wgServer var set manually the internal shell request for the download would result in localhost being used for the API result url.
Alexandre Emsenhuber [Thu, 23 Jul 2009 20:18:34 +0000 (20:18 +0000)]
* (bug 16009) Limit selection forms based on Pager now links to the correct page when using long urls
Alexandre Emsenhuber [Thu, 23 Jul 2009 19:39:37 +0000 (19:39 +0000)]
* (bug 19900) The "listgrouprights-key" message is now wrapped in a div with class "mw-listgrouprights-key"
Alexandre Emsenhuber [Thu, 23 Jul 2009 18:00:32 +0000 (18:00 +0000)]
Apply ^demon's patch. Reason was: fixes mismatched <tbody> issue from when child did not implement TablePager's getStartBody() with a trailing <tbody> Also adds <thead> around header rows, like parent does.
Alexandre Emsenhuber [Thu, 23 Jul 2009 17:14:07 +0000 (17:14 +0000)]
* fix doxygen warnings
* fix wfReportTime()'s identation
Alex Shih-Han Lin [Thu, 23 Jul 2009 16:25:31 +0000 (16:25 +0000)]
+Add BrokenRedirects and DoubleRedirects API script for bot development.
Robert Leverington [Thu, 23 Jul 2009 11:08:24 +0000 (11:08 +0000)]
* Add release note for r53618.
Remember the dot [Thu, 23 Jul 2009 03:01:02 +0000 (03:01 +0000)]
Enabled use of the greater-than sign (">") in page titles. There is actually no reason for this character to be restricted because it does not interfere with wiki syntax or HTML tags. This will have immediate applications for articles such as "M>Tram", ">play", "The Videos 86>98", "Tour 00 >> 01 Macabre", and "I>Télé", as well as redirects for "Inequality" and "Bitwise operation".
Michael Dale [Thu, 23 Jul 2009 02:09:56 +0000 (02:09 +0000)]
* Sequencer render updates
** created class/file mvFirefoggRender.js
Chad Horohoe [Thu, 23 Jul 2009 00:31:37 +0000 (00:31 +0000)]
* (bug 14201) Set $wgDBadminuser/$wgDBadminpassword during setup
* (bug 18768) Remove AdminSettings requirements. Maintenance environment will still load it if it exists, but it's not required for anything
Siebrand Mazeland [Wed, 22 Jul 2009 23:23:12 +0000 (23:23 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-22 23:12 UTC)
Alex Z [Wed, 22 Jul 2009 20:09:23 +0000 (20:09 +0000)]
(bug 16877) When moving a page over a redirect, delete the creation entry for the redirect from the recentchanges table
Alexandre Emsenhuber [Wed, 22 Jul 2009 19:42:02 +0000 (19:42 +0000)]
* no need to pass "$asyncdownload = false", this is not python :)
* added new line at the end of wfDebug() call
* change ereg(i) to preg_match, the former is deprecated since PHP 5.3
Shinjiman [Wed, 22 Jul 2009 13:31:04 +0000 (13:31 +0000)]
(bug 19876) remove the obsolete namespace names into aliases for zh-tw
Alexandre Emsenhuber [Wed, 22 Jul 2009 10:34:15 +0000 (10:34 +0000)]
* (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks target page
* also copy ar_page_id, ar_len and ar_deleted fields when deleting a revision
Aaron Schulz [Wed, 22 Jul 2009 04:53:59 +0000 (04:53 +0000)]
Fixed php 5.3 reference error
Tim Starling [Wed, 22 Jul 2009 04:03:46 +0000 (04:03 +0000)]
(bug 19574) LocalisationCache gets confused when external code deletes its store after it does its cache freshness check. Fix by reinitialising the cache after the DB setup.
Brion Vibber [Tue, 21 Jul 2009 23:20:00 +0000 (23:20 +0000)]
Add experimental support for a total hit count in the MySQL search engine.
Disabled by default as it's a bit flaky when you combine title and page content results... also might be slow on larger sites. :)
Good for local UI testing to confirm that the search count totals work in the search UI/API though!
/**
* Set to true to have the default MySQL search engine count total
* search matches to present in the Special:Search UI.
*
* This could however be slow on larger wikis, and is pretty flaky
* with the current title vs content split. Recommend avoiding until
* that's been worked out cleanly; but this may aid in testing the
* search UI and API to confirm that the result count works.
*/
$wgSearchMySQLTotalHits = false;
Trevor Parscal [Tue, 21 Jul 2009 22:54:45 +0000 (22:54 +0000)]
Solves bug #19514.
Trevor Parscal [Tue, 21 Jul 2009 22:44:16 +0000 (22:44 +0000)]
Solves bug #19567 by applying the bottom margin to the child p or div tag, making it possible to have the #siteNotice div always present and the notice content hidden, without adding the extra space.
Trevor Parscal [Tue, 21 Jul 2009 22:23:26 +0000 (22:23 +0000)]
Fixes bug #19866
Trevor Parscal [Tue, 21 Jul 2009 22:03:31 +0000 (22:03 +0000)]
Fixed text wrapping problem, which was being solved in langues with spaces between words by changing them to (dirty hack) but was not fixed in languages without them such as Chinese. This does it with CSS (how it should have been done originally).
Alexandre Emsenhuber [Tue, 21 Jul 2009 20:32:41 +0000 (20:32 +0000)]
remove debugging code *stab*