lhc/web/wiklou.git
15 years agoRemoved non-XHTML-compliant attributes from HTML differ output. Removed unused javasc...
Guy Van den Broeck [Fri, 22 Aug 2008 15:49:09 +0000 (15:49 +0000)]
Removed non-XHTML-compliant attributes from HTML differ output. Removed unused javascript.

15 years agoTweak for r39314: don't add a line break before the "Go" button on the watchlist...
Aryeh Gregor [Fri, 22 Aug 2008 15:28:53 +0000 (15:28 +0000)]
Tweak for r39314: don't add a line break before the "Go" button on the watchlist.  This used up yet more vertical space.  It also visually dissociated the "Go" button from the namespace selector, making it look like it maybe applied to all the buttons above too, due to lack of a fieldset.  On the other hand, this way looks a little awkward too.  Maybe there's a better way?

Reported by User:Garion96 on [[WP:VPT]]: <http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=233532922#.22go.22_button_in_watchlist>

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Fri, 22 Aug 2008 14:12:31 +0000 (14:12 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoOnly run hooks if Hooks.php has been loaded (i.e. we CAN run them)
Andrew Garrett [Fri, 22 Aug 2008 13:02:49 +0000 (13:02 +0000)]
Only run hooks if Hooks.php has been loaded (i.e. we CAN run them)

15 years ago*ahem*
Andrew Garrett [Fri, 22 Aug 2008 12:09:37 +0000 (12:09 +0000)]
*ahem*

15 years agoQuick hook to allow reusers of SiteConfiguration to customise siteFromDB, which is...
Andrew Garrett [Fri, 22 Aug 2008 12:08:21 +0000 (12:08 +0000)]
Quick hook to allow reusers of SiteConfiguration to customise siteFromDB, which is pretty wikimedia-specific

15 years agoLocalisation updates for core messages from Betawiki (2008-08-22 09:56 CEST)
Siebrand Mazeland [Fri, 22 Aug 2008 08:18:12 +0000 (08:18 +0000)]
Localisation updates for core messages from Betawiki (2008-08-22 09:56 CEST)

15 years agoRemove unused global.
Chad Horohoe [Fri, 22 Aug 2008 02:01:31 +0000 (02:01 +0000)]
Remove unused global.

15 years agoFixing bug in HTML diff when the word '0' is encountered. Thanks siebrand for reporting
Guy Van den Broeck [Thu, 21 Aug 2008 23:27:07 +0000 (23:27 +0000)]
Fixing bug in HTML diff when the word '0' is encountered. Thanks siebrand for reporting

15 years agoRevert r39793 "* (bug 13879) Special:EmailUser shows a form in case no user was speci...
Brion Vibber [Thu, 21 Aug 2008 22:56:45 +0000 (22:56 +0000)]
Revert r39793 "* (bug 13879) Special:EmailUser shows a form in case no user was specified" for the moment
* Recipient name seems to be output raw into HTML form; this is insecure
* We've lost the link to the target's user page in the primary use case (followed 'email this user' link)
* Behavior if you misspell a name doesn't look very nice; you can't just fix it and resubmit the form, you have to hit 'back' from an error page and hope your browser isn't one that deletes all your form data :D

15 years agoAdd 'diff-with-additional' as optional
Siebrand Mazeland [Thu, 21 Aug 2008 22:32:50 +0000 (22:32 +0000)]
Add 'diff-with-additional' as optional

15 years agoStart to improve HTMLDiff.php localization. For the time being, I recommend that...
Aryeh Gregor [Thu, 21 Aug 2008 22:16:44 +0000 (22:16 +0000)]
Start to improve HTMLDiff.php localization.  For the time being, I recommend that the messages *not* be localized, because they're likely to change form quite a bit more before they're stable.  Someone might want to temporarily mark them "do not change" and have BetaWiki not pick them up.  I'd appreciate help on this, of course.

15 years ago* (bug 13879) Special:EmailUser shows a form in case no user was specified
Bryan Tong Minh [Thu, 21 Aug 2008 22:15:34 +0000 (22:15 +0000)]
* (bug 13879) Special:EmailUser shows a form in case no user was specified

15 years agoDo not use PHP 5.2.0 functions in core, kthx.
Aryeh Gregor [Thu, 21 Aug 2008 21:41:30 +0000 (21:41 +0000)]
Do not use PHP 5.2.0 functions in core, kthx.

15 years agoBump style version for r39776.
Chad Horohoe [Thu, 21 Aug 2008 20:28:45 +0000 (20:28 +0000)]
Bump style version for r39776.

15 years agoUse wfEmptyMsg() instead of !$message.
Chad Horohoe [Thu, 21 Aug 2008 20:20:15 +0000 (20:20 +0000)]
Use wfEmptyMsg() instead of !$message.

15 years agoAdd newline to put each message on its own line.
Siebrand Mazeland [Thu, 21 Aug 2008 19:44:19 +0000 (19:44 +0000)]
Add newline to put each message on its own line.

15 years agoFixing comments.
Rotem Liss [Thu, 21 Aug 2008 19:29:26 +0000 (19:29 +0000)]
Fixing comments.

15 years agoAdd duplicate check to the default checks: Now that messages may be makred as optiona...
Rotem Liss [Thu, 21 Aug 2008 19:15:40 +0000 (19:15 +0000)]
Add duplicate check to the default checks: Now that messages may be makred as optional, every message not marked as such should be translated.

15 years agoLocalization fix.
Rotem Liss [Thu, 21 Aug 2008 19:13:33 +0000 (19:13 +0000)]
Localization fix.

15 years agoLocalization fix.
Rotem Liss [Thu, 21 Aug 2008 19:12:42 +0000 (19:12 +0000)]
Localization fix.

15 years agoLocalization update.
Rotem Liss [Thu, 21 Aug 2008 19:10:50 +0000 (19:10 +0000)]
Localization update.

15 years agoSimplified i18n for HTMLDiff
Guy Van den Broeck [Thu, 21 Aug 2008 18:32:53 +0000 (18:32 +0000)]
Simplified i18n for HTMLDiff

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Thu, 21 Aug 2008 16:58:58 +0000 (16:58 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoLocalisation updates for core messages from Betawiki (2008-08-21 17:36 CEST)
Siebrand Mazeland [Thu, 21 Aug 2008 15:51:50 +0000 (15:51 +0000)]
Localisation updates for core messages from Betawiki (2008-08-21 17:36 CEST)

15 years agoAdding action=watch to the API
Roan Kattouw [Thu, 21 Aug 2008 15:44:13 +0000 (15:44 +0000)]
Adding action=watch to the API

15 years agoTweaks for skins:
Alexandre Emsenhuber [Thu, 21 Aug 2008 14:09:57 +0000 (14:09 +0000)]
Tweaks for skins:
* Moved SkinTemplate::addStyle() and related stuff to OutputPage so that it can be used non-SkinTemplate skins and avoid duplication with the actual OutputPage::addStyle() (the two functions have the same format).
* Non-SkinTemplate skins now also load their CSS with <link> tags instead of @import.
* Moved SkinTemplate::setupUserCss() to Skin.
* Merged action=raw&gen=(js|css) for SkinTemplate and non-SkinTemplate skins, renamed functions to Skin::generateUserJs() and Skin::generateUserStyleSheet() and dropped a lot of cascading call which is a bit incomprehensible.

15 years agoForce inserted bools to be ints, per Tim's suggestion on bug 15148.
Greg Sabino Mullane [Thu, 21 Aug 2008 13:10:19 +0000 (13:10 +0000)]
Force inserted bools to be ints, per Tim's suggestion on bug 15148.
This should be fine for now as Postgres uses SMALLINTs for BOOLs, to
match MySQLs BOOL/TINYINT aliasing and subsequent MW coding assumptions.
It's possible this will cause bad effects if inserted values are called
in a boolean context when they are going into a non-SMALLINT column, but we can handle
those as they come up.

15 years agoAdded GlobalBlocking local table
Tim Starling [Thu, 21 Aug 2008 11:54:53 +0000 (11:54 +0000)]
Added GlobalBlocking local table

15 years agoLocalization update for he.
Rotem Liss [Thu, 21 Aug 2008 08:51:40 +0000 (08:51 +0000)]
Localization update for he.

15 years agoMore Doxygen alias fixes; these aliases should be consistent enough to use all over...
Fran Rogers [Thu, 21 Aug 2008 08:39:31 +0000 (08:39 +0000)]
More Doxygen alias fixes; these aliases should be consistent enough to use all over now :)

15 years agoMark 'accesskey-visualcomparison' as optional. Rebuilt message files.
Siebrand Mazeland [Thu, 21 Aug 2008 08:33:25 +0000 (08:33 +0000)]
Mark 'accesskey-visualcomparison' as optional. Rebuilt message files.

15 years agoSame for other skins, modify release note accordingly.
Ilmari Karonen [Thu, 21 Aug 2008 07:42:43 +0000 (07:42 +0000)]
Same for other skins, modify release note accordingly.

15 years agoMake the "image" tab blue for images without a local description page (such as Common...
Ilmari Karonen [Thu, 21 Aug 2008 07:25:28 +0000 (07:25 +0000)]
Make the "image" tab blue for images without a local description page (such as Commons images).

15 years agominor code tweaks
Aaron Schulz [Thu, 21 Aug 2008 03:05:25 +0000 (03:05 +0000)]
minor code tweaks

15 years ago+1 $wgStyleVersion for previous commit.
Chad Horohoe [Thu, 21 Aug 2008 00:55:10 +0000 (00:55 +0000)]
+1 $wgStyleVersion for previous commit.

15 years agoAdded button for Visual Comparison to history page, previous and next diff buttons...
Guy Van den Broeck [Thu, 21 Aug 2008 00:45:13 +0000 (00:45 +0000)]
Added button for Visual Comparison to history page, previous and next diff buttons follow that choice consistently and diff pages have a link to switch from/to source/visual comparison

15 years agomessages.inc even.
Chad Horohoe [Thu, 21 Aug 2008 00:32:46 +0000 (00:32 +0000)]
messages.inc even.

15 years ago* Move messages from a hardcoded $bundle to core message files.
Chad Horohoe [Thu, 21 Aug 2008 00:22:02 +0000 (00:22 +0000)]
* Move messages from a hardcoded $bundle to core message files.
* getString() is now a wrapper for htmlspecialchars( wfMsgNoTrans() ) as these messages are plaintext (per guyvdb)
* Could probably use more cleanup, but this is a nice start in the right direction.

15 years agoDocument a bit.
Chad Horohoe [Wed, 20 Aug 2008 22:22:29 +0000 (22:22 +0000)]
Document a bit.

15 years agoTweak for r29770 (yes, some months after it):
Alexandre Emsenhuber [Wed, 20 Aug 2008 21:27:12 +0000 (21:27 +0000)]
Tweak for r29770 (yes, some months after it):
If the wiki is read only mode, don't show a "database locked" error if previewing or showing diff, but rather the "normal" action with a warning that the database is currently locked. If the user is trying to save the page, he'll see the preview page instead. Currently, if you are saving or previewing a page while the database is locked, you'll see the "database locked" error with the current text (or no text at all if the page doesn't exist), not your text, this might be confusing.

Also added the reason of the lock to the readonlywarning message.

15 years agoProvide some info on which case value was not handled in ApiLogin
Bryan Tong Minh [Wed, 20 Aug 2008 19:56:18 +0000 (19:56 +0000)]
Provide some info on which case value was not handled in ApiLogin

15 years agouse quickUserCan()
Aaron Schulz [Wed, 20 Aug 2008 19:26:43 +0000 (19:26 +0000)]
use quickUserCan()

15 years agoLocalization update.
Rotem Liss [Wed, 20 Aug 2008 19:23:04 +0000 (19:23 +0000)]
Localization update.

15 years agoEscape characters that were unescaped by the parser
Guy Van den Broeck [Wed, 20 Aug 2008 19:19:36 +0000 (19:19 +0000)]
Escape characters that were unescaped by the parser

15 years agoFixes for r39727
Siebrand Mazeland [Wed, 20 Aug 2008 19:16:12 +0000 (19:16 +0000)]
Fixes for r39727

15 years agofunction is not static
Aaron Schulz [Wed, 20 Aug 2008 19:13:13 +0000 (19:13 +0000)]
function is not static

15 years ago'Visual Comparison' added to messages
Guy Van den Broeck [Wed, 20 Aug 2008 19:09:27 +0000 (19:09 +0000)]
'Visual Comparison' added to messages

15 years agoadded diff headers for HTML diff
Guy Van den Broeck [Wed, 20 Aug 2008 18:45:43 +0000 (18:45 +0000)]
added diff headers for HTML diff

15 years agofix for html diff on page with images -- ImageNode $attributes member was incorrectly...
Brion Vibber [Wed, 20 Aug 2008 18:25:45 +0000 (18:25 +0000)]
fix for html diff on page with images -- ImageNode $attributes member was incorrectly declared as private

15 years agoLocalization update.
Rotem Liss [Wed, 20 Aug 2008 18:12:16 +0000 (18:12 +0000)]
Localization update.

15 years ago* $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead.
Brion Vibber [Wed, 20 Aug 2008 18:11:59 +0000 (18:11 +0000)]
* $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead.

I never liked the take-over-the-screen UI of the old ajax search; the new suggestion search does the same thing in a more natural, integrated way.

15 years agoUpdate to match postgres/tables.sql
Greg Sabino Mullane [Wed, 20 Aug 2008 17:51:08 +0000 (17:51 +0000)]
Update to match postgres/tables.sql

15 years agoredo allpages again less obtrusively
Aaron Schulz [Wed, 20 Aug 2008 17:50:13 +0000 (17:50 +0000)]
redo allpages again less obtrusively

15 years agoLocalization update for he.
Rotem Liss [Wed, 20 Aug 2008 16:25:15 +0000 (16:25 +0000)]
Localization update for he.

15 years agoRevert r39416, 39421, 39427, 39489, 39515, 39516 "Rewrite allpages to use a "tree...
Brion Vibber [Wed, 20 Aug 2008 16:13:49 +0000 (16:13 +0000)]
Revert r39416, 39421, 39427, 39489, 39515, 39516 "Rewrite allpages to use a "tree" of index range subpages (similar to the starting page) rather than one increasingly large range list (bug 13902)"

Breaks several aspects of paging behavior:
* Subpage parameter seems to have incorrectly changed from starting point to prefix
* We've lost forward and backward paging links

15 years ago*ahem* self-revert. Something weird happened with getAll()
Andrew Garrett [Wed, 20 Aug 2008 14:12:52 +0000 (14:12 +0000)]
*ahem* self-revert. Something weird happened with getAll()

15 years agoUse a nice fancy deep-merge function for merging arrays in SiteConfiguration (newly...
Andrew Garrett [Wed, 20 Aug 2008 14:08:50 +0000 (14:08 +0000)]
Use a nice fancy deep-merge function for merging arrays in SiteConfiguration (newly written), and move the merging of config options and globals deeper into get(), so we don't need to duplicate the same functionality in the entry points.

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Wed, 20 Aug 2008 13:45:43 +0000 (13:45 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoAdd "+setting" type code (adding to the existing global) into getAll, since that...
Andrew Garrett [Wed, 20 Aug 2008 12:56:59 +0000 (12:56 +0000)]
Add "+setting" type code (adding to the existing global) into getAll, since that is what we use on Wikimedia

15 years agoPHP Sucks. Having a value of 0 was making $value appear as false, so you couldn't...
Andrew Garrett [Wed, 20 Aug 2008 12:30:31 +0000 (12:30 +0000)]
PHP Sucks. Having a value of 0 was making $value appear as false, so you couldn't set a value when adding an option. Fixed this up with a strict check.

15 years agoLoad messages in a less shitty and more consistent manner for extensions. Previously...
Aaron Schulz [Wed, 20 Aug 2008 09:43:46 +0000 (09:43 +0000)]
Load messages in a less shitty and more consistent manner for extensions. Previously relied on logName() being called. Failed miserably for extracts.

15 years ago* Profile a tad more
Aaron Schulz [Wed, 20 Aug 2008 08:40:37 +0000 (08:40 +0000)]
* Profile a tad more
* Code style tweak

15 years agominor refactoring
Aaron Schulz [Wed, 20 Aug 2008 08:24:10 +0000 (08:24 +0000)]
minor refactoring

15 years agoDisable the time limit during full-history export
Brion Vibber [Wed, 20 Aug 2008 02:22:50 +0000 (02:22 +0000)]
Disable the time limit during full-history export

15 years agoPart two of allowing Special:Export to work on very long page histories...
Brion Vibber [Wed, 20 Aug 2008 01:40:35 +0000 (01:40 +0000)]
Part two of allowing Special:Export to work on very long page histories...

Part 1 was disabling the output buffers, allowing us to stream output continuously.

Part 2, here, is to use an unbuffered query to load the page/revision data, as we do for the command-line scripts. (This is done in what Tim assures me is a portable, database-neutral way, unlike all the maint scripts which still use old hacks.) This lets us actually stream the *input* -- otherwise streaming the output is darn useless!

Part 3 will be fixing up things like the max execution time. :)

15 years agoRemark static functions for performance. Same 15 test failures as before this change.
Aaron Schulz [Wed, 20 Aug 2008 01:03:01 +0000 (01:03 +0000)]
Remark static functions for performance. Same 15 test failures as before this change.

15 years ago* (bug 15230) Revert r38207 arbitrary removal of capitalization from individual group...
Brion Vibber [Tue, 19 Aug 2008 23:27:33 +0000 (23:27 +0000)]
* (bug 15230) Revert r38207 arbitrary removal of capitalization from individual group member name while similar usages such as the plural group name remain capitalized.

15 years agoAdd another parser test for whitespace before the number-px, just for good measure...
Brion Vibber [Tue, 19 Aug 2008 21:24:47 +0000 (21:24 +0000)]
Add another parser test for whitespace before the number-px, just for good measure. That one was in use on pages on frwiki

15 years ago 2 new PASSING test(s) :)
Brion Vibber [Tue, 19 Aug 2008 21:10:56 +0000 (21:10 +0000)]
   2 new PASSING test(s) :)
      * Width-sized image (using px, no following whitespace)  [Has never failed]
      * Width-sized image (using px, with following whitespace - test regression from r39467)  [Has never failed]

15 years agoRevert Parser.php to r39295 good state.
Brion Vibber [Tue, 19 Aug 2008 20:59:18 +0000 (20:59 +0000)]
Revert Parser.php to r39295 good state.
Whitespace handling for image width magic words failed, possibly other problems.
NEEDS PARSER TESTS

15 years ago* $wgSpamRegex now matches the edit summary and page move descriptions in
Brion Vibber [Tue, 19 Aug 2008 20:32:30 +0000 (20:32 +0000)]
* $wgSpamRegex now matches the edit summary and page move descriptions in
  addition to body text.

Could use some cleanup to the error display on page moves; it recycles the general edit notice for spam hits currently, which is pretty big on English Wikipedia, and doesn't say what match you hit.

15 years agoFix variable name, per report of Smaug on IRC
Alexandre Emsenhuber [Tue, 19 Aug 2008 19:27:13 +0000 (19:27 +0000)]
Fix variable name, per report of Smaug on IRC

15 years agoRevert r39625 "Run autocreated accounts through AbortNewAccount hooks"
Brion Vibber [Tue, 19 Aug 2008 19:11:27 +0000 (19:11 +0000)]
Revert r39625 "Run autocreated accounts through AbortNewAccount hooks"
This seems to be mixing UI and backend code.

Further I'm unsure we want to treat authplugin autocreations as "new accounts" for this purpose; since they *have* been previously created and perhaps approved, just blindly running it through the same abort hook again will be a huge pain in the butt, for instance for those who had to go through admin approval due to a machine-detected name spoof conflict or an IP blocking issue. If an abort is appropriate, it should probably be a distinct hook so it can be treated differently.

15 years agoMove the call to view() for Action::purge() up from doPurge() to purge(). Kinda like...
Chad Horohoe [Tue, 19 Aug 2008 19:10:07 +0000 (19:10 +0000)]
Move the call to view() for Action::purge() up from doPurge() to purge(). Kinda like last time, only less broken. Calling Article::doPurge() now lets the backend do a purge without output (and doesn't turn Article::purge() into a UI and backend entry, which is good)

15 years agoRevert r39623 "Use array_merge_recursive instead of array_merge for merging settings."
Brion Vibber [Tue, 19 Aug 2008 19:05:23 +0000 (19:05 +0000)]
Revert r39623 "Use array_merge_recursive instead of array_merge for merging settings."
I do not think array_merge_recursive does what you think it does. It looks like it would spectacularly corrupt things.

15 years agoReverting r39619 "(bug 13689) Page output can be suppressed on Article::purge() by...
Brion Vibber [Tue, 19 Aug 2008 18:58:50 +0000 (18:58 +0000)]
Reverting r39619 "(bug 13689) Page output can be suppressed on Article::purge() by passing bool false to it. Default (ie: nearly 100+% of the time) is true."

Article::purge() is a UI action entry point, not a backend method. Backend-only parameters aren't appropriate here; instead a method suitable for backend usage should be created (and/or in an ideal world, we should finish splitting Article backend stuff from UI frontend as separate classes)

15 years agoRevert r39608 "More descriptive sanitized paths for file repo errors"
Brion Vibber [Tue, 19 Aug 2008 18:45:32 +0000 (18:45 +0000)]
Revert r39608 "More descriptive sanitized paths for file repo errors"
This doesn't look like it'll work -- it appears to be using string interpolations in single-quoted strings?
Can you test some error conditions w/ this and show some before and after examples?

15 years agoRevert r39582 "(bug 12518) Interwiki userrights now reflects remote groups, not local...
Brion Vibber [Tue, 19 Aug 2008 17:40:00 +0000 (17:40 +0000)]
Revert r39582 "(bug 12518) Interwiki userrights now reflects remote groups, not local groups."
This won't actually work -- it checks the InitialiseSettings.php conf array for $wgGroupPermissions, but we don't set $wgGroupPermissions individually for every wiki. We use a system of several override variables which get applied in CommonSettings.php onto the default template.

15 years agoRevert r39546 "(bug 14187) In Special:Userlogin the buttons "Log in" and "E-mail...
Brion Vibber [Tue, 19 Aug 2008 17:24:23 +0000 (17:24 +0000)]
Revert r39546 "(bug 14187) In Special:Userlogin the buttons "Log in" and "E-mail new password" now have classes "mw-loginbutton" and "mw-mailmypasswordbutton"."
There's no need to add classes when they already have IDs...

15 years agoFix up my name.
Bryan Tong Minh [Tue, 19 Aug 2008 15:08:14 +0000 (15:08 +0000)]
Fix up my name.

15 years agoAPI:
Roan Kattouw [Tue, 19 Aug 2008 15:05:29 +0000 (15:05 +0000)]
API:
* BREAKING CHANGE: list={backlinks,embeddedin,imageusage} now return an array with keys 0, 1, 2, ... (list) rather than an array with pageIDs as keys (hash table/associative array) for consistency with other list= modules.
* Attempting to fix an error about "Invalid title ``''" (i.e. empty string as title) I encountered at Wikipedia.

15 years agoAdded some missing developers to CREDITS
Alexandre Emsenhuber [Tue, 19 Aug 2008 13:59:05 +0000 (13:59 +0000)]
Added some missing developers to CREDITS

15 years agoLocalization update for he.
Rotem Liss [Tue, 19 Aug 2008 08:13:18 +0000 (08:13 +0000)]
Localization update for he.

15 years agoCommitting todays work on LinkHooks and the link rewrite:
Daniel Friesen [Tue, 19 Aug 2008 04:44:34 +0000 (04:44 +0000)]
Committing todays work on LinkHooks and the link rewrite:
* Cleanup and remove cruft
* Get hooks working
* Get Categories working (whitespace trimming not done)

15 years agoTweak comment: fixed it but didn't remove the fixme.
Chad Horohoe [Tue, 19 Aug 2008 03:48:26 +0000 (03:48 +0000)]
Tweak comment: fixed it but didn't remove the fixme.

15 years agofix Bug 15240 Special:Search uses wrong data in PLURAL
Purodha B Blissenbach [Tue, 19 Aug 2008 02:24:46 +0000 (02:24 +0000)]
fix Bug 15240 Special:Search uses wrong data in PLURAL
with MediaWiki:Showingresultstotal, introducing $4 = count of results on
this page.

15 years agoUpdate the Chinese conversion tables
Shinjiman [Tue, 19 Aug 2008 02:13:31 +0000 (02:13 +0000)]
Update the Chinese conversion tables

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Tue, 19 Aug 2008 02:08:12 +0000 (02:08 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoRun autocreated accounts through AbortNewAccount hooks
Fran Rogers [Tue, 19 Aug 2008 02:00:43 +0000 (02:00 +0000)]
Run autocreated accounts through AbortNewAccount hooks

15 years agoRevert 39613; Please don't mark that function static. It is not called statically...
Daniel Friesen [Tue, 19 Aug 2008 01:19:19 +0000 (01:19 +0000)]
Revert 39613; Please don't mark that function static. It is not called statically, and is not meant to be. That is meant as a test to see if there are any markers inside of part of the string being worked on.
Ideally in the future markers will have unique identifier so that using multiple link marker replacers don't clash with each other.

15 years agoUse array_merge_recursive instead of array_merge for merging settings.
Andrew Garrett [Tue, 19 Aug 2008 01:11:02 +0000 (01:11 +0000)]
Use array_merge_recursive instead of array_merge for merging settings.

15 years agoRevert r39503, 39507 "(bug 14468) Lines in classic RecentChanges and Watchlist now...
Brion Vibber [Tue, 19 Aug 2008 00:15:05 +0000 (00:15 +0000)]
Revert r39503, 39507 "(bug 14468) Lines in classic RecentChanges and Watchlist now have classes "odd" and "even" to make colouring using css possible."

These alternating background colors are imho not very attractive, and make the display busy and confusing, rather than easier to read.

15 years agoLocalisation updates for core messages from Betawiki (2008-08-19 00:18 CEST)
Siebrand Mazeland [Mon, 18 Aug 2008 22:34:28 +0000 (22:34 +0000)]
Localisation updates for core messages from Betawiki (2008-08-19 00:18 CEST)

15 years ago(bug 13689) Page output can be suppressed on Article::purge() by passing bool false...
Chad Horohoe [Mon, 18 Aug 2008 22:21:13 +0000 (22:21 +0000)]
(bug 13689) Page output can be suppressed on Article::purge() by passing bool false to it. Default (ie: nearly 100+% of the time) is true.

15 years agoUse !== here
Aaron Schulz [Mon, 18 Aug 2008 21:03:59 +0000 (21:03 +0000)]
Use !== here

15 years agoUse more simple strict comparisons
Aaron Schulz [Mon, 18 Aug 2008 20:52:24 +0000 (20:52 +0000)]
Use more simple strict comparisons

15 years ago(bug 15228) Throw a warning instead of an error when revids= and redirects are combin...
Roan Kattouw [Mon, 18 Aug 2008 20:48:45 +0000 (20:48 +0000)]
(bug 15228) Throw a warning instead of an error when revids= and redirects are combined. Also fixed a bug that caused warnings thrown in ApiPageSet.php to appear in an <ApiPageSet> tag rather than <query>

15 years agomark static
Aaron Schulz [Mon, 18 Aug 2008 20:38:34 +0000 (20:38 +0000)]
mark static

15 years agomark static functions
Aaron Schulz [Mon, 18 Aug 2008 20:27:35 +0000 (20:27 +0000)]
mark static functions