lhc/web/wiklou.git
16 years ago Localisation updates for extensions from Betawiki (2008-01-12 11:53 UTC)
Bertrand Grondin [Sat, 12 Jan 2008 10:53:52 +0000 (10:53 +0000)]
 Localisation updates for extensions from Betawiki (2008-01-12 11:53 UTC)

16 years agoAPI: Various docu and clean-up.
Daniel Cannon [Sat, 12 Jan 2008 07:08:17 +0000 (07:08 +0000)]
API: Various docu and clean-up.

16 years ago* Use only default options when generating RSS and Atom syndication links.
Brion Vibber [Sat, 12 Jan 2008 00:13:53 +0000 (00:13 +0000)]
* Use only default options when generating RSS and Atom syndication links.
  This should help prevent infinite link loops that some software may follow,
  and will generally keep feed behavior cleaner.

Combined duplicate link expansion from OutputPage and SkinTemplate into OutputPage::getSyndicationLinks()

16 years agoLocalisation updates for core messages from Betawiki
Siebrand Mazeland [Fri, 11 Jan 2008 22:48:20 +0000 (22:48 +0000)]
Localisation updates for core messages from Betawiki
* adding pag/Pangasinan

16 years agoLocalisation updates for core messages from Betawiki
Siebrand Mazeland [Fri, 11 Jan 2008 22:04:05 +0000 (22:04 +0000)]
Localisation updates for core messages from Betawiki
* adding pap/Papiamento

16 years ago* (bug 12588) Fix selection in namespace selector on Special:Newpages
Brion Vibber [Fri, 11 Jan 2008 21:10:51 +0000 (21:10 +0000)]
* (bug 12588) Fix selection in namespace selector on Special:Newpages
Godawful hack... we'll be frequently passed selected namespaces as strings since PHP is such a shithole.
But we also don't want blanks and nulls and "all"s matching 0, so let's convert *just* string ints to clean ints.

16 years agoI doubt we'll get $this->hookError set to '0', but let's head that off at the pass.
Aryeh Gregor [Fri, 11 Jan 2008 21:02:39 +0000 (21:02 +0000)]
I doubt we'll get $this->hookError set to '0', but let's head that off at the pass.

16 years ago* (bug 12584) Don't reset cl_timestamp when auto-updating sort key on move
Brion Vibber [Fri, 11 Jan 2008 20:52:54 +0000 (20:52 +0000)]
* (bug 12584) Don't reset cl_timestamp when auto-updating sort key on move
Also cleaned up comment and ugly manual query

16 years agoSome random code cleanup/prettification.
Aryeh Gregor [Fri, 11 Jan 2008 20:51:53 +0000 (20:51 +0000)]
Some random code cleanup/prettification.

16 years agoLocalisation updates for core messages from Betawiki (2008-01-11 15:07 CET)
Siebrand Mazeland [Fri, 11 Jan 2008 14:32:45 +0000 (14:32 +0000)]
Localisation updates for core messages from Betawiki (2008-01-11 15:07 CET)

16 years ago* (bug 12145) Update Kazakh translations
Shinjiman [Fri, 11 Jan 2008 14:16:42 +0000 (14:16 +0000)]
* (bug 12145) Update Kazakh translations
  Patch by AlefZet

16 years ago* Update Chinese translations
Shinjiman [Fri, 11 Jan 2008 12:15:12 +0000 (12:15 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years agoExplicitly use 0 like the other checks here
Aaron Schulz [Fri, 11 Jan 2008 05:06:10 +0000 (05:06 +0000)]
Explicitly use 0 like the other checks here

16 years agoRedo r29565, but as far as I see working now. :)
Brion Vibber [Fri, 11 Jan 2008 04:55:48 +0000 (04:55 +0000)]
Redo r29565, but as far as I see working now. :)
getRestrictions() always returns an array -- just use a standard boolean condition, not is_array().
Marked Title::getTitleProtection() private.

16 years agoTweak for r29561: don't grab a database object until we need it
Brion Vibber [Fri, 11 Jan 2008 04:41:11 +0000 (04:41 +0000)]
Tweak for r29561: don't grab a database object until we need it

16 years ago* Fixed template loop check, broken by changes in parse order
Tim Starling [Fri, 11 Jan 2008 03:25:41 +0000 (03:25 +0000)]
* Fixed template loop check, broken by changes in parse order
* Added template recursion depth limit. It needs a small limit, because of exorbitant stack space usage, xdebug compatibility problems, and the potential for O(N^2) memory usage in the template loop check.
* Made these two error messages more obvious in the parser output, with <span class="error"> instead of a comment. This is similar to the #expr error messages, which seem to have been well received by our template programmer community.

16 years agoRevert back for now, this is not quite correct
Aaron Schulz [Thu, 10 Jan 2008 23:28:08 +0000 (23:28 +0000)]
Revert back for now, this is not quite correct

16 years agoDon't call getTitleProtection(). That is really just an internal function for a DB...
Aaron Schulz [Thu, 10 Jan 2008 23:13:45 +0000 (23:13 +0000)]
Don't call getTitleProtection(). That is really just an internal function for a DB query. It shouldn't even by public as it is. Just check 'create' restrictions. This is where they are saved too.

16 years ago* No need to query database for special namespaces
Niklas Laxström [Thu, 10 Jan 2008 22:15:33 +0000 (22:15 +0000)]
* No need to query database for special namespaces

16 years agoRight, *this* was the vulnerability that existed. Users couldn't mark the other...
Aryeh Gregor [Thu, 10 Jan 2008 19:27:49 +0000 (19:27 +0000)]
Right, *this* was the vulnerability that existed.  Users couldn't mark the other edits bot, but they could mark their own rollback revision as bot.

16 years agoLocalisation updates for core messages from Betawiki (2008-01-10 18:51 CET)
Siebrand Mazeland [Thu, 10 Jan 2008 18:16:14 +0000 (18:16 +0000)]
Localisation updates for core messages from Betawiki (2008-01-10 18:51 CET)

16 years agoFix some places where globals where used without being declared as
Thomas Bleher [Thu, 10 Jan 2008 16:51:45 +0000 (16:51 +0000)]
Fix some places where globals where used without being declared as
being global. Also remove one unused variable.

16 years agoRemoving unused global $wgRequest; that I missed in the previous commit.
Roan Kattouw [Thu, 10 Jan 2008 13:37:01 +0000 (13:37 +0000)]
Removing unused global $wgRequest; that I missed in the previous commit.

16 years agoFixing the mess that was r29539:
Roan Kattouw [Thu, 10 Jan 2008 13:33:23 +0000 (13:33 +0000)]
Fixing the mess that was r29539:
* $wgRequest shouldn't be used in functions like Article::doEdit() that are also called by API modules
* Moving code that decides whether the edit is bot out of DB logic and into UI logic: API and UI each decide indepentently from one another
* Removing $bot==='default' behavior from RecentChange::notifyEdit() and notifyNew(): nobody uses it, and it shouldn't be used anyway; whether the edit is bot should've been decided long ago

16 years ago* (bug 12574) Allow bots to specify whether an edit should be marked as a bot
Daniel Cannon [Thu, 10 Jan 2008 09:54:35 +0000 (09:54 +0000)]
* (bug 12574) Allow bots to specify whether an edit should be marked as a bot
  edit, via the parameter 'bot'. (Default: '1')

Patch by Cobi <Winbots at gmail dot com>.

16 years agoRevert r29525: this vulnerability never existed; Article::doRollback() does the check...
Roan Kattouw [Thu, 10 Jan 2008 07:52:09 +0000 (07:52 +0000)]
Revert r29525: this vulnerability never existed; Article::doRollback() does the check already. Besides, the permission is called markboteditS

16 years agoDo not log user rights change that didn't change anything
Aryeh Gregor [Thu, 10 Jan 2008 02:28:58 +0000 (02:28 +0000)]
Do not log user rights change that didn't change anything

16 years agoFix vulnerability (hopefully): anyone with rollback privileges can mark the rollback...
Aryeh Gregor [Thu, 10 Jan 2008 02:21:16 +0000 (02:21 +0000)]
Fix vulnerability (hopefully): anyone with rollback privileges can mark the rollback as bot, despite r27657.

16 years agoLocalisation updates. Update namespaces per http://ast.wikipedia.org/w/index.php...
Siebrand Mazeland [Thu, 10 Jan 2008 00:19:23 +0000 (00:19 +0000)]
Localisation updates. Update namespaces per ast.wikipedia.org/w/index.php?title=Uiquipedia:Votaciones&oldid=216561

16 years agoLocalisation updates for core messages from Betawiki (2008-01-10 0:38 CET)
Siebrand Mazeland [Wed, 9 Jan 2008 23:57:15 +0000 (23:57 +0000)]
Localisation updates for core messages from Betawiki (2008-01-10 0:38 CET)
* fallback for 'lij' to 'it'

16 years agothis profiling section is nearly identical to our already verbose Database::open...
Domas Mituzas [Wed, 9 Jan 2008 23:23:53 +0000 (23:23 +0000)]
this profiling section is nearly identical to our already verbose Database::open and dbconnect ones

16 years agoClean up some braces, indentation; add profiling to LoadBalancer::reallyOpenConnection.
Aryeh Gregor [Wed, 9 Jan 2008 21:40:40 +0000 (21:40 +0000)]
Clean up some braces, indentation; add profiling to LoadBalancer::reallyOpenConnection.

16 years agoset OutputPage::mContainsOldMagic only for specific listed magic words
Domas Mituzas [Wed, 9 Jan 2008 20:47:46 +0000 (20:47 +0000)]
set OutputPage::mContainsOldMagic only for specific listed magic words
For now the suggested times are ignored and base 3600 is used for all dynamic ones
This makes templates more friendly parser-cache wise.

16 years agoAdded translations for the remaining EXIF messages.
Huji [Wed, 9 Jan 2008 15:26:43 +0000 (15:26 +0000)]
Added translations for the remaining EXIF messages.

16 years ago* ran rebuildLanguage.php
Siebrand Mazeland [Wed, 9 Jan 2008 14:11:14 +0000 (14:11 +0000)]
* ran rebuildLanguage.php
* removed 3 non-existing entries in $specialPageAliases

16 years agoRebuildLanguage on r29493 broke this one. Fixing by hand...
Huji [Wed, 9 Jan 2008 14:11:08 +0000 (14:11 +0000)]
RebuildLanguage on r29493 broke this one. Fixing by hand...

16 years ago* Added Persian translations
Huji [Wed, 9 Jan 2008 13:54:47 +0000 (13:54 +0000)]
* Added Persian translations
* Updated language related maintenance scripts to support the newly created message group (r29482)
* Performed RebuildLanguage for En and Fa

16 years agoLocalisation updates for core messages from Betawiki (2008-01-09 8:32 CET)
Siebrand Mazeland [Wed, 9 Jan 2008 07:57:25 +0000 (07:57 +0000)]
Localisation updates for core messages from Betawiki (2008-01-09 8:32 CET)

16 years agoAdded {{#tag:}}: generic adaptor from parser function syntax to XML-style extension...
Tim Starling [Wed, 9 Jan 2008 07:13:54 +0000 (07:13 +0000)]
Added {{#tag:}}: generic adaptor from parser function syntax to XML-style extension tag. Allows any extension tag (including nowiki and pre) to be called with input given by a template expansion. Inspired by [[Extension:TagParser]].

16 years ago* (bug 12469) Update Indonesian translations
Shinjiman [Wed, 9 Jan 2008 04:34:39 +0000 (04:34 +0000)]
* (bug 12469) Update Indonesian translations
  Patch by Borgx

16 years ago* (bug 12505) Fixed section=0 with action=raw
Brion Vibber [Wed, 9 Jan 2008 02:18:58 +0000 (02:18 +0000)]
* (bug 12505) Fixed section=0 with action=raw
PHP's fuzzy type comparisons strike again! A check for $this->mSection != '', probably intended to protect against an unset value, matched for integer values of 0 as well. (The fun part is that 0=='' and 0=='0' but '0'!='' :) Since the parameter is validated through getIntOrNull(), only the null check is necessary here.

16 years ago* (bug 12553) Fixed invalid XHTML in edit conflict screen
Brion Vibber [Wed, 9 Jan 2008 01:08:59 +0000 (01:08 +0000)]
* (bug 12553) Fixed invalid XHTML in edit conflict screen

16 years agoRevert revert of setSingleton(), unrelated to broken, accidentally committed code...
Tim Starling [Wed, 9 Jan 2008 00:21:16 +0000 (00:21 +0000)]
Revert revert of setSingleton(), unrelated to broken, accidentally committed code in FSRepo.php.

16 years agotweak paths more
Brion Vibber [Tue, 8 Jan 2008 23:58:16 +0000 (23:58 +0000)]
tweak paths more

16 years agofix include path regressions with text prefetch
Brion Vibber [Tue, 8 Jan 2008 23:53:20 +0000 (23:53 +0000)]
fix include path regressions with text prefetch

16 years agoImproving r29456:
Roan Kattouw [Tue, 8 Jan 2008 22:05:39 +0000 (22:05 +0000)]
Improving r29456:
* The XML formatting bug is obscure and not trivial to fix, working around it is easier
* Added missing braces

16 years agoRevert r29361 -- breaks upload, calls nonexistent functions
Brion Vibber [Tue, 8 Jan 2008 22:01:23 +0000 (22:01 +0000)]
Revert r29361 -- breaks upload, calls nonexistent functions

16 years agoAPI: Temporary fix for broken XML rendering; XML formatter apparently doesn't like...
Roan Kattouw [Tue, 8 Jan 2008 21:42:00 +0000 (21:42 +0000)]
API: Temporary fix for broken XML rendering; XML formatter apparently doesn't like array(null). Will attempt to fix the real issue later

16 years ago* Add exception hooks to output pretty messages
Victor Vasiliev [Tue, 8 Jan 2008 18:34:06 +0000 (18:34 +0000)]
* Add exception hooks to output pretty messages
* Also, there's an example of such extension

16 years agoAdd some variables to globals.txt
Victor Vasiliev [Tue, 8 Jan 2008 18:22:46 +0000 (18:22 +0000)]
Add some variables to globals.txt

16 years agoIntroduce BagOStuff::keys() method for debugging/etc. purposes
Victor Vasiliev [Tue, 8 Jan 2008 18:21:05 +0000 (18:21 +0000)]
Introduce BagOStuff::keys() method for debugging/etc. purposes

16 years agoAPI: add action=logout
Victor Vasiliev [Tue, 8 Jan 2008 18:10:58 +0000 (18:10 +0000)]
API: add action=logout

16 years agoLocalisation updates for core messages from Betawiki (2008-01-08 17:05 CET)
Siebrand Mazeland [Tue, 8 Jan 2008 17:25:38 +0000 (17:25 +0000)]
Localisation updates for core messages from Betawiki (2008-01-08 17:05 CET)

16 years agoReturning protections more consistently
Roan Kattouw [Tue, 8 Jan 2008 16:42:18 +0000 (16:42 +0000)]
Returning protections more consistently

16 years agoChanging name of error code to something making slightly more sense
Roan Kattouw [Tue, 8 Jan 2008 16:36:47 +0000 (16:36 +0000)]
Changing name of error code to something making slightly more sense

16 years ago* (bug 12543) API should support new protected titles system
Roan Kattouw [Tue, 8 Jan 2008 16:31:50 +0000 (16:31 +0000)]
* (bug 12543) API should support new protected titles system
* Changing ApiProtect to return ISO 8601 timestamps
* This doesn't really need a RELEASE-NOTES entry, as the protected titles system is already mentioned in RELEASE-NOTES

16 years agoConsistent newlines and svn:eol-style=native for MessagesNa.php.
Rotem Liss [Tue, 8 Jan 2008 15:43:20 +0000 (15:43 +0000)]
Consistent newlines and svn:eol-style=native for MessagesNa.php.

16 years agoPartial fix of bug 12533
Roan Kattouw [Tue, 8 Jan 2008 15:35:11 +0000 (15:35 +0000)]
Partial fix of bug 12533

16 years ago* Fixed handling of whitespace before HTML comments, slightly broken since r29292.
Tim Starling [Tue, 8 Jan 2008 05:12:20 +0000 (05:12 +0000)]
* Fixed handling of whitespace before HTML comments, slightly broken since r29292.
* Fixed ot['pre'] bug

16 years agoLocalisation updates for core messages from Betawiki (2008-01-07 22:49 CET)
Siebrand Mazeland [Mon, 7 Jan 2008 22:34:00 +0000 (22:34 +0000)]
Localisation updates for core messages from Betawiki (2008-01-07 22:49 CET)

16 years agoLocalisation updates for core messages from Betawiki (2008-01-07 10:00 CET)
Siebrand Mazeland [Mon, 7 Jan 2008 10:04:33 +0000 (10:04 +0000)]
Localisation updates for core messages from Betawiki (2008-01-07 10:00 CET)

16 years agoAdded RepoGroup::setSingleton(). Required to support the DumpHTML extension.
Tim Starling [Mon, 7 Jan 2008 05:38:19 +0000 (05:38 +0000)]
Added RepoGroup::setSingleton(). Required to support the DumpHTML extension.

16 years agoPatch update Kazakh language by AlefZet
Bertrand Grondin [Mon, 7 Jan 2008 05:16:01 +0000 (05:16 +0000)]
Patch update Kazakh language by AlefZet

16 years agoLocalisation updates for core messages from Betawiki (2008-01-06 20:16 CET)
Siebrand Mazeland [Sun, 6 Jan 2008 19:24:04 +0000 (19:24 +0000)]
Localisation updates for core messages from Betawiki (2008-01-06 20:16 CET)

16 years agoMake sure to show the header message (MediaWiki:Userrights-summary) of Special:Userri...
Rotem Liss [Sun, 6 Jan 2008 14:57:45 +0000 (14:57 +0000)]
Make sure to show the header message (MediaWiki:Userrights-summary) of Special:Userrights.

16 years agoLocalisation updates for core messages from Betawiki (2008-01-06 10:33 CET)
Siebrand Mazeland [Sun, 6 Jan 2008 09:39:13 +0000 (09:39 +0000)]
Localisation updates for core messages from Betawiki (2008-01-06 10:33 CET)

16 years ago* Fixed check for sort order ('ZtoA' is not an allowed parameter)
Tim Laqua [Sun, 6 Jan 2008 05:43:57 +0000 (05:43 +0000)]
* Fixed check for sort order ('ZtoA' is not an allowed parameter)

16 years agoRevision timestamp comes out as the current time when no rev ID is given (like the...
Aaron Schulz [Sun, 6 Jan 2008 03:17:09 +0000 (03:17 +0000)]
Revision timestamp comes out as the current time when no rev ID is given (like the first time prepareTextForEdit() is called). This works for new revisions, but is wrong for null edits. Needs to be flagged so that editUpdates() knows to parse after rev ID given so that it can get the last timestamp.

16 years agoDon't compare text twice
Aaron Schulz [Sun, 6 Jan 2008 02:50:18 +0000 (02:50 +0000)]
Don't compare text twice

16 years agoLocalisation updates for core messages from Betawiki (2008-01-05 21:06 CET)
Siebrand Mazeland [Sat, 5 Jan 2008 20:10:38 +0000 (20:10 +0000)]
Localisation updates for core messages from Betawiki (2008-01-05 21:06 CET)

16 years agoWortvertauschung korrigiert, Kommafehler, Deutsch statt Fremdwort.
Purodha B Blissenbach [Sat, 5 Jan 2008 14:36:13 +0000 (14:36 +0000)]
Wortvertauschung korrigiert, Kommafehler, Deutsch statt Fremdwort.

16 years ago* Merged comment handling with the main loop of preprocessToDom(). This fixes a secti...
Tim Starling [Sat, 5 Jan 2008 12:39:12 +0000 (12:39 +0000)]
* Merged comment handling with the main loop of preprocessToDom(). This fixes a section numbering/marking regression introduced in r28588. Added parser tests demonstrating the issue.
* Merged includeonly/noinclude/onlyinclude handling with preprocessToDom(), and used the resulting überparser to fix another section numbering bug: bug 6563. The fix involves putting a template flag "T" into the section parameter of edit links. This flag indicates to extractSections() how <includeonly> etc. should be handled.

If these two changes stick, I'll eventually describe the precise syntactic effects in RELEASE-NOTES.

* Added splitExtNode() for future use in LabeledSectionTransclusion.
* Added parser tests for bug 6563.

16 years ago* Added --keep-uploads option to parserTests.php, to speed up execution.
Tim Starling [Sat, 5 Jan 2008 12:20:54 +0000 (12:20 +0000)]
* Added --keep-uploads option to parserTests.php, to speed up execution.
* Loosened validation for section identifiers in preparation for Parser.php commit with freaky section numbers

16 years agoUpdate localisation section
Siebrand Mazeland [Sat, 5 Jan 2008 11:59:49 +0000 (11:59 +0000)]
Update localisation section

16 years agoQuick solution for problems with limit=max when using slow queries: allowing modules...
Rotem Liss [Sat, 5 Jan 2008 10:05:34 +0000 (10:05 +0000)]
Quick solution for problems with limit=max when using slow queries: allowing modules to delay the parsing of limit=max until they get the actual maximum values, and making them parse it by themselves.

16 years agoModule changerights is currently disabled.
Rotem Liss [Sat, 5 Jan 2008 09:23:39 +0000 (09:23 +0000)]
Module changerights is currently disabled.

16 years agoLocalisation updates for core messages from Betawiki (2008-01-05 9:18 CET)
Siebrand Mazeland [Sat, 5 Jan 2008 08:26:39 +0000 (08:26 +0000)]
Localisation updates for core messages from Betawiki (2008-01-05 9:18 CET)

16 years agoRe-adding ApiChangeRights, but commenting out its entries in ApiMain and AutoLoader...
Roan Kattouw [Fri, 4 Jan 2008 22:33:22 +0000 (22:33 +0000)]
Re-adding ApiChangeRights, but commenting out its entries in ApiMain and AutoLoader. This way the module will be inaccessible for clients, but still present in SVN to be viewed and modified.

16 years agoReapply the ugly-URLs fix, plus a fix so it doesn't duplicate the title when using...
Brion Vibber [Fri, 4 Jan 2008 17:39:24 +0000 (17:39 +0000)]
Reapply the ugly-URLs fix, plus a fix so it doesn't duplicate the title when using pretty URLs

16 years agoRevert r29261, r29271 for now -- some weird mixing up of functions and seemingly...
Brion Vibber [Fri, 4 Jan 2008 17:35:09 +0000 (17:35 +0000)]
Revert r29261, r29271 for now -- some weird mixing up of functions and seemingly random array structures, and it puts back a restricted API module I'd rather not see there for now.

16 years agoLocalisation updates for core messages from Betawiki (2008-01-04 16:36 CET)
Siebrand Mazeland [Fri, 4 Jan 2008 15:56:03 +0000 (15:56 +0000)]
Localisation updates for core messages from Betawiki (2008-01-04 16:36 CET)

16 years agoUserrightsPage:
Roan Kattouw [Fri, 4 Jan 2008 15:33:29 +0000 (15:33 +0000)]
UserrightsPage:
* Moving fetchUser() DB logic to fetchUser_real(), fetchUser() remains present as UI wrapper
* Introducing FETCHUSER_* error constants
* saveUserGroups() now takes a User/UserRightsProxy object rather than a username
* Also validating for groups the user already has (or doesn't have) using splitGroups()
* Fixing ignored parameter $reason in saveUserGroups()

ApiChangeRights:
* Now using UserrightsPage::fetchUser_real()
* Fixing fatal error from ApiResult::setIndexedTagName() when $params['addto'] or $params['rmfrom'] was false.

16 years ago* Updates German
Raimond Spekking [Fri, 4 Jan 2008 13:48:47 +0000 (13:48 +0000)]
* Updates German

16 years agoAdd aln/Gheg Albanian as UI language.
Siebrand Mazeland [Fri, 4 Jan 2008 12:50:21 +0000 (12:50 +0000)]
Add aln/Gheg Albanian as UI language.

16 years agoCorrecting mistake on french localization
Bertrand Grondin [Fri, 4 Jan 2008 12:34:31 +0000 (12:34 +0000)]
Correcting mistake on french localization

16 years agoUpdate french localization message. Three new messages translated
Bertrand Grondin [Fri, 4 Jan 2008 12:29:23 +0000 (12:29 +0000)]
Update french localization message. Three new messages translated

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

16 years ago* Unbroke Special:Userrights for wikis without pretty URLs
Roan Kattouw [Fri, 4 Jan 2008 11:50:22 +0000 (11:50 +0000)]
* Unbroke Special:Userrights for wikis without pretty URLs
** This probably shouldn't be hard-coded the way I did it
* UserrightsPage::saveUserGroups() now takes $removegroup and $addgroup parameters by reference. Parameters are changed to reflect what was actually added and removed.
* Re-adding ApiChangeRights module, which now handles permission denied errors more gracefully

16 years ago"this site" -> "{{SITENAME}}" in 5 messages
Siebrand Mazeland [Fri, 4 Jan 2008 07:54:41 +0000 (07:54 +0000)]
"this site" -> "{{SITENAME}}" in 5 messages

16 years agoLocalisation updates for core messages from Betawiki (2008-01-04 8:36 CET)
Siebrand Mazeland [Fri, 4 Jan 2008 07:41:34 +0000 (07:41 +0000)]
Localisation updates for core messages from Betawiki (2008-01-04 8:36 CET)

16 years ago* Update Chinese translations
Shinjiman [Fri, 4 Jan 2008 02:26:43 +0000 (02:26 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years agoRemove useless & that was breaking strict standards.
Aryeh Gregor [Fri, 4 Jan 2008 01:25:13 +0000 (01:25 +0000)]
Remove useless & that was breaking strict standards.

16 years agoRELEASE-NOTES
Aryeh Gregor [Fri, 4 Jan 2008 00:33:39 +0000 (00:33 +0000)]
RELEASE-NOTES

16 years agoMore userrights stuff.
Aryeh Gregor [Fri, 4 Jan 2008 00:28:30 +0000 (00:28 +0000)]
More userrights stuff.
* Use GET, not POST, when searching for user.
* Allow subpage syntax.
* Display the form to change rights when you submit a change, so that you can see its effect and adjust if necessary without hitting "search user" again.
* Clean up form names a bit so that they look pretty in the URL bar.

16 years agoAdd date formatting
Siebrand Mazeland [Fri, 4 Jan 2008 00:15:19 +0000 (00:15 +0000)]
Add date formatting

16 years agor29245 fixed bug 12489 -- add release note line
Brion Vibber [Thu, 3 Jan 2008 23:54:20 +0000 (23:54 +0000)]
r29245 fixed bug 12489 -- add release note line

16 years agoVarious Userrights-related fixes:
Aryeh Gregor [Thu, 3 Jan 2008 23:43:24 +0000 (23:43 +0000)]
Various Userrights-related fixes:
* Adjust UserrightsForm so that it inherits from SpecialPage; nuke HTMLForm.  Since this breaks backward compatibility, renamed to UserrightsPage.
* Created SpecialPage::isRestricted() and enforced use of SpecialPage::userCanExecute() instead of hardcoded checks.  These can now be overridden so that more complicated restriction systems work sanely.  Used them for UserrightsPage (fixes bug 12489).
* A few random comment/documentation tweaks.
Also, update Special:Version date.

16 years agoRemove ApiChangeRights. Duplicates code, doesn't handle current permissions model...
Brion Vibber [Thu, 3 Jan 2008 23:39:21 +0000 (23:39 +0000)]
Remove ApiChangeRights. Duplicates code, doesn't handle current permissions model properly.

16 years agoAdding $specialPageAliases
Siebrand Mazeland [Thu, 3 Jan 2008 22:40:35 +0000 (22:40 +0000)]
Adding $specialPageAliases

16 years agoRevert r29235 -- breaks $wgAddGroups and $wgRemoveGroups
Brion Vibber [Thu, 3 Jan 2008 22:15:20 +0000 (22:15 +0000)]
Revert r29235 -- breaks $wgAddGroups and $wgRemoveGroups