Commit graph

680 commits

Author SHA1 Message Date
Aaron Schulz
770c9d8c2e Renamed "wfShellMaintenanceCmd" function and new, unused, het-deploy, hook
to "wfShellWikiCmd". The old function now remains as a wrapper. The term "maintenance" is too restrictive.

Change-Id: I5c23d6475fd1aca374ee57b89212eee3a0d8cea1
2012-04-04 16:48:55 -07:00
Christian Aistleitner
b5a262a8d3 .gitignore for generated html doc
Change-Id: I38c66fe3a219d36d935da9a1c31ac3182bb2dbd9
2012-03-31 20:17:34 +02:00
Alex Monk
bc0446e8b5 Fixed some links from SVN to Git.
Change-Id: If425135e3601f11e42c0fc66b1eff7192b2a0704
2012-03-23 22:32:53 +00:00
Max Semenik
083d47cc73 (bug 23795) Add parser itself to ParserMakeImageParams hook. 2012-03-09 18:32:03 +00:00
Ryan Kaldari
045772cbbe grammar fix 2012-03-04 19:14:20 +00:00
Sam Reed
c47f83a4d4 More __METHOD__ in our madness 2012-02-24 18:45:24 +00:00
Daniel Friesen
14b524c118 Add an OutputPage to the EditPage::showEditForm:initial to match the EditPage::showEditForm:fields hook so that people will stop global'ing $wgOut. e.g.: In WikiEditor. 2012-02-15 19:32:36 +00:00
Andrew Garrett
938871aa56 Port (with changes) r110866 to trunk. Reviewed by Brion before commit. 2012-02-13 22:32:44 +00:00
Jeroen De Dauw
6479096233 follow up to r111017, move hook to isAlwatsKnown as per discussion on CR 2012-02-12 23:10:06 +00:00
Alexandre Emsenhuber
129d23aacc Added missing directories to findHooks.php and missing quote in hooks.txt that made LoginAuthenticateAudit show up as undocumented when running findHooks.php 2012-02-12 19:18:36 +00:00
Jeroen De Dauw
6ee113c1e3 follow up to r111017 - added docs 2012-02-09 14:10:59 +00:00
Chad Horohoe
fb9faea302 Revert r103467, r106446 (bug 24464: calling LoginAuthenticateAudit hook more often)
Pretty narrow use case isn't very well defined, and this has *felt wrong* to me since
it was committed in November. Easier to pull for now rather than blocking release.
2012-02-06 22:44:30 +00:00
Antoine Musso
3b609d22bf doxygen landing page 2012-02-01 21:40:49 +00:00
Jeroen De Dauw
95bbe12c68 this is no longer a guideline afaik 2012-01-29 05:37:49 +00:00
Diederik van Liere
22746a5807 Add the new SHA1 revision field to the XML export, add SHA1 field to export-0.6.xsd and fix namespace element from string to integer. 2012-01-23 19:48:20 +00:00
Antoine Musso
ccc769bac2 design file for nested tables CSS
See:
Bug 33752 - Wikitable uses CSS not supported in IE6
r107669
2012-01-19 17:22:36 +00:00
Siebrand Mazeland
ef9293b1b7 Remove support for the deprecated and no longer used in trunk hook MagicWordMagicWords. 2012-01-18 18:20:50 +00:00
Siebrand Mazeland
685216dd7f Update documentation. 2012-01-18 17:53:04 +00:00
Antoine Musso
883da87ccf firefox does not honor colgroup width with fixed layout 2012-01-16 21:13:48 +00:00
Sam Reed
284d014e37 Update documentation for ImportHandleRevisionXMLTag 2012-01-16 15:49:32 +00:00
Chad Horohoe
f3a6fc1576 Revert r102624, r104262 (user display name stuff). Per CR there isn't consensus on this yet. 2012-01-11 00:53:08 +00:00
Alexandre Emsenhuber
a0e6ccdb07 Made UnwatchArticle, UnwatchArticleComplete, WatchArticle and WatchArticleComplete pass a WikiPage object instead of Article.
There are two extensions (InterwikiIntegration and Syslog) that use these hooks and they don't Article-only methods so they won't break by this change.
2012-01-06 16:28:11 +00:00
Aaron Schulz
1d77bc94c2 * Cleanup for r108175: made if easier for extensions to interact with each other in TitleReadWhitelist hook. A handler can set $whitelisted to true to whitelist the page or it can set it to false and return false (most restrictive wins).
* Added some hook doc comments.
2012-01-06 06:16:05 +00:00
Alexandre Emsenhuber
7b96bc9010 Per request of Aaron Schulz, follow-up r102187: added new 'TitleReadWhitelist' hook to allow extensions to bypass core (and other extensions) checks to allow an user to read the page 2012-01-05 20:29:53 +00:00
Antoine Musso
616ff7b66c explanations by Erwin Dokter on bug 33496 2012-01-05 15:06:49 +00:00
Antoine Musso
4343153649 additional monospaced font-family hacks
font-family: monospace, monospace;
Is elegant and has my preference :-)

  font-family: monospace, DOESNOTEXISTREALLY;
Really make it obvious

follow r108123
2012-01-05 09:24:16 +00:00
Antoine Musso
37905df53a test rendering font-family for monospaced fonts
follow r108112
2012-01-05 09:16:13 +00:00
Niklas Laxström
3985279f03 Guessing a typo fix, could also be 'is a feed' but neither expression really opens to me 2012-01-04 11:03:33 +00:00
Antoine Musso
434f82e596 ResourceLoaderTestModules doc: better wording
follow r107993
2012-01-04 10:18:49 +00:00
Niklas Laxström
d0f832fd40 Typos, casing. Still don't understand "'qunit' is feed using tests/qunit/QUnitTestResources.php"
Ping r107919
2012-01-04 08:29:58 +00:00
Antoine Musso
c447423593 merge JSTesting branch into trunk
Changed written by Timo and reviewed by Hashar. This should be harmless.

To enable the feature:
  $wgEnableJavaScriptTest = true;

Then head to:
  [[Special:JavaScriptTest/qunit]]
2012-01-03 18:33:26 +00:00
Daniel Friesen
e96d2d6802 Add RequestContextCreateSkin hook to allow extensions to override the loading of skins. 2012-01-03 01:58:27 +00:00
Krinkle
be12ebf1ab [Core JS] More fixing of global config variable usage
* mw.config is the new way, and global config variable lookups are deprecated

* Based on two phase3-wide quick searches:
-- of " wg": http://toolserver.org/~krinkle/wikimedia-svn-search/view.php?id=321&hash=81700bf7486e4fee3b7bc1f83eb9eba6
-- of "!wg": http://toolserver.org/~krinkle/wikimedia-svn-search/view.php?id=327&hash=47c9d54a7a1d5d58a724dd834585f40d

Related changes:
* Changed some php comments mentioning "wg" variables to include the dollar sign, and a typo when the wf function prefix was meant.
* Removed TODO comment in wikibits.js and made it use the JS equivalent of wfUrlencode, which we have now, mw.util.wikiUrlencode 
* SpecialUpload.php: use OutputPage::addJsConfigVars instead of creating a new script tag through OutputPage::addScript(Skin::makeVariablesScript(..))
* Renamed wgUploadSetup in upload.js and made it local. Not used anywhere in ./trunk/phase3 and ./trunk/extensions
* Fix OutputPage::addJsConfigVars so that it can actually be called with an array instead of two arguments for key/value
* Some minor whitespace/convention stuff around the same line
2011-12-31 21:25:00 +00:00
Alexandre Emsenhuber
921bced830 Revert r106545 and pass a null variable by ref (also updated the documentation) so that the hook is called at the correct moment and after everything is executed.
This is *exactly* the same behaviour as before r88898 since $article was an out parameter to fill $wgArticle correctly.
2011-12-18 14:48:23 +00:00
Brion Vibber
5a6372103a Add BeforePageRedirect hook to OutputPage, allowing extensions to override redirect output.
This is needed by MobileFrontend to normalize some redirects to the mobile site, such as on login.
2011-12-14 00:38:21 +00:00
Daniel Friesen
9d0ee321b6 Introduce a Language::getMessagesFileName hook that will allow extensions to define new language messages files outside of core. 2011-12-12 19:32:59 +00:00
Daniel Friesen
42e8b0a8e7 Replace get{Local,Full,Link,Canonical}URL's $variant argument with a secondary $query argument and treat variant paths like we do action paths. 2011-12-12 19:19:23 +00:00
Tim Starling
3da36a9103 Reverted r92364 (per-namespace permissions).
This is the wrong configuration format for such a feature, and the wrong interface. We already have certain per-namespace permissions in the Title class, and we didn't need to add extra formal parameters to a whole lot of User methods in order to get them. The feature should be implemented wholly in Title, and the concept of user rights should remain relatively simple and easy to understand, and independent of its many applications, i.e. a user either has a right or doesn't. Rights are just a tool for developing access policies; the complexity should be in the caller.

The revert was mostly done by hand, since there were a lot of conflicts. I tried to preserve the gist of conflicting changes in r102187 and r102873. The test changes are not simple reverts, rather I just edited out the per-namespace tests. I reverted the followups r92589 and r104310.
2011-12-12 06:03:01 +00:00
Aaron Schulz
6dcefd735f Added LoggableUserIPData hook to hooks.txt and made CheckUser handle it. This is needed for bug 32925. 2011-12-09 20:13:31 +00:00
Aaron Schulz
dcbe8e7dd3 FU r101117: removed cURL thumb handler code and made thumb_handler.php a thin wrapper around thumb.php
* Moved original URL fetching code and parameter extraction code to thumb.php
* Made use of local repo URL and hash settings to avoid extra config code
* This makes it easy to add hooks for extensions/config to alter behavoir (ExtractThumbParameters hook added)
* Added FileRepo::getHashLevels()
2011-12-08 03:43:07 +00:00
Antoine Musso
d383f5a5e8 uidesign: fix diffchange, show basic diff just like on wiki 2011-12-06 09:35:24 +00:00
Antoine Musso
941c553f3c basic design file for our diffs
Might help folks on r94461 . Loading this file will let you easily
look at the diff file. Might need to be improved to show a real diff
instead.
2011-12-06 09:15:41 +00:00
Antoine Musso
d3bb1dbe80 move docs/design.html to a new 'uidesign' directory 2011-12-06 09:14:27 +00:00
Daniel Friesen
fba28f5233 Followup r104688, reintroduce the full PathRouter code now that the bug with url encoded paths is fixed. 2011-11-30 15:12:19 +00:00
Brion Vibber
73b6bd244a Revert r104274, r104284, r104285 -- breaks special pages on non-english 2011-11-28 19:55:49 +00:00
Sam Reed
f3839fe71f Added "ApiGetDescription" hook 2011-11-28 15:33:28 +00:00
Bryan Tong Minh
e7e9ad5f43 Follow-up r92364: Update hooks documentation 2011-11-26 21:31:22 +00:00
Daniel Friesen
63e93db2d8 Implement path routing code.
- Makes extending paths with extensions simpler.
- Should fix bug 32621 by parsing paths based on pattern weight rather than pattern order.
2011-11-26 16:29:25 +00:00
Brion Vibber
fa78b0a3d4 tweak hook doc; followup r103762 2011-11-23 00:56:45 +00:00
Sam Reed
8e9b597894 * (bug 24765) User tool links edit hook
Original patch by "biolizard", updated to not use $this in static, and added relevant documentation
2011-11-20 15:16:54 +00:00