Skip to content

Commit 3ba62f5

Browse files
feat: allow changing the header + update UTG URL (#42)
* Add an ifexist to change IRWA header + change hyperlink to match new UTG URL * use Template:IRWA/header instead of MediaWiki: page * Update UTG URL --------- Co-authored-by: SomeRandomDeveloper <thisisnotmyname275@gmail.com>
1 parent fc28611 commit 3ba62f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

data/wikis.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"accessToken": "MIRAHEZE_ACCESS_TOKEN"
99
},
1010
{
11-
"apiUrl": "https://utg.miraheze.org/w/api.php",
11+
"apiUrl": "https://tagging.wiki/w/api.php",
1212
"accessToken": "MIRAHEZE_ACCESS_TOKEN"
1313
},
1414
{

templates/template.wikitext

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
{{#if: {{{custom-stylesheet|}}} | {{#tag:templatestyles||src={{{custom-stylesheet}}}}} | }}
33
<div class="irwa-navigation {{#ifeq: {{{exclude-no-invert|}}} | true | | mw-no-invert }} irwa-conf-{{{orientation|horizontal}}} irwa-color-{{{theme|adaptive}}}">
44
<div class="irwa-header">
5-
<span class="irwa-title">Independent Roblox Wiki Alliance</span><br>
6-
[https://indierobloxwikis.org/?utm_source={{urlencode:{{SITENAME}}}}&utm_medium=Wiki&utm_campaign=IRWATemplate Learn More]
5+
{{#ifexist: Template:IRWA/header | {{IRWA/header}} | <span class="irwa-title">Independent Roblox Wiki Alliance</span><br>
6+
[https://indierobloxwikis.org/?utm_source={{urlencode:{{SITENAME}}}}&utm_medium=Wiki&utm_campaign=IRWATemplate Learn More] }}
77
</div>
88
<div class="irwa-members">
99
<div class="irwa-member invert-member-icon-dark irwa-hybridcafe">[[File:HybridCafeWikiLogo.svg|class=hybrid-cafe-logo mw-no-invert|{{{imgsize|20x20px}}}|alt=Logo of the Hybrid Cafe Wiki|link=https://hybridcafe.wiki]] [https://hybridcafe.wiki Hybrid Cafe]</div>
1010
<div class="irwa-member invert-member-icon irwa-pressure">[[File:PressureWikiLogo.png|class=pressure-logo mw-no-invert|{{{imgsize|20x20px}}}|alt=Logo of the Pressure Wiki|link=https://urbanshade.org]] [https://urbanshade.org Pressure]</div>
11-
<div class="irwa-member irwa-utg">[[File:UTGWikiLogo.png|class=utg-logo mw-no-invert|{{{imgsize|20x20px}}}|alt=Logo of the Untitled Tag Game Wiki|link=https://utg.miraheze.org]] [https://utg.miraheze.org Untitled Tag Game]</div>
11+
<div class="irwa-member irwa-utg">[[File:UTGWikiLogo.png|class=utg-logo mw-no-invert|{{{imgsize|20x20px}}}|alt=Logo of the Untitled Tag Game Wiki|link=https://tagging.wiki]] [https://tagging.wiki Untitled Tag Game]</div>
1212
<div class="irwa-member irwa-gbp">[[File:GBPWikiLogo.png|class=gbp-logo mw-no-invert|{{{imgsize|20x20px}}}|alt=Logo of the Guts & Blackpowder Wiki|link=https://gbp.miraheze.org]] [https://gbp.miraheze.org Guts & Blackpowder]</div>
1313
<div class="irwa-member irwa-outlaster">[[File:OutlasterWikiLogo.png|class=outlaster-logo mw-no-invert|{{{imgsize|20x20px}}}|alt=Logo of the Outlaster Wiki|link=https://outlaster.peakprecision.wiki]] [https://outlaster.peakprecision.wiki/ Outlaster]</div>
1414
<div class="irwa-member irwa-fisch">[[File:FischWikiLogo.png|class=fisch-logo mw-no-invert|{{{imgsize|20x20px}}}|alt=Logo of Fischipedia|link=https://fischipedia.org]] [https://fischipedia.org Fisch]</div>

0 commit comments

Comments
 (0)