lhc/web/wiklou.git
14 years agoLocalization update.
Rotem Liss [Tue, 28 Jul 2009 20:30:44 +0000 (20:30 +0000)]
Localization update.

14 years agoPer Simetrical's comment on r53832: only trim if there're newlines
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

14 years agoFollow-up r53874: Add colon for consistency with other labels
Raimond Spekking [Tue, 28 Jul 2009 18:31:23 +0000 (18:31 +0000)]
Follow-up r53874: Add colon for consistency with other labels

14 years agoFollow-up r53874: Add section header for maintenance scripts
Raimond Spekking [Tue, 28 Jul 2009 18:22:56 +0000 (18:22 +0000)]
Follow-up r53874: Add section header for maintenance scripts

14 years agoFollow-up r53873: Make new message optional for translatewiki
Raimond Spekking [Tue, 28 Jul 2009 17:54:56 +0000 (17:54 +0000)]
Follow-up r53873: Make new message optional for translatewiki

14 years agoimproved upload api documentation
Michael Dale [Tue, 28 Jul 2009 17:52:09 +0000 (17:52 +0000)]
improved upload api documentation

14 years agochecking for session_id() was preventing updates (just put a @ infront to ignore...
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 )

14 years ago* Fix for r53874, missing file
Niklas Laxström [Tue, 28 Jul 2009 17:32:26 +0000 (17:32 +0000)]
* Fix for r53874, missing file

14 years ago* ( bug 19932 ) simpleFileWriter::close was still issuing a update_session_progress...
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

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Tue, 28 Jul 2009 16:48:22 +0000 (16:48 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoRevert apparent typos from r53873
Aryeh Gregor [Tue, 28 Jul 2009 16:37:31 +0000 (16:37 +0000)]
Revert apparent typos from r53873

14 years agoI'm being bold here, proposed solution to:
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)

14 years ago* (bug 14454) "Member of group(s)" in Special:Preferences causes language difficulties
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

14 years agocode formatting
Aaron Schulz [Tue, 28 Jul 2009 11:11:46 +0000 (11:11 +0000)]
code formatting

14 years agoSkip feed items with deleted content entirely, fixes bug 19965
Aaron Schulz [Tue, 28 Jul 2009 10:05:14 +0000 (10:05 +0000)]
Skip feed items with deleted content entirely, fixes bug 19965

14 years agoFollowup to r53844, move to correct section and use common style
Niklas Laxström [Tue, 28 Jul 2009 07:07:33 +0000 (07:07 +0000)]
Followup to r53844, move to correct section and use common style

14 years agoAdd u to regex modifiers since we are dealing with unicode. Followup to r53842
Niklas Laxström [Tue, 28 Jul 2009 07:04:17 +0000 (07:04 +0000)]
Add u to regex modifiers since we are dealing with unicode. Followup to r53842

14 years ago* formatSize is not static
Niklas Laxström [Tue, 28 Jul 2009 06:54:07 +0000 (06:54 +0000)]
* formatSize is not static
* isset returns bool

14 years agoAdd tips to Linux distributors to docs/
Aryeh Gregor [Tue, 28 Jul 2009 03:18:54 +0000 (03:18 +0000)]
Add tips to Linux distributors to docs/

After some discussion with Fedora's mediawiki maintainer, I thought this
would be helpful.  Probably it could use improvement in a variety of
ways, but it's a start.

14 years agoMade search icon flip in RTL.
Trevor Parscal [Tue, 28 Jul 2009 00:09:03 +0000 (00:09 +0000)]
Made search icon flip in RTL.

14 years agoComment on limitations of wfExpandUrl
Aryeh Gregor [Tue, 28 Jul 2009 00:07:03 +0000 (00:07 +0000)]
Comment on limitations of wfExpandUrl

14 years agolinkTrail fix for el noted
Ariel Glenn [Tue, 28 Jul 2009 00:02:03 +0000 (00:02 +0000)]
linkTrail fix for el noted

14 years ago(bug 9691) Add type parameter to ModifyUITemplate function calls
Chad Horohoe [Mon, 27 Jul 2009 23:53:23 +0000 (23:53 +0000)]
(bug 9691) Add type parameter to ModifyUITemplate function calls

14 years agoupdate linkTrail for el, see bug 19949
Ariel Glenn [Mon, 27 Jul 2009 23:51:57 +0000 (23:51 +0000)]
update linkTrail for el, see bug 19949

14 years ago(bug 19392) Favicon, apple-touch-icon links matching the defaults should not be sent
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

14 years ago$this not $db
Chad Horohoe [Mon, 27 Jul 2009 23:36:30 +0000 (23:36 +0000)]
$this not $db

14 years agoonly write Dbamdinuser and password if they are set
Ariel Glenn [Mon, 27 Jul 2009 22:37:48 +0000 (22:37 +0000)]
only write Dbamdinuser and password if they are set

14 years ago* ( bug 19741 ) Removed all the sample video files in favor of remote URLs
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

14 years ago* ignorewarnings fixes
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

14 years agoLocalization: Reverting overriding changes from BetaWiki.
Rotem Liss [Mon, 27 Jul 2009 19:50:07 +0000 (19:50 +0000)]
Localization: Reverting overriding changes from BetaWiki.

14 years ago* (bug 17988) Spaces before [[Category:]] links are no longer ignored
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

14 years agoLocalisation updates for core messages from translatewiki.net (2009-07-27 18:55 UTC)
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)

14 years ago* ( bug 19930 ) default to SYNC_DOWNLOAD
Michael Dale [Mon, 27 Jul 2009 19:00:27 +0000 (19:00 +0000)]
* ( bug 19930 ) default to SYNC_DOWNLOAD

14 years agosome firefogg fixes for target form selection
Michael Dale [Mon, 27 Jul 2009 18:05:29 +0000 (18:05 +0000)]
some firefogg fixes for target form selection

14 years agoIncremental enabling changes to allow searching of LiquidThreads by page and by thread:
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.

14 years agoRemove link to old FAQ on Meta (they should be officially consolidated)!, removed...
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.

14 years ago* (bug 19932) added do_close_session_update to avoid closing session on synchronous...
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

14 years ago* (bug 18407, bug 18409) Special:Upload is now listed on Special:Specialpages only...
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

14 years agoFix for bug 19887, make sure tagfilter form option is "consumed" (whatever that means...
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.

14 years agoAllow HTML in message emailnotauthenticated, fixes formatting regression caused by...
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

14 years agoIPv6 padding cleanup - removed trailing ':'
Aaron Schulz [Mon, 27 Jul 2009 07:03:36 +0000 (07:03 +0000)]
IPv6 padding cleanup - removed trailing ':'

14 years ago* IPv6 validation check fix for bug 19003
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

14 years agoapplies patch from bug 19934
Michael Dale [Mon, 27 Jul 2009 00:42:26 +0000 (00:42 +0000)]
applies patch from bug 19934

14 years agoremoved session_write_close(); per bug 19932
Michael Dale [Mon, 27 Jul 2009 00:28:58 +0000 (00:28 +0000)]
removed session_write_close(); per bug 19932

14 years agocheck for mUpload for in case of mReUPload
Michael Dale [Sun, 26 Jul 2009 21:10:05 +0000 (21:10 +0000)]
check for mUpload for in case of mReUPload

14 years ago* (bug 19479) Show proper error message when unable to connect to PostgreSQL database...
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

14 years agoElaborate docs added in r53753 per CR comment
Roan Kattouw [Sun, 26 Jul 2009 18:24:47 +0000 (18:24 +0000)]
Elaborate docs added in r53753 per CR comment

14 years agoDon't overload wluser parameter, use new wlowner
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.

14 years agoPer bug 19943, improve docs on addExtensionStyle(). It behaves differently depending...
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 :)

14 years agoFollow up on r46020 and r46489. Improve the $wgContLang->convert() calling procedure...
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.

14 years agoFix r53270: drop &returntoquery parameter if empty, and prevent Special:Userlogin...
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

14 years agoAdd diff links to suppress log for deleted revs too
Aaron Schulz [Sun, 26 Jul 2009 10:05:50 +0000 (10:05 +0000)]
Add diff links to suppress log for deleted revs too

14 years agofix classes description.
Alex Shih-Han Lin [Sun, 26 Jul 2009 06:10:28 +0000 (06:10 +0000)]
fix classes description.

14 years agoRemove obsolete CBT stuff
Aryeh Gregor [Sun, 26 Jul 2009 04:09:16 +0000 (04:09 +0000)]
Remove obsolete CBT stuff

14 years agoRemove stupid id that makes clean merges impossible and doesn't help anyone
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

14 years agoRemove suggestion to use svn-revision, it doesn't exist anymore.
Chad Horohoe [Sat, 25 Jul 2009 20:52:57 +0000 (20:52 +0000)]
Remove suggestion to use svn-revision, it doesn't exist anymore.

14 years agoremoved extra control actions per in video update
Michael Dale [Sat, 25 Jul 2009 20:49:27 +0000 (20:49 +0000)]
removed extra control actions per in video update

14 years agofixed title restore after cancel edit in add-media-wizard
Michael Dale [Sat, 25 Jul 2009 20:47:42 +0000 (20:47 +0000)]
fixed title restore after cancel edit in add-media-wizard

14 years ago* (bug 18799) Special:Userlogin now handles correctly the returnto parameter to not...
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

14 years agoset local wiki to default in add media
Michael Dale [Sat, 25 Jul 2009 20:05:56 +0000 (20:05 +0000)]
set local wiki to default in add media

14 years agocoding style tweaks
Jack Phoenix [Sat, 25 Jul 2009 20:05:41 +0000 (20:05 +0000)]
coding style tweaks

14 years ago* (bug 19301) Duplicates entries in $wgAddGroups, $wgRemoveGroups, $wgGroupsAddToSelf...
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

14 years agoFollowup to r53702: document $extradata parameter
Roan Kattouw [Sat, 25 Jul 2009 18:29:13 +0000 (18:29 +0000)]
Followup to r53702: document $extradata parameter

14 years agoLocalization update.
Rotem Liss [Sat, 25 Jul 2009 17:32:29 +0000 (17:32 +0000)]
Localization update.

14 years ago(bug 10812) Interwiki links can have names and descriptions, fetched from message...
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

14 years agoTweak to use lowercase on other cases, which follows r53720 and r53722.
Shinjiman [Sat, 25 Jul 2009 07:23:03 +0000 (07:23 +0000)]
Tweak to use lowercase on other cases, which follows r53720 and r53722.

14 years ago* updates for strict compliance mode chunk uploading
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.

14 years agoMake $headers protected and declare it as an empty array.
Chad Horohoe [Sat, 25 Jul 2009 00:27:56 +0000 (00:27 +0000)]
Make $headers protected and declare it as an empty array.

14 years agoFix a couple notices/strict warnings
Alex Z [Sat, 25 Jul 2009 00:19:36 +0000 (00:19 +0000)]
Fix a couple notices/strict warnings

14 years ago;
Chad Horohoe [Sat, 25 Jul 2009 00:17:21 +0000 (00:17 +0000)]
;

14 years agoForgot to declare $mFixMagicQuotes.
Chad Horohoe [Sat, 25 Jul 2009 00:16:00 +0000 (00:16 +0000)]
Forgot to declare $mFixMagicQuotes.

14 years agoDeclare visibility on almost all of these, minor code style tweaks.
Chad Horohoe [Sat, 25 Jul 2009 00:14:34 +0000 (00:14 +0000)]
Declare visibility on almost all of these, minor code style tweaks.

14 years ago(bug 19914) ApiUpload needs to use write mode.
Chad Horohoe [Sat, 25 Jul 2009 00:07:35 +0000 (00:07 +0000)]
(bug 19914) ApiUpload needs to use write mode.

14 years agodepreciated mwAddOnloadHook in favor of js2AddOnloadHook naming
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)

14 years ago64-bit host compatibility for hash function in pure-PHP implementation of CDB reader...
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

14 years agoDeprecate broken accessor and add a new one
Niklas Laxström [Fri, 24 Jul 2009 20:12:44 +0000 (20:12 +0000)]
Deprecate broken accessor and add a new one

14 years ago* (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set
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

14 years agofix another typo on documentation :P
Shinjiman [Fri, 24 Jul 2009 19:42:56 +0000 (19:42 +0000)]
fix another typo on documentation :P

14 years agoCheck in Tim's test script for PHP implementation of CDB class while we track down...
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.

14 years agofix E_NOTICE on r53720 and r53721.
Shinjiman [Fri, 24 Jul 2009 18:35:09 +0000 (18:35 +0000)]
fix E_NOTICE on r53720 and r53721.

14 years agofix typo on documentation
Shinjiman [Fri, 24 Jul 2009 17:51:44 +0000 (17:51 +0000)]
fix typo on documentation

14 years agoTweak the language code display more comply with the BCP 47 standards, using a new...
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().

14 years agoLocalisation updates for core messages from translatewiki.net (2009-07-24 15:19 UTC)
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)

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Fri, 24 Jul 2009 15:46:57 +0000 (15:46 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoPHP is so nice to not touch our input data ever (magic_quotes anyone?), except someti...
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.

14 years ago(bug 19905) Clean up revdelete/restore interaction
Aaron Schulz [Fri, 24 Jul 2009 12:21:41 +0000 (12:21 +0000)]
(bug 19905) Clean up revdelete/restore interaction

14 years ago5.3 reference error fix
Aaron Schulz [Fri, 24 Jul 2009 12:08:06 +0000 (12:08 +0000)]
5.3 reference error fix

14 years agoProperly escape the search term here.
Robert Stojnić [Fri, 24 Jul 2009 11:12:09 +0000 (11:12 +0000)]
Properly escape the search term here.

14 years ago* Don't add 200 extra css/js requests when showing 100 diffs
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

14 years agoundefined variable error fix
Aaron Schulz [Fri, 24 Jul 2009 10:32:17 +0000 (10:32 +0000)]
undefined variable error fix

14 years agoAvoid some silly unlink notices
Aaron Schulz [Fri, 24 Jul 2009 09:22:51 +0000 (09:22 +0000)]
Avoid some silly unlink notices

14 years agoFix a regression from the preference rewrite: The help messages for maximum values...
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

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Fri, 24 Jul 2009 05:10:42 +0000 (05:10 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agofix namespaces target
Alex Shih-Han Lin [Fri, 24 Jul 2009 01:37:00 +0000 (01:37 +0000)]
fix namespaces target

14 years agoeol-style
Alex Shih-Han Lin [Fri, 24 Jul 2009 01:25:27 +0000 (01:25 +0000)]
eol-style

14 years agoAdd opt-in RSS feed for watchlist
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

14 years agoBetter documentation for dieUsage()
Aryeh Gregor [Thu, 23 Jul 2009 23:50:04 +0000 (23:50 +0000)]
Better documentation for dieUsage()

If I got it wrong, please improve.

14 years agofixes bug 19736
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.

14 years ago* (bug 16009) Limit selection forms based on Pager now links to the correct page...
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

14 years ago* (bug 19900) The "listgrouprights-key" message is now wrapped in a div with class...
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"