lhc/web/wiklou.git
15 years agoUsing referenses inside of foreach loops.
Guy Van den Broeck [Mon, 18 Aug 2008 14:55:36 +0000 (14:55 +0000)]
Using referenses inside of foreach loops.

15 years agoAvoid notices: Before checking if retval is an array, check if it is defined.
Rotem Liss [Mon, 18 Aug 2008 14:51:10 +0000 (14:51 +0000)]
Avoid notices: Before checking if retval is an array, check if it is defined.

15 years agoCommitting today's work the LinkHooks' new parser.
Daniel Friesen [Mon, 18 Aug 2008 14:44:51 +0000 (14:44 +0000)]
Committing today's work the LinkHooks' new parser.

Don't expect this to work completely yet, there is likely going to be a lot of refactoring before a final version is complete.

15 years agoUse colon-separator message after summary, summary-preview, subject and subject-previ...
Alexandre Emsenhuber [Mon, 18 Aug 2008 14:19:12 +0000 (14:19 +0000)]
Use colon-separator message after summary, summary-preview, subject and subject-preview instead of hardcoding a ":" after it

15 years agoCleaned up HTMLDiff implementation for readability:
Roan Kattouw [Mon, 18 Aug 2008 13:48:44 +0000 (13:48 +0000)]
Cleaned up HTMLDiff implementation for readability:
* Coding style consistency and indentation
* Removed unneccesary require_once(), the AutoLoader will load the right file automatically
* sizeof -> count, TRUE -> true, FALSE -> false, NULL -> null
* Use Xml:: functions
* Rename TagNode::splitUntill() to splitUntil() and $hasNotDeletedDescendant to $hasNonDeletedDescendant
* Flip TagNode::$blocks, TagToStringFactory::$containerTags and TagToStringFactory::$styleTags
* Merging if's in Node::getParentTree()
* Use a smart foreach() loop rather than two while()s and an if() in TagNode::splitUntil()
* Put all of TextNodeDiffer's members on top rather than scattering them between functions
* Use PHP's double-quoted string coolness rather than sprintf() or concatenation
* Use a smart foreach loop rather than array_keys() and a for() in TagToString::addAttributes()

TODO:
* Use interface messages rather than TagToString::$bundle so they can be translated
* Use constants for magic numbers like 1.35, 1000 and 2000 in calls to WikiDiff3::__construct()

15 years agoFix for r39314 (adding the new toggles to $mToggles in User.php)
Siebrand Mazeland [Mon, 18 Aug 2008 13:26:46 +0000 (13:26 +0000)]
Fix for r39314 (adding the new toggles to $mToggles in User.php)

15 years agoAllow use of +setting to add to that setting as it is (for arrays), rather than to...
Andrew Garrett [Mon, 18 Aug 2008 12:50:30 +0000 (12:50 +0000)]
Allow use of +setting to add to that setting as it is (for arrays), rather than to replace it. Together with the previous commit to this file, we don't need to use groupOverrides/groupOverrides2 anymore

15 years ago(bug 12518) Interwiki userrights now reflects remote groups, not local groups.
Andrew Garrett [Mon, 18 Aug 2008 12:41:57 +0000 (12:41 +0000)]
(bug 12518) Interwiki userrights now reflects remote groups, not local groups.

15 years agoAllowed array-merging for site config. You can now set a setting for '+whatever'...
Andrew Garrett [Mon, 18 Aug 2008 09:26:48 +0000 (09:26 +0000)]
Allowed array-merging for site config. You can now set a setting for '+whatever', and it's the same as setting it for 'whatever',  merged with the contents of the next level up. Should mean we're able to deprecate the ugly groupOverrides/groupOverrides2 syntax in InitialiseSettings.php.

15 years agoadd profile calls
Aaron Schulz [Mon, 18 Aug 2008 07:59:37 +0000 (07:59 +0000)]
add profile calls

15 years agoAdd optional $db param
Aaron Schulz [Mon, 18 Aug 2008 06:50:12 +0000 (06:50 +0000)]
Add optional $db param

15 years agofix broken profiling
Aaron Schulz [Mon, 18 Aug 2008 05:58:54 +0000 (05:58 +0000)]
fix broken profiling

15 years agoprofile out
Aaron Schulz [Mon, 18 Aug 2008 05:50:03 +0000 (05:50 +0000)]
profile out

15 years agoCreate a placeholder for the LinkHook experimentation.
Daniel Friesen [Mon, 18 Aug 2008 03:56:38 +0000 (03:56 +0000)]
Create a placeholder for the LinkHook experimentation.
This will allow us to develop a new method of parsing links (non-hacky), without breaking current syntax, and also allow us to make sure new methods don't break syntax.

Currently this class merely inherits from the Parser class. Constants and static functions are coppied so that use of self:: won't break when we modify things.

15 years agobe more specific in error
Aaron Schulz [Mon, 18 Aug 2008 03:30:36 +0000 (03:30 +0000)]
be more specific in error

15 years agodisable compression
Aaron Schulz [Mon, 18 Aug 2008 02:36:34 +0000 (02:36 +0000)]
disable compression

15 years agoPerformance improvements to diff algorithms
Guy Van den Broeck [Mon, 18 Aug 2008 00:16:32 +0000 (00:16 +0000)]
Performance improvements to diff algorithms

15 years agoflag as protected
Aaron Schulz [Sun, 17 Aug 2008 21:58:17 +0000 (21:58 +0000)]
flag as protected

15 years agoNew RELEASE-NOTES belong at the bottom :)
Chad Horohoe [Sun, 17 Aug 2008 21:29:05 +0000 (21:29 +0000)]
New RELEASE-NOTES belong at the bottom :)

15 years agoadd new option $wgRestrictDisplayTitle
Daniel Kinzler [Sun, 17 Aug 2008 21:08:58 +0000 (21:08 +0000)]
add new option $wgRestrictDisplayTitle

15 years ago(bug 14187) In Special:Userlogin the buttons "Log in" and "E-mail new password" now...
Siebrand Mazeland [Sun, 17 Aug 2008 19:25:19 +0000 (19:25 +0000)]
(bug 14187) In Special:Userlogin the buttons "Log in" and "E-mail new password" now have classes "mw-loginbutton" and "mw-mailmypasswordbutton".

15 years agoUse wfMsgExt() with parsemag instead of wfMsg().
Chad Horohoe [Sun, 17 Aug 2008 15:55:48 +0000 (15:55 +0000)]
Use wfMsgExt() with parsemag instead of wfMsg().

15 years ago{{PLURAL}}-ize 'siteusers'
Chad Horohoe [Sun, 17 Aug 2008 15:45:08 +0000 (15:45 +0000)]
{{PLURAL}}-ize 'siteusers'

15 years agoTweak 'categoriespagetext' further.
Siebrand Mazeland [Sun, 17 Aug 2008 11:06:04 +0000 (11:06 +0000)]
Tweak 'categoriespagetext' further.

15 years agoLocalisation updates for core messages from Betawiki (2008-08-17 11:50 CEST)
Siebrand Mazeland [Sun, 17 Aug 2008 10:00:06 +0000 (10:00 +0000)]
Localisation updates for core messages from Betawiki (2008-08-17 11:50 CEST)

15 years agoPer request in bug 15194, add more syntax for Special:Log, similar to Special:ListUse...
Fran Rogers [Sun, 17 Aug 2008 05:06:26 +0000 (05:06 +0000)]
Per request in bug 15194, add more syntax for Special:Log, similar to Special:ListUsers changes in r39269

15 years agocheck if $lines is empty
Aaron Schulz [Sun, 17 Aug 2008 00:57:31 +0000 (00:57 +0000)]
check if $lines is empty

15 years agotruncate super long pages (bug 15186)
Aaron Schulz [Sun, 17 Aug 2008 00:39:46 +0000 (00:39 +0000)]
truncate super long pages (bug 15186)

15 years agomove "continue" statement. Broken position broke mImages and thus flaggedrevs.
Aaron Schulz [Sun, 17 Aug 2008 00:20:47 +0000 (00:20 +0000)]
move "continue" statement. Broken position broke mImages and thus flaggedrevs.

15 years ago(bug 14434) Added links to Special:UnusedCategories and Special:WantedCategories...
Siebrand Mazeland [Sat, 16 Aug 2008 22:20:48 +0000 (22:20 +0000)]
(bug 14434) Added links to Special:UnusedCategories and Special:WantedCategories in message 'categoriespagetext'.

15 years agoFollow up on r39503. Add li.odd to common style sheet.
Siebrand Mazeland [Sat, 16 Aug 2008 22:06:28 +0000 (22:06 +0000)]
Follow up on r39503. Add li.odd to common style sheet.

15 years ago(bug 15178) Added clshow to prop=categories to allow filtering for hidden/non-hidden...
Roan Kattouw [Sat, 16 Aug 2008 21:21:12 +0000 (21:21 +0000)]
(bug 15178) Added clshow to prop=categories to allow filtering for hidden/non-hidden categories

15 years ago(bug 14468) Lines in classic RecentChanges and Watchlist now have classes "odd" and...
Siebrand Mazeland [Sat, 16 Aug 2008 21:16:25 +0000 (21:16 +0000)]
(bug 14468) Lines in classic RecentChanges and Watchlist now have classes "odd" and "even" to make colouring using css possible. Implemented in OldChangesList::recentChangesLine using an additional parameter, while keeping behaviour for other uses unchanged. Did not see any use adding this to ChangesList::recentChangesLine

15 years ago(bug 15173) Make prop={links,templatelinks} not break in PostgreSQL
Roan Kattouw [Sat, 16 Aug 2008 21:02:31 +0000 (21:02 +0000)]
(bug 15173) Make prop={links,templatelinks} not break in PostgreSQL

15 years agoAPI: Let list=search throw away missing titles. Lucene will sometimes give us pages...
Roan Kattouw [Sat, 16 Aug 2008 21:00:19 +0000 (21:00 +0000)]
API: Let list=search throw away missing titles. Lucene will sometimes give us pages that have recently been deleted.

15 years agoAPI: Fixing an E_NOTICE reported by Wikia. Can't reproduce locally, but an extra...
Roan Kattouw [Sat, 16 Aug 2008 20:52:56 +0000 (20:52 +0000)]
API: Fixing an E_NOTICE reported by Wikia. Can't reproduce locally, but an extra @ can't hurt.

15 years agoPatch from MaxSem re bug 15162 - handle throttling in the login API
Fran Rogers [Sat, 16 Aug 2008 18:43:02 +0000 (18:43 +0000)]
Patch from MaxSem re bug 15162 - handle throttling in the login API

15 years agoUpdate the Chinese conversion tables
Shinjiman [Sat, 16 Aug 2008 16:13:10 +0000 (16:13 +0000)]
Update the Chinese conversion tables

15 years agoset bounds for showChunk() here
Aaron Schulz [Sat, 16 Aug 2008 14:36:29 +0000 (14:36 +0000)]
set bounds for showChunk() here

15 years agoCore changes for DeleteQueue:
Andrew Garrett [Sat, 16 Aug 2008 13:34:43 +0000 (13:34 +0000)]
Core changes for DeleteQueue:
* Make Article::doEdit() accept a user who's making the edit, not rely on .
* Add Article::newFromID(), so you don't have to create a title (loading a page row), in order to get an Article (loading the same page row again).

15 years agoLocalisation updates for core messages from Betawiki (2008-08-16 13:21 CEST)
Siebrand Mazeland [Sat, 16 Aug 2008 11:39:29 +0000 (11:39 +0000)]
Localisation updates for core messages from Betawiki (2008-08-16 13:21 CEST)

15 years agofix for last commit: the (bool) is not needed
Alexandre Emsenhuber [Sat, 16 Aug 2008 11:28:24 +0000 (11:28 +0000)]
fix for last commit: the (bool) is not needed

15 years agotweak for r39376: do not show the check box "remember my password" if $wgEnablePersis...
Alexandre Emsenhuber [Sat, 16 Aug 2008 11:25:42 +0000 (11:25 +0000)]
tweak for r39376: do not show the check box "remember my password" if $wgEnablePersistentCookies is set to false

15 years agoFix for problems with r39414; LinkHolderArray::replaceInterwiki() was badly broken
Fran Rogers [Sat, 16 Aug 2008 10:13:35 +0000 (10:13 +0000)]
Fix for problems with r39414; LinkHolderArray::replaceInterwiki() was badly broken

15 years agosequel of r38784, adding the test case for the 'submit' action
Shinjiman [Sat, 16 Aug 2008 10:09:18 +0000 (10:09 +0000)]
sequel of r38784, adding the test case for the 'submit' action
patch by PhiLiP

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sat, 16 Aug 2008 10:02:28 +0000 (10:02 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoRevert r39414. Breaks processing links like [[:wikipedia:nl:User:Siebrand|Dutch langu...
Siebrand Mazeland [Sat, 16 Aug 2008 09:33:11 +0000 (09:33 +0000)]
Revert r39414. Breaks processing links like [[:wikipedia:nl:User:Siebrand|Dutch language Wikipedia]]. It will add a comment like "<!--IWLINK 0-->" in the HTML output. Happens even if there is one such link on a page.

15 years agoSelf-revert for now; Splarka made a good point.
Fran Rogers [Sat, 16 Aug 2008 09:09:45 +0000 (09:09 +0000)]
Self-revert for now; Splarka made a good point.

15 years agoUse the 'postcomment' message consistently across skins
Fran Rogers [Sat, 16 Aug 2008 09:00:38 +0000 (09:00 +0000)]
Use the 'postcomment' message consistently across skins

15 years agoSupport {{Special:AllPages/x}} rather than defaulting to main index
Aaron Schulz [Fri, 15 Aug 2008 19:42:45 +0000 (19:42 +0000)]
Support {{Special:AllPages/x}} rather than defaulting to main index

15 years agoDecouple from allpages a little to avoid E_STRICT notices
Aaron Schulz [Fri, 15 Aug 2008 19:02:48 +0000 (19:02 +0000)]
Decouple from allpages a little to avoid E_STRICT notices

15 years agodouble-check with isLocal() to be safe
Aaron Schulz [Fri, 15 Aug 2008 18:28:54 +0000 (18:28 +0000)]
double-check with isLocal() to be safe

15 years agoLocalization update.
Rotem Liss [Fri, 15 Aug 2008 17:57:51 +0000 (17:57 +0000)]
Localization update.

15 years agoRewrite allpages to use a "tree" of index range subpages (similar to the starting...
Aaron Schulz [Fri, 15 Aug 2008 17:55:17 +0000 (17:55 +0000)]
Rewrite allpages to use a "tree" of index range subpages (similar to the starting page) rather than one increasingly large range list (bug 13902)

15 years agoFixes for r39406:
Alexandre Emsenhuber [Fri, 15 Aug 2008 16:51:46 +0000 (16:51 +0000)]
Fixes for r39406:
* Set missing properties svn:eol-style and svn:mime-type
* Use auto loader if possible
* Added $wgEnableHtmlDiff to DefaultSettings.php (todo: fix description of this setting)

15 years ago* In the parser: do link existence tests in batches of 1000. Avoids using excessive...
Tim Starling [Fri, 15 Aug 2008 16:35:03 +0000 (16:35 +0000)]
* In the parser: do link existence tests in batches of 1000. Avoids using excessive memory to store Title objects.
* Split link placeholder/replacement handling into a separate object, LinkHolderArray.
* Remove Title objects from LinkCache, they apparently weren't being used at all. Same unconstrained memory usage as the former $parser->mLinkHolders.
* Introduced ExplodeIterator -- a workalike for explode() which doesn't use a significant amount of memory
* Introduced StringUtils::explode() -- select whether to use the simulated or native explode() depending on how many items there are
* Migrated most instances of explode() in Parser.php to StringUtils::explode()
* Renamed some variables in Parser::doBlockLevels()
* In Parser.php: $fname => __METHOD__, Parser => self/__CLASS__, to support Parser_DiffTest more easily
* Doc update in includes/MessageCache.php for r39412
* MW_TITLECACHE_MAX => Title::CACHE_MAX, nicer name, easier to access from another module

15 years agoAdded shortOutput option.
Tim Starling [Fri, 15 Aug 2008 16:03:38 +0000 (16:03 +0000)]
Added shortOutput option.

15 years agoDon't use $wgParser when {{int:}} is called, use $parser->replaceVariables() instead...
Tim Starling [Fri, 15 Aug 2008 16:02:00 +0000 (16:02 +0000)]
Don't use $wgParser when {{int:}} is called, use $parser->replaceVariables() instead. Removes an unnecessary potential $wgTitle reference, and fixes Parser_DiffTest.

15 years agoUpdate for revert to old link trail
Tim Starling [Fri, 15 Aug 2008 15:57:17 +0000 (15:57 +0000)]
Update for revert to old link trail

15 years agoAvoid notice when no categories are present
Tim Starling [Fri, 15 Aug 2008 15:56:48 +0000 (15:56 +0000)]
Avoid notice when no categories are present

15 years agoNew implementation of wikidiff3 algorithm replacing the previous one and basic HTML...
Guy Van den Broeck [Fri, 15 Aug 2008 11:46:46 +0000 (11:46 +0000)]
New implementation of wikidiff3 algorithm replacing the previous one and basic HTML diffing support, both integrated with DifferenceEngine

15 years ago* Bug 12976: Use $WebResponse->setCookie() rather than raw setcookie() calls.
Chad Horohoe [Fri, 15 Aug 2008 01:54:59 +0000 (01:54 +0000)]
* Bug 12976: Use $WebResponse->setCookie() rather than raw setcookie() calls.
* Moved all of the debugging/logic to WebResponse so it can be properly used elsewhere.
* A bit of cleanup so cookies set by $wgUser->setCookie() use $wgCookiePath as they should.
* Bug 14887: $wgEnablePersistentCookies has been added to allow for disabling of persistent cookies.

15 years ago* Avoid recursive crazy expansions in section edit comments for pages which contain...
Brion Vibber [Thu, 14 Aug 2008 23:33:02 +0000 (23:33 +0000)]
* Avoid recursive crazy expansions in section edit comments for pages which contain '/*' in the title

while( preg_match ) <- bad
preg_replace_callback <- good

Old method made insane expansions like this on 'Wikipedia:Translation/*/Lang/de':

(cur) (last)  2008-08-14T22:23:48 Carcharoth (Talk | contribs | block) (12,310 bytes) (- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - →/Lang/de#.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang[...and on for another 30k characters...]#Latest_translation_requests" title="Wikipedia:Translation/: Lang/de">→Latest translation requests: add request) (rollback | undo)

15 years ago* $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf now work more like
Ryan Schmidt [Thu, 14 Aug 2008 21:55:17 +0000 (21:55 +0000)]
* $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf now work more like
  $wgAddGroups and $wgRemoveGroups, where the user must belong to a specified
  group in order to add or remove those groups from themselves.
  Backwards compatibility is maintained.
* Added hook 'UserrightsChangeableGroups' to allow modification of what
  groups may be added or removed via the Special:UserRights interface.

15 years agoLocalization revert.
Rotem Liss [Thu, 14 Aug 2008 20:07:20 +0000 (20:07 +0000)]
Localization revert.

15 years agoRevert r39359 "Add a few handy links to the special pages" by hint of Nikerabbit...
Raimond Spekking [Thu, 14 Aug 2008 20:00:37 +0000 (20:00 +0000)]
Revert r39359 "Add a few handy links to the special pages" by hint of Nikerabbit. Messages are used for permissionserrorstext-withaction too.

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

15 years agoLocalization update.
Rotem Liss [Thu, 14 Aug 2008 19:49:52 +0000 (19:49 +0000)]
Localization update.

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Thu, 14 Aug 2008 19:43:03 +0000 (19:43 +0000)]
Localisation updates: Adding/updating Persian translations

15 years agoAdd a few handy links to the special pages
Raimond Spekking [Thu, 14 Aug 2008 19:42:52 +0000 (19:42 +0000)]
Add a few handy links to the special pages

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Thu, 14 Aug 2008 19:03:50 +0000 (19:03 +0000)]
Localisation updates: Adding/updating Persian translations

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Thu, 14 Aug 2008 19:02:23 +0000 (19:02 +0000)]
Localisation updates: Adding/updating Persian translations

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Thu, 14 Aug 2008 18:52:28 +0000 (18:52 +0000)]
Localisation updates: Adding/updating Persian translations

15 years agoScript to generate the numbers used in the release announcement
Tim Starling [Thu, 14 Aug 2008 15:50:59 +0000 (15:50 +0000)]
Script to generate the numbers used in the release announcement

15 years agoLocalization update for he.
Rotem Liss [Thu, 14 Aug 2008 14:03:37 +0000 (14:03 +0000)]
Localization update for he.

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Thu, 14 Aug 2008 13:03:53 +0000 (13:03 +0000)]
Localisation updates: Adding/updating Persian translations

15 years agoUpdate the Chinese conversion tables
Shinjiman [Thu, 14 Aug 2008 02:50:16 +0000 (02:50 +0000)]
Update the Chinese conversion tables
Last minute changes for the release branch 1.13

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Thu, 14 Aug 2008 02:46:05 +0000 (02:46 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years ago* Fix location of $ip check
Aaron Schulz [Thu, 14 Aug 2008 00:18:21 +0000 (00:18 +0000)]
* Fix location of $ip check
* Add User::mailPasswordInternal hook for bug 14630

15 years agoLocalisation updates for core messages from Betawiki (2008-08-14 01:57 CEST)
Siebrand Mazeland [Thu, 14 Aug 2008 00:08:26 +0000 (00:08 +0000)]
Localisation updates for core messages from Betawiki (2008-08-14 01:57 CEST)

15 years agoupdate comment
Aaron Schulz [Wed, 13 Aug 2008 23:34:56 +0000 (23:34 +0000)]
update comment

15 years ago(bug 15157) Special:Watchlist now has the same options as Special:Watchlist:
Siebrand Mazeland [Wed, 13 Aug 2008 23:08:22 +0000 (23:08 +0000)]
(bug 15157) Special:Watchlist now has the same options as Special:Watchlist:
* Show/Hide logged in users
* Show/Hide anonymous
* Invert namespace selection
* Same ordering of options

Code comments: Toggles added in Preferences, messages added, code ordered as presented in special page

15 years agoI really don't like the idea of invalid IPs sending these passwords out
Aaron Schulz [Wed, 13 Aug 2008 22:29:17 +0000 (22:29 +0000)]
I really don't like the idea of invalid IPs sending these passwords out

15 years agoadd HexToOct()
Aaron Schulz [Wed, 13 Aug 2008 16:51:37 +0000 (16:51 +0000)]
add HexToOct()

15 years agoCatch php installs who have proc_open() disabled.
Chad Horohoe [Wed, 13 Aug 2008 16:23:41 +0000 (16:23 +0000)]
Catch php installs who have proc_open() disabled.

15 years ago(bug 15141) - Give "cascadeonly" checkbox on Special:ProtectedPages.
Chad Horohoe [Wed, 13 Aug 2008 15:40:47 +0000 (15:40 +0000)]
(bug 15141) - Give "cascadeonly" checkbox on Special:ProtectedPages.

15 years agoFix regression from r37834: accesskey tooltip hint should be given for the minor...
Aryeh Gregor [Wed, 13 Aug 2008 15:11:36 +0000 (15:11 +0000)]
Fix regression from r37834: accesskey tooltip hint should be given for the minor edit and watch labels on the edit page.  This code could still use refactoring, but that's a separate issue.  :)

I relied on the fact that $n is usable to catch back-references in JavaScript replacement text -- this seems to work in latest-ish versions of Firefox, Konqueror, and Opera, so I'm assuming it works everywhere.  ;)  As usual, the Web gives tons of dodgy-looking cookbooks with no useful info whenever I try to search for anything JavaScript-related.

Since I'm backporting this to 1.13 as a regression fix, this fix causes no change from 1.12 or 1.13 and so I'm not putting it in the release notes.

15 years agoCleanup some of my old code a bit. These should still be replaced with nicer functio...
Aryeh Gregor [Wed, 13 Aug 2008 14:52:40 +0000 (14:52 +0000)]
Cleanup some of my old code a bit.  These should still be replaced with nicer functions altogether, though, as Brion would have it.

15 years agoLocalization fixes.
Rotem Liss [Wed, 13 Aug 2008 08:10:24 +0000 (08:10 +0000)]
Localization fixes.

15 years agoLocalization: Partial revert, this is a single message.
Rotem Liss [Wed, 13 Aug 2008 07:38:17 +0000 (07:38 +0000)]
Localization: Partial revert, this is a single message.

15 years agoPartially reverting 39272 (only messages where <span class> was added. This is really...
Siebrand Mazeland [Wed, 13 Aug 2008 06:48:28 +0000 (06:48 +0000)]
Partially reverting 39272 (only messages where <span class> was added. This is really messy with regards to localisation. See ImagePage.php or SpecialMovepage.php on how this code be resolved less ugly.

15 years agoAddings and removing plainlinks class
Purodha B Blissenbach [Wed, 13 Aug 2008 03:13:00 +0000 (03:13 +0000)]
Addings and removing plainlinks class

15 years agoUpdated release notes to reflect features added in r39269 and r39121
Fran Rogers [Wed, 13 Aug 2008 02:56:04 +0000 (02:56 +0000)]
Updated release notes to reflect features added in r39269 and r39121

15 years agoPer bug 15146, allow additional syntax for Special:Listusers URLs.
Fran Rogers [Wed, 13 Aug 2008 02:37:34 +0000 (02:37 +0000)]
Per bug 15146, allow additional syntax for Special:Listusers URLs.

- Special:ListUsers/GROUP - if GROUP is a valid group name; the old syntax
- Special:ListUsers/USER
- Special:ListUsers/GROUP/USER

'*' and 'user' can be used as a GROUP for all users.

15 years agorevert bogus change
Aaron Schulz [Wed, 13 Aug 2008 02:09:10 +0000 (02:09 +0000)]
revert bogus change

15 years agouse $sourcePath here too
Aaron Schulz [Wed, 13 Aug 2008 02:05:24 +0000 (02:05 +0000)]
use $sourcePath here too

15 years agouse getArchivePath()
Aaron Schulz [Wed, 13 Aug 2008 02:02:36 +0000 (02:02 +0000)]
use getArchivePath()

15 years ago(bug 15128) Documentation for xmlEncode is wrong, it's not static.
Aryeh Gregor [Wed, 13 Aug 2008 01:53:03 +0000 (01:53 +0000)]
(bug 15128) Documentation for xmlEncode is wrong, it's not static.

15 years agouse makeTitleSafe()
Aaron Schulz [Wed, 13 Aug 2008 01:24:03 +0000 (01:24 +0000)]
use makeTitleSafe()

15 years agowe need a $title here
Aaron Schulz [Wed, 13 Aug 2008 01:11:45 +0000 (01:11 +0000)]
we need a $title here