Jump to content

Module:Subject bar: Difference between revisions

m
→‎top: clean up, replaced: Wikipedia → Bharatpedia (5)
m (→‎top: clean up, replaced: Wikipedia: → Bharatpedia: (4))
m (→‎top: clean up, replaced: Wikipedia → Bharatpedia (5))
Line 99: Line 99:
or (thisPage.namespace == 2) -- User
or (thisPage.namespace == 2) -- User
or (thisPage.namespace == 3) -- User talk
or (thisPage.namespace == 3) -- User talk
or (thisPage.namespace == 5) -- Wikipedia talk
or (thisPage.namespace == 5) -- Bharatpedia talk
or (thisPage.namespace == 7) -- File talk
or (thisPage.namespace == 7) -- File talk
or (thisPage.namespace == 11) -- Template talk
or (thisPage.namespace == 11) -- Template talk
Line 150: Line 150:


     local rows = {}
     local rows = {}
     --[=[ disabled per [[Bharatpedia:Village pump (technical)/Archive 176#Suppress rendering of Template:Wikipedia books]]
     --[=[ disabled per [[Bharatpedia:Village pump (technical)/Archive 176#Suppress rendering of Template:Bharatpedia books]]
     -- Get the book row text.
     -- Get the book row text.
     local bookHeading = "'''[[Bharatpedia:Books|Books]]'''"
     local bookHeading = "'''[[Bharatpedia:Books|Books]]'''"
Line 191: Line 191:
         {arg = 'v', image = 'Wikiversity logo 2017.svg', prefix = 'wikiversity', display = 'Learning resources', from = 'Wikiversity'},
         {arg = 'v', image = 'Wikiversity logo 2017.svg', prefix = 'wikiversity', display = 'Learning resources', from = 'Wikiversity'},
         {arg = 'd', image = 'Wikidata-logo.svg', prefix = 'wikidata', display = 'Data', from = 'Wikidata'},
         {arg = 'd', image = 'Wikidata-logo.svg', prefix = 'wikidata', display = 'Data', from = 'Wikidata'},
         {arg = 'spoken', image = 'Sound-icon.svg', prefix = 'spoken wikipedia', display = 'Listen to this page', from = 'Spoken Wikipedia'},
         {arg = 'spoken', image = 'Sound-icon.svg', prefix = 'spoken Bharatpedia', display = 'Listen to this page', from = 'Spoken Bharatpedia'},
     }
     }
     local sisterItems = {}
     local sisterItems = {}
Line 218: Line 218:
         end
         end
     end
     end
     local sisterHeading = "Find out more on<br />Wikipedia's"
     local sisterHeading = "Find out more on<br />Bharatpedia's"
     local sisterSubheading = "'''[[Bharatpedia:Wikimedia sister projects|Sister projects]]'''"
     local sisterSubheading = "'''[[Bharatpedia:Wikimedia sister projects|Sister projects]]'''"
     local sisterRow = makeRow(sisterItems, sisterHeading, sisterSubheading, {swapHeadingSize = true})
     local sisterRow = makeRow(sisterItems, sisterHeading, sisterSubheading, {swapHeadingSize = true})
Bots, trusted
7,437

edits