Brion Vibber
3a6ac5a3c3
Revert r20769: we don't use PHPDocumentor anymore, we use doxygen.
...
If making mass changes to tweak to its preferences, probably better to do it for the tool we actually generate docs with. :)
2007-03-28 14:16:43 +00:00
Nick Jenkins
5fef2333d4
PHPDocumentor [ http://en.wikipedia.org/wiki/PhpDocumentor ] documentation tweaking stuff.
...
Minor doc tweaks to prevent some PHPDocumentor warnings or errors when run on the includes/ directory. PHPDocumentor uses a syntax very similar to javadoc - mostly we already use this, but there were a few scattered places that were adjusted to make them consistent with the rest of the code. In practical terms, these changes were made:
* @url becomes @link
* @fixme becomes @todo
* HTML tags in descriptions must be closed / balanced.
* @bug was removed (where the bug was long fixed), or changed into a @todo (in the few situations where the bug was still pending)
* @obsolete becomes @deprecated
* Things like "/**@{{" and "/**@}}*/" which cause "unknown tag" warnings were removed
* @access must be a valid access level.
* @desc tag not needed, removed.
* Doesn't seem to like @licence, will accept @license however.
* Use full comment block notation in a few places (i.e. open block with "/**", start each line with " *", and end block with " */")
Then additional to this, to get some class docs associated with their respective classes:
* Moved some docs to right above those classes (deleting blank lines, or moving descriptions from the file headers)
* Marked some classes without docs as "@todo document"
* (done up to "class MIMEsearchPage" on the "classtrees_MediaWiki.html" page for the includes/ directory)
2007-03-28 08:53:02 +00:00
Aryeh Gregor
54e23f5fd2
Improve documentation for $wgMaxUploadSize
2007-03-27 22:14:49 +00:00
Rob Church
984e7ada40
(bug 8421) Expose current action in JavaScript globals (as 'wgAction')
2007-03-27 21:15:23 +00:00
Rob Church
7fefaf95f9
* (bug 8975) Use "Maintenance script" as the username for importTextFile.php, not "MediaWiki default" as it could cause pages to be overwritten
...
* Use "Maintenance script" as the username for importImages.php, too
* Clarified reserved username comment
2007-03-27 20:53:33 +00:00
Brion Vibber
4475d36182
Revert $wgDBtimezone commits: r20688, 20689, 20690, 20691.
...
Alters behavior of wfTimestamp() and wfTimestampNow() in clearly broken ways, such that current time would not return current time anymore.
2007-03-27 19:39:37 +00:00
Greg Sabino Mullane
0aef616c15
Allow user timezone adjustments to work when using Postgres - fixed bug 9299
2007-03-26 01:05:06 +00:00
Brion Vibber
9150412fe7
For now revert the rev_deleted branch merge; don't want trunk to get too far gone before changes are reviewed!
...
Reverted: 20511, 20510, 20507, 20474, 20461, 20460, 20457, 20448, 20446
2007-03-16 16:01:07 +00:00
Aaron Schulz
2448539ad9
*Merge in phase3_rev_deleted/includes
2007-03-14 15:50:06 +00:00
Tim Starling
98bbc8fb3e
Revert my own commit r20142, was rubbish.
2007-03-13 16:15:07 +00:00
Brion Vibber
359e9fe2cf
Bundle tidy config.
2007-03-13 15:45:40 +00:00
Brion Vibber
6088f8b151
Revert r20162; changes behavior of sites that restrict editing, potentially
...
unsafely (for instance if raw HTML is enabled), without even a warning.
2007-03-06 14:21:12 +00:00
Aaron Schulz
d21ea597b1
*Add edittalk right to defaultsettings for convenience
2007-03-06 09:48:39 +00:00
Tim Starling
df4ad11d29
Bringing foreign connection logic into the core. Committing for test on server.
2007-03-05 12:42:19 +00:00
Leon Weber
560218d6ac
Finish what I began in r20065. Tested it in all skins and works except in MySkin. I guess this is okay, but I didn't understand yet what MySkin is :)
...
If something's wrong, please feel free to correct it, as I'll be away for some weeks now.
2007-03-04 20:53:48 +00:00
Leon Weber
ca32c27850
Argh. Bumped $wgStyleVersion. Thanks ray for the reminder which hopefully saved me from all the stabs :))
2007-02-26 20:38:08 +00:00
Tim Starling
3b82b71900
Added rate limiter for Special:Emailuser
2007-02-24 21:34:08 +00:00
Brion Vibber
3991cdcbae
* Hide irrelevant block options in Special:Blockip based on whether an
...
IP address/range or username is listed. (Dynamic using JS.)
2007-02-20 00:55:54 +00:00
Tim Starling
28dc3ec888
* Moved the main ob_start() from the default LocalSettings.php to WebStart.php.
...
The ob_start() section should preferably be removed from older
LocalSettings.php files.
* Give Content-Length header for HTTP/1.0 clients.
* Partial support for Flash cross-domain-policy filtering. Text entry points should be protected, but uploads are not.
2007-02-19 23:03:37 +00:00
Brion Vibber
e380c455b7
Further fix: restore order of parameters on addButton() to most backwards- and forwards-compatible state
2007-02-19 18:16:21 +00:00
Brion Vibber
a27abdde8b
Tweaks to r19987:
...
* Don't add an 'id' attribute for custom toolbar buttons where the
custom array doesn't include an id, for compatibility with
existing settings.
* Fix corrupted, but previously also incorrect, encoding on regex
for currencies in sortable table setup. Using \u escape sequences
for pound and euro; possibly other symbols need to be added?
* Bump $wgStyleVersion
2007-02-19 18:08:45 +00:00
Daniel Kinzler
e67bceab97
wgNonincludableNamespaces option to disable inclusion for specific namespaces. Helps to make read-protection work
2007-02-15 01:23:47 +00:00
Niklas Laxström
a2b6b9ab69
* Some enhancements to live preview
2007-02-09 20:34:57 +00:00
Antoine Musso
fe7d2d15d4
Fix #6844 : Semantically correct tags for diffchanges (<ins> && <del>)
...
Bumps wgStyleVersion to 55.
Patch by Messi <messias+spam@gmail.com>
2007-02-03 21:47:53 +00:00
Antoine Musso
a27383b672
Fix #8858 : handle $wgImageLimits changes correctly
2007-02-02 16:22:22 +00:00
Aryeh Gregor
ad15aad60d
* (bug 8711) Stop floats in previews from spilling into edit area with toolbar disabled. Doesn't seem to happen on most browsers anyway, but no harm in adding an extra clear for any it might work that way on.
2007-02-02 00:29:35 +00:00
Ilmari Karonen
d2a3135818
Merge sorttable.js code into wikibits.js, get rid of JS hack for on-demand loading the former, re-do some cleanup lost in r18775.
2007-01-31 12:51:18 +00:00
River Tarnell
0ebf96757b
add to comment that < > shouldn't be used in $wgLegalTitleChars
2007-01-29 21:37:57 +00:00
Brion Vibber
a433c3d045
* (bug 8719) Firefox release notes lie! Fix tooltips for Firefox 2 on x11;
...
accesskeys default settings appear to be same as Windows.
2007-01-22 17:59:43 +00:00
Brion Vibber
0b06a4fffc
Revert r19529 ('ajax editors list'); per chat w/ hashar I recommend working on this as an extension for now. It seems pretty modular, and should be an ideal candidate for that.
2007-01-21 03:14:06 +00:00
Antoine Musso
ed8e8e5833
Optional feature : 'Ajax show editors' based on an idea by Tim Starling
...
Merge from hashar's branch.
2007-01-20 21:05:36 +00:00
Antoine Musso
c771fc9c96
Use Doxygen @addtogroup instead of phpdoc @package && @subpackage
2007-01-20 15:09:52 +00:00
Antoine Musso
13108fbdc0
* Fix hardcoded background color in parserTests.php
...
* AnsiTermColorer::reset() now calls color(0)
* parserTests.php : remove 'light' option for --color switch
2007-01-17 21:24:41 +00:00
Andrew Garrett
f2a8e239c8
Add autoconfirmation by edit count. Users must have existed for more than wgAutoConfirmAge seconds, and have wgAutoConfirmCount edits in order to be considered autoconfirmed.
2007-01-17 10:43:04 +00:00
Rob Church
c16298f2d2
* (bug 8621) Log revisions marked as patrolled
...
* Uses normal logging framework, but
** doesn't duplicate the log in recentchanges ;)
** uses a cleaner method to override LogPage::actionText() and do all the formatting
* Introduces PatrolLog::record()
2007-01-16 17:05:30 +00:00
Rotem Liss
8f2dbca893
Adding var declaration.
2007-01-16 14:18:30 +00:00
Antoine Musso
c15d46f9a8
Fix #8629 : document $wgFilterCallback
2007-01-15 20:46:44 +00:00
Ilmari Karonen
603f670260
IE compatibility fix (thanks, howcheng): don't pass a null second param to insertBefore()
2007-01-15 18:32:10 +00:00
Rob Church
058abcd4af
Typo in example comment
2007-01-15 06:53:37 +00:00
Rob Church
717fee6326
(bug 8628) Add user-aware block list link to Special:Blockip
2007-01-15 06:45:46 +00:00
Ilmari Karonen
d7c506bc31
Make setupCheckboxShiftClick() process all checkboxes, not just those in ULs. This not only makes it more versatile, but it's faster too, since checkboxes tend to be much less common than list items.
2007-01-15 04:28:07 +00:00
Aryeh Gregor
0f60d3f931
* Don't iterate through all elements to update tooltips/accesskeys, iterate through as few as possible while still guaranteeing that you'll add all accesskeys
...
* Only call updateTooltipAccessKeys from addPortletLink if necessary
* Give search box a tooltip in Monobook
2007-01-14 23:48:42 +00:00
Rob Church
4b5d7f7cc9
(bug 8619) Add user-aware "unblock" link to Special:Blockip
2007-01-14 21:00:40 +00:00
Brion Vibber
6ca171e7b8
PLEASE TEST YOUR ONE-LINE COMMITS THANKS
2007-01-14 10:21:53 +00:00
Brion Vibber
6f93347ccd
* Add 'purge' privilege to replace the hardcoded check for login state in
...
determining whether action=purge can be done via GET. Switching the
permission on for anons can be helpful for benchmarking.
2007-01-13 04:25:25 +00:00
Ilmari Karonen
8910338cb8
akeytt(id) was broken, fix it; also make sure window.ta is defined, since many user scripts assume it is
2007-01-12 23:06:06 +00:00
Ilmari Karonen
cba3f09496
whitespace
2007-01-11 04:21:00 +00:00
Ilmari Karonen
9cf1900539
Allow customizing the minimum per-namespace protection level via $wgNamespaceProtection.
...
By default, editing NS_MEDIAWIKI requires "editinterface" permission, just as before.
2007-01-11 04:11:26 +00:00
Andrew Garrett
b3a8d488a8
Merge from branches/werdna/restrictions-separation (forked at r18959): * Branch page_restrictions column out into its own table, also creating a 'cascading protection' feature, which automagically disallows edits to pages transcluded into a page protected with this new option. Various other code tidiness fixes and refactoring in the log messages of branches/werdna/restrictions-separation. REQUIRES DATABASE SCHEMA UPGRADE
2007-01-10 23:32:38 +00:00
Aryeh Gregor
f0754277f4
* (bugs 5051, 5376) All tooltips and accesskeys moved out of Monobook.js and into their own system messages. JavaScript is now only used to attach the prefix to the accesskey in the tooltip.
...
** All languages should work correctly (all are free from syntax errors and some random picks look right), yay ssed
** Tested en in a couple of browsers, all accesskeys and tooltips appear to work perfectly
** Accesskeys/tooltips can be removed by setting the appropriate messages to '-'
** Any preexisting modifications made to the ta array will carry through, although it should be considered deprecated
* Removed some undocumented JS related to bidi that snuck into MessagesKu.php's and MessagesYi.php's monobook.js, it should be added via wikibits.js for all bidi languages if we want it at all
2007-01-10 05:18:30 +00:00