Jump to content

Do not begin to migrate content here, it may be wiped without notice. More info.

DevelopmentPages

From Debian Wiki
Revision as of 11:59, 19 April 2026 by AndrewSayers (talk | contribs) (Created page with "Development of the new wiki is [https://wiki.debian.org/DebianWiki/WikiRevamp#Get_Involved.21 moving to Salsa repositories], and pages that are still relevant need to be copied over to the [https://salsa.debian.org/wiki-team/debwiki-dev-pages debwiki-dev-pages] repository. This page lists some known groups of pages. For a full list, see <span class="plainlinks">[{{fullurl:Special:AllPages|namespace=14}} all categories] and [{{fullurl:Special:AllPages|namespace=10}} all...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Development of the new wiki is moving to Salsa repositories, and pages that are still relevant need to be copied over to the debwiki-dev-pages repository.

This page lists some known groups of pages. For a full list, see all categories and all templates.

One way to copy a page would be:

  1. clone debwiki-dev-pages
  2. choose an appropriate group (or make a new one) from the *.txt files in that repo
  3. copy the contents of the file into <your-group>/PageName.mw
  4. add the page name to <your-group>.txt
  5. commit your changes and submit a new MR

Notes

Based on MediaWiki's Template:Note.

Template:Note based on MediaWiki:Template:Note
Template:Note/styles.css styling for Template:Note

Headers and footers

Various ideas for standard page headers and footers

Category:Package Package pages
Template:Cc-by-sa-4.0 explicitly state a page is under the Creative Commons Attribution-ShareAlike 4.0 International
Template:DebianCopyright copyright statement for a single user
Template:DebianFooter standard page footer (delete?)
Template:DebianHeader standard page header (delete?)
Template:Imported_from_Moin early concept for a header to go on imported pages
Template:PageHeader General information that goes at the top of every page (e.g. translations)
Template:PageHeader/Package Information at the top of package pages, called internally by Template:PageHeader

Tagging pages

Sometimes we would like to specify information about a page (e.g. that it's only of historical interest, and no longer being updated).

Template:CategoryTag Header text for categories that provide some tag
Template:Tag tag this page
Template:PackageRemoved indicate this page is for a package that is no longer available in Debian
Template:Archived based on a proposal that pages of strictly historical interest should be marked as "archived" instead of being deleted outright
Category:PackageRemoved Pages that are for packages that have been removed
Category:Archived Pages that are archived
Category:Tag Pages that have been tagged

Proposed actions

Often someone will come by a page and suggest some action, after an appropriate period of review. These templates help manage that process

Template:CategoryProposedAction Header text for categories that propose some action
Template:ProposedAction Propose an action on this page
Template:ProposedDeletion Propose that this page be deleted
Template:ProposedMerge Propose that this page be merged with another page
Template:MergedWith early concept - if page A is merged into page B, replace the contents of page A with {{Template:MergedWith|B}}
Category:ProposedDeletion Pages that should be removed altogether
Category:ProposedMerge Pages that should be merged with another page
Category:ProposedAction Categories for pages with a proposed action

Debian macro work-a-likes

The old wiki let you do e.g. <<DebianCodename(testing)>> to get the name of the current testing distribution. These are one way to replicate that. See DebianCodename etc..

Template:DebianCodename Codename of a given Debian release
Template:DebianCodenameLink Link to the page associated with the codename of a given Debian release
Template:DebianDate Release date for the latest point version of the specified release
Template:DebianInfo underlying template
Template:DebianVersion The latest point version of the specified release

Translation machinery

We hope to use Extension:UniversalLanguageSelector and Extension:Translate. If for some reason we need to create our own translation machinery, these templates could be the basis of a usable solution. See also Language tags.

Template:CategoryLanguageMachinery called internally by Category:LanguageMachinery
Template:ForEachLanguage Call a template for each language supported by the wiki
Template:ForEachTranslation Call a template for each translation of this page
Template:ForEachTranslation/Element Called internally by Template:ForEachTranslation
Template:Ll Name of the page in the most appropriate language for the user
Template:TranslationList Translations of the current page
Template:TranslationList/Element Called internally by Template:TranslationList
Template:PageLanguage Guess the language associated with a page name (e.g. it/SomePage -> it)
Template:SanitiseLanguageCode Convert language-code parameters ("eN", "Pt-Br" etc.) to a canonical version, convert unknown values to the empty string
Template:UpstreamPageName Upstream version of a page (e.g. it/SomePage -> SomePage)
Category:Pages with invalid locales Pages that pass an invalid value to Template:SanitiseLanguageCode
Category:LanguageMachinery Templates that manage translated pages

Input sanitisers

Editors might like to specify values in hard-to-parse ways, like putting "no" instead of "0" in a boolean value. These pages support that behaviour.

Category:Input Sanitisers Templates that sanitise input
Category:Invalid Parameters Categories for pages that pass invalid values
Category:Pages with invalid booleans Pages that pass an invalid value to Template:SanitiseBoolean
Template:SanitiseBoolean Convert boolean-like parameters ("no", "true" etc.) to 0 or 1

Miscellaneous

These don't fit neatly into any other group.

Template:CategoryInvalidParameter used by Category:Pages with invalid booleans and Category:Pages with invalid locales
Category:RevampReviewNeeded early concept for instructions about manually reviewing pages
Template:ChooseADevice early experiment at rewriting ChooseADevice (a page on the old wiki that was itself trying to be a template)
Template:TOC Table of Contents

Pages that can be deleted

wiki2025.debian.org doesn't allow normal users to delete pages. These pages are no longer needed, and can be safely deleted.

Template:CategoryInvalidInput redirects to the new name
Template:Checkbox used by FreedomBox/Features (seems to be part of an early experiment, can be deleted in favour of Template:MoinMarkup/Smiley)
Template:ForEachTranslation/Translation redirects to the new name
Template:MaybeBoolean redirects to the new name
Template:ProposedMergeEdit redirects to the new name
Template:MoinMarkup/Macro/End was used by an older version of the converter
Template:MoinMarkup/Macro/Start was used by an older version of the converter
Template:MoinProcessingInstruction was used by an older version of the converter
Template:Smiley redirects to the new name
Category:Example example pages that showed how proposals would work
Category:Removed redirects to the new name
Category:FreedomBox used by FreedomBox/* (seems to be part of an early experiment)