lhc/web/wiklou.git
16 years agoPopulate rc_deleted
Aaron Schulz [Wed, 19 Mar 2008 18:42:09 +0000 (18:42 +0000)]
Populate rc_deleted

16 years agorev_deleted merge:
Aaron Schulz [Wed, 19 Mar 2008 18:09:20 +0000 (18:09 +0000)]
rev_deleted merge:
*Hide deleted content
*Add show/hide links

16 years ago* (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch
Raimond Spekking [Wed, 19 Mar 2008 16:58:56 +0000 (16:58 +0000)]
* (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch
* Add a link on the image description page to Special:FileDuplicateSearch/filename.ext

16 years agoFix an error for categories named literally "Project:" or some similarly weird thing...
Aryeh Gregor [Wed, 19 Mar 2008 15:53:48 +0000 (15:53 +0000)]
Fix an error for categories named literally "Project:" or some similarly weird thing.  I thought that's not a legal title, but I'm told otherwise.  Is there a better way to do this than manually prefixing "Category:"?  The second parameter to newFromText is ignored if there are any prefixes, according to the docs.

16 years agoWrong index, should be unique. Thanks Simmetrical.
Greg Sabino Mullane [Wed, 19 Mar 2008 14:27:00 +0000 (14:27 +0000)]
Wrong index, should be unique. Thanks Simmetrical.

16 years ago* Adding/updating Persian translations
Huji [Wed, 19 Mar 2008 14:18:00 +0000 (14:18 +0000)]
* Adding/updating Persian translations

16 years agoRemove apparently pointless $dbw parameter to Article::updateCategoryCounts.
Aryeh Gregor [Wed, 19 Mar 2008 13:36:33 +0000 (13:36 +0000)]
Remove apparently pointless $dbw parameter to Article::updateCategoryCounts.

16 years agoPatch from Sven Klemm from bug 13239: search_path tweaks for Postgres.
Greg Sabino Mullane [Wed, 19 Mar 2008 13:23:12 +0000 (13:23 +0000)]
Patch from Sven Klemm from bug 13239: search_path tweaks for Postgres.

16 years agoUse $db->conditional() instead of non-standard IF(). Fixes bug 13430.
Greg Sabino Mullane [Wed, 19 Mar 2008 13:15:09 +0000 (13:15 +0000)]
Use $db->conditional() instead of non-standard IF(). Fixes bug 13430.

16 years agoTypo.
Greg Sabino Mullane [Wed, 19 Mar 2008 13:06:16 +0000 (13:06 +0000)]
Typo.

16 years agoAdd 'category' table to Postgres schema.
Greg Sabino Mullane [Wed, 19 Mar 2008 13:02:49 +0000 (13:02 +0000)]
Add 'category' table to Postgres schema.

16 years agoTake out "bools" section: we're just using smallints now
Greg Sabino Mullane [Wed, 19 Mar 2008 13:02:04 +0000 (13:02 +0000)]
Take out "bools" section: we're just using smallints now

16 years agoAdd category table.
Greg Sabino Mullane [Wed, 19 Mar 2008 13:01:24 +0000 (13:01 +0000)]
Add category table.

16 years agoNo need for (1), keep tinyint consistent with the other booleans.
Greg Sabino Mullane [Wed, 19 Mar 2008 12:55:11 +0000 (12:55 +0000)]
No need for (1), keep tinyint consistent with the other booleans.

16 years agoIn continuation of r23243: is already created by Setup.php, it don't need to set...
Alexandre Emsenhuber [Wed, 19 Mar 2008 12:43:00 +0000 (12:43 +0000)]
In continuation of r23243:  is already created by Setup.php, it don't need to set twice.

16 years agoUpdate.
Rotem Liss [Wed, 19 Mar 2008 11:36:01 +0000 (11:36 +0000)]
Update.

16 years ago(bug 13137) Bots to edit protected pages
Huji [Wed, 19 Mar 2008 11:23:03 +0000 (11:23 +0000)]
(bug 13137) Bots to edit protected pages
For the record: A previous effort to fix this (r31247) failed (r31462)

16 years agoFixed no-op update query in common code path
Tim Starling [Wed, 19 Mar 2008 11:19:00 +0000 (11:19 +0000)]
Fixed no-op update query in common code path

16 years ago(bug 13429) Separate date and time in message sp-newimages-showfrom
Huji [Wed, 19 Mar 2008 10:21:45 +0000 (10:21 +0000)]
(bug 13429) Separate date and time in message sp-newimages-showfrom

16 years ago* Adding/updating Persian translations
Huji [Wed, 19 Mar 2008 10:14:14 +0000 (10:14 +0000)]
* Adding/updating Persian translations

16 years ago* update namespaces from Wikipedia -> Project
Siebrand Mazeland [Wed, 19 Mar 2008 09:14:30 +0000 (09:14 +0000)]
* update namespaces from Wikipedia -> Project
* remove messages referencing Wikipedia/Wikimedia

16 years agoLocalisation updates for core messages from Betawiki (2008-03-19 09:59 CET)
Siebrand Mazeland [Wed, 19 Mar 2008 09:03:29 +0000 (09:03 +0000)]
Localisation updates for core messages from Betawiki (2008-03-19 09:59 CET)

16 years ago* Add some CSS ids to forms and tables
Raimond Spekking [Wed, 19 Mar 2008 08:14:05 +0000 (08:14 +0000)]
* Add some CSS ids to forms and tables
* Use proper XML functions
* Fix double escaping
* Fix indention

16 years ago* Add a nice fieldset around the input form
Raimond Spekking [Wed, 19 Mar 2008 06:33:39 +0000 (06:33 +0000)]
* Add a nice fieldset around the input form
* Fix double escaping

16 years agoFixed debugging code left in (since r24477)
Tim Starling [Wed, 19 Mar 2008 03:10:31 +0000 (03:10 +0000)]
Fixed debugging code left in (since r24477)

16 years ago* (bug 9403) Sanitize newlines from search term input
Brion Vibber [Wed, 19 Mar 2008 00:34:49 +0000 (00:34 +0000)]
* (bug 9403) Sanitize newlines from search term input

16 years ago* (bug 13428) Fix regression in protection form layout HTML validity
Brion Vibber [Wed, 19 Mar 2008 00:08:58 +0000 (00:08 +0000)]
* (bug 13428) Fix regression in protection form layout HTML validity
a ; in place of a . there...

16 years ago* (bug 12801) Fix link in subtitle message in AJAX search
Brion Vibber [Wed, 19 Mar 2008 00:03:56 +0000 (00:03 +0000)]
* (bug 12801) Fix link in subtitle message in AJAX search

16 years agoAdd some newlines in messages consisting of multiple sentences
Siebrand Mazeland [Tue, 18 Mar 2008 23:54:09 +0000 (23:54 +0000)]
Add some newlines in messages consisting of multiple sentences

16 years ago* (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL
Brion Vibber [Tue, 18 Mar 2008 23:50:05 +0000 (23:50 +0000)]
* (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL
Some general cleanup on search backend code style :)

16 years agoAll messages files rebuilt and unknown messages removed
Siebrand Mazeland [Tue, 18 Mar 2008 23:43:40 +0000 (23:43 +0000)]
All messages files rebuilt and unknown messages removed

16 years agoCheck permissions before using cache (bug 9432)
Aaron Schulz [Tue, 18 Mar 2008 23:36:24 +0000 (23:36 +0000)]
Check permissions before using cache (bug 9432)

16 years agoLocalisation updates German
Raimond Spekking [Tue, 18 Mar 2008 23:16:00 +0000 (23:16 +0000)]
Localisation updates German

16 years agoPass $time on like it should
Aaron Schulz [Tue, 18 Mar 2008 23:14:20 +0000 (23:14 +0000)]
Pass $time on like it should

16 years agoRevert r32126 -- breaks type-safety by having a bunch of Revision functions which...
Brion Vibber [Tue, 18 Mar 2008 23:07:19 +0000 (23:07 +0000)]
Revert r32126 -- breaks type-safety by having a bunch of Revision functions which are supposed to always return strings return booleans sometimes.
Let's not toss in even more scary possibilities, please... predictability is nice!

16 years ago* Remove 5 messages, unused since ages:
Raimond Spekking [Tue, 18 Mar 2008 23:01:36 +0000 (23:01 +0000)]
* Remove 5 messages, unused since ages:
** 'getimagelist', 'showlast', 'byname', 'bysize', 'imgdelete'
* Regroup messages for Special:Imagelist, Special:NewImages and the image description page
* Add short descriptions to 'newimages-summary' and 'imagelist-summary' and remove their optional message status

16 years ago* (bug 13403) Fix cache invalidation of history pages when old revisions change
Brion Vibber [Tue, 18 Mar 2008 23:00:14 +0000 (23:00 +0000)]
* (bug 13403) Fix cache invalidation of history pages when old revisions change
add release note line for r32119 -- thanks aaron :D

16 years agoFix raw vs non-raw number formatting for {{PAGESINNS:}}
Brion Vibber [Tue, 18 Mar 2008 22:34:10 +0000 (22:34 +0000)]
Fix raw vs non-raw number formatting for {{PAGESINNS:}}
Cleanup some freaky code that does unnecessary call_user_func :)

16 years agoWorkaround for runJobs CategoryTree issue:
Brion Vibber [Tue, 18 Mar 2008 21:45:18 +0000 (21:45 +0000)]
Workaround for runJobs CategoryTree issue:
* Don't bloat $this->mStripList on every setHook() call.

It adds up in batch processing until we end up with regex errors!

16 years agoLocalisation updates for core messages from Betawiki (2008-03-18 22:19 CET)
Siebrand Mazeland [Tue, 18 Mar 2008 21:33:47 +0000 (21:33 +0000)]
Localisation updates for core messages from Betawiki (2008-03-18 22:19 CET)

16 years ago* Add a nice fieldset around the input form
Raimond Spekking [Tue, 18 Mar 2008 20:29:46 +0000 (20:29 +0000)]
* Add a nice fieldset around the input form
* Use proper XML function

16 years ago Localisation updates for extensions messages from Betawiki
Bertrand Grondin [Tue, 18 Mar 2008 19:56:11 +0000 (19:56 +0000)]
 Localisation updates for extensions messages from Betawiki

16 years ago*Return false when a user cannot see a field of a revision, rather than "", which...
Aaron Schulz [Tue, 18 Mar 2008 19:37:03 +0000 (19:37 +0000)]
*Return false when a user cannot see a field of a revision, rather than "", which could actually be valid
*Remove now unneeded perm checks in diffEng
*Fix unsafe cache leak for diffs (bug 9432)

16 years agoAPI:
Roan Kattouw [Tue, 18 Mar 2008 19:31:02 +0000 (19:31 +0000)]
API:
* (bug 13418) Disable eiredirect because it's useless (see also Bugzilla)
* (bug 13419) Make gblredirect actually work

16 years agoCleanup some log item display for Enhanced RC (thanks to ialex for pointing out code...
Aaron Schulz [Tue, 18 Mar 2008 18:58:03 +0000 (18:58 +0000)]
Cleanup some log item display for Enhanced RC (thanks to ialex for pointing out code oddness)

16 years agoLocalisation updates German
Raimond Spekking [Tue, 18 Mar 2008 18:51:41 +0000 (18:51 +0000)]
Localisation updates German

16 years ago*Use page_touched to deal with client side history caching min timestamp. This handle...
Aaron Schulz [Tue, 18 Mar 2008 18:43:03 +0000 (18:43 +0000)]
*Use page_touched to deal with client side history caching min timestamp. This handles imports/revisiondelete/deletion/tagging properly. (bug 13403)

16 years agoDoc cleanup:
Alexandre Emsenhuber [Tue, 18 Mar 2008 16:56:52 +0000 (16:56 +0000)]
Doc cleanup:
* Remove deprecated "@package MediaWiki" from comments
* Kill ending ?> tag in AdminSettings.sample
* remove uneeded comment in SpecialPage.php
* update some links to docs/skin.txt instead of skin.txt

16 years agoUpdate.
Rotem Liss [Tue, 18 Mar 2008 16:05:43 +0000 (16:05 +0000)]
Update.

16 years ago* Add a nice fieldset around the input form
Raimond Spekking [Tue, 18 Mar 2008 15:31:55 +0000 (15:31 +0000)]
* Add a nice fieldset around the input form
* Use proper XML function

16 years ago(bug 13390) Invalid title no longer kills an entire API query
Roan Kattouw [Tue, 18 Mar 2008 15:17:24 +0000 (15:17 +0000)]
(bug 13390) Invalid title no longer kills an entire API query

16 years agoPartial revert of r32097: please don't introduce this hybrid behavior thing, it'll...
Roan Kattouw [Tue, 18 Mar 2008 14:59:44 +0000 (14:59 +0000)]
Partial revert of r32097: please don't introduce this hybrid behavior thing, it'll only confuse people (has been discussed before). Spending 9 bytes on "Category:" won't kill anyone and ensures consistency with iutitle

16 years agoDon't require commandLine.inc when not using the command line; instead, move wfWaitFo...
Aryeh Gregor [Tue, 18 Mar 2008 13:18:06 +0000 (13:18 +0000)]
Don't require commandLine.inc when not using the command line; instead, move wfWaitForSlaves() to GlobalFunctions.php, which is where I expected it to be to begin with.  That appears, sensibly, to be loaded by all code paths.  While I'm there, add some documentation.

16 years ago*Fix bug when using Mediawiki updater command line.
Bertrand Grondin [Tue, 18 Mar 2008 12:42:22 +0000 (12:42 +0000)]
*Fix bug when using Mediawiki updater command line.
*Prevent redeclaring wfWaitForSlaves ()

16 years ago* Adding/updating Persian translations
Huji [Tue, 18 Mar 2008 10:27:22 +0000 (10:27 +0000)]
* Adding/updating Persian translations

16 years ago Localisation updates for extensions messages from Betawiki
Bertrand Grondin [Tue, 18 Mar 2008 10:12:22 +0000 (10:12 +0000)]
 Localisation updates for extensions messages from Betawiki

16 years agomove global constants to class-specific constants, to avoid collisions with Memcache...
Domas Mituzas [Tue, 18 Mar 2008 09:54:43 +0000 (09:54 +0000)]
move global constants to class-specific constants, to avoid collisions with Memcache PECL

16 years agoClean up some undefined variable errors
Aaron Schulz [Tue, 18 Mar 2008 08:31:01 +0000 (08:31 +0000)]
Clean up some undefined variable errors

16 years ago* Use "title" instead of "category"
Victor Vasiliev [Tue, 18 Mar 2008 08:14:08 +0000 (08:14 +0000)]
* Use "title" instead of "category"
* Support both "Category:Test" and "Test" format
* Fix notice about undefined index

16 years agoFix bug when using Mediawiki Installer.
Bertrand Grondin [Tue, 18 Mar 2008 07:58:21 +0000 (07:58 +0000)]
Fix bug when using Mediawiki Installer.

fix the following message error :
Fatal error:  Call to undefined function wfWaitForSlaves() in maintenance/populateCategory.inc on line 66

This wfWaitForSlaves() function exists only in commandLine.inc but updater can't call it when not using command line tool.
Adding this function in the end of populateCategory.inc.

16 years agoFix for r32085:
Raimond Spekking [Tue, 18 Mar 2008 06:10:06 +0000 (06:10 +0000)]
Fix for r32085:
* Add new messages to maintenance/language/messages.inc
* Move categories related messages to a more logical section (WTH is the relation to spamprotection o_O ?)

16 years agoFix for r32085: Use the correct message names
Raimond Spekking [Tue, 18 Mar 2008 05:57:15 +0000 (05:57 +0000)]
Fix for r32085: Use the correct message names

16 years agoAdd updatelog table.
Greg Sabino Mullane [Tue, 18 Mar 2008 01:39:36 +0000 (01:39 +0000)]
Add updatelog table.

16 years agoAllow signed int types. Kinda redundant, but hey...
Greg Sabino Mullane [Tue, 18 Mar 2008 01:32:57 +0000 (01:32 +0000)]
Allow signed int types. Kinda redundant, but hey...

16 years agoThis is a schema change. It's only a table creation, but the table must be created...
Aryeh Gregor [Tue, 18 Mar 2008 00:17:28 +0000 (00:17 +0000)]
This is a schema change.  It's only a table creation, but the table must be created on Wikimedia servers before this revision goes live.  The maintenance script populateCategory.php should be run when convenient.  If it's not run, there's only one substantial case where display will be harmed: the page of a category with more than 200 net pages added since the patch goes live will give an erroneously low count.  In other cases category pages will just be better-worded, and it will recognize the count in the table is bogus.
* Adds Category and CategoryList classes to represent categories themselves.
* Adds a category table, giving each category a name, ID, and counts of all members, subcats only, and files.
* Adds a maintenance script to populate the category table efficiently.  This script is careful to wait for slaves and should be safe to run on a live database.  The maintenance script's includes file is called by update.php.
* Until the category table is populated, the patch handles weird category table rows gracefully.  It detects whether they're obviously impossible, and if so, it outputs appropriate messages.

16 years agoAdd updatelog table to reliably permit updates that don't change the schema. A fairl...
Aryeh Gregor [Tue, 18 Mar 2008 00:06:06 +0000 (00:06 +0000)]
Add updatelog table to reliably permit updates that don't change the schema.  A fairly trivial patch.  It isn't used at all currently (it will be in a minute!), and presumably won't ever be used outside of update.php, so it can be ignored for Wikimedia despite being a schema change.

16 years ago* Add a nice fieldset around the input form
Raimond Spekking [Mon, 17 Mar 2008 23:25:00 +0000 (23:25 +0000)]
* Add a nice fieldset around the input form
* Found CSS classes for aligning in shared.css -> use them!

16 years agoLocalisation updates German
Raimond Spekking [Mon, 17 Mar 2008 22:17:49 +0000 (22:17 +0000)]
Localisation updates German

16 years ago* Adding/updating Persian translations
Huji [Mon, 17 Mar 2008 21:36:53 +0000 (21:36 +0000)]
* Adding/updating Persian translations

16 years ago(bug 13407) MediaWiki:Powersearch is used in two places
Huji [Mon, 17 Mar 2008 21:34:06 +0000 (21:34 +0000)]
(bug 13407) MediaWiki:Powersearch is used in two places

16 years agoSome rework on 'mainUploadForm':
Raimond Spekking [Mon, 17 Mar 2008 21:05:15 +0000 (21:05 +0000)]
Some rework on 'mainUploadForm':
* Add a nice fieldset around the input form
* Add a CSS id for the table
* Found CSS classes for aligning in shared.css -> use them!
* Fix indention

16 years agoFix #13265 : image/x-bmp not handled
Antoine Musso [Mon, 17 Mar 2008 20:31:33 +0000 (20:31 +0000)]
Fix #13265 : image/x-bmp not handled

16 years agoAPI: Adding more detail in credits
Roan Kattouw [Mon, 17 Mar 2008 20:13:22 +0000 (20:13 +0000)]
API: Adding more detail in credits

16 years agoFile should still count as existing if hidden
Aaron Schulz [Mon, 17 Mar 2008 19:57:31 +0000 (19:57 +0000)]
File should still count as existing if hidden

16 years ago*Fix some escaping issues
Aaron Schulz [Mon, 17 Mar 2008 19:23:47 +0000 (19:23 +0000)]
*Fix some escaping issues
*$remaining and such were not getting used anymore, use them again.

16 years agoAPI: Adding aiprop parameter to list=allimages, some cleanup
Roan Kattouw [Mon, 17 Mar 2008 18:51:32 +0000 (18:51 +0000)]
API: Adding aiprop parameter to list=allimages, some cleanup

16 years agoAPI: Updating action=help credits to give Yuri and Vasiliev due credit
Roan Kattouw [Mon, 17 Mar 2008 18:16:51 +0000 (18:16 +0000)]
API: Updating action=help credits to give Yuri and Vasiliev due credit

16 years agoFix double escaping
Raimond Spekking [Mon, 17 Mar 2008 17:46:12 +0000 (17:46 +0000)]
Fix double escaping

16 years agoFix.
Rotem Liss [Mon, 17 Mar 2008 17:34:09 +0000 (17:34 +0000)]
Fix.

16 years agoI hate it. Sure
Victor Vasiliev [Mon, 17 Mar 2008 15:38:17 +0000 (15:38 +0000)]
I hate it. Sure

16 years agoWhoops, it's case-sensitive!
Victor Vasiliev [Mon, 17 Mar 2008 15:28:52 +0000 (15:28 +0000)]
Whoops, it's case-sensitive!

16 years agoYes, and also I forgot autoloader
Victor Vasiliev [Mon, 17 Mar 2008 15:25:03 +0000 (15:25 +0000)]
Yes, and also I forgot autoloader

16 years agoLocalisation updates German
Raimond Spekking [Mon, 17 Mar 2008 13:52:53 +0000 (13:52 +0000)]
Localisation updates German

16 years agoFix some minor glitches and grammar broken by recent modifications.
Purodha B Blissenbach [Mon, 17 Mar 2008 13:52:01 +0000 (13:52 +0000)]
Fix some minor glitches and grammar broken by recent modifications.

16 years agoForgot to svn add it
Victor Vasiliev [Mon, 17 Mar 2008 09:16:38 +0000 (09:16 +0000)]
Forgot to svn add it

16 years ago* Introduced list=allimages
Victor Vasiliev [Mon, 17 Mar 2008 08:25:22 +0000 (08:25 +0000)]
* Introduced list=allimages
* (bug 13371) Build page set from image hashes
* Mark non-existent messages in meta=allmessages as missing

16 years agoFixes.
Rotem Liss [Mon, 17 Mar 2008 07:29:09 +0000 (07:29 +0000)]
Fixes.

16 years agoFix.
Rotem Liss [Mon, 17 Mar 2008 07:28:27 +0000 (07:28 +0000)]
Fix.

16 years agoFix.
Rotem Liss [Mon, 17 Mar 2008 07:11:00 +0000 (07:11 +0000)]
Fix.

16 years agoMight as well show username here if allowed
Aaron Schulz [Sun, 16 Mar 2008 21:24:52 +0000 (21:24 +0000)]
Might as well show username here if allowed

16 years agor32045 committed from wrong working branch. Revert and commit the one I wanted.
Aaron Schulz [Sun, 16 Mar 2008 21:02:10 +0000 (21:02 +0000)]
r32045 committed from wrong working branch. Revert and commit the one I wanted.

16 years agoLoad extra RC fields
Aaron Schulz [Sun, 16 Mar 2008 20:59:59 +0000 (20:59 +0000)]
Load extra RC fields

16 years agoSelect extra RC columns
Aaron Schulz [Sun, 16 Mar 2008 20:49:24 +0000 (20:49 +0000)]
Select extra RC columns

16 years agoOne of them semicolons snuck out of the barn again...
Greg Sabino Mullane [Sun, 16 Mar 2008 20:07:40 +0000 (20:07 +0000)]
One of them semicolons snuck out of the barn again...

16 years agoLocalisation updates for core messages from Betawiki (2008-03-16 20:06 CET)
Siebrand Mazeland [Sun, 16 Mar 2008 19:26:47 +0000 (19:26 +0000)]
Localisation updates for core messages from Betawiki (2008-03-16 20:06 CET)

16 years agoAPI:
Roan Kattouw [Sun, 16 Mar 2008 19:08:30 +0000 (19:08 +0000)]
API:
* Removing deprecated cmcategory parameter
* Correcting action=login help text

16 years agoLocalisation updates for core messages from Betawiki
Siebrand Mazeland [Sun, 16 Mar 2008 19:00:37 +0000 (19:00 +0000)]
Localisation updates for core messages from Betawiki
* si namespaceNames

16 years agorev_deleted merge:
Aaron Schulz [Sun, 16 Mar 2008 18:46:09 +0000 (18:46 +0000)]
rev_deleted merge:
*Hide deleted content
*Support rc_log_type/rc_log_action/ect... params
*Use tables to avoid strange overflow

16 years agoper r32027, use wfDeprecated() instead of trigger_error()
Alexandre Emsenhuber [Sun, 16 Mar 2008 18:26:10 +0000 (18:26 +0000)]
per r32027, use wfDeprecated() instead of trigger_error()

16 years agoClean up typos, wrap to 80 chars instead of some random number, fix some grammar...
Aryeh Gregor [Sun, 16 Mar 2008 18:14:31 +0000 (18:14 +0000)]
Clean up typos, wrap to 80 chars instead of some random number, fix some grammar, remove obsolete complaint about PHP not being a real OO language (although you can still argue it's not a real language period :) ).