MediaWiki talk:Gadget-morebits.js: Difference between revisions
Content deleted Content added
add a header |
→Morebits and MOS:ORDER: Reply |
||
(5 intermediate revisions by one other user not shown) | |||
Line 25:
::::: Eh, now I get it: userIsInGroup is called while loading this script, so activating this gadget would actually cause javascript errors in IE8 or below. We can't have that in a gadget. I've made the change here, could someone also do so in the repo? [[User talk:Amalthea|<span style="font-variant:small-caps;color:#832">Amalthea</span>]] 19:25, 25 May 2011 (UTC)
:::::: I don't quite get it myself, but I trust your judgment, Amalthea. I have made the change in the git repo. — <span style="border:dashed #666;border-width:1px 0 0 1px">[[User:This, that and the other|This, that]]</span>, and <span style="border:dashed #666;border-width:0 1px 1px 0">[[User talk:This, that and the other|the other<small> (talk)</small>]]</span> 07:42, 26 May 2011 (UTC)
== Morebits and MOS:ORDER ==
[[File:Fischotter, Lutra Lutra.JPG|thumb|right|This, that and the otter in their natural habitat]]
{{ping|This, that and the other}} Instead of having to [https://en.wikipedia.org/w/index.php?title=User:Polygnotus/DuplicateReferences.js&diff=next&oldid=1292726204 define] an array of templates that should precede it, and then saying <code>.insertAfterTemplates(templateToInsert, precedingTemplates</code> it would be nice to simply be able to say: "I want this template to be inserted at [[MOS:ORDER]] #6 because it is a maintenance template". Am I making sense? I started making a list of all possible templates that should precede maintenance templates but there are so [[Wikipedia:Speedy deletion/Deletion templates|many]]! [[User:Polygnotus|Polygnotus]] ([[User talk:Polygnotus|talk]]) 15:24, 28 May 2025 (UTC)
Also pinging {{ping|Novem Linguae}} who is listed as a maintainer of Twinkle, which morebits is a component of. [[User:Polygnotus|Polygnotus]] ([[User talk:Polygnotus|talk]]) 16:51, 28 May 2025 (UTC)
:@[[User:Polygnotus|Polygnotus]]. Feel free to file a feature request at https://github.com/wikimedia-gadgets/twinkle/issues/new?template=BLANK_ISSUE
:You may also be interested in a 750-line MOSOrderPositionFinder class I wrote for one of my other user scripts. It's located at https://github.com/NovemLinguae/UserScripts/blob/master/SpeciesHelper/modules/MOSOrderPositionFinder.js if you want to fork it. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 18:18, 28 May 2025 (UTC)
|