lhc/web/wiklou.git
16 years ago(bug 12064) BeforePageDisplay hook is now called for all skins
Alexandre Emsenhuber [Sun, 6 Apr 2008 20:25:45 +0000 (20:25 +0000)]
(bug 12064) BeforePageDisplay hook is now called for all skins

16 years ago* Small cleanups
Niklas Laxström [Sun, 6 Apr 2008 18:16:38 +0000 (18:16 +0000)]
* Small cleanups

16 years agoSlight tweak to last commit: don't preserve whitespace if it is actually a heading...
Aryeh Gregor [Sun, 6 Apr 2008 18:04:38 +0000 (18:04 +0000)]
Slight tweak to last commit: don't preserve whitespace if it is actually a heading.\nI'm not actually clear on why we want to introduce this voodoo =-stripping behavior, actually?  Do people really enter stuff like "== Section name ==" for their edit summary, and *not* mean it to be saved that way?  Why is the expected result to strip the equals signs?  And would it make more sense to do the normalization on save as well or also on previews, as we do now?  The former is what we do for things like subst.

16 years agoPartial revert of r32376: don't strip whitespace from summaries. If you do, that...
Aryeh Gregor [Sun, 6 Apr 2008 17:58:21 +0000 (17:58 +0000)]
Partial revert of r32376: don't strip whitespace from summaries.  If you do, that means that the default "/* Section name */ " summary loses its trailing space if you hit preview before submitting, which is noticeably inconsistent and annoying.  Maybe trim it on save, but I don't know if there's any point.

16 years ago(bug 13630) allow_call_time_pass_reference warnings in Special:Revisiondelete
Alexandre Emsenhuber [Sun, 6 Apr 2008 17:56:07 +0000 (17:56 +0000)]
(bug 13630) allow_call_time_pass_reference warnings in Special:Revisiondelete

16 years agoSome random whitespace/style fixes
Aryeh Gregor [Sun, 6 Apr 2008 17:52:55 +0000 (17:52 +0000)]
Some random whitespace/style fixes

16 years ago* (bug 13435) Number grouping
Niklas Laxström [Sun, 6 Apr 2008 17:39:13 +0000 (17:39 +0000)]
* (bug 13435) Number grouping

16 years agoPer request of Nikerabbit: add wfDeprecated() to all methods of Image class.
Alexandre Emsenhuber [Sun, 6 Apr 2008 17:30:04 +0000 (17:30 +0000)]
Per request of Nikerabbit: add wfDeprecated() to all methods of Image class.

16 years agoUse different message for log items
Aaron Schulz [Sun, 6 Apr 2008 16:38:20 +0000 (16:38 +0000)]
Use different message for log items

16 years agoUse constant name
Aaron Schulz [Sun, 6 Apr 2008 16:33:27 +0000 (16:33 +0000)]
Use constant name

16 years agoRemoved usage of deprecated settings
Alexandre Emsenhuber [Sun, 6 Apr 2008 16:14:04 +0000 (16:14 +0000)]
Removed usage of deprecated settings

16 years agoMove this stuff to shared.css
Aryeh Gregor [Sun, 6 Apr 2008 15:44:41 +0000 (15:44 +0000)]
Move this stuff to shared.css

16 years ago Localisation updates for extensions messages from Betawiki
Bertrand Grondin [Sun, 6 Apr 2008 15:34:24 +0000 (15:34 +0000)]
 Localisation updates for extensions messages from Betawiki

16 years agoUpdate for he.
Rotem Liss [Sun, 6 Apr 2008 13:50:00 +0000 (13:50 +0000)]
Update for he.

16 years ago* Adding/updating Persian translations
Huji [Sun, 6 Apr 2008 13:15:40 +0000 (13:15 +0000)]
* Adding/updating Persian translations

16 years ago* File redirects are slow: 2 queries per image per repository on parse. We previously...
Tim Starling [Sun, 6 Apr 2008 10:18:47 +0000 (10:18 +0000)]
* File redirects are slow: 2 queries per image per repository on parse. We previously found one query per image on parse to be prohibitively slow, that's why we introduced the image cache. Thus, reintroduced $wgFileRedirects.
* Fixed bug due to checkRedirect() not accepting a string title like findFile()
* Use protected instead of private. Private should not be used ever.

16 years agofixed a couple of places where the default DB could be used inappropriately
Tim Starling [Sun, 6 Apr 2008 10:08:58 +0000 (10:08 +0000)]
fixed a couple of places where the default DB could be used inappropriately

16 years ago* Use correct class, I wonder how long this has been broken
Niklas Laxström [Sun, 6 Apr 2008 09:48:21 +0000 (09:48 +0000)]
* Use correct class, I wonder how long this has been broken

16 years ago* Updated messages.inc per r32836
Alexandre Emsenhuber [Sun, 6 Apr 2008 09:04:58 +0000 (09:04 +0000)]
* Updated messages.inc per r32836
* Use $wgContLang and content messages to create the reason as it will be hardcoded in the database

16 years ago* Logs are grouped under date headings similar to enhanced changes list
Niklas Laxström [Sun, 6 Apr 2008 08:59:48 +0000 (08:59 +0000)]
* Logs are grouped under date headings similar to enhanced changes list
* This is a second attempt; now with a configuration variable to restore the old behaviour without reverting

16 years ago* linkprefix doesn't actually need any special handling because \\ and \ are identica...
Niklas Laxström [Sun, 6 Apr 2008 08:23:50 +0000 (08:23 +0000)]
* linkprefix doesn't actually need any special handling because \\ and \ are identical in '-quoted strings

16 years agoUse $wgLang->formatNum to make Nikerabbit happy :)
Daniel Cannon [Sun, 6 Apr 2008 08:11:42 +0000 (08:11 +0000)]
Use $wgLang->formatNum to make Nikerabbit happy :)

16 years ago* Use parsemag to get plural, etc. to work in log entry.
Daniel Cannon [Sun, 6 Apr 2008 08:03:31 +0000 (08:03 +0000)]
* Use parsemag to get plural, etc. to work in log entry.
* Rmv unneeded section break in MessagesEn

16 years agorev_deleted log: only show colon in log message if a comment is provided.
Daniel Cannon [Sun, 6 Apr 2008 07:14:30 +0000 (07:14 +0000)]
rev_deleted log: only show colon in log message if a comment is provided.

16 years agoRm FIXME, make brackets consistent with the rest of mw
Daniel Cannon [Sun, 6 Apr 2008 06:50:04 +0000 (06:50 +0000)]
Rm FIXME, make brackets consistent with the rest of mw

16 years agoMake rev_deleted log entries more intelligible for those of us who "don't speak bitfi...
Daniel Cannon [Sun, 6 Apr 2008 06:30:57 +0000 (06:30 +0000)]
Make rev_deleted log entries more intelligible for those of us who "don't speak bitfield".

16 years agoOnly needs [0]
Aaron Schulz [Sun, 6 Apr 2008 01:22:30 +0000 (01:22 +0000)]
Only needs [0]

16 years agoBe more precise
Aaron Schulz [Sun, 6 Apr 2008 01:18:20 +0000 (01:18 +0000)]
Be more precise

16 years agoLocalisation updates for core messages from Betawiki (2008-04-06 00:14 CEST)
Siebrand Mazeland [Sat, 5 Apr 2008 22:21:42 +0000 (22:21 +0000)]
Localisation updates for core messages from Betawiki (2008-04-06 00:14 CEST)

16 years ago* (bug 13463) Login successful page doesn't use user's preferred interface language
Niklas Laxström [Sat, 5 Apr 2008 20:01:53 +0000 (20:01 +0000)]
* (bug 13463) Login successful page doesn't use user's preferred interface language

16 years ago(bug 11673) Return error 'unknown_action' in specified format
Bryan Tong Minh [Sat, 5 Apr 2008 19:32:21 +0000 (19:32 +0000)]
(bug 11673) Return error 'unknown_action' in specified format

16 years ago(bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9
Bryan Tong Minh [Sat, 5 Apr 2008 18:52:33 +0000 (18:52 +0000)]
(bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9

16 years ago(bug 11633) Explicitly convert redirect titles to strings due to PHP's very weak...
Bryan Tong Minh [Sat, 5 Apr 2008 18:34:10 +0000 (18:34 +0000)]
(bug 11633) Explicitly convert redirect titles to strings due to PHP's very weak typing on array keys.

16 years ago* Generalised FileRepoStatus, providing a very similar general Status object.
Tim Starling [Sat, 5 Apr 2008 18:11:23 +0000 (18:11 +0000)]
* Generalised FileRepoStatus, providing a very similar general Status object.
* Fixed external storage in LBFactory_Multi, was broken
* Useful debugging hack $wgAllDBsAreLocalhost

16 years ago* Fixed bug 13532, incorrect use of wfFindFile() causing total breakage of file revert
Tim Starling [Sat, 5 Apr 2008 16:46:22 +0000 (16:46 +0000)]
* Fixed bug 13532, incorrect use of wfFindFile() causing total breakage of file revert
* Use protected not private
* Remove aggressive history-oriented caching from OldLocalFile
* Keep a process cache of the OldLocalFile object to avoid duplicate queries

16 years agoUse TS_MW
Aaron Schulz [Sat, 5 Apr 2008 16:08:26 +0000 (16:08 +0000)]
Use TS_MW

16 years agoAnd here...
Aaron Schulz [Sat, 5 Apr 2008 15:54:05 +0000 (15:54 +0000)]
And here...

16 years agoUpdate doc
Aaron Schulz [Sat, 5 Apr 2008 15:38:08 +0000 (15:38 +0000)]
Update doc

16 years ago(bug 13616) Replace underscores in search terms by spaces
Bryan Tong Minh [Sat, 5 Apr 2008 14:57:41 +0000 (14:57 +0000)]
(bug 13616) Replace underscores in search terms by spaces

16 years agoUgly hack to fix two strict standarts errors:
Alexandre Emsenhuber [Sat, 5 Apr 2008 12:26:10 +0000 (12:26 +0000)]
Ugly hack to fix two strict standarts errors:
* Declaration of Image::newFromTitle() should be compatible with that of LocalFile::newFromTitle() : Moved Image class to Image.php, will only be loaded when an old extension need it.
* Declaration of OldLocalFile::newFromTitle() should be compatible with that of LocalFile::newFromTitle() : Added an unsed param to LocalFile::newFromTitle() with a null default value, also added the null default value to OldLocalFile::newFromTitle() but that function will throw an Exception if that value isn't modified (even if these functions should not be called by extensions).

Pass $suffix parameter to File::getArchiveRel() in File::getArchivePath()

16 years agoFix for r32733: added a new array of settings that shouldn't be escaped
Alexandre Emsenhuber [Sat, 5 Apr 2008 10:51:47 +0000 (10:51 +0000)]
Fix for r32733: added a new array of settings that shouldn't be escaped

16 years agoForce line breaks to avoid some XHTML errors with some messages that contains lists...
Alexandre Emsenhuber [Fri, 4 Apr 2008 21:51:32 +0000 (21:51 +0000)]
Force line breaks to avoid some XHTML errors with some messages that contains lists like MediaWiki:Titleblacklist

16 years ago* Set svn:eol-style to new files
Alexandre Emsenhuber [Fri, 4 Apr 2008 16:20:10 +0000 (16:20 +0000)]
* Set svn:eol-style to new files
* Fixed lines ending

16 years agoKill no more needed and also false comments
Alexandre Emsenhuber [Fri, 4 Apr 2008 16:12:19 +0000 (16:12 +0000)]
Kill no more needed and also false comments

16 years ago* I assume this was forgotten
Niklas Laxström [Fri, 4 Apr 2008 16:02:10 +0000 (16:02 +0000)]
* I assume this was forgotten

16 years agoUse $dbw->timestamp()
Aaron Schulz [Fri, 4 Apr 2008 16:00:57 +0000 (16:00 +0000)]
Use $dbw->timestamp()

16 years agoShow a normal permissionsErrorPage when the user does not have permissions to delete...
Bryan Tong Minh [Fri, 4 Apr 2008 13:59:04 +0000 (13:59 +0000)]
Show a normal permissionsErrorPage when the user does not have permissions to delete. Statify isValidOldSpec and haveDeletable file to be used by the API

16 years agoOops, a backtick snuck in
Roan Kattouw [Fri, 4 Apr 2008 13:58:43 +0000 (13:58 +0000)]
Oops, a backtick snuck in

16 years agoActually, let's have that commit() call there anyway, the way it currently works...
Roan Kattouw [Fri, 4 Apr 2008 13:49:56 +0000 (13:49 +0000)]
Actually, let's have that commit() call there anyway, the way it currently works relies on the fact that internalAttemptSave() schedules deferred updates, which may change.

16 years ago* Add Fiji Hindi (hif) in two scripts. Standard in Latin script
Siebrand Mazeland [Fri, 4 Apr 2008 13:48:34 +0000 (13:48 +0000)]
* Add Fiji Hindi (hif) in two scripts. Standard in Latin script
* First translated messages in hif-latn

16 years agoUpdate.
Rotem Liss [Fri, 4 Apr 2008 13:35:56 +0000 (13:35 +0000)]
Update.

16 years ago* Update Chinese translations
Shinjiman [Fri, 4 Apr 2008 13:24:04 +0000 (13:24 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years agoprivate -> protected (since CleanChanges extends this)
Aaron Schulz [Fri, 4 Apr 2008 13:16:58 +0000 (13:16 +0000)]
private -> protected (since CleanChanges extends this)

16 years agoMoved file deletion code to a more abstract FileDeleteForm::doDelete
Bryan Tong Minh [Fri, 4 Apr 2008 12:16:50 +0000 (12:16 +0000)]
Moved file deletion code to a more abstract FileDeleteForm::doDelete

16 years agoLocalisation updates for core messages from Betawiki (2008-04-04 13:43 CEST)
Siebrand Mazeland [Fri, 4 Apr 2008 12:13:24 +0000 (12:13 +0000)]
Localisation updates for core messages from Betawiki (2008-04-04 13:43 CEST)

16 years agoRevert ApiQueryExtLinksUsage.php back to r32772: Forgot to do svn revert . on working...
Bryan Tong Minh [Fri, 4 Apr 2008 11:51:55 +0000 (11:51 +0000)]
Revert ApiQueryExtLinksUsage.php back to r32772: Forgot to do svn revert . on working copy

16 years ago(bug 13606) Added archivename to iiprop
Bryan Tong Minh [Fri, 4 Apr 2008 11:49:20 +0000 (11:49 +0000)]
(bug 13606) Added archivename to iiprop

16 years agoAPI:
Roan Kattouw [Fri, 4 Apr 2008 11:22:58 +0000 (11:22 +0000)]
API:
* Cleaned up ApiPageSet::getRedirectTargets(), now uses the redirect table rather than the pagelinks table (this fixes bug 13965)
* Added possibility to obtain all external links through list=exturlusage (per MinuteElectron's request on the mediawiki-api list)

16 years agoLocalisation updates German
Raimond Spekking [Fri, 4 Apr 2008 10:51:12 +0000 (10:51 +0000)]
Localisation updates German

16 years agoUpdate per r32762.
Raimond Spekking [Fri, 4 Apr 2008 05:48:17 +0000 (05:48 +0000)]
Update per r32762.

16 years ago* Don't show hist link if hidden
Aaron Schulz [Fri, 4 Apr 2008 05:08:25 +0000 (05:08 +0000)]
* Don't show hist link if hidden
* Mark more functions

16 years ago* Update Chinese translations
Shinjiman [Fri, 4 Apr 2008 04:46:00 +0000 (04:46 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years agoDocument and flag some functions
Aaron Schulz [Fri, 4 Apr 2008 04:44:22 +0000 (04:44 +0000)]
Document and flag some functions

16 years ago* Cyrillic to latin converter for tg
Niklas Laxström [Fri, 4 Apr 2008 04:25:58 +0000 (04:25 +0000)]
* Cyrillic to latin converter for tg

16 years agoMissed one; use timestamp to use index
Aaron Schulz [Fri, 4 Apr 2008 04:18:38 +0000 (04:18 +0000)]
Missed one; use timestamp to use index

16 years ago* Make revisiondelete queries not suck (many where index misses)
Aaron Schulz [Fri, 4 Apr 2008 04:15:21 +0000 (04:15 +0000)]
* Make revisiondelete queries not suck (many where index misses)
* Document var

16 years ago* Add missing /event log action
Aaron Schulz [Fri, 4 Apr 2008 03:56:48 +0000 (03:56 +0000)]
* Add missing /event log action
* Various UI cleanup

16 years agoRemove unused vars
Aaron Schulz [Fri, 4 Apr 2008 02:12:27 +0000 (02:12 +0000)]
Remove unused vars

16 years agoLocalisation updates for core messages from Betawiki
Siebrand Mazeland [Thu, 3 Apr 2008 21:02:51 +0000 (21:02 +0000)]
Localisation updates for core messages from Betawiki
* magic updates

16 years agoFixes.
Rotem Liss [Thu, 3 Apr 2008 18:30:52 +0000 (18:30 +0000)]
Fixes.

16 years agoFixed E_NOTICE when showing old items of delete/revision log, with those items, ...
Alexandre Emsenhuber [Thu, 3 Apr 2008 16:30:30 +0000 (16:30 +0000)]
Fixed E_NOTICE when showing old items of delete/revision log, with those items, $paramArray is empty, so don't provide links as we don't know the revision id

16 years ago* Use existent CSS classes for form labels und input fields
Raimond Spekking [Thu, 3 Apr 2008 15:43:37 +0000 (15:43 +0000)]
* Use existent CSS classes for form labels und input fields
* Fix tabindex sequence
* Use XML functions consistently

16 years agoSuboptimal solution for one of the issues behind bug 12049 (i.e. that
Robert Stojnić [Thu, 3 Apr 2008 15:09:56 +0000 (15:09 +0000)]
Suboptimal solution for one of the issues behind bug 12049 (i.e. that
don't get deleted from search index) :
* hooks ArticleDelete[Complete] are now called from FileDeleteForm as well,
  this seems to be the expected behavior by most extensions (OAI, TitleKey,
  Rsync, ...).
* delete via API however still misses these hooks

Other possible solutions:
* move hooks into backend - bad since we want a clean backend
* create FileDelete hook (per bug 11276) - seems to me as unnecessary
  duplication of code logic since article might or might not be
  deleted during file deletion
* make a new Article function and wrap calls - will pollute clean Article
  doDelete and doDeleteArticle calls

16 years ago(bug 13603) Added siprop=usergroups to meta=siteinfo. Patch by Mormegil
Roan Kattouw [Thu, 3 Apr 2008 14:33:36 +0000 (14:33 +0000)]
(bug 13603) Added siprop=usergroups to meta=siteinfo. Patch by Mormegil

16 years agoUpdate.
Rotem Liss [Thu, 3 Apr 2008 12:02:18 +0000 (12:02 +0000)]
Update.

16 years agoLocalisation updates for core messages from Betawiki (2008-04-03 12:03 CEST)
Siebrand Mazeland [Thu, 3 Apr 2008 10:17:13 +0000 (10:17 +0000)]
Localisation updates for core messages from Betawiki (2008-04-03 12:03 CEST)

16 years agoFix linkprefix
Siebrand Mazeland [Thu, 3 Apr 2008 09:59:14 +0000 (09:59 +0000)]
Fix linkprefix

16 years agoTweak message 'ipbhidename': not available for IPs
Raimond Spekking [Thu, 3 Apr 2008 09:30:22 +0000 (09:30 +0000)]
Tweak message 'ipbhidename': not available for IPs

16 years agoRemove leftover line
Aaron Schulz [Thu, 3 Apr 2008 01:15:20 +0000 (01:15 +0000)]
Remove leftover line

16 years agoAdd showLogExtract() and remove use of FauxRequest hacks
Aaron Schulz [Wed, 2 Apr 2008 20:20:47 +0000 (20:20 +0000)]
Add showLogExtract() and remove use of FauxRequest hacks

16 years agoThis is cleaner, thanks to ialex
Roan Kattouw [Wed, 2 Apr 2008 20:19:35 +0000 (20:19 +0000)]
This is cleaner, thanks to ialex

16 years ago* Adding/updating Persian translations
Huji [Wed, 2 Apr 2008 20:06:11 +0000 (20:06 +0000)]
* Adding/updating Persian translations

16 years agoUse isDeleted()
Aaron Schulz [Wed, 2 Apr 2008 19:01:41 +0000 (19:01 +0000)]
Use isDeleted()

16 years agoClean up cache
Aaron Schulz [Wed, 2 Apr 2008 18:46:32 +0000 (18:46 +0000)]
Clean up cache

16 years agoLocalisation updates German
Raimond Spekking [Wed, 2 Apr 2008 18:32:39 +0000 (18:32 +0000)]
Localisation updates German

16 years agoSlight UI cleanup
Aaron Schulz [Wed, 2 Apr 2008 18:09:02 +0000 (18:09 +0000)]
Slight UI cleanup

16 years agoLocalisation updates for core messages from Betawiki (2008-04-02 19:39 CEST)
Siebrand Mazeland [Wed, 2 Apr 2008 18:06:14 +0000 (18:06 +0000)]
Localisation updates for core messages from Betawiki (2008-04-02 19:39 CEST)

16 years ago(bug 13587) Execute deferred updates in api.php
Roan Kattouw [Wed, 2 Apr 2008 18:04:54 +0000 (18:04 +0000)]
(bug 13587) Execute deferred updates in api.php

16 years agosysops -> Sysops
Aaron Schulz [Wed, 2 Apr 2008 18:04:14 +0000 (18:04 +0000)]
sysops -> Sysops

16 years agoproper name
Aaron Schulz [Wed, 2 Apr 2008 17:43:57 +0000 (17:43 +0000)]
proper name

16 years agoDon't show nav links for extracts
Aaron Schulz [Wed, 2 Apr 2008 17:30:13 +0000 (17:30 +0000)]
Don't show nav links for extracts

16 years ago* hasRows() is still used
Aaron Schulz [Wed, 2 Apr 2008 17:28:26 +0000 (17:28 +0000)]
* hasRows() is still used

16 years agoTweak doc
Aaron Schulz [Wed, 2 Apr 2008 17:12:45 +0000 (17:12 +0000)]
Tweak doc

16 years agoMove isDeleted and userCan functions
Aaron Schulz [Wed, 2 Apr 2008 17:11:58 +0000 (17:11 +0000)]
Move isDeleted and userCan functions

16 years agotypo
Aaron Schulz [Wed, 2 Apr 2008 16:59:16 +0000 (16:59 +0000)]
typo

16 years agofix spelling
Alexandre Emsenhuber [Wed, 2 Apr 2008 16:33:37 +0000 (16:33 +0000)]
fix spelling

16 years agoStub down Viewer/Reader classes, move LogPager
Aaron Schulz [Wed, 2 Apr 2008 16:24:30 +0000 (16:24 +0000)]
Stub down Viewer/Reader classes, move LogPager

16 years agoUse existing CSS classes for label and input elements in table for proper aligning
Raimond Spekking [Wed, 2 Apr 2008 13:46:53 +0000 (13:46 +0000)]
Use existing CSS classes for label and input elements in table for proper aligning
Use more XML functions

16 years agoMake dead show/hide links
Aaron Schulz [Wed, 2 Apr 2008 13:17:50 +0000 (13:17 +0000)]
Make dead show/hide links

16 years agoFix a regression from r32685: Show a nice error message instead of a useless navigati...
Raimond Spekking [Wed, 2 Apr 2008 12:20:01 +0000 (12:20 +0000)]
Fix a regression from r32685: Show a nice error message instead of a useless navigation bar if no log lines available.