Wikipedia talk:User scripts/Guide: Difference between revisions
Content deleted Content added
→"Edit a page and other common actions" out of date: new section |
→Loading stylesheet: new section |
||
Line 40:
</syntaxhighlight> is depreciated: https://phabricator.wikimedia.org/T234576
I would appreciate an update to this page, it’s a very short/simple guide to getting started on using the API.–[[User:CennoxX|CennoxX]] ([[:de:User talk:CennoxX|talk @ dewiki]]) 09:51, 8 November 2019 (UTC)
== Loading stylesheet ==
In the section "Working with CSS", it says:
An alternative way is to put this line anywhere in your css instead:
mw.loader.load( 'http://localhost/wikipediatest.css', 'text/css' );
I assume this should actually be placed in a Javascript file that is being loaded and executed? [[User:Isaacl|isaacl]] ([[User talk:Isaacl|talk]]) 19:06, 5 May 2020 (UTC)
|