Chad Horohoe
0ea3a0c7da
Add $this as a parameter to LoadAllMessages.
2009-05-07 18:49:57 +00:00
Aaron Schulz
248c17383d
Removed StartProfiler.php from SVN control and added StartProfiler.sample file. The sample file can be moved to the former name to set profiling. MW will fall back to ProfilerStub.php as usual if there is no StartProfiler.php.
2009-05-07 18:30:26 +00:00
Alexandre Emsenhuber
2a82a66505
fix E_PARSE from r50310
2009-05-07 16:51:45 +00:00
Chad Horohoe
547f785993
Supress chmod() errors, they're annoying and very common. In all liklihood, the wiki can display the image with whatever permissions it was created to begin with. Also introduce the 'fileMode' parameter for $wgLocalFileRepo/$wgForeignFileRepos. Fixes bug 18326
2009-05-07 16:18:42 +00:00
Chad Horohoe
389f46dfbe
(bug 16925) Diffs no longer silently fail when $wgExternalDiffEngine is set to 'wikidiff' or 'wikidiff2' but extension is not installed. Should now gracefully fall back to the PHP diff.
2009-05-07 16:00:29 +00:00
Arash Boostani
e1e727ec5d
Fixed a minor problem with $wgSectionContainers that was causing some divs to not be closed properly
2009-05-06 23:21:55 +00:00
Robert Stojnić
9f8b04d1b0
Follow-up for r50207: mysql won't estimate total number of hits, so don't show it - copied from SpecialSearchOld more or less.
2009-05-06 21:05:52 +00:00
Alexandre Emsenhuber
998f036bec
If passing a callback in an array in $wgExtensionFunctions, fix the profile name to not have 'Setup.php-extensions-Array'
2009-05-06 20:02:01 +00:00
Arash Boostani
b125252d43
Set the default value for $wgSectionContainers and documented the functionality.
2009-05-06 15:13:12 +00:00
Philip Tzou
f6a1b95665
Update the Chinese conversion tables.
2009-05-06 05:44:55 +00:00
Arash Boostani
127c44f4fc
Fixed problem with call to closeSectionContainers that contained references. Only the function definition needs to indicate that the input variable is a reference, not the function call.
2009-05-06 04:17:48 +00:00
Arash Boostani
f81f4c1fa6
Added an extension, called EditSectionHiliteLink, that highlights the appropriate section when the user mouses over the section edit links. Also, modified the Parser to enclose each section in a div if $wgSectionContainers is set.
2009-05-05 22:49:45 +00:00
Roan Kattouw
a8dc3d7221
Fix up r47473: descend into subarrays in ForeignAPIFile::getMetadata()
2009-05-05 09:47:53 +00:00
Robert Stojnić
abd70a3554
Redesign of the "new search UI" per Trevor's design plans from usability wiki:
...
* simplify everything, move search box to top
* move header below it and make it google-style
* move styles from monobook into shared since people didn't really customize it
* remove some old unused stuff like default+project namespaces and such
Things to do still:
* smarter detection of prefix searches
* javascript to link to correct link when typing in a query, but clicking on one of the search headers
* prev/next still uses MW default navigation, should be replaced with tango icons?
* test a bit more with default search backend (i.e. mysql)
2009-05-04 23:07:19 +00:00
Robert Stojnić
58607bec93
Fix annoying bug with mwsuggest that makes it shown suggestions after search box has lost focus (which it shouldn't).
...
Introduce additional attribute that tells the suggestion container that it should stay hidden.
2009-05-04 21:07:18 +00:00
Robin Pepermans
6feccb2e14
Add $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf in Special:ListGroupRights (bug 15061), the same way as $wgAddGroups and $wgRemoveGroups
2009-05-04 19:16:21 +00:00
Aaron Schulz
3995e0e23e
(bug 18666) Add show/hide to deleted diffs
2009-05-04 17:45:01 +00:00
Roan Kattouw
d01bd3b799
API: (bug 18518) Add clprop=hidden to prop=categories. Also use array_flip($params['prop']) to simplify code
2009-05-04 15:10:42 +00:00
Roan Kattouw
a21650b825
(bug 18677) Give proper error message when viewing &action=protect without sufficient rights. Patch by Stefano Codari
2009-05-04 14:51:46 +00:00
Aaron Schulz
43c908d4e9
(bug 18666) Add show/hide links to deletedcontribs
2009-05-04 13:40:09 +00:00
Aaron Schulz
0ed239362c
(bug 18666) Add show/hide to contribs
2009-05-04 13:32:50 +00:00
Aryeh Gregor
8a9a059949
Update docs to note what passing empty string does
...
See r50128.
2009-05-04 13:30:57 +00:00
Aaron Schulz
7bdc640c6a
*(bug 18676) Fixed nonsensical cache invalidation on revision delete
2009-05-04 13:14:54 +00:00
Tim Starling
1824453461
(bug 18657) Workaround for MySQL optimiser bug. Replaces Domas's live patch.
2009-05-04 09:31:34 +00:00
Tim Starling
430a2a6ea6
Reverted r48983: obsolete since r48989, replaced by less intrusive optimisations.
2009-05-04 08:57:33 +00:00
Roan Kattouw
fc32d63609
Fix up r50126: dump $wgDBtype rather than a class name, per CR comment
2009-05-04 07:00:52 +00:00
Alexandre Emsenhuber
9c8e5796c8
Cleanup in MagicWord::$mVariableIDs, removed IDs that aren't handled in Parser::getVariableValue().
...
Side effect: Removed "Pages in namespace (Magic word disabled currently)" parser test added in r17687 by nickj (was passing; I know). The problem is that the expected result is an empty string, but since it's disabled by default with $wgAllowSlowParserFunctions = false (i.e. not added to parser's list of magic words IDs) it should return a red link to [[Template:PAGESINNAMESPACE:]] (the empty string is produced because "{{PAGESINNAMESPACE:}}" is handled as variable and not as parser function).
2009-05-03 12:38:13 +00:00
Philip Tzou
c665af29b7
Update the Chinese conversion tables.
2009-05-03 05:48:38 +00:00
Roan Kattouw
201ff65e60
Fix interesting regression from r49324: on a redirected page view, the content action tabs (article, discussion, edit, history) would point to the redirect instead of the target article.
2009-05-02 15:38:32 +00:00
Roan Kattouw
ea5b014e38
Followup to r50132: I guess I was smoking some pretty good stuff there
2009-05-02 15:03:02 +00:00
Roan Kattouw
5924eb85f0
API: Set $wgTitle to a dummy title in api.php, and introduce defined('API') as a check for API mode. This should fix errors about $wgTitle being null
2009-05-02 14:47:26 +00:00
Aaron Schulz
07146c4b3a
Fixed dropdown selector display and other log type issues due to string -> array conversion
2009-05-02 14:34:45 +00:00
Roan Kattouw
2e20458e1c
API: (bug 18533) Add readonly message to meta=siteinfo output
2009-05-02 14:24:11 +00:00
Aaron Schulz
2eaa5161b1
Fixed total log breakage due to type safety issues
2009-05-02 13:42:51 +00:00
Roan Kattouw
06687f0d95
API: Add PHP and database version to meta=siteinfo output
2009-05-02 13:35:20 +00:00
Niklas Laxström
772c5c07a5
* Hack for checkLanguage.php to work without database
2009-05-02 10:49:37 +00:00
Shinjiman
2a6d97a31f
Change to show the checkout revision number by default in Special:Version, per Code Review on r50106.
2009-05-02 07:44:17 +00:00
Victor Vasiliev
05211a190b
* (bug 15008) Redirect images are now subject to Bad image list rules
2009-05-01 21:22:25 +00:00
Rotem Liss
62181b1679
Removed float from the user login form in RTL interface - caused display problems in FF2, and in LTR interfaces there is no float there.
2009-05-01 19:08:22 +00:00
Shinjiman
99d6d0ff5c
Show the SVN revision numbers as a separate column in Special:Version
2009-05-01 16:39:08 +00:00
Chad Horohoe
d7ebe83671
Followup to r50102: increment style version.
2009-05-01 14:17:49 +00:00
Shinjiman
b4bf0f1785
Follow up r49997, showing both last modified and checkout revision number for the directory per Code Review.
2009-05-01 14:09:45 +00:00
Andrew Garrett
790de961fc
Sanitize class names applied by change tagging -- was not anticipating multi-word, ugly tag names
2009-05-01 12:55:29 +00:00
Tim Starling
4f76c5c73e
Increment version to 1.16. Basic release notes update assuming r48811 branch point, some changes will be required as we backport things.
2009-05-01 03:38:02 +00:00
Chad Horohoe
e3d5b672e8
Default true :)
2009-05-01 01:34:37 +00:00
Chad Horohoe
1f18e8b35c
(bug 9219) Auth plugins can control editing RealName/Email/Nick preferences. Based on patch by MrPete.
2009-05-01 01:27:22 +00:00
Aaron Schulz
34d9d5897e
Tweaked account hiding & renaming limits
2009-04-30 07:19:49 +00:00
Tim Starling
a462904fbf
Small-scale data loss logged on Wikimedia along these lines: invalid URL written to old_text with the user thinking their edit has succeeded. This change should prevent that scenario.
2009-04-30 06:00:01 +00:00
Tim Starling
2ec95d3326
Assorted minor live patches to command-line scripts.
2009-04-30 05:52:25 +00:00
Tim Starling
47cb80baa4
Wait for slaves after each page (from live patch).
2009-04-30 05:34:50 +00:00