lhc/web/wiklou.git
17 years agoincr style version
River Tarnell [Wed, 9 May 2007 12:43:24 +0000 (12:43 +0000)]
incr style version

17 years agoneed proper class and styling for prefsections
River Tarnell [Wed, 9 May 2007 12:36:21 +0000 (12:36 +0000)]
need proper class and styling for prefsections

17 years agoput help text inline instead of at the bottom where there's no indication what it...
River Tarnell [Wed, 9 May 2007 12:23:57 +0000 (12:23 +0000)]
put help text inline instead of at the bottom where there's no indication what it applies to

17 years agodisallow user js for Special:Userlogin and Special:Resetpass too, just in case
Ilmari Karonen [Tue, 8 May 2007 21:22:51 +0000 (21:22 +0000)]
disallow user js for Special:Userlogin and Special:Resetpass too, just in case

17 years ago* (bug 9808) Fix regression that ignored user 'rclimit' option for Special:Contributions
Brion Vibber [Tue, 8 May 2007 20:58:57 +0000 (20:58 +0000)]
* (bug 9808) Fix regression that ignored user 'rclimit' option for Special:Contributions
Use the general limiting behavior from WebRequest to fill the 'limit' field on IndexPager views.

17 years ago* (bug 7859) Update Kazakh translations
Raimond Spekking [Tue, 8 May 2007 20:57:41 +0000 (20:57 +0000)]
* (bug 7859) Update Kazakh translations
  Patch by AlefZet

17 years agoDisable user scripts on Special:Preferences, to prevent a compromised
Ilmari Karonen [Tue, 8 May 2007 20:48:02 +0000 (20:48 +0000)]
Disable user scripts on Special:Preferences, to prevent a compromised
script from being able to sniff passwords etc.

(The control flow here is hopelessly tangled between OutputPage and
the skins, and it doesn't help that Skin and SkinTemplate do things
differently for no particular reason.  I haven't made any attempt to
untangle it in this commit, but hopefully I at least haven't made it
too much worse.  Cleanup is welcome.)

17 years agoUpdate Kurdish messages.
Raimond Spekking [Tue, 8 May 2007 19:32:30 +0000 (19:32 +0000)]
Update Kurdish messages.
Based on localization in kuwiki by User:Bangin

17 years agoTweak audit hooks
Brion Vibber [Tue, 8 May 2007 18:31:32 +0000 (18:31 +0000)]
Tweak audit hooks

17 years agoenforce join order for whatlinkshere queries - avoid filesorts at a cost of scanning...
Domas Mituzas [Tue, 8 May 2007 15:14:33 +0000 (15:14 +0000)]
enforce join order for whatlinkshere queries - avoid filesorts at a cost of scanning more records for damn namespace selector

17 years agoRevert r21950; breaks four parser tests and allows various invalid constructions
Brion Vibber [Tue, 8 May 2007 15:11:56 +0000 (15:11 +0000)]
Revert r21950; breaks four parser tests and allows various invalid constructions

17 years ago* Updates
Niklas Laxström [Tue, 8 May 2007 13:56:12 +0000 (13:56 +0000)]
* Updates

17 years agoVolapük namespaces
River Tarnell [Tue, 8 May 2007 13:23:35 +0000 (13:23 +0000)]
Volapük namespaces

17 years agoSpecial:Undelete doesn't update page_latest when undeleted revision was newer than...
River Tarnell [Tue, 8 May 2007 09:26:58 +0000 (09:26 +0000)]
Special:Undelete doesn't update page_latest when undeleted revision was newer than existing revisions, causes wrong display and corrupt link tables

17 years agoRemoving or commenting out unused variables or globals, and adding declarations for...
Nick Jenkins [Tue, 8 May 2007 09:09:46 +0000 (09:09 +0000)]
Removing or commenting out unused variables or globals, and adding declarations for two arrays.

17 years agomail() sending was not chucking recips properly in array path, from Nick Jenkins
River Tarnell [Tue, 8 May 2007 08:28:34 +0000 (08:28 +0000)]
mail() sending was not chucking recips properly in array path, from Nick Jenkins

17 years agoUpdate German translations
Raimond Spekking [Tue, 8 May 2007 07:53:51 +0000 (07:53 +0000)]
Update German translations

17 years ago* (bug 9827) Updates of zh-cn, zh-tw,
Raimond Spekking [Tue, 8 May 2007 06:39:05 +0000 (06:39 +0000)]
* (bug 9827) Updates of zh-cn, zh-tw,
  Patch by Alex S.H. Lin

17 years ago(bug 9835) password input should be type="password"
River Tarnell [Tue, 8 May 2007 00:37:16 +0000 (00:37 +0000)]
(bug 9835) password input should be type="password"

17 years ago* (bug 9830) Typos in Japanese translations
Raimond Spekking [Mon, 7 May 2007 21:54:17 +0000 (21:54 +0000)]
* (bug 9830) Typos in Japanese translations
  Patch by Alex S.H. Lin

17 years ago* Add hooks for captcha in main user login form
Brion Vibber [Mon, 7 May 2007 21:54:06 +0000 (21:54 +0000)]
* Add hooks for captcha in main user login form
* Add hook point for detecting and logging login attempts with invalid password
* Add captcha support for triggering a captcha after a bad password attempt. Legit users shouldn't be inconvenienced much, but password-guesser bots will be severely speedbumped.

17 years ago* (bug 9814) Updates of zh-cn, zh-tw, zh-yue
Raimond Spekking [Mon, 7 May 2007 19:25:50 +0000 (19:25 +0000)]
* (bug 9814) Updates of zh-cn, zh-tw, zh-yue
  patches by Shinjiman

17 years ago* Updates to Kabyle
Niklas Laxström [Mon, 7 May 2007 18:39:46 +0000 (18:39 +0000)]
* Updates to Kabyle

17 years ago* Escaping the title
Niklas Laxström [Mon, 7 May 2007 18:01:11 +0000 (18:01 +0000)]
* Escaping the title

17 years ago< brion-sushi> Error sending mail: Undefined variable: dest
River Tarnell [Mon, 7 May 2007 17:56:00 +0000 (17:56 +0000)]
< brion-sushi> Error sending mail: Undefined variable: dest
- don't try to log destination in debug message

17 years agoTriple dash to double for SQL comment.
Greg Sabino Mullane [Mon, 7 May 2007 16:56:53 +0000 (16:56 +0000)]
Triple dash to double for SQL comment.

17 years agoRevert schema changes in r21954, 21955, 21956 for the moment
Brion Vibber [Mon, 7 May 2007 16:24:12 +0000 (16:24 +0000)]
Revert schema changes in r21954, 21955, 21956 for the moment

17 years agoAdd new columns to oldimage table.
Greg Sabino Mullane [Mon, 7 May 2007 15:22:20 +0000 (15:22 +0000)]
Add new columns to oldimage table.

17 years agoupdate
River Tarnell [Mon, 7 May 2007 14:59:52 +0000 (14:59 +0000)]
update

17 years ago*Add new oldimage columns for mime/mediatype info and oi_deleted field. Make rebuild...
Aaron Schulz [Mon, 7 May 2007 14:44:33 +0000 (14:44 +0000)]
*Add new oldimage columns for mime/mediatype info and oi_deleted field. Make rebuild image populate these while updating oldimage.

17 years agoCompromise: don't reference log_id on MySQL.
Tim Starling [Mon, 7 May 2007 13:41:49 +0000 (13:41 +0000)]
Compromise: don't reference log_id on MySQL.

17 years ago* (bug 9818) Update French translations
Raimond Spekking [Mon, 7 May 2007 08:50:33 +0000 (08:50 +0000)]
* (bug 9818) Update French translations
  Patch by Remi Kaupp

17 years ago(bug 9812) (regression) Edit links in regular pages now include "oldid"
River Tarnell [Mon, 7 May 2007 07:57:29 +0000 (07:57 +0000)]
(bug 9812) (regression) Edit links in regular pages now include "oldid"
  Article::isCurrent() is called with no Revision object when the article was retrieved from the parser cache.  in this case, and then no oldid was given in the URL, it would return false, causing spurious &oldid= parameters in the edit link.  instead, if no oldid was given, assume we are viewing the current revision.

17 years ago(bug 9156) Section edit links break if wikitext headings have non-whitespace after...
Aryeh Gregor [Mon, 7 May 2007 01:05:54 +0000 (01:05 +0000)]
(bug 9156) Section edit links break if wikitext headings have non-whitespace after them on the line.  One-character change to a regex, I tested it on some simple use cases.  Shouldn't cause any breakage.

17 years agoIndonesian (id) localisation updates.
Ivan Lanin [Mon, 7 May 2007 00:28:49 +0000 (00:28 +0000)]
Indonesian (id) localisation updates.

17 years agoAvoid using IN (..) syntax if just single value is being fetched.
Domas Mituzas [Sun, 6 May 2007 22:18:17 +0000 (22:18 +0000)]
Avoid using IN (..) syntax if just single value is being fetched.

17 years ago* Polishing and documentation
Niklas Laxström [Sun, 6 May 2007 20:52:03 +0000 (20:52 +0000)]
* Polishing and documentation

17 years ago*Let users with 'reupload-own' upload over image where they are the last uploader...
Aaron Schulz [Sun, 6 May 2007 20:51:06 +0000 (20:51 +0000)]
*Let users with 'reupload-own' upload over image where they are the last uploader, right is not assigned by default (bug 5057)

17 years agoUpdate.
Rotem Liss [Sun, 6 May 2007 18:08:30 +0000 (18:08 +0000)]
Update.

17 years ago* Hmm, better to increase styleversion too
Niklas Laxström [Sun, 6 May 2007 17:56:13 +0000 (17:56 +0000)]
* Hmm, better to increase styleversion too

17 years ago* XMLify preferences a little with more clear look as side effect
Niklas Laxström [Sun, 6 May 2007 17:54:38 +0000 (17:54 +0000)]
* XMLify preferences a little with more clear look as side effect

17 years agoUse the standard HTTP fetch functions when retrieving remote wiki pages through trans...
Rob Church [Sun, 6 May 2007 13:06:21 +0000 (13:06 +0000)]
Use the standard HTTP fetch functions when retrieving remote wiki pages through transwiki, so we can take advantage of cURL goodies if available

17 years ago* (bug 9806, comment #3) typo
Raimond Spekking [Sun, 6 May 2007 11:04:07 +0000 (11:04 +0000)]
* (bug 9806, comment #3) typo

17 years ago$1 contains # already
Raimond Spekking [Sun, 6 May 2007 10:59:58 +0000 (10:59 +0000)]
$1 contains # already

17 years agoUpdate.
Rotem Liss [Sun, 6 May 2007 10:28:42 +0000 (10:28 +0000)]
Update.

17 years ago* Keep message keys lowercase
Rob Church [Sun, 6 May 2007 10:24:46 +0000 (10:24 +0000)]
* Keep message keys lowercase
* Better English default text for "unblocked-id"

17 years agoUpdate.
Rotem Liss [Sun, 6 May 2007 09:57:03 +0000 (09:57 +0000)]
Update.

17 years ago* Subtitle success message when unblocking a block ID instead of a pseudo link like...
Raimond Spekking [Sun, 6 May 2007 09:53:25 +0000 (09:53 +0000)]
* Subtitle success message when unblocking a block ID instead of a pseudo link like [[User:#123|#123]]
* Proper XML functions for input form

17 years agoUpdate.
Rotem Liss [Sun, 6 May 2007 09:47:34 +0000 (09:47 +0000)]
Update.

17 years agoupdate release notes for new enotif options
River Tarnell [Sun, 6 May 2007 07:17:07 +0000 (07:17 +0000)]
update release notes for new enotif options

17 years ago- default value of $wgEnotifImpersonal should be false
River Tarnell [Sun, 6 May 2007 07:14:10 +0000 (07:14 +0000)]
- default value of $wgEnotifImpersonal should be false
- userMailer() needs to handle multiple recips in mail() path

17 years ago* Don't show unblock form if the user doesn't have permission to use it (cosmetic...
Rob Church [Sun, 6 May 2007 01:04:52 +0000 (01:04 +0000)]
* Don't show unblock form if the user doesn't have permission to use it (cosmetic change, no vulnerabilities existed)...introduces some minor code duplication which is, I think, the best approach given the convoluted state of that conditional block (we should split unblock off into a new special page)
* Tweak release notes

17 years ago* (bug 9803) Update Russian translations
Raimond Spekking [Sat, 5 May 2007 21:05:24 +0000 (21:05 +0000)]
* (bug 9803) Update Russian translations
  Patch by Alexander Sigachov

17 years agoFix #9806: Missing Spanish language localizations for Special:Contributions
Antoine Musso [Sat, 5 May 2007 21:04:29 +0000 (21:04 +0000)]
Fix #9806: Missing Spanish language localizations for Special:Contributions

17 years ago* Updates
Niklas Laxström [Sat, 5 May 2007 20:46:44 +0000 (20:46 +0000)]
* Updates

17 years ago* What the ugh
Niklas Laxström [Sat, 5 May 2007 20:41:06 +0000 (20:41 +0000)]
* What the ugh

17 years ago* E_STRICT
Niklas Laxström [Sat, 5 May 2007 20:31:08 +0000 (20:31 +0000)]
* E_STRICT

17 years agoActually do what the documentation says (r21907)
Antoine Musso [Sat, 5 May 2007 20:30:12 +0000 (20:30 +0000)]
Actually do what the documentation says (r21907)

17 years ago* Added overflow: auto to image gallery descriptions. Better than without; see bug...
Niklas Laxström [Sat, 5 May 2007 20:20:37 +0000 (20:20 +0000)]
* Added overflow: auto to image gallery descriptions. Better than without; see bug 3770

17 years ago* Prettify
Niklas Laxström [Sat, 5 May 2007 20:18:13 +0000 (20:18 +0000)]
* Prettify
* Rather throw an extension than split unuseful fatal error

17 years agoclarify usage.
Antoine Musso [Sat, 5 May 2007 20:13:33 +0000 (20:13 +0000)]
clarify usage.

17 years ago* Made a Imagelist a bit narrower, still too wide
Niklas Laxström [Sat, 5 May 2007 20:09:52 +0000 (20:09 +0000)]
* Made a Imagelist a bit narrower, still too wide

17 years agoReplace spaces with underscores in parser cache rendering hash. Caused a bug where...
Tim Starling [Sat, 5 May 2007 18:08:25 +0000 (18:08 +0000)]
Replace spaces with underscores in parser cache rendering hash. Caused a bug where people with ISO 8601 date format had a non-functional parser cache

17 years ago* Indonesian (id) localisation updates.
Ivan Lanin [Sat, 5 May 2007 16:13:16 +0000 (16:13 +0000)]
* Indonesian (id) localisation updates.
* Register enotif_impersonal_salutation and enotif_lastdiff to messages.inc

17 years agoallow enotif mails to be sent via job queue
River Tarnell [Sat, 5 May 2007 12:44:55 +0000 (12:44 +0000)]
allow enotif mails to be sent via job queue

17 years agoenotif should have a way to send bulk mail without customisations, for large sites
River Tarnell [Sat, 5 May 2007 12:08:24 +0000 (12:08 +0000)]
enotif should have a way to send bulk mail without customisations, for large sites

17 years agoUse pl_from and tl_from for offsets/sorting, instead of secondary joined table field...
Domas Mituzas [Sat, 5 May 2007 01:51:18 +0000 (01:51 +0000)]
Use pl_from and tl_from for offsets/sorting, instead of secondary joined table field - avoids filesorts and temptables and whatever else.

17 years ago* AjaxDispatcher : use a switch()
Antoine Musso [Sat, 5 May 2007 00:06:20 +0000 (00:06 +0000)]
* AjaxDispatcher : use a switch()
* Add doxygen comments.

17 years ago*Support for HAVING clause
Aaron Schulz [Fri, 4 May 2007 22:54:13 +0000 (22:54 +0000)]
*Support for HAVING clause

17 years agoTemporarily revert r21784; field changes not live
Brion Vibber [Fri, 4 May 2007 21:09:13 +0000 (21:09 +0000)]
Temporarily revert r21784; field changes not live

17 years agoAvoid cyclic stub problems when authorization hooks do funny things with the user...
Brion Vibber [Fri, 4 May 2007 21:04:50 +0000 (21:04 +0000)]
Avoid cyclic stub problems when authorization hooks do funny things with the user and the database at load time

17 years ago* (bug 9662) Update configuration example [$wgUseMemcached no longer in use]
Rob Church [Fri, 4 May 2007 20:47:49 +0000 (20:47 +0000)]
* (bug 9662) Update configuration example [$wgUseMemcached no longer in use]
* Minor spacing

17 years agoFix #3431 : dont show next link when there is no more additional results.
Antoine Musso [Fri, 4 May 2007 20:07:52 +0000 (20:07 +0000)]
Fix #3431 : dont show next link when there is no more additional results.
NOTE: Mysqlsearch do not give us the number of total results, so we are
not really sure if the show results are really the last ones.

17 years agoFix regression causing incorrect image data to be stored in the oldimage table.
Brion Vibber [Fri, 4 May 2007 19:39:19 +0000 (19:39 +0000)]
Fix regression causing incorrect image data to be stored in the oldimage table.
The call to upgradeRow() in purgeMetadataCache(), indirectly called during upload, caused data for the new file to be written into the 'image' table in the database before migration from 'image' to 'oldimage'. Thus data for the new file was recorded as belonging to the old file.
Have replaced this call with a call to loadFromFile(), so the new data goes only into cache
at this time, and won't get written to the database until after.
The 'purge' action in ImagePage now explicitly calls the upgradeRow() function in addition to cache purging... is it needed elsewhere?
This whole mess still stinks of race  conditions, though. Sigh.

17 years ago*Replace calls to $this->blockedIPpage() with $wgOut->blockedPage() since the former...
Aaron Schulz [Fri, 4 May 2007 19:17:36 +0000 (19:17 +0000)]
*Replace calls to $this->blockedIPpage() with $wgOut->blockedPage() since the former refers to a non-existent function in EditPage.

17 years ago* (bug 9787) Update Japanese translations
Raimond Spekking [Fri, 4 May 2007 16:53:10 +0000 (16:53 +0000)]
* (bug 9787) Update Japanese translations
  Patch by Masao
* RELEASE-NOTES tweaked to 1.11 on some lines

17 years ago* (bug 9773) Updates of zh-yue
Raimond Spekking [Fri, 4 May 2007 16:44:38 +0000 (16:44 +0000)]
* (bug 9773) Updates of zh-yue
* (bug 9774) Updates of zh-cn and zh-tw
  patches by Shinjiman

17 years ago*Remove GROUP BY entirely, not needed since mandatory pr_type filter was added
Aaron Schulz [Fri, 4 May 2007 16:09:09 +0000 (16:09 +0000)]
*Remove GROUP BY entirely, not needed since mandatory pr_type filter was added

17 years agoOutput what was asked for. Don't dirty up a clean API like thumb.php with arbitrary...
Tim Starling [Fri, 4 May 2007 15:05:42 +0000 (15:05 +0000)]
Output what was asked for. Don't dirty up a clean API like thumb.php with arbitrary defaults when invalid parameters are specified.

17 years ago* (bug 9780) Fix normalization of titles with initial colon followed by whitespace
Brion Vibber [Fri, 4 May 2007 14:30:02 +0000 (14:30 +0000)]
* (bug 9780) Fix normalization of titles with initial colon followed by whitespace

17 years agoUse makeKnownLinkObj() instead of makeLinkObj() for multipage prev/next links. Image...
Tim Starling [Fri, 4 May 2007 14:27:52 +0000 (14:27 +0000)]
Use makeKnownLinkObj() instead of makeLinkObj() for multipage prev/next links. Image pages do not need to exist to work.

17 years ago* Typo
Niklas Laxström [Fri, 4 May 2007 14:08:14 +0000 (14:08 +0000)]
* Typo

17 years agoAdded a check for "indefinite" if a local customization uses this value in [[MediaWik...
Raimond Spekking [Fri, 4 May 2007 05:46:44 +0000 (05:46 +0000)]
Added a check for "indefinite" if a local customization uses this value in [[MediaWiki:Ipboptions]].
Thanks to Rob.

17 years agoIndonesian (id) localisation updates.
Ivan Lanin [Fri, 4 May 2007 02:07:08 +0000 (02:07 +0000)]
Indonesian (id) localisation updates.

17 years ago' Updates from Jhs
Niklas Laxström [Thu, 3 May 2007 21:31:20 +0000 (21:31 +0000)]
' Updates from Jhs

17 years ago* Added Somali messages
Niklas Laxström [Thu, 3 May 2007 21:18:55 +0000 (21:18 +0000)]
* Added Somali messages

17 years agoFix #6204 : only unindent toc if we indented it previously.
Antoine Musso [Thu, 3 May 2007 19:36:24 +0000 (19:36 +0000)]
Fix #6204 : only unindent toc if we indented it previously.

17 years agoParser test for bug #6204 : TOC not properly rendered when using $wgMaxTocLevel
Antoine Musso [Thu, 3 May 2007 17:49:55 +0000 (17:49 +0000)]
Parser test for bug #6204 : TOC not properly rendered when using $wgMaxTocLevel

17 years ago* Add a static function to 'easily' parse options
Antoine Musso [Thu, 3 May 2007 17:39:49 +0000 (17:39 +0000)]
* Add a static function to 'easily' parse options
* Add support for wgMaxTocLevel option in parserTests

17 years ago* We're at 1.10 now :) (someone maybe check over i18n, I think the list is correct...
Aryeh Gregor [Thu, 3 May 2007 17:19:25 +0000 (17:19 +0000)]
* We're at 1.10 now :) (someone maybe check over i18n, I think the list is correct but maybe I missed/added one or two)
* Don't update RELEASE-NOTES for extensions
* Possible todo: split up bugfixes somehow?  It got pretty enormous for 1.10, a few pages long.

17 years agoUpdate.
Rotem Liss [Thu, 3 May 2007 16:17:55 +0000 (16:17 +0000)]
Update.

17 years ago* (bug 8868) Separate "blocked" message for autoblocks
Raimond Spekking [Thu, 3 May 2007 15:40:38 +0000 (15:40 +0000)]
* (bug 8868) Separate "blocked" message for autoblocks
  Patch by Max Semenik
* Adding expiry of block to block messages
  Parameter $6 introduced, this does not break existent localizations
* Use 'infinite' instead of 'indefinite' to be consistent over all message files

17 years ago*use 'infinity' as pr_expiry
Aaron Schulz [Thu, 3 May 2007 15:39:43 +0000 (15:39 +0000)]
*use 'infinity' as pr_expiry

17 years ago*'pr_expiry' => 'infinity'
Aaron Schulz [Thu, 3 May 2007 15:00:23 +0000 (15:00 +0000)]
*'pr_expiry' => 'infinity'

17 years agoUpdate.
Rotem Liss [Thu, 3 May 2007 14:44:34 +0000 (14:44 +0000)]
Update.

17 years ago* Fix missing and double escaping
Niklas Laxström [Thu, 3 May 2007 14:32:52 +0000 (14:32 +0000)]
* Fix missing and double escaping
* Don't hardcode colons
* Xml functions, fixed broken labels

17 years ago* Updates
Niklas Laxström [Thu, 3 May 2007 14:04:12 +0000 (14:04 +0000)]
* Updates

17 years agodon't show excerpts from non-readable articles
Daniel Kinzler [Thu, 3 May 2007 12:44:05 +0000 (12:44 +0000)]
don't show excerpts from non-readable articles

17 years ago* (bug 9773) Updates of zh-yue
Raimond Spekking [Thu, 3 May 2007 12:23:30 +0000 (12:23 +0000)]
* (bug 9773) Updates of zh-yue
* (bug 9774) Updates of zh-cn and zh-tw
  patches by Shinjiman

17 years ago(bug 7958) Special:Cite of older version of an article should use old version id.
Nick Jenkins [Thu, 3 May 2007 06:08:12 +0000 (06:08 +0000)]
(bug 7958) Special:Cite of older version of an article should use old version id.
Applying Brion's patch, with one-line tweak:
 - uses the existing Skin/$wgOut-based revision ID record, rather than oldid value from WebRequest.
 - additionally sets it to the current revision for parser cache hits (where
   it was not previously needed, since it was only used to feed to parser objects
   to fill the {{REVISIONID}} variable).
 - Explicit declaration of the existing $mRevisionId data member in Skin.
 - "Permanent link" should now work too when paging through historical versions (previously it
   would be greyed out when paging backwards or forwards through old revisions).