lhc/web/wiklou.git
16 years agoAjax suggestions:
Robert Stojnić [Tue, 15 Apr 2008 23:06:28 +0000 (23:06 +0000)]
Ajax suggestions:
* check in a new ajax suggestion engine (mwsuggest.js) which uses
  OpenSearch to fetch results (by default via API), this should
  deprecated the old ajaxsearch thingy
* extend PrefixSearchBackend hook to accept multiple namespaces for
  future lucene use (default implementation however can still
  process only one)
* Added to preferences, also a feature to turn it on/off for every
  input (disabled atm until I work out browser issues completely)
* WMF wikis probably won't be using API to fetch results, but a
  custom php wrapper that just forwards the request to appropriate
  lucene daemon, added support for that

SpecialSearch:
* moved stuff out of SpecialSearch to SearchEngine, like snippet
  highlighting and such
* support for additional interwiki results, e.g. title matches
  from other projects shown in a separate box on the right
* todo: interwiki box doesn't have standard prev/next links to
  avoid clutter and unintuitive interface
* support for related articles

16 years agoReturn false if nothing changed
Aaron Schulz [Tue, 15 Apr 2008 23:03:41 +0000 (23:03 +0000)]
Return false if nothing changed

16 years agoloadAllMessages to ensure that all localizations for group names defined by extension...
Raimond Spekking [Tue, 15 Apr 2008 22:17:15 +0000 (22:17 +0000)]
loadAllMessages to ensure that all localizations for group names defined by extensions are loaded.

16 years agoMake --links work for output=wiki too
Siebrand Mazeland [Tue, 15 Apr 2008 22:00:27 +0000 (22:00 +0000)]
Make --links work for output=wiki too

16 years agoGroup all logs in ERC, not an arbitrary subset
Brion Vibber [Tue, 15 Apr 2008 21:39:33 +0000 (21:39 +0000)]
Group all logs in ERC, not an arbitrary subset

16 years agoDisable plural checks for xmf
Siebrand Mazeland [Tue, 15 Apr 2008 21:15:40 +0000 (21:15 +0000)]
Disable plural checks for xmf

16 years agoAdding CSS class for nested <fieldset>s. Nesting fieldsets used to cause a huge amoun...
Roan Kattouw [Tue, 15 Apr 2008 20:44:10 +0000 (20:44 +0000)]
Adding CSS class for nested <fieldset>s. Nesting fieldsets used to cause a huge amount of whitespace between the parent and the child fieldset, this commit adds a class that circumvents this.

16 years agoTweaks for Special:Newpages:
Alexandre Emsenhuber [Tue, 15 Apr 2008 20:42:42 +0000 (20:42 +0000)]
Tweaks for Special:Newpages:
* (bug 13756) Don't show the form and navigation links if the page is included
* Readded options overriding with $par, useful when the page is included
* Override limit and offset in pager so that they are also modified if they are specified in $par (when page is included)
* Force NewPagesPager::getTitle() to return the title object of Special:Newpages even if included, navigation bar was linking to the included page, wich might not a very good idea sometimes
* Fix some whitespaces

16 years agoRevert r33378 -- class spam
Brion Vibber [Tue, 15 Apr 2008 19:06:10 +0000 (19:06 +0000)]
Revert r33378 -- class spam

16 years ago* (bug 13725) Upload form watch checkbox state set correctly with wpDestFile
Brion Vibber [Tue, 15 Apr 2008 19:02:12 +0000 (19:02 +0000)]
* (bug 13725) Upload form watch checkbox state set correctly with wpDestFile

r33330 just disabled the check for wpDestFile, so that the 'watch pages i create'
setting would watch *all* uploads. The system now checks the actual value, so
it sets the watch checkbox if the requested file doesn't exist locally and you
have it set for creations, or if you've already got the file watched.

There are still some minor issues:
* Since you have the chance to change the target filename on the form, the
  initial checkbox state can get out of sync if you switch from an empty file
  to an existing file or vice-versa.
* Unlike the edit form, the upload form doesn't _unwatch_ a previously-watched
  page when the box is unchecked.

16 years agoLocalisation updates for core messages from Betawiki (2008-04-15 20:27 CEST)
Siebrand Mazeland [Tue, 15 Apr 2008 18:38:26 +0000 (18:38 +0000)]
Localisation updates for core messages from Betawiki (2008-04-15 20:27 CEST)

16 years ago(bug 13745) Fix regression from r33133 by changing INSERT to REPLACE
Roan Kattouw [Tue, 15 Apr 2008 18:32:48 +0000 (18:32 +0000)]
(bug 13745) Fix regression from r33133 by changing INSERT to REPLACE

16 years agoRevert some chunks of r33133 and r33375:
Brion Vibber [Tue, 15 Apr 2008 18:11:28 +0000 (18:11 +0000)]
Revert some chunks of r33133 and r33375:
* Let followRedirect() *always* work correctly by working from the article text.
* This ensures that we're not falsely looking up data from another version and that we're not missing interwik and fragment data.

Should clean up both bug 13754 (editing old version of redirect sometimes gives the target page text)
and bug 13752 (bugs with fragments and probably interwikis in redirect target).

Haven't been able to repro 13754 at home though, so we'll see.

16 years agovalign='top'
Aaron Schulz [Tue, 15 Apr 2008 17:57:32 +0000 (17:57 +0000)]
valign='top'

16 years agoAdd class to non-content links
Aaron Schulz [Tue, 15 Apr 2008 17:54:02 +0000 (17:54 +0000)]
Add class to non-content links

16 years ago* Adding/updating Persian translations
Huji [Tue, 15 Apr 2008 17:46:48 +0000 (17:46 +0000)]
* Adding/updating Persian translations

16 years agoTemporarily remove the username option.
Brion Vibber [Tue, 15 Apr 2008 17:33:17 +0000 (17:33 +0000)]
Temporarily remove the username option.
The index is missing on some wikis, and it seems a little funky to begin with.

16 years ago(bug 13752) Section redirects now works again
Alexandre Emsenhuber [Tue, 15 Apr 2008 17:32:23 +0000 (17:32 +0000)]
(bug 13752) Section redirects now works again

16 years agoLocalisation updates German
Raimond Spekking [Tue, 15 Apr 2008 17:29:19 +0000 (17:29 +0000)]
Localisation updates German

16 years agoTemporarily put $wgCookieHttpOnly off while it's evaluated
Brion Vibber [Tue, 15 Apr 2008 17:17:30 +0000 (17:17 +0000)]
Temporarily put $wgCookieHttpOnly off while it's evaluated

16 years ago* Pass directly the title object to OutputPage::returnToMain() so it doesn't need...
Alexandre Emsenhuber [Tue, 15 Apr 2008 16:18:08 +0000 (16:18 +0000)]
* Pass directly the title object to OutputPage::returnToMain() so it doesn't need to be created there
* Added UserArrayFromResult class to AutoLoader, CentralAuth was throwing an error because it couldn't find that class

16 years agoAutoreview null edits too (bug 13733)
Aaron Schulz [Tue, 15 Apr 2008 15:38:08 +0000 (15:38 +0000)]
Autoreview null edits too (bug 13733)

16 years agoDocument newly added hooks
Alexandre Emsenhuber [Tue, 15 Apr 2008 15:37:02 +0000 (15:37 +0000)]
Document newly added hooks

16 years agoLocalisation updates for core from Betawiki
Siebrand Mazeland [Tue, 15 Apr 2008 15:17:52 +0000 (15:17 +0000)]
Localisation updates for core from Betawiki
* updates for special page aliases, skin names
* some reformatting

16 years agoAdd a new hook EditPageBeforeEditConflict to allow extensions like FCKeditor to modif...
Aryeh Gregor [Tue, 15 Apr 2008 14:47:04 +0000 (14:47 +0000)]
Add a new hook EditPageBeforeEditConflict to allow extensions like FCKeditor to modify the output for edit conflicts.  By request of moisadoru on IRC for FCKeditor extension issue: dev.fckeditor.net/ticket/1385

16 years agoMake sure to use table prefixes correctly. Thanks to siebrand for reporting the...
Aryeh Gregor [Tue, 15 Apr 2008 14:35:18 +0000 (14:35 +0000)]
Make sure to use table prefixes correctly.  Thanks to siebrand for reporting the bug.

16 years agoIt would have been fun if this went live. :D
Aryeh Gregor [Tue, 15 Apr 2008 14:17:10 +0000 (14:17 +0000)]
It would have been fun if this went live.  :D

16 years agoCould we please have documentation for new config options?
Aryeh Gregor [Tue, 15 Apr 2008 14:06:55 +0000 (14:06 +0000)]
Could we please have documentation for new config options?

16 years agoAdd RELEASE-NOTES for 33269, fix another one.
Aryeh Gregor [Tue, 15 Apr 2008 13:14:44 +0000 (13:14 +0000)]
Add RELEASE-NOTES for 33269, fix another one.

16 years agoLocalize the group names
Raimond Spekking [Tue, 15 Apr 2008 12:54:07 +0000 (12:54 +0000)]
Localize the group names

16 years agoDon't give PHP warnings for PHP<5.2
Andrew Garrett [Tue, 15 Apr 2008 11:55:23 +0000 (11:55 +0000)]
Don't give PHP warnings for PHP<5.2

16 years agoTypo.
Rotem Liss [Tue, 15 Apr 2008 11:07:32 +0000 (11:07 +0000)]
Typo.

16 years agoUpdate
Meno25 [Tue, 15 Apr 2008 11:05:47 +0000 (11:05 +0000)]
Update

16 years agoUpdate.
Rotem Liss [Tue, 15 Apr 2008 11:05:20 +0000 (11:05 +0000)]
Update.

16 years agoAdd a fixed bug from r33197
Raimond Spekking [Tue, 15 Apr 2008 10:36:24 +0000 (10:36 +0000)]
Add a fixed bug from r33197

16 years ago* Add a link to the change protection form for allowed users otherwise a link to...
Raimond Spekking [Tue, 15 Apr 2008 10:26:53 +0000 (10:26 +0000)]
* Add a link to the change protection form for allowed users otherwise a link to the protection log
* Fix double escaping of the hidden field
* Use more XML functions
* Fix a typo in LogEventsList

16 years ago$fallback back to default ('en')
Siebrand Mazeland [Tue, 15 Apr 2008 09:22:21 +0000 (09:22 +0000)]
$fallback back to default ('en')

16 years agoIn User:
Tim Starling [Tue, 15 Apr 2008 09:04:45 +0000 (09:04 +0000)]
In User:
* Defer load of groups data
* Introduce newFromRow()/loadFromRow() to allow bulk loading of user objects from a result set
* Hook email and email authentication save/load to allow CentralAuth to provide a global email address
* Defer save of user data after confirmEmail() and invalidateEmail(). Caller must now also call saveSettings(). This reduces the master query count in some code paths.

Elsewhere:
* Introduce UserArray class, for bulk loading of user objects. Immediately useful in email notification, potentially useful for proposed user alias feature.
* In Special:Confirmemail, remove useless handling for impossible false return from confirmEmail()/invalidateEmail().

16 years agoRevert strange dest check from r17248 (bug 13725)
Aaron Schulz [Tue, 15 Apr 2008 06:23:30 +0000 (06:23 +0000)]
Revert strange dest check from r17248 (bug 13725)

16 years agoClean up log grouping
Aaron Schulz [Tue, 15 Apr 2008 03:55:16 +0000 (03:55 +0000)]
Clean up log grouping

16 years agoTweak
Aaron Schulz [Tue, 15 Apr 2008 03:03:16 +0000 (03:03 +0000)]
Tweak

16 years agoDon't make user lookups slow
Aaron Schulz [Tue, 15 Apr 2008 01:08:04 +0000 (01:08 +0000)]
Don't make user lookups slow

16 years agoonly force one index?
Brion Vibber [Tue, 15 Apr 2008 00:23:06 +0000 (00:23 +0000)]
only force one index?
kinda confused, but domas said :D

16 years agoAllow setting httponly on auth cookies.
Andrew Garrett [Tue, 15 Apr 2008 00:06:32 +0000 (00:06 +0000)]
Allow setting httponly on auth cookies.

16 years agoRevert r33178 -- doesn't actually work.
Brion Vibber [Mon, 14 Apr 2008 21:07:51 +0000 (21:07 +0000)]
Revert r33178 -- doesn't actually work.
Wrong message name, improper spacing, no wrapping.

16 years ago* (bug 13728) Don't trim initial whitespace during section edits
Brion Vibber [Mon, 14 Apr 2008 20:39:00 +0000 (20:39 +0000)]
* (bug 13728) Don't trim initial whitespace during section edits

16 years agoAdd parser test case for bug 13728
Brion Vibber [Mon, 14 Apr 2008 20:27:56 +0000 (20:27 +0000)]
Add parser test case for bug 13728

16 years agoAdd comment
Aaron Schulz [Mon, 14 Apr 2008 19:20:17 +0000 (19:20 +0000)]
Add comment

16 years ago* Adding/updating Persian translations
Huji [Mon, 14 Apr 2008 18:57:15 +0000 (18:57 +0000)]
* Adding/updating Persian translations

16 years agoLocalisation updates German
Raimond Spekking [Mon, 14 Apr 2008 17:44:59 +0000 (17:44 +0000)]
Localisation updates German

16 years agoRemove unused "@package MediaWiki"
Alexandre Emsenhuber [Mon, 14 Apr 2008 17:44:52 +0000 (17:44 +0000)]
Remove unused "@package MediaWiki"

16 years agoTweaks: remove call to empty function LinkCache::clearLink() and don't check if ...
Alexandre Emsenhuber [Mon, 14 Apr 2008 16:41:54 +0000 (16:41 +0000)]
Tweaks: remove call to empty function LinkCache::clearLink() and don't check if $id is an integer as it is set to null just before that.

16 years agoLocalisation updates for core messages from Betawiki (2008-04-14 16:46 CEST)
Siebrand Mazeland [Mon, 14 Apr 2008 16:41:44 +0000 (16:41 +0000)]
Localisation updates for core messages from Betawiki (2008-04-14 16:46 CEST)

16 years ago(bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses
Alexandre Emsenhuber [Mon, 14 Apr 2008 16:16:02 +0000 (16:16 +0000)]
(bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses

16 years agoAllow string names
Aaron Schulz [Mon, 14 Apr 2008 16:04:20 +0000 (16:04 +0000)]
Allow string names

16 years agoLocalisation updates Kazakh
Raimond Spekking [Mon, 14 Apr 2008 16:02:15 +0000 (16:02 +0000)]
Localisation updates Kazakh
Bug 12145, patch by AlefZet

16 years agoUpdate.
Rotem Liss [Mon, 14 Apr 2008 14:57:58 +0000 (14:57 +0000)]
Update.

16 years agoAdd colons for consistency with other input fields.
Raimond Spekking [Mon, 14 Apr 2008 14:17:14 +0000 (14:17 +0000)]
Add colons for consistency with other input fields.

16 years agoLocalisation updates for core messages from Betawiki
Siebrand Mazeland [Mon, 14 Apr 2008 13:39:32 +0000 (13:39 +0000)]
Localisation updates for core messages from Betawiki
* Update special pages/skins/magic for Polish

16 years agoAPI: action=login now returns the correct waiting time in the details property
Roan Kattouw [Mon, 14 Apr 2008 13:27:30 +0000 (13:27 +0000)]
API: action=login now returns the correct waiting time in the details property

16 years agoTweak message
Aaron Schulz [Mon, 14 Apr 2008 12:56:08 +0000 (12:56 +0000)]
Tweak message

16 years agoFix doc
Aaron Schulz [Mon, 14 Apr 2008 12:36:20 +0000 (12:36 +0000)]
Fix doc

16 years ago* remove end of line whitespace
Siebrand Mazeland [Mon, 14 Apr 2008 07:45:50 +0000 (07:45 +0000)]
* remove end of line whitespace
* remove empty lines at end of file
* remove "?>" where still present

16 years ago* Tweak balancing
Niklas Laxström [Mon, 14 Apr 2008 07:14:27 +0000 (07:14 +0000)]
* Tweak balancing

16 years ago* Update Chinese translations
Shinjiman [Mon, 14 Apr 2008 03:56:38 +0000 (03:56 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years agoGah, add a space
Aaron Schulz [Mon, 14 Apr 2008 02:28:51 +0000 (02:28 +0000)]
Gah, add a space

16 years agoForm tweaks
Aaron Schulz [Mon, 14 Apr 2008 02:20:28 +0000 (02:20 +0000)]
Form tweaks

16 years agoDon't delete logs from RC on page delete (bug 13727)
Aaron Schulz [Mon, 14 Apr 2008 01:04:10 +0000 (01:04 +0000)]
Don't delete logs from RC on page delete (bug 13727)

16 years agoClean up title
Aaron Schulz [Sun, 13 Apr 2008 23:49:01 +0000 (23:49 +0000)]
Clean up title

16 years agoBreak here
Aaron Schulz [Sun, 13 Apr 2008 23:34:47 +0000 (23:34 +0000)]
Break here

16 years agoLeave attribute variable
Aaron Schulz [Sun, 13 Apr 2008 21:01:06 +0000 (21:01 +0000)]
Leave attribute variable

16 years agoActually, the new force index clauses kill the old filesort, so I'll give this a...
Aaron Schulz [Sun, 13 Apr 2008 20:56:50 +0000 (20:56 +0000)]
Actually, the new force index clauses kill the old filesort, so I'll give this a chance

16 years ago$wgMiserMode for "all" selector
Aaron Schulz [Sun, 13 Apr 2008 20:25:58 +0000 (20:25 +0000)]
$wgMiserMode for "all" selector

16 years agoBe sure that the text is escaped
Alexandre Emsenhuber [Sun, 13 Apr 2008 20:03:09 +0000 (20:03 +0000)]
Be sure that the text is escaped

16 years agoNo need to check if $row->rev_id is set
Aaron Schulz [Sun, 13 Apr 2008 20:02:50 +0000 (20:02 +0000)]
No need to check if $row->rev_id is set

16 years agoMake newpages uses Pager over rc_timestamp
Aaron Schulz [Sun, 13 Apr 2008 19:57:12 +0000 (19:57 +0000)]
Make newpages uses Pager over rc_timestamp

16 years agoSet fall back language for Banyumasan (map-bms) to Javanese (jv)
Siebrand Mazeland [Sun, 13 Apr 2008 19:26:57 +0000 (19:26 +0000)]
Set fall back language for Banyumasan (map-bms) to Javanese (jv)

16 years ago(bug 13718) Return the proper continue parameter for cmsort=timestamp
Bryan Tong Minh [Sun, 13 Apr 2008 19:17:48 +0000 (19:17 +0000)]
(bug 13718) Return the proper continue parameter for cmsort=timestamp

16 years agoActually, leave usePatrol() stub for b/c
Aaron Schulz [Sun, 13 Apr 2008 17:55:10 +0000 (17:55 +0000)]
Actually, leave usePatrol() stub for b/c

16 years agoBah, renamed these at the last minute
Aaron Schulz [Sun, 13 Apr 2008 17:46:00 +0000 (17:46 +0000)]
Bah, renamed these at the last minute

16 years ago* Move useRCPatrol() to User
Aaron Schulz [Sun, 13 Apr 2008 17:37:41 +0000 (17:37 +0000)]
* Move useRCPatrol() to User
* Add useNPPatrol()

16 years agoUpdate.
Rotem Liss [Sun, 13 Apr 2008 17:34:00 +0000 (17:34 +0000)]
Update.

16 years ago* German localisation updates, patch by raymond.
Leon Weber [Sun, 13 Apr 2008 17:32:46 +0000 (17:32 +0000)]
* German localisation updates, patch by raymond.

16 years agoseek() does nothing here
Aaron Schulz [Sun, 13 Apr 2008 17:14:54 +0000 (17:14 +0000)]
seek() does nothing here

16 years agoadded one profiling point, fixed some profiling blocks
Domas Mituzas [Sun, 13 Apr 2008 16:46:22 +0000 (16:46 +0000)]
added one profiling point, fixed some profiling blocks

16 years agoRemove some English text
Siebrand Mazeland [Sun, 13 Apr 2008 16:36:16 +0000 (16:36 +0000)]
Remove some English text

16 years agoTypo
Aaron Schulz [Sun, 13 Apr 2008 16:28:58 +0000 (16:28 +0000)]
Typo

16 years agoMore tweaks and cleanup
Aaron Schulz [Sun, 13 Apr 2008 16:24:24 +0000 (16:24 +0000)]
More tweaks and cleanup

16 years ago&nbsp;
Aaron Schulz [Sun, 13 Apr 2008 16:18:58 +0000 (16:18 +0000)]
&nbsp;

16 years agoRemove some English text
Siebrand Mazeland [Sun, 13 Apr 2008 16:13:42 +0000 (16:13 +0000)]
Remove some English text

16 years agoAdd 'infef only' option (part of bug 13722)
Aaron Schulz [Sun, 13 Apr 2008 16:07:48 +0000 (16:07 +0000)]
Add 'infef only' option (part of bug 13722)

16 years agoAdd link to watchlist on 'recentchangeslinked-summary'
Siebrand Mazeland [Sun, 13 Apr 2008 16:01:21 +0000 (16:01 +0000)]
Add link to watchlist on 'recentchangeslinked-summary'

16 years agoMark as expensive
Aaron Schulz [Sun, 13 Apr 2008 15:47:32 +0000 (15:47 +0000)]
Mark as expensive

16 years ago*Add option to show changes to pages linked *to* said page
Aaron Schulz [Sun, 13 Apr 2008 15:27:26 +0000 (15:27 +0000)]
*Add option to show changes to pages linked *to* said page
*Make UI actually explain what Related Changes actually does

16 years agoLets just check all of these properly
Aaron Schulz [Sun, 13 Apr 2008 15:18:59 +0000 (15:18 +0000)]
Lets just check all of these properly

16 years agoTweak for r33190: simply show rollback link if there's no previous revision. Thanks...
Alexandre Emsenhuber [Sun, 13 Apr 2008 15:05:32 +0000 (15:05 +0000)]
Tweak for r33190: simply show rollback link if there's no previous revision. Thanks to Simetrical for pointing this out.

16 years agoFix CentralAuth log
Victor Vasiliev [Sun, 13 Apr 2008 14:49:13 +0000 (14:49 +0000)]
Fix CentralAuth log

16 years agoRemove $wgLinkCacheMemcached from doc
Alexandre Emsenhuber [Sun, 13 Apr 2008 14:31:15 +0000 (14:31 +0000)]
Remove $wgLinkCacheMemcached from doc

16 years agoUse the standard we've agreed upon for class names: prefixed with "mw-", words separa...
Aryeh Gregor [Sun, 13 Apr 2008 14:18:22 +0000 (14:18 +0000)]
Use the standard we've agreed upon for class names: prefixed with "mw-", words separated by hyphens.

16 years agoLocalisation updates for core messages from Betawiki (2008-04-13 15:26 CEST)
Siebrand Mazeland [Sun, 13 Apr 2008 13:56:37 +0000 (13:56 +0000)]
Localisation updates for core messages from Betawiki (2008-04-13 15:26 CEST)