lhc/web/wiklou.git
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.

15 years agoAdding messages for new global group 'sysadmin'. Brion, Tim, Kate and JeLuF are all...
Jon Harald Søby [Sat, 2 Aug 2008 01:04:25 +0000 (01:04 +0000)]
Adding messages for new global group 'sysadmin'. Brion, Tim, Kate and JeLuF are all in it from the beginning.

15 years agoAdd date selector to history pages
Aaron Schulz [Fri, 1 Aug 2008 22:59:06 +0000 (22:59 +0000)]
Add date selector to history pages

15 years agoOpps, var renamed
Aaron Schulz [Fri, 1 Aug 2008 22:56:17 +0000 (22:56 +0000)]
Opps, var renamed

15 years agoFix the regression Brion noticed (not caused by me!) with special page links getting...
Aryeh Gregor [Fri, 1 Aug 2008 22:44:11 +0000 (22:44 +0000)]
Fix the regression Brion noticed (not caused by me!) with special page links getting fragments eaten.  I noticed that additionally, all nonexistent pages with fragments eat the fragment, and fixed that.  Added three new passing parser tests.

15 years agoRemove extra vars
Aaron Schulz [Fri, 1 Aug 2008 22:39:45 +0000 (22:39 +0000)]
Remove extra vars

15 years ago* Better yet, move getDateCond() to reverseChronologicalPager to avoid duplication.
Aaron Schulz [Fri, 1 Aug 2008 22:38:45 +0000 (22:38 +0000)]
* Better yet, move getDateCond() to reverseChronologicalPager to avoid duplication.
* Make LogPager use getDateCond(). This also means that greg's fixes to contribs apply to logs as well.

15 years agoadding new hook, MakeGlobalVariablesScript
Jack Phoenix [Fri, 1 Aug 2008 22:38:11 +0000 (22:38 +0000)]
adding new hook, MakeGlobalVariablesScript

15 years agoLocalisation updates for core messages from Betawiki (2008-08-02 00:20 CEST)
Siebrand Mazeland [Fri, 1 Aug 2008 22:35:32 +0000 (22:35 +0000)]
Localisation updates for core messages from Betawiki (2008-08-02 00:20 CEST)

15 years agoMinor refactoring and code style tweaks
Aaron Schulz [Fri, 1 Aug 2008 22:28:31 +0000 (22:28 +0000)]
Minor refactoring and code style tweaks

15 years agoMessage text punktuation.
Purodha B Blissenbach [Fri, 1 Aug 2008 22:20:41 +0000 (22:20 +0000)]
Message text punktuation.

15 years agoDon't die horribly from sql.php when making INSERT/DELETE/UPDATE/CREATE TABLE/etc...
Brion Vibber [Fri, 1 Aug 2008 21:00:24 +0000 (21:00 +0000)]
Don't die horribly from sql.php when making INSERT/DELETE/UPDATE/CREATE TABLE/etc calls that return 'true' instead of a result object.
Code was attempting to handle this case by asking the result object for its db so we can ask for the affected row count -- obviously that doesn't do so good when the result is not an object.
Changed Database::sourceStream() to send itself as the second parameter to the result-handling callback, so the callback knows which DB to check.

15 years agoFix previous change to 'undo-summary'. Should be shown in content language instead...
Siebrand Mazeland [Fri, 1 Aug 2008 19:57:27 +0000 (19:57 +0000)]
Fix previous change to 'undo-summary'. Should be shown in content language instead of user language

15 years ago* (bug 13376) Use $wgPasswordSender, not $wgEmergencyContact, as return
Brion Vibber [Fri, 1 Aug 2008 16:38:15 +0000 (16:38 +0000)]
* (bug 13376) Use $wgPasswordSender, not $wgEmergencyContact, as return
  address for page update notification mails.

Note that $wgEmergencyContact is now not currently in active use, but could
in theory be used for some kinds of failure notifications or to provide to
users to contact in case of failure, which I think was its original intention.
Certainly it's silly to throw an "emergency" contact on auto-sent mails!

There's also a $wgNoReplyAddress, which is currently used to add a Reply-To
header on notification mails. WTF? :)

We should probably refactor all this address crap...

15 years agoRemove global that exists nowhere but here.
Chad Horohoe [Fri, 1 Aug 2008 16:22:51 +0000 (16:22 +0000)]
Remove global that exists nowhere but here.

15 years agoBugfix... PHP Notice outputted cause $skin was used in hook instead of $this.
Daniel Friesen [Fri, 1 Aug 2008 15:50:59 +0000 (15:50 +0000)]
Bugfix... PHP Notice outputted cause $skin was used in hook instead of $this.

15 years agoMore profiling points for Linker::link(). And that's enough work on it for the moment.
Aryeh Gregor [Fri, 1 Aug 2008 15:13:14 +0000 (15:13 +0000)]
More profiling points for Linker::link().  And that's enough work on it for the moment.

15 years agoConvert two more Parser uses, no parser test failures. Any more conversions look...
Aryeh Gregor [Fri, 1 Aug 2008 15:09:57 +0000 (15:09 +0000)]
Convert two more Parser uses, no parser test failures.  Any more conversions look like they'll have to get the parser to use arrays for query strings instead of storing them as strings.

15 years agoStart finding more bugs in Linker::link() by having the Parser use it, and running...
Aryeh Gregor [Fri, 1 Aug 2008 15:02:46 +0000 (15:02 +0000)]
Start finding more bugs in Linker::link() by having the Parser use it, and running the parser tests.
* Support class="extiw"
* Do not double the fragment for external links with fragments.  Move the code for this into a new Title::getLinkUrl() instead of a Linker method, because it seems like a useful concept to be able to get a *usable* link to the current Title.
* Fix a few parser tests that expected attributes in the opposite order.
* Don't overwrite actions for broken links.
* Style

If you want me to stop doing this, by the way, please say so before I spend too many more hours of my life on it.

15 years agoNew hook SkinBuildSidebar to allow extensions to modify the sidebar to do things...
Daniel Friesen [Fri, 1 Aug 2008 14:40:05 +0000 (14:40 +0000)]
New hook SkinBuildSidebar to allow extensions to modify the sidebar to do things like adding custom portlets.

15 years agoRevert 38348 and fix properly. $text must be raw HTML to allow things like images...
Aryeh Gregor [Fri, 1 Aug 2008 14:33:14 +0000 (14:33 +0000)]
Revert 38348 and fix properly.  $text must be raw HTML to allow things like images to be the link text.  Use Xml::openElement() and Xml::closeElement() instead of Xml::element().

15 years agoQuick, how many days in 2592000 seconds? Yeah, I needed a calculator too.
Aryeh Gregor [Fri, 1 Aug 2008 14:18:27 +0000 (14:18 +0000)]
Quick, how many days in 2592000 seconds?  Yeah, I needed a calculator too.

15 years agoProperly escape URL fragment in Linker::link (using Title::getFragementForURL), else...
Rotem Liss [Fri, 1 Aug 2008 13:03:34 +0000 (13:03 +0000)]
Properly escape URL fragment in Linker::link (using Title::getFragementForURL), else it breaks in non-ASCII characters. Bug reported by Hebrew Wikipedia users.

15 years agoRevert removal of 2 core messages in r38352. Still in use.
Siebrand Mazeland [Fri, 1 Aug 2008 10:57:38 +0000 (10:57 +0000)]
Revert removal of 2 core messages in r38352. Still in use.
* accmailtitle
* accmailtext

15 years agoRemove 6 unused core messages
Siebrand Mazeland [Fri, 1 Aug 2008 10:38:14 +0000 (10:38 +0000)]
Remove 6 unused core messages
* whitelistreadtitle
* whitelistreadtext
* whitelistacctitle
* whitelistacctext
* accmailtitle
* accmailtext

15 years agoFixing two double-escaping problems in Linker::link (Xml::element escapes the element...
Rotem Liss [Fri, 1 Aug 2008 10:15:29 +0000 (10:15 +0000)]
Fixing two double-escaping problems in Linker::link (Xml::element escapes the element text):
* In Linker::userLink - already live in Wikimedia sites.
* When no text is given, i.e. in Linker::linkText.
Also fixing documentation comment to prevent more mistakes.

15 years agoRemove 2 unused core messages "movenologin", "movenologintext".
Siebrand Mazeland [Fri, 1 Aug 2008 10:11:29 +0000 (10:11 +0000)]
Remove 2 unused core messages "movenologin", "movenologintext".

Appears to be used in 1 extension. May need fixing.
(not stable) extensions/LiquidThreads/LqtPages.php: $this->output->showErrorPage( 'movenologin', 'movenologintext' );

15 years ago* (bug 14987) Only fix double redirects on page move when the checkbox is checked
Alexandre Emsenhuber [Fri, 1 Aug 2008 09:44:47 +0000 (09:44 +0000)]
* (bug 14987) Only fix double redirects on page move when the checkbox is checked

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Fri, 1 Aug 2008 09:35:41 +0000 (09:35 +0000)]
Localisation updates: Adding/updating Persian translations

15 years agoRemove call to Linker::postParseLinkColour() which is useless and deprecated
Alexandre Emsenhuber [Fri, 1 Aug 2008 09:22:39 +0000 (09:22 +0000)]
Remove call to Linker::postParseLinkColour() which is useless and deprecated

15 years agoFix regression from r38325 -- caused first character of section name in a history...
Brion Vibber [Fri, 1 Aug 2008 02:02:08 +0000 (02:02 +0000)]
Fix regression from r38325 -- caused first character of section name in a history link to be trimmed.
Title::setFragment() does not do what you'd think it does. :)

15 years ago(bug 14995 again) Fix behavior of link() when it's provided with Titles that have...
Aryeh Gregor [Fri, 1 Aug 2008 01:47:02 +0000 (01:47 +0000)]
(bug 14995 again) Fix behavior of link() when it's provided with Titles that have no text, only a fragment.  getLocalURL() doesn't work here either.  Can we have a function that actually means "generate a link to whatever this Title points at"?

Also remove, as Tim so eloquently terms it, "that crap in the release notes", which I also think is unnecessary and crufty.

15 years agoUse Linker::link() in a couple more places, since I want to break lots more bits...
Aryeh Gregor [Fri, 1 Aug 2008 01:37:07 +0000 (01:37 +0000)]
Use Linker::link() in a couple more places, since I want to break lots more bits of the site interface.  Also clean up Skin::nameAndLogin(), although it's seemingly only used in Standard.

15 years agoRevert 38323 for now. Causes massive parser test failure. Also needs to update...
Aryeh Gregor [Fri, 1 Aug 2008 01:03:26 +0000 (01:03 +0000)]
Revert 38323 for now.  Causes massive parser test failure.  Also needs to update RELEASE-NOTES.

15 years agoRollback links should not get new/mw-redirect/stub classes, either.
Aryeh Gregor [Fri, 1 Aug 2008 00:55:29 +0000 (00:55 +0000)]
Rollback links should not get new/mw-redirect/stub classes, either.

15 years ago(bug 14997) Rollback links now work again, yay! But doesn't the code look so much...
Aryeh Gregor [Fri, 1 Aug 2008 00:54:08 +0000 (00:54 +0000)]
(bug 14997) Rollback links now work again, yay!  But doesn't the code look so much prettier?

15 years ago(bug 14995) Some link fragments in the interface stopped appearing, because Title...
Aryeh Gregor [Fri, 1 Aug 2008 00:47:26 +0000 (00:47 +0000)]
(bug 14995) Some link fragments in the interface stopped appearing, because Title::getLocalURL() doesn't include the fragment.  For some reason Title::getFullURL() does, however . . . more functions to clean up?  :)

15 years agoAdding links to a lot of messages to improve usability.
Siebrand Mazeland [Fri, 1 Aug 2008 00:30:13 +0000 (00:30 +0000)]
Adding links to a lot of messages to improve usability.

15 years agoChanging the code rendered for headers; removing <a name="$anchor">, making into...
Jon Harald Søby [Fri, 1 Aug 2008 00:22:39 +0000 (00:22 +0000)]
Changing the code rendered for headers; removing <a name="$anchor">, making into <h# id="$anchor"> instead. This removes one line from the output code, but more importantly enables CSS marking of a title based on its id. Probably not backwards-compatible with browsers like IE4 (brion checked with IE5) and Netscape 4, but hey, who cares?

15 years agoRevert r38302,38306 -- "Add an order by to the list of watched pages."
Brion Vibber [Thu, 31 Jul 2008 23:20:37 +0000 (23:20 +0000)]
Revert r38302,38306 -- "Add an order by to the list of watched pages."
This looks wrong -- an order by title wouldn't be indexed properly, and could be rather slow.

15 years agoNot setting various parameters no longer causes the ForeignAPIRepo to fail horribly...
Chad Horohoe [Thu, 31 Jul 2008 22:06:54 +0000 (22:06 +0000)]
Not setting various parameters no longer causes the ForeignAPIRepo to fail horribly. Thanks to Siebrand for pointing it out.