lhc/web/wiklou.git
15 years ago* Remove useless ?> in Diff.php
Alexandre Emsenhuber [Tue, 5 Aug 2008 21:10:06 +0000 (21:10 +0000)]
* Remove useless ?> in Diff.php
* Only load that file when necessary and use full path to include it
* Set missing svn:eol-style property

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Tue, 5 Aug 2008 20:37:48 +0000 (20:37 +0000)]
Localisation updates: Adding/updating Persian translations

15 years agoLocalisation updates from Betawiki
Siebrand Mazeland [Tue, 5 Aug 2008 20:14:20 +0000 (20:14 +0000)]
Localisation updates from Betawiki
* specialPageAliases updated

15 years agoLoad Diff.php only when wgExternalDiffEngine is set
Guy Van den Broeck [Tue, 5 Aug 2008 20:10:55 +0000 (20:10 +0000)]
Load Diff.php only when wgExternalDiffEngine is set

15 years agoOkay, let's not use wfDeprecated() when there are still several hundred uses througho...
Aryeh Gregor [Tue, 5 Aug 2008 20:09:07 +0000 (20:09 +0000)]
Okay, let's not use wfDeprecated() when there are still several hundred uses throughout core code and major extensions.

15 years agoLocalisation updates for core messages from Betawiki (2008-08-05 21:18 CEST)
Siebrand Mazeland [Tue, 5 Aug 2008 19:58:06 +0000 (19:58 +0000)]
Localisation updates for core messages from Betawiki (2008-08-05 21:18 CEST)
* also update 'edit-externally-help'

15 years agoAlternative experimental diff implementation. Enable by setting = 'wikidiff3'.
Guy Van den Broeck [Tue, 5 Aug 2008 19:40:29 +0000 (19:40 +0000)]
Alternative experimental diff implementation. Enable by setting  = 'wikidiff3'.

15 years agoLocalization fix.
Rotem Liss [Tue, 5 Aug 2008 18:26:26 +0000 (18:26 +0000)]
Localization fix.

15 years agoRemove a few unused globals.
Chad Horohoe [Tue, 5 Aug 2008 17:48:24 +0000 (17:48 +0000)]
Remove a few unused globals.

15 years agoLocalisation updates. Processed consequences of r36808, 38610, r38614, r38615, 38618.
Siebrand Mazeland [Tue, 5 Aug 2008 17:17:06 +0000 (17:17 +0000)]
Localisation updates. Processed consequences of r36808, 38610, r38614, r38615, 38618.

15 years agoRe-commit turning makeKnownLinkObj(), makeBrokenLinkObj(), makeLinkObj() into link...
Aryeh Gregor [Tue, 5 Aug 2008 17:05:59 +0000 (17:05 +0000)]
Re-commit turning makeKnownLinkObj(), makeBrokenLinkObj(), makeLinkObj() into link() wrappers.  This should mean that all link processing now goes through link().  Per Brion's advice, remove the BrokenLink hook and replace it with LinkBegin and LinkEnd hooks.  All parser tests pass except the usual suspects.

15 years agoMake SpecialNewimages.php marginally less horrible. Add spacing, use functions like...
Aryeh Gregor [Tue, 5 Aug 2008 16:32:46 +0000 (16:32 +0000)]
Make SpecialNewimages.php marginally less horrible.  Add spacing, use functions like escapeLike, break comments at 79 columns, don't use C-style comments inline (at least we seem not to usually do that, especially not for one-line comments).  Didn't have the guts to rewrite the whole thing, though.

15 years agoAPI:
Roan Kattouw [Tue, 5 Aug 2008 16:32:28 +0000 (16:32 +0000)]
API:
* (bug 15048) Added limit field for multivalue parameters to action=paraminfo output.
* When the limit on multivalue parameters is exceeded, a warning is issued

15 years ago* (bug 15044) Added requestid parameter to api.php to facilitate distinguishing betwe...
Roan Kattouw [Tue, 5 Aug 2008 16:12:52 +0000 (16:12 +0000)]
* (bug 15044) Added requestid parameter to api.php to facilitate distinguishing between requests
* Clean up indentation from r38566
* Use $this->mRequest rather than $wgRequest in ApiMain

15 years agoRemove all now-defunct badaccess-group[1-2] messages.
Chad Horohoe [Tue, 5 Aug 2008 15:09:11 +0000 (15:09 +0000)]
Remove all now-defunct badaccess-group[1-2] messages.

15 years agoBadaccess-group1/2 no longer exist.
Chad Horohoe [Tue, 5 Aug 2008 14:44:00 +0000 (14:44 +0000)]
Badaccess-group1/2 no longer exist.

15 years agoThis can use User::getGroupsWithPermission() as well.
Chad Horohoe [Tue, 5 Aug 2008 14:35:39 +0000 (14:35 +0000)]
This can use User::getGroupsWithPermission() as well.

15 years agoA bit of cleanup to the default interwiki list. Removed some long-dead entries (just...
Chad Horohoe [Tue, 5 Aug 2008 14:34:56 +0000 (14:34 +0000)]
A bit of cleanup to the default interwiki list. Removed some long-dead entries (just confirmed the ones already marked as dead), and added doi: as an additional default IW prefix.

15 years agoLocalization update for he.
Rotem Liss [Tue, 5 Aug 2008 13:46:02 +0000 (13:46 +0000)]
Localization update for he.

15 years agoDocumented User.php in depth; added useful aliases to Doxyfile
Fran Rogers [Tue, 5 Aug 2008 13:42:02 +0000 (13:42 +0000)]
Documented User.php in depth; added useful aliases to Doxyfile

15 years agoAllow PLURAL for 'listgrouprights-addgroup' and 'listgrouprights-removegroup'
Raimond Spekking [Tue, 5 Aug 2008 10:40:39 +0000 (10:40 +0000)]
Allow PLURAL for 'listgrouprights-addgroup' and 'listgrouprights-removegroup'

15 years agoLocalization update and fixes for he.
Rotem Liss [Tue, 5 Aug 2008 10:25:17 +0000 (10:25 +0000)]
Localization update and fixes for he.

15 years agoTweak message: Deletions aren't logged in the upload log. See the deletion log.
Raimond Spekking [Tue, 5 Aug 2008 10:20:43 +0000 (10:20 +0000)]
Tweak message: Deletions aren't logged in the upload log. See the deletion log.

15 years agoRemove unused message (since r24952).
Raimond Spekking [Tue, 5 Aug 2008 09:50:30 +0000 (09:50 +0000)]
Remove unused message (since r24952).

15 years agoLocalization update for he + fixing messages.inc.
Rotem Liss [Tue, 5 Aug 2008 07:26:47 +0000 (07:26 +0000)]
Localization update for he + fixing messages.inc.

15 years agoReapply part of r38587:
Raimond Spekking [Tue, 5 Aug 2008 06:01:54 +0000 (06:01 +0000)]
Reapply part of r38587:
* 'skinpreview' renamed to 'skin-preview': brackets outside of the hyperlink now. Betawiki has done the rename job for all languages already.

15 years agoCleanup to r38608 ("Refactor badaccess-groupX and friends to use User::getGroupsWithP...
Brion Vibber [Tue, 5 Aug 2008 05:32:30 +0000 (05:32 +0000)]
Cleanup to r38608 ("Refactor badaccess-groupX and friends to use User::getGroupsWithPermission().")
* Remove some code duplication
* Fix some errors and plural failures in OutputPage::permissionRequired()
* Make the badaccess messages consistently wikitext now; in last rev they were output in different ways in each usage

15 years agoUpdate for r38533 -- avoid notice spew from groups that have no record for the perm
Brion Vibber [Tue, 5 Aug 2008 05:12:59 +0000 (05:12 +0000)]
Update for r38533 -- avoid notice spew from groups that have no record for the perm

15 years agoRevert r38591 -- "Make good-faith effort to run BrokenLink hook in Linker::link(...
Brion Vibber [Tue, 5 Aug 2008 04:56:29 +0000 (04:56 +0000)]
Revert r38591 -- "Make good-faith effort to run BrokenLink hook in Linker::link().  No parser-test regressions, and it shouldn't change behavior unless Xml::expandAttributes() and Sanitizer::decodeTagAttributes() aren't inverses up to normalization."

IMHO this is an excellent opportunity to kill a horrible interface and replace it with a sane one. Note the only use of the BrokenLink hook currently in our SVN is in SemanticForms:

/**
 * Sets the URL for form-based adding of a nonexistent (broken-linked, AKA
 * red-linked) page
 */
function sffSetBrokenLink(&$linker, $title, $query, &$u, &$style, &$prefix, &$text, &$inside, &$trail) {
$link = sffAddDataLink($title);
if ($link != '')
$u = $link;
return true;
}

In the unlikely event that anybody else is really needing the exact hook details, I'm sure there's a much nicer, more future-friendly way to do it. Make a new hook and let these hypothetical extensions fix themselves up. :)

15 years agoRevert r38587, r38589 for now ("(bug 2314) Add links to users custom CSS and JS...
Brion Vibber [Tue, 5 Aug 2008 04:50:24 +0000 (04:50 +0000)]
Revert  r38587, r38589 for now ("(bug 2314) Add links to users custom CSS and JS into Special:Preferences")
This clutters up the prefs UI with a lot of links which don't currently apply, most of which will never be used. It also isn't clear how it would apply to proposed non-skin-specific pages such as User:X/common.css/.js and User:X/print.css

15 years agoFollow up per r38608: Update messages.inc
Raimond Spekking [Tue, 5 Aug 2008 03:26:05 +0000 (03:26 +0000)]
Follow up per r38608: Update messages.inc

15 years agoRefactor badaccess-groupX and friends to use User::getGroupsWithPermission().
Chad Horohoe [Tue, 5 Aug 2008 02:37:28 +0000 (02:37 +0000)]
Refactor badaccess-groupX and friends to use User::getGroupsWithPermission().
* Should be a bit cleaner, and remove those ugly ugly switch() statements.
* Two messages are all that's needed here. Badaccess-group0, a generic "Permission denied" when no group is allowed access; and badaccess-groups which takes two parameters of $1 (groups required for access) and $2 (number of group matches, used for {{PLURAL:}}ing the message).

15 years agoAdded an id to history-search, so it can be accessed easily via DOM
Fran Rogers [Tue, 5 Aug 2008 01:10:55 +0000 (01:10 +0000)]
Added an id to history-search, so it can be accessed easily via DOM

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Tue, 5 Aug 2008 00:36:53 +0000 (00:36 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoLocalisation updates from Betawiki
Siebrand Mazeland [Mon, 4 Aug 2008 22:10:56 +0000 (22:10 +0000)]
Localisation updates from Betawiki
* various: user name change, special page aliases update, forgotten translation update

15 years agoLocalisation updates for core messages from Betawiki (2008-08-04 22:51 CEST)
Siebrand Mazeland [Mon, 4 Aug 2008 21:51:19 +0000 (21:51 +0000)]
Localisation updates for core messages from Betawiki (2008-08-04 22:51 CEST)
* Also: remove some meta maintenance author artifacts for Niklas, SPQRobin, M.M.S., Siebrand, Jhs. Would otherwise have been removed on Betawiki export.

15 years agoFix syntax error
Siebrand Mazeland [Mon, 4 Aug 2008 20:53:22 +0000 (20:53 +0000)]
Fix syntax error

15 years agoMake good-faith effort to run BrokenLink hook in Linker::link(). No parser-test...
Aryeh Gregor [Mon, 4 Aug 2008 19:36:20 +0000 (19:36 +0000)]
Make good-faith effort to run BrokenLink hook in Linker::link().  No parser-test regressions, and it shouldn't change behavior unless Xml::expandAttributes() and Sanitizer::decodeTagAttributes() aren't inverses up to normalization.

15 years agoFollow up for r38587: Thanks to VasilievVV for pointing out that not every wiki allow...
Raimond Spekking [Mon, 4 Aug 2008 19:33:14 +0000 (19:33 +0000)]
Follow up for r38587: Thanks to VasilievVV for pointing out that not every wiki allows userCSS/JS.

15 years ago* (bug 2314) Add links to users custom CSS and JS into Special:Preferences
Raimond Spekking [Mon, 4 Aug 2008 18:44:01 +0000 (18:44 +0000)]
* (bug 2314) Add links to users custom CSS and JS into Special:Preferences
** Attn Betawiki: Message 'skinpreview' renamed to 'skin-preview': brackets outside of the hyperlink(s) now: (Preview | associated CSS | associated JS)

15 years agoUpdate URL in edit-externally-help, page moved to mediawiki.org
Alexandre Emsenhuber [Mon, 4 Aug 2008 18:34:49 +0000 (18:34 +0000)]
Update URL in edit-externally-help, page moved to mediawiki.org

15 years agoAdd declaration of $links in SkinTemplate::buildCssLinks()
Alexandre Emsenhuber [Mon, 4 Aug 2008 18:07:36 +0000 (18:07 +0000)]
Add declaration of $links in SkinTemplate::buildCssLinks()

15 years agoUse wfScript()
Alexandre Emsenhuber [Mon, 4 Aug 2008 17:30:01 +0000 (17:30 +0000)]
Use wfScript()

15 years agoRemoving some wikipedianisms, adding myself as translator
Anders Wegge Jakobsen [Mon, 4 Aug 2008 16:03:01 +0000 (16:03 +0000)]
Removing some wikipedianisms, adding myself as translator

15 years ago* Mention multivalue parameters in the message about apihighlimits
Roan Kattouw [Mon, 4 Aug 2008 14:37:26 +0000 (14:37 +0000)]
* Mention multivalue parameters in the message about apihighlimits
* Add Bryan Tongh Minh to the API credits. Half of all image-related code is his
* Add myself to CREDITS. Why do we sort that by first name, though? Kind of weird

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

15 years agoDisplay permissions specific to the API (such as writeapi and apihighlimits) on actio...
Chad Horohoe [Mon, 4 Aug 2008 14:26:20 +0000 (14:26 +0000)]
Display permissions specific to the API (such as writeapi and apihighlimits) on action=help. For apihighlimits, give the limits they're held to (bug 14713)

15 years agoLocalization update for he.
Rotem Liss [Mon, 4 Aug 2008 14:19:29 +0000 (14:19 +0000)]
Localization update for he.

15 years agoNew translation for history-search.
Anders Wegge Jakobsen [Mon, 4 Aug 2008 14:02:07 +0000 (14:02 +0000)]
New translation for history-search.

15 years agoLocalization update for he.
Rotem Liss [Mon, 4 Aug 2008 13:32:56 +0000 (13:32 +0000)]
Localization update for he.

15 years agoRemove second (dupe) link to Special:Contributions. Keep the message short, the summa...
Raimond Spekking [Mon, 4 Aug 2008 11:52:19 +0000 (11:52 +0000)]
Remove second (dupe) link to Special:Contributions. Keep the message short, the summary line is limited to 254 chars.

15 years agoFollowup to r38525 (tweaks from r38400) -- don't put fragments on redlinks; they...
Brion Vibber [Mon, 4 Aug 2008 05:15:04 +0000 (05:15 +0000)]
Followup to r38525 (tweaks from r38400) -- don't put fragments on redlinks; they won't be useful on the edit UI, which isn't a page view.
(I suppose it's dubious whether we should do the same to nonexitent special pages.... but fragments there wouldn't be too helpful either so no need for extra logic to add it back. :)

15 years agoReimplement User::, now with less crappy name and only taking one permission at a...
Chad Horohoe [Mon, 4 Aug 2008 05:14:33 +0000 (05:14 +0000)]
Reimplement User::, now with less crappy name and only taking one permission at a time. :)

15 years agoadd some useless WHERE condition instead of 'Job::pop' :)
Domas Mituzas [Mon, 4 Aug 2008 05:07:53 +0000 (05:07 +0000)]
add some useless WHERE condition instead of 'Job::pop' :)

15 years agoRevert r38442 "Tweaking description for apihighlimits, as people are constantly askin...
Brion Vibber [Mon, 4 Aug 2008 04:02:32 +0000 (04:02 +0000)]
Revert r38442 "Tweaking description for apihighlimits, as people are constantly asking what the limits are."
Hardcoding limits into a UI message isn't a good practice, as they may change.

15 years agoRevert r38427 "Create User::getGroupsInRoles(). Given an array of roles (edit, read...
Brion Vibber [Mon, 4 Aug 2008 03:45:22 +0000 (03:45 +0000)]
Revert r38427 "Create User::getGroupsInRoles(). Given an array of roles (edit, read, delete), return the groups allowed to do each."
This seems a bit odd; the name is certainly confusing -- getGroupsWithPermissions() would be clearer, but I'm not really sure I see why it's given an arbitrary-length list here (vs a simpler single check which can simply be run multiple times).

15 years agorespect return value of $article->doWatch() (bug 11135)
Aaron Schulz [Mon, 4 Aug 2008 03:37:32 +0000 (03:37 +0000)]
respect return value of $article->doWatch() (bug 11135)

15 years agoChange test case added in r38400
Brion Vibber [Mon, 4 Aug 2008 03:00:53 +0000 (03:00 +0000)]
Change test case added in r38400
We shouldn't append a wiki link fragment onto a redlink; the edit UI is different from a page view, so appending a page-content fragment will at best do nothing and a worst conflict with the UI and scroll us down unexpectedly.

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Mon, 4 Aug 2008 01:23:19 +0000 (01:23 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoDocument what the month number means for Language::tsToHebrew().
Aryeh Gregor [Mon, 4 Aug 2008 00:53:13 +0000 (00:53 +0000)]
Document what the month number means for Language::tsToHebrew().

15 years agoRemove div
Aaron Schulz [Mon, 4 Aug 2008 00:25:07 +0000 (00:25 +0000)]
Remove div

15 years agoUpdate credits and fix header
Siebrand Mazeland [Sun, 3 Aug 2008 22:44:09 +0000 (22:44 +0000)]
Update credits and fix header

15 years agoUse a <fieldset> for the date selector in history
Alexandre Emsenhuber [Sun, 3 Aug 2008 19:40:37 +0000 (19:40 +0000)]
Use a <fieldset> for the date selector in history

15 years agoAvoid some confusion with watching on edit by setting checkbox when ajax watch is...
Aaron Schulz [Sun, 3 Aug 2008 19:32:00 +0000 (19:32 +0000)]
Avoid some confusion with watching on edit by setting checkbox when ajax watch is used (bug 12395).

15 years agoToo many weird translations from Betawiki. Going over all proved to be too time-consu...
Anders Wegge Jakobsen [Sun, 3 Aug 2008 19:12:29 +0000 (19:12 +0000)]
Too many weird translations from Betawiki. Going over all proved to be too time-consuming, so translation was restarted from the "last known good" version, 30019. My recommendation is that Betawiki refrains from having non-natives translating messages; even if they think themselves able, too much weirdness creeps in. Better leave the mesages untranslated, instead of spreading gibberish.

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sun, 3 Aug 2008 17:39:27 +0000 (17:39 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Last minute changes for the release branch 1.13

15 years agoLast commit contained errors. Revert most of it, keep only the tweaks to link()...
Aryeh Gregor [Sun, 3 Aug 2008 17:05:17 +0000 (17:05 +0000)]
Last commit contained errors.  Revert most of it, keep only the tweaks to link() itself (and relevant parser test changes).

15 years ago* Output title before class in Linker::link() to match behavior of makeLink() and...
Aryeh Gregor [Sun, 3 Aug 2008 16:52:55 +0000 (16:52 +0000)]
* Output title before class in Linker::link() to match behavior of makeLink() and friends, so as not to have to change old parser tests.
* Do not add action=edit to nonexistent special pages.
* Add profiling point for the bit where we add classes in linkAttribs().
* Turn makeLinkObj(), makeKnownLinkObj(), makeBrokenLinkObj() into wrappers for link().  This requires the creation of two new functions to turn query strings/attribute strings into arrays, but still results in fewer LOC (-11 lines) due to less code duplication.  This should be well-tested by the parser tests, because pretty much all link creation now goes through link(), but the only changes are encoding single quotes in attributes, which is a good change.  I find no additional database queries, so since this isn't a CPU bottleneck, there should be no performance issues.

15 years agoUse clone() directly instead of wfClone()
Alexandre Emsenhuber [Sun, 3 Aug 2008 16:36:45 +0000 (16:36 +0000)]
Use clone() directly instead of wfClone()

15 years ago(bug 15023) Another cosmetic regression from Linker changes: section link arrow in...
Aryeh Gregor [Sun, 3 Aug 2008 15:37:35 +0000 (15:37 +0000)]
(bug 15023) Another cosmetic regression from Linker changes: section link arrow in history comments should not be formatted as a stub (or redirect, or nonexistent page).

15 years agoRELEASE-NOTES for r38404, kthx.
Aryeh Gregor [Sun, 3 Aug 2008 15:34:35 +0000 (15:34 +0000)]
RELEASE-NOTES for r38404, kthx.

15 years agoLocalization update for he.
Rotem Liss [Sun, 3 Aug 2008 14:30:09 +0000 (14:30 +0000)]
Localization update for he.

15 years agoLocalization update for he.
Rotem Liss [Sun, 3 Aug 2008 14:21:42 +0000 (14:21 +0000)]
Localization update for he.

15 years agoLocalization update for he.
Rotem Liss [Sun, 3 Aug 2008 13:19:24 +0000 (13:19 +0000)]
Localization update for he.

15 years agoRemove link in title.
Rotem Liss [Sun, 3 Aug 2008 12:58:29 +0000 (12:58 +0000)]
Remove link in title.

15 years agoRemove self-link.
Rotem Liss [Sun, 3 Aug 2008 12:47:03 +0000 (12:47 +0000)]
Remove self-link.

15 years agoUpdate the Chinese conversion tables
Shinjiman [Sun, 3 Aug 2008 10:33:32 +0000 (10:33 +0000)]
Update the Chinese conversion tables
Last minute changes for the release branch 1.13

15 years agoUpdate 'movepagetext' to reflect the feature "Update any redirects that point to...
Siebrand Mazeland [Sun, 3 Aug 2008 10:16:24 +0000 (10:16 +0000)]
Update 'movepagetext' to reflect the feature "Update any redirects that point to the original title"

15 years agoUpdated for 'nah' per http://translatewiki.net/w/i.php?title=Translating:Tasks&diff...
Siebrand Mazeland [Sun, 3 Aug 2008 09:40:07 +0000 (09:40 +0000)]
Updated for 'nah' per translatewiki.net/w/i.php?title=Translating:Tasks&diff=532678&oldid=532672

15 years agoLocalisation updates for core messages from Betawiki (2008-08-03 10:28 CEST)
Siebrand Mazeland [Sun, 3 Aug 2008 08:39:46 +0000 (08:39 +0000)]
Localisation updates for core messages from Betawiki (2008-08-03 10:28 CEST)

15 years agoUpdate specialPageAliases
Meno25 [Sun, 3 Aug 2008 04:42:38 +0000 (04:42 +0000)]
Update specialPageAliases

15 years agoRemove dupe entry in authors
Meno25 [Sun, 3 Aug 2008 02:47:34 +0000 (02:47 +0000)]
Remove dupe entry in authors

15 years agoMove wfSupportsAjax() to ajax.js
Aaron Schulz [Sat, 2 Aug 2008 19:48:56 +0000 (19:48 +0000)]
Move wfSupportsAjax() to ajax.js

15 years agoUpdate
Meno25 [Sat, 2 Aug 2008 18:14:54 +0000 (18:14 +0000)]
Update

15 years agoTweaking description for apihighlimits, as people are constantly asking what the...
Chad Horohoe [Sat, 2 Aug 2008 16:13:55 +0000 (16:13 +0000)]
Tweaking description for apihighlimits, as people are constantly asking what the limits are.

15 years agoAnother shot at bug 11035, added descriptive HTML title in standard page format.
Robert Stojnić [Sat, 2 Aug 2008 15:00:28 +0000 (15:00 +0000)]
Another shot at bug 11035, added descriptive HTML title in standard page format.

15 years agoWhoops, committed this by mistake.
Robert Stojnić [Sat, 2 Aug 2008 14:56:05 +0000 (14:56 +0000)]
Whoops, committed this by mistake.

15 years agoSeems we cannot relay on __toString() to do its job on all PHP versions, now gets...
Robert Stojnić [Sat, 2 Aug 2008 14:53:49 +0000 (14:53 +0000)]
Seems we cannot relay on __toString() to do its job on all PHP versions, now gets prefixedText() the safe way.
Thanks Nikerabbit for pointing it out.

15 years agoTweak the version info for MW just a bit, bring it more in line with the module listi...
Chad Horohoe [Sat, 2 Aug 2008 14:51:40 +0000 (14:51 +0000)]
Tweak the version info for MW just a bit, bring it more in line with the module listings in terms of formatting.

15 years ago* (bug 14972) Use localized alias of Special:Search consistently (on all search forms)
Robert Stojnić [Sat, 2 Aug 2008 14:20:15 +0000 (14:20 +0000)]
* (bug 14972) Use localized alias of Special:Search consistently (on all search forms)

15 years ago* Removing linktrail which doesn't make any sense
Niklas Laxström [Sat, 2 Aug 2008 13:28:34 +0000 (13:28 +0000)]
* Removing linktrail which doesn't make any sense
* Adding number separators by the request of McDutchie@Betawiki

15 years ago* Fixing namespaces (constants instead of strings)
Niklas Laxström [Sat, 2 Aug 2008 13:19:22 +0000 (13:19 +0000)]
* Fixing namespaces (constants instead of strings)

15 years agoFixes for r38424:
Alexandre Emsenhuber [Sat, 2 Aug 2008 13:06:08 +0000 (13:06 +0000)]
Fixes for r38424:
* $wgAddGroups[$group] can be true if the user can add all rights, show this in Special:ListGroupRights
* added messages to messages.inc

Somehow related:
* Setting $wgAddGroups = $wgRemoveGroups = array(); in DefaultSettings.php seems to put a reference between these two variables.

15 years agoCreate User::getGroupsInRoles(). Given an array of roles (edit, read, delete), return...
Chad Horohoe [Sat, 2 Aug 2008 12:42:51 +0000 (12:42 +0000)]
Create User::getGroupsInRoles(). Given an array of roles (edit, read, delete), return the groups allowed to do each.

15 years ago* Fix WebRequest.php
Victor Vasiliev [Sat, 2 Aug 2008 12:39:29 +0000 (12:39 +0000)]
* Fix WebRequest.php
* Add RELEASE-NOTES for my previous commit

15 years agoShow $wgAddGroups and $wgRemoveGroups on Special:ListGroupRights
Victor Vasiliev [Sat, 2 Aug 2008 11:29:27 +0000 (11:29 +0000)]
Show $wgAddGroups and $wgRemoveGroups on Special:ListGroupRights

15 years agoRemove unused global.
Chad Horohoe [Sat, 2 Aug 2008 08:10:45 +0000 (08:10 +0000)]
Remove unused global.

15 years agoUse content language for rightsnone
Andrew Garrett [Sat, 2 Aug 2008 03:07:03 +0000 (03:07 +0000)]
Use content language for rightsnone

15 years agoTake Article::viewRedirect() public and have it return a string so it can be used...
Chad Horohoe [Sat, 2 Aug 2008 02:39:09 +0000 (02:39 +0000)]
Take Article::viewRedirect() public and have it return a string so it can be used other places, like EditPage for proper rendering of redirects on preview (bug 2333). +Docs here and there.

15 years agoGah, committed Linker.php by mistake. Reverting.
Jon Harald Søby [Sat, 2 Aug 2008 01:06:35 +0000 (01:06 +0000)]
Gah, committed Linker.php by mistake. Reverting.